diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2022-07-14 14:41:03 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2022-07-15 10:46:02 +0200 |
commit | 5ed0035377d62da7d33072f10ea04ede27422455 (patch) | |
tree | 45eaca07c47d86aba51c99895a9e761e244ac910 /bsps/aarch64/shared/start/linkcmds.base | |
parent | cdtest: Restrict exceptions during sysinit (diff) | |
download | rtems-5ed0035377d62da7d33072f10ea04ede27422455.tar.bz2 |
bsps: Sort .noinit* sections
Sort the .noinit* input sections by name first, then by alignment if two
sections have the same name. This allows the placement of begin/end symbols to
initialize some areas with a special value.
Update #4678.
Diffstat (limited to '')
-rw-r--r-- | bsps/aarch64/shared/start/linkcmds.base | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bsps/aarch64/shared/start/linkcmds.base b/bsps/aarch64/shared/start/linkcmds.base index d3b5485777..bcdf4715d7 100644 --- a/bsps/aarch64/shared/start/linkcmds.base +++ b/bsps/aarch64/shared/start/linkcmds.base @@ -323,7 +323,7 @@ SECTIONS { .noinit (NOLOAD) : ALIGN_WITH_INPUT { bsp_section_noinit_begin = .; - *(.noinit*) + *(SORT_BY_NAME (SORT_BY_ALIGNMENT (.noinit*))) bsp_section_noinit_end = .; } > REGION_WORK AT > REGION_WORK bsp_section_noinit_size = bsp_section_noinit_end - bsp_section_noinit_begin; |