From 5ed0035377d62da7d33072f10ea04ede27422455 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 14 Jul 2022 14:41:03 +0200 Subject: 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. --- bsps/m68k/gen68360/start/linkcmds.prom | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bsps/m68k/gen68360/start/linkcmds.prom') diff --git a/bsps/m68k/gen68360/start/linkcmds.prom b/bsps/m68k/gen68360/start/linkcmds.prom index da8acdf376..c5c96228a4 100644 --- a/bsps/m68k/gen68360/start/linkcmds.prom +++ b/bsps/m68k/gen68360/start/linkcmds.prom @@ -154,7 +154,7 @@ SECTIONS { } >ram .noinit (NOLOAD) : { - *(.noinit*) + *(SORT_BY_NAME (SORT_BY_ALIGNMENT (.noinit*))) } > ram .rtemsstack (NOLOAD) : { -- cgit v1.2.3