[rtems commit] bsps/arm: Sort fast text/data sections
Sebastian Huber
sebh at rtems.org
Wed Oct 21 05:59:30 UTC 2020
Module: rtems
Branch: master
Commit: 273613f1a869387db1a369adc2d2a78aa0ff71ee
Changeset: http://git.rtems.org/rtems/commit/?id=273613f1a869387db1a369adc2d2a78aa0ff71ee
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Fri Apr 3 10:03:28 2020 +0200
bsps/arm: Sort fast text/data sections
---
bsps/arm/shared/start/linkcmds.base | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/bsps/arm/shared/start/linkcmds.base b/bsps/arm/shared/start/linkcmds.base
index 9b24429..88a7488 100644
--- a/bsps/arm/shared/start/linkcmds.base
+++ b/bsps/arm/shared/start/linkcmds.base
@@ -290,7 +290,7 @@ SECTIONS {
.fast_text : ALIGN_WITH_INPUT {
bsp_section_fast_text_begin = .;
- *(.bsp_fast_text)
+ *(SORT_BY_ALIGNMENT (SORT_BY_NAME (.bsp_fast_text*)))
bsp_section_fast_text_end = .;
} > REGION_FAST_TEXT AT > REGION_FAST_TEXT_LOAD
bsp_section_fast_text_size = bsp_section_fast_text_end - bsp_section_fast_text_begin;
@@ -299,7 +299,7 @@ SECTIONS {
.fast_data : ALIGN_WITH_INPUT {
bsp_section_fast_data_begin = .;
- *(.bsp_fast_data)
+ *(SORT_BY_ALIGNMENT (SORT_BY_NAME (.bsp_fast_data*)))
bsp_section_fast_data_end = .;
} > REGION_FAST_DATA AT > REGION_FAST_DATA_LOAD
bsp_section_fast_data_size = bsp_section_fast_data_end - bsp_section_fast_data_begin;
More information about the vc
mailing list