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/bfin | |
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/bfin')
-rw-r--r-- | bsps/bfin/TLL6527M/start/linkcmds | 8 | ||||
-rw-r--r-- | bsps/bfin/bf537Stamp/start/linkcmds | 8 | ||||
-rw-r--r-- | bsps/bfin/eZKit533/start/linkcmds | 8 |
3 files changed, 18 insertions, 6 deletions
diff --git a/bsps/bfin/TLL6527M/start/linkcmds b/bsps/bfin/TLL6527M/start/linkcmds index 93d2a85d82..8c7b373864 100644 --- a/bsps/bfin/TLL6527M/start/linkcmds +++ b/bsps/bfin/TLL6527M/start/linkcmds @@ -126,11 +126,15 @@ SECTIONS _stack_init = .; . += _StackSize; _clear_end = .; - _WorkAreaBase = .; _end = .; __end = .; } > sdram - + + .rtemsstack (NOLOAD) : { + *(SORT(.rtemsstack.*)) + _WorkAreaBase = .; + } > sdram + /* Debugging stuff follows */ /* Stabs debugging sections. */ diff --git a/bsps/bfin/bf537Stamp/start/linkcmds b/bsps/bfin/bf537Stamp/start/linkcmds index 47888ff798..c9925525c9 100644 --- a/bsps/bfin/bf537Stamp/start/linkcmds +++ b/bsps/bfin/bf537Stamp/start/linkcmds @@ -134,11 +134,15 @@ SECTIONS _stack_init = .; . += _StackSize; _clear_end = .; - _WorkAreaBase = .; _end = .; __end = .; } > sdram - + + .rtemsstack (NOLOAD) : { + *(SORT(.rtemsstack.*)) + _WorkAreaBase = .; + } > sdram + /* Debugging stuff follows */ /* Stabs debugging sections. */ diff --git a/bsps/bfin/eZKit533/start/linkcmds b/bsps/bfin/eZKit533/start/linkcmds index e66a599e1f..0fc2da123d 100644 --- a/bsps/bfin/eZKit533/start/linkcmds +++ b/bsps/bfin/eZKit533/start/linkcmds @@ -123,11 +123,15 @@ SECTIONS _stack_init = .; . += _StackSize; _clear_end = .; - _WorkAreaBase = .; _end = .; __end = .; } > sdram - + + .rtemsstack (NOLOAD) : { + *(SORT(.rtemsstack.*)) + _WorkAreaBase = .; + } > sdram + /* Debugging stuff follows */ /* Stabs debugging sections. */ |