summaryrefslogtreecommitdiffstats
path: root/bsps/bfin
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2022-07-14 14:41:03 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2022-07-15 10:46:02 +0200
commit5ed0035377d62da7d33072f10ea04ede27422455 (patch)
tree45eaca07c47d86aba51c99895a9e761e244ac910 /bsps/bfin
parentcdtest: Restrict exceptions during sysinit (diff)
downloadrtems-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/bfin')
-rw-r--r--bsps/bfin/TLL6527M/start/linkcmds2
-rw-r--r--bsps/bfin/bf537Stamp/start/linkcmds2
-rw-r--r--bsps/bfin/eZKit533/start/linkcmds2
3 files changed, 3 insertions, 3 deletions
diff --git a/bsps/bfin/TLL6527M/start/linkcmds b/bsps/bfin/TLL6527M/start/linkcmds
index 315f1b7149..2185678184 100644
--- a/bsps/bfin/TLL6527M/start/linkcmds
+++ b/bsps/bfin/TLL6527M/start/linkcmds
@@ -129,7 +129,7 @@ SECTIONS
} > sdram
.noinit (NOLOAD) : {
- *(.noinit*)
+ *(SORT_BY_NAME (SORT_BY_ALIGNMENT (.noinit*)))
} > sdram
.rtemsstack (NOLOAD) : {
diff --git a/bsps/bfin/bf537Stamp/start/linkcmds b/bsps/bfin/bf537Stamp/start/linkcmds
index c6bbcf4e68..8747fe090f 100644
--- a/bsps/bfin/bf537Stamp/start/linkcmds
+++ b/bsps/bfin/bf537Stamp/start/linkcmds
@@ -137,7 +137,7 @@ SECTIONS
} > sdram
.noinit (NOLOAD) : {
- *(.noinit*)
+ *(SORT_BY_NAME (SORT_BY_ALIGNMENT (.noinit*)))
} > sdram
.rtemsstack (NOLOAD) : {
diff --git a/bsps/bfin/eZKit533/start/linkcmds b/bsps/bfin/eZKit533/start/linkcmds
index 6f338b0b3a..b473e8c1b0 100644
--- a/bsps/bfin/eZKit533/start/linkcmds
+++ b/bsps/bfin/eZKit533/start/linkcmds
@@ -126,7 +126,7 @@ SECTIONS
} > sdram
.noinit (NOLOAD) : {
- *(.noinit*)
+ *(SORT_BY_NAME (SORT_BY_ALIGNMENT (.noinit*)))
} > sdram
.rtemsstack (NOLOAD) : {