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/or1k | |
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/or1k')
-rw-r--r-- | bsps/or1k/shared/start/linkcmds.base | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bsps/or1k/shared/start/linkcmds.base b/bsps/or1k/shared/start/linkcmds.base index 4514596ba0..569e0a097f 100644 --- a/bsps/or1k/shared/start/linkcmds.base +++ b/bsps/or1k/shared/start/linkcmds.base @@ -259,7 +259,7 @@ SECTIONS { bsp_section_rodata_load_begin = LOADADDR (.rodata); bsp_section_rodata_load_end = bsp_section_rodata_load_begin + bsp_section_rodata_size; -.rwbarrier : ALIGN_WITH_INPUT { + .rwbarrier : ALIGN_WITH_INPUT { . = ALIGN (bsp_section_rwbarrier_align); } > REGION_DATA AT > REGION_DATA @@ -288,6 +288,10 @@ SECTIONS { } > REGION_BSS AT > REGION_BSS bsp_section_bss_size = bsp_section_bss_end - bsp_section_bss_begin; + .rtemsstack (NOLOAD) : ALIGN_WITH_INPUT{ + *(SORT(.rtemsstack.*)) + } > REGION_WORK AT > REGION_WORK + .work : ALIGN_WITH_INPUT { /* * The work section will occupy the remaining REGION_WORK region and |