[PATCH 2/2] bsps/arm: Sort fast text/data sections
Sebastian Huber
sebastian.huber at embedded-brains.de
Tue Oct 20 16:04:02 UTC 2020
---
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 d0663cf97e..8fa127ce08 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;
--
2.26.2
More information about the devel
mailing list