summaryrefslogtreecommitdiffstats
path: root/bsps/powerpc/mpc8260ads
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2019-03-06 21:15:56 +1100
committerChris Johns <chrisj@rtems.org>2019-03-07 06:33:47 +1100
commitec1dd51aae0cbce0560b3d72a6f86c938340f2fc (patch)
treeac4868a4d7a9a6af5ee2b523231002142570006c /bsps/powerpc/mpc8260ads
parenttestsuite: Make the OPERATION_COUNT a test configuration parameter. (diff)
downloadrtems-ec1dd51aae0cbce0560b3d72a6f86c938340f2fc.tar.bz2
libdl: Add small data support to the remaining PowerPC BSPs.
Updates #3687
Diffstat (limited to 'bsps/powerpc/mpc8260ads')
-rw-r--r--bsps/powerpc/mpc8260ads/start/linkcmds24
1 files changed, 16 insertions, 8 deletions
diff --git a/bsps/powerpc/mpc8260ads/start/linkcmds b/bsps/powerpc/mpc8260ads/start/linkcmds
index 84933b48e9..82550d41a8 100644
--- a/bsps/powerpc/mpc8260ads/start/linkcmds
+++ b/bsps/powerpc/mpc8260ads/start/linkcmds
@@ -100,7 +100,7 @@ SECTIONS
* end terminate with a NULL entry.
*/
- PROVIDE (__CTOR_LIST__ = .);
+ PROVIDE (__CTOR_LIST__ = .);
/* LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2) */
*crtbegin.o(.ctors)
*(.ctors)
@@ -227,28 +227,36 @@ SECTIONS
.fixup : { *(.fixup) } >ram
PROVIDE (_FIXUP_END_ = .);
PROVIDE (__FIXUP_END__ = .);
-
+
.sdata : {
+ bsp_section_sdata_begin = .;
PROVIDE (_SDA_BASE_ = 32768);
*(.sdata .sdata.* .gnu.linkonce.s.*)
- } > ram
-
+ bsp_section_sdata_end = .;
+ } > ram
+
.sbss : {
__bss_start = .;
-
+ bsp_section_sbss_begin = .;
+
PROVIDE (__sbss_start = .); PROVIDE (___sbss_start = .);
*(.scommon)
*(.dynsbss)
*(.sbss .sbss.* .gnu.linkonce.sb.*)
PROVIDE (__sbss_end = .); PROVIDE (___sbss_end = .);
+ bsp_section_sbss_end = .;
+ bsp_section_sdata_libdl_begin = .;
+ . = DEFINED(bsp_section_small_data_area_size) ?
+ bsp_section_sdata_begin + bsp_section_small_data_area_size : .;
+ bsp_section_sdata_libdl_end = .;
} > ram
-
+
.sdata2 : {
PROVIDE (_SDA2_BASE_ = 32768);
-
+
*(.sdata2 .sdata2.* .gnu.linkonce.s2.*)
} > ram =0
-
+
.sbss2 : {
*(.sbss2 .sbss2.* .gnu.linkonce.sb2.*)
} > ram =0