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/lm32 | |
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 'bsps/lm32')
-rw-r--r-- | bsps/lm32/lm32_evr/start/linkcmds | 2 | ||||
-rw-r--r-- | bsps/lm32/milkymist/start/linkcmds | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bsps/lm32/lm32_evr/start/linkcmds b/bsps/lm32/lm32_evr/start/linkcmds index dd429a7af1..49e11bac79 100644 --- a/bsps/lm32/lm32_evr/start/linkcmds +++ b/bsps/lm32/lm32_evr/start/linkcmds @@ -254,7 +254,7 @@ SECTIONS } > sdram .noinit (NOLOAD) : { - *(.noinit*) + *(SORT_BY_NAME (SORT_BY_ALIGNMENT (.noinit*))) } > sdram .rtemsstack (NOLOAD) : { diff --git a/bsps/lm32/milkymist/start/linkcmds b/bsps/lm32/milkymist/start/linkcmds index 021814a7b5..fde44adce1 100644 --- a/bsps/lm32/milkymist/start/linkcmds +++ b/bsps/lm32/milkymist/start/linkcmds @@ -252,7 +252,7 @@ SECTIONS } > sdram .noinit (NOLOAD) : { - *(.noinit*) + *(SORT_BY_NAME (SORT_BY_ALIGNMENT (.noinit*))) } > sdram .rtemsstack (NOLOAD) : { |