summaryrefslogtreecommitdiffstats
path: root/bsps/x86_64/amd64/start/linkcmds
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-04-30 15:47:10 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-05-02 18:41:21 +0200
commite10dec0fe72c19320d2c93b905457a5327ec1235 (patch)
tree5552dc51b826b97490d640cb893ff084e43ae8ff /bsps/x86_64/amd64/start/linkcmds
parentbasedefs: Add RTEMS_NOINIT (diff)
downloadrtems-e10dec0fe72c19320d2c93b905457a5327ec1235.tar.bz2
bsps: Support RTEMS_NOINIT in linkcmds
Update #3866.
Diffstat (limited to 'bsps/x86_64/amd64/start/linkcmds')
-rw-r--r--bsps/x86_64/amd64/start/linkcmds5
1 files changed, 5 insertions, 0 deletions
diff --git a/bsps/x86_64/amd64/start/linkcmds b/bsps/x86_64/amd64/start/linkcmds
index c60d07d6ec..ab6981e872 100644
--- a/bsps/x86_64/amd64/start/linkcmds
+++ b/bsps/x86_64/amd64/start/linkcmds
@@ -10,6 +10,7 @@
* Changes:
* - Added HeapSize, RamBase, RamSize, WorkBase
* - rtemssroset section
+ * - noinit section
* - rtemsstack section
*/
@@ -231,6 +232,10 @@ SECTIONS
}
. = ALIGN(64 / 8);
_end = .; PROVIDE (end = .);
+ .noinit (NOLOAD) :
+ {
+ *(.noinit*)
+ }
.rtemsstack (NOLOAD) :
{
*(SORT(.rtemsstack.*))