bsps/powerpc: Fix small data area section

Fix small data area in case no fixed size is desired.  Rename
bsp_section_set_sdata_sbss_size into bsp_section_small_data_area_size
since this symbol reflects the overall small data area size (including
space for libdl).  Do not use bsp_section_sbss_size before definition in
linker command file.  Add new symbols to <bsp/linker-symbols.h>.

Update #3687.
This commit is contained in:
Sebastian Huber
2019-02-11 07:34:14 +01:00
parent 6c9f0176a9
commit eec706e2bf
5 changed files with 26 additions and 20 deletions

View File

@@ -77,10 +77,18 @@ LINKER_SYMBOL(bsp_section_bss_begin)
LINKER_SYMBOL(bsp_section_bss_end)
LINKER_SYMBOL(bsp_section_bss_size)
LINKER_SYMBOL(bsp_section_sdata_begin)
LINKER_SYMBOL(bsp_section_sdata_end)
LINKER_SYMBOL(bsp_section_sdata_size)
LINKER_SYMBOL(bsp_section_sbss_begin)
LINKER_SYMBOL(bsp_section_sbss_end)
LINKER_SYMBOL(bsp_section_sbss_size)
LINKER_SYMBOL(bsp_section_sdata_libdl_begin)
LINKER_SYMBOL(bsp_section_sdata_libdl_end)
LINKER_SYMBOL(bsp_section_sdata_libdl_size)
LINKER_SYMBOL(bsp_section_rtemsstack_begin)
LINKER_SYMBOL(bsp_section_rtemsstack_end)
LINKER_SYMBOL(bsp_section_rtemsstack_size)