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/mips | |
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/mips')
-rw-r--r-- | bsps/mips/csb350/start/linkcmds | 2 | ||||
-rw-r--r-- | bsps/mips/hurricane/start/linkcmds | 2 | ||||
-rw-r--r-- | bsps/mips/jmr3904/start/linkcmds | 2 | ||||
-rw-r--r-- | bsps/mips/malta/start/linkcmds | 2 | ||||
-rw-r--r-- | bsps/mips/rbtx4925/start/linkcmds | 2 | ||||
-rw-r--r-- | bsps/mips/rbtx4938/start/linkcmds | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/bsps/mips/csb350/start/linkcmds b/bsps/mips/csb350/start/linkcmds index 56748b48fa..9eb995bbd3 100644 --- a/bsps/mips/csb350/start/linkcmds +++ b/bsps/mips/csb350/start/linkcmds @@ -193,7 +193,7 @@ SECTIONS } >ram .noinit (NOLOAD) : { - *(.noinit*) + *(SORT_BY_NAME (SORT_BY_ALIGNMENT (.noinit*))) } >ram .rtemsstack (NOLOAD) : { diff --git a/bsps/mips/hurricane/start/linkcmds b/bsps/mips/hurricane/start/linkcmds index 383c3f2cb3..dee1d606a8 100644 --- a/bsps/mips/hurricane/start/linkcmds +++ b/bsps/mips/hurricane/start/linkcmds @@ -171,7 +171,7 @@ SECTIONS } .noinit (NOLOAD) : { - *(.noinit*) + *(SORT_BY_NAME (SORT_BY_ALIGNMENT (.noinit*))) } .rtemsstack (NOLOAD) : { diff --git a/bsps/mips/jmr3904/start/linkcmds b/bsps/mips/jmr3904/start/linkcmds index 2ded55b786..b84360f17b 100644 --- a/bsps/mips/jmr3904/start/linkcmds +++ b/bsps/mips/jmr3904/start/linkcmds @@ -168,7 +168,7 @@ SECTIONS } .noinit (NOLOAD) : { - *(.noinit*) + *(SORT_BY_NAME (SORT_BY_ALIGNMENT (.noinit*))) } .rtemsstack (NOLOAD) : { diff --git a/bsps/mips/malta/start/linkcmds b/bsps/mips/malta/start/linkcmds index 233082e691..9a31611e1e 100644 --- a/bsps/mips/malta/start/linkcmds +++ b/bsps/mips/malta/start/linkcmds @@ -169,7 +169,7 @@ SECTIONS } .noinit (NOLOAD) : { - *(.noinit*) + *(SORT_BY_NAME (SORT_BY_ALIGNMENT (.noinit*))) } .rtemsstack (NOLOAD) : { diff --git a/bsps/mips/rbtx4925/start/linkcmds b/bsps/mips/rbtx4925/start/linkcmds index 2fa62a4b0c..4ca7dc22a6 100644 --- a/bsps/mips/rbtx4925/start/linkcmds +++ b/bsps/mips/rbtx4925/start/linkcmds @@ -171,7 +171,7 @@ SECTIONS } .noinit (NOLOAD) : { - *(.noinit*) + *(SORT_BY_NAME (SORT_BY_ALIGNMENT (.noinit*))) } .rtemsstack (NOLOAD) : { diff --git a/bsps/mips/rbtx4938/start/linkcmds b/bsps/mips/rbtx4938/start/linkcmds index f298db0513..292c4056de 100644 --- a/bsps/mips/rbtx4938/start/linkcmds +++ b/bsps/mips/rbtx4938/start/linkcmds @@ -171,7 +171,7 @@ SECTIONS } .noinit (NOLOAD) : { - *(.noinit*) + *(SORT_BY_NAME (SORT_BY_ALIGNMENT (.noinit*))) } .rtemsstack (NOLOAD) : { |