summaryrefslogtreecommitdiffstats
path: root/bsps/powerpc/psim
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2019-02-11 07:34:14 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2019-02-11 11:41:13 +0100
commiteec706e2bf41a9a166aa5e744d041171015214ea (patch)
tree3ff2b448ccde61efdbb87f1486a624ecf4fa94b5 /bsps/powerpc/psim
parentlibdl: Add powerpc large memory and small data support. (diff)
downloadrtems-eec706e2bf41a9a166aa5e744d041171015214ea.tar.bz2
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.
Diffstat (limited to 'bsps/powerpc/psim')
-rw-r--r--bsps/powerpc/psim/start/linkcmds6
1 files changed, 2 insertions, 4 deletions
diff --git a/bsps/powerpc/psim/start/linkcmds b/bsps/powerpc/psim/start/linkcmds
index a34f4a2bcd..69491abb86 100644
--- a/bsps/powerpc/psim/start/linkcmds
+++ b/bsps/powerpc/psim/start/linkcmds
@@ -37,9 +37,7 @@ PROVIDE (PSIM_INSTRUCTIONS_PER_MICROSECOND = 10000);
PSIM = 0x0c000000;
-/*
- * Allocate the maximum size to the small data sdata/sbss section.
- */
-bsp_section_set_sdata_sbss_size = 65536;
+/* Allocate the maximum size to the small data area */
+bsp_section_small_data_area_size = 65536;
INCLUDE linkcmds.base