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/riscv | |
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/riscv')
-rw-r--r-- | bsps/riscv/riscv_generic/start/linkcmds | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bsps/riscv/riscv_generic/start/linkcmds b/bsps/riscv/riscv_generic/start/linkcmds index 737ae75f32..9f71b66aa2 100644 --- a/bsps/riscv/riscv_generic/start/linkcmds +++ b/bsps/riscv/riscv_generic/start/linkcmds @@ -313,7 +313,7 @@ SECTIONS { } > REGION_HTIF AT > REGION_HTIF_LOAD -.rwbarrier : { + .rwbarrier : { . = ALIGN(8); . = ALIGN (bsp_section_rwbarrier_align); } > REGION_DATA AT > REGION_DATA @@ -347,6 +347,10 @@ SECTIONS { } > REGION_BSS AT > REGION_BSS bsp_section_bss_size = bsp_section_bss_end - bsp_section_bss_begin; + .rtemsstack (NOLOAD) : { + *(SORT(.rtemsstack.*)) + } > REGION_WORK AT > REGION_WORK + .work : { /* * The work section will occupy the remaining REGION_WORK region and |