summaryrefslogtreecommitdiffstats
path: root/bsps/x86_64/amd64
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/x86_64/amd64
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/x86_64/amd64')
-rw-r--r--bsps/x86_64/amd64/start/linkcmds2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsps/x86_64/amd64/start/linkcmds b/bsps/x86_64/amd64/start/linkcmds
index ab6981e872..c7bd54279b 100644
--- a/bsps/x86_64/amd64/start/linkcmds
+++ b/bsps/x86_64/amd64/start/linkcmds
@@ -234,7 +234,7 @@ SECTIONS
_end = .; PROVIDE (end = .);
.noinit (NOLOAD) :
{
- *(.noinit*)
+ *(SORT_BY_NAME (SORT_BY_ALIGNMENT (.noinit*)))
}
.rtemsstack (NOLOAD) :
{