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/m68k/mcf5235 | |
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/m68k/mcf5235')
-rw-r--r-- | bsps/m68k/mcf5235/start/linkcmds | 2 | ||||
-rw-r--r-- | bsps/m68k/mcf5235/start/linkcmdsflash | 2 | ||||
-rw-r--r-- | bsps/m68k/mcf5235/start/linkcmdsram | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/bsps/m68k/mcf5235/start/linkcmds b/bsps/m68k/mcf5235/start/linkcmds index 9cdddcd38f..2e21c459f3 100644 --- a/bsps/m68k/mcf5235/start/linkcmds +++ b/bsps/m68k/mcf5235/start/linkcmds @@ -210,7 +210,7 @@ SECTIONS } > dram .noinit (NOLOAD) : { - *(.noinit*) + *(SORT_BY_NAME (SORT_BY_ALIGNMENT (.noinit*))) } > dram .rtemsstack (NOLOAD) : { diff --git a/bsps/m68k/mcf5235/start/linkcmdsflash b/bsps/m68k/mcf5235/start/linkcmdsflash index 7e796ceaff..f783ca1b59 100644 --- a/bsps/m68k/mcf5235/start/linkcmdsflash +++ b/bsps/m68k/mcf5235/start/linkcmdsflash @@ -215,7 +215,7 @@ SECTIONS } >ram .noinit (NOLOAD) : { - *(.noinit*) + *(SORT_BY_NAME (SORT_BY_ALIGNMENT (.noinit*))) } > ram .rtemsstack (NOLOAD) : { diff --git a/bsps/m68k/mcf5235/start/linkcmdsram b/bsps/m68k/mcf5235/start/linkcmdsram index 057da6745f..e44e04baf3 100644 --- a/bsps/m68k/mcf5235/start/linkcmdsram +++ b/bsps/m68k/mcf5235/start/linkcmdsram @@ -210,7 +210,7 @@ SECTIONS } >ram .noinit (NOLOAD) : { - *(.noinit*) + *(SORT_BY_NAME (SORT_BY_ALIGNMENT (.noinit*))) } > ram .rtemsstack (NOLOAD) : { |