diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-06-19 15:10:36 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-06-27 08:58:16 +0200 |
commit | 715d6167e07a46f5bc37f42993c209450484bbe8 (patch) | |
tree | a2b7b713ecfe5d6bbe80db74f79dfeba62e64a8b /bsps/m68k/mcf5235 | |
parent | score: Add CPU_INTERRUPT_STACK_ALIGNMENT (diff) | |
download | rtems-715d6167e07a46f5bc37f42993c209450484bbe8.tar.bz2 |
bsps: Support .rtemsstack.* linker input sections
Use a dedicated memory region or place it between the BSS and workspace.
Update #3459.
Diffstat (limited to 'bsps/m68k/mcf5235')
-rw-r--r-- | bsps/m68k/mcf5235/start/linkcmds | 3 | ||||
-rw-r--r-- | bsps/m68k/mcf5235/start/linkcmdsflash | 3 | ||||
-rw-r--r-- | bsps/m68k/mcf5235/start/linkcmdsram | 4 |
3 files changed, 10 insertions, 0 deletions
diff --git a/bsps/m68k/mcf5235/start/linkcmds b/bsps/m68k/mcf5235/start/linkcmds index 660c931e26..8d98973a28 100644 --- a/bsps/m68k/mcf5235/start/linkcmds +++ b/bsps/m68k/mcf5235/start/linkcmds @@ -187,7 +187,10 @@ SECTIONS . = ALIGN (16); PROVIDE (end = .); _clear_end = .; + } > dram + .rtemsstack (NOLOAD) : { + *(SORT(.rtemsstack.*)) WorkAreaBase = .; } > dram /* Stabs debugging sections. */ diff --git a/bsps/m68k/mcf5235/start/linkcmdsflash b/bsps/m68k/mcf5235/start/linkcmdsflash index 832424a2d9..87dfadf8c0 100644 --- a/bsps/m68k/mcf5235/start/linkcmdsflash +++ b/bsps/m68k/mcf5235/start/linkcmdsflash @@ -192,7 +192,10 @@ SECTIONS . = ALIGN (16); PROVIDE (end = .); _clear_end = .; + } >ram + .rtemsstack (NOLOAD) : { + *(SORT(.rtemsstack.*)) WorkAreaBase = .; } >ram /* Stabs debugging sections. */ diff --git a/bsps/m68k/mcf5235/start/linkcmdsram b/bsps/m68k/mcf5235/start/linkcmdsram index ec7483001e..0f616890a8 100644 --- a/bsps/m68k/mcf5235/start/linkcmdsram +++ b/bsps/m68k/mcf5235/start/linkcmdsram @@ -187,9 +187,13 @@ SECTIONS . = ALIGN (16); PROVIDE (end = .); _clear_end = .; + } >ram + .rtemsstack (NOLOAD) : { + *(SORT(.rtemsstack.*)) WorkAreaBase = .; } >ram + /* Stabs debugging sections. */ .stab 0 : { *(.stab) } .stabstr 0 : { *(.stabstr) } |