summaryrefslogtreecommitdiffstats
path: root/bsps/powerpc/virtex5
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/virtex5
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/virtex5')
-rw-r--r--bsps/powerpc/virtex5/start/linkcmds12
1 files changed, 11 insertions, 1 deletions
diff --git a/bsps/powerpc/virtex5/start/linkcmds b/bsps/powerpc/virtex5/start/linkcmds
index 32425f4c7f..9a5edf7643 100644
--- a/bsps/powerpc/virtex5/start/linkcmds
+++ b/bsps/powerpc/virtex5/start/linkcmds
@@ -209,13 +209,18 @@ SECTIONS
* we can shorten the on-disk segment size.
*/
/* Initialised small data addressed as offsets from r13 */
- .sdata : { PROVIDE (_SDA_BASE_ = 32768); *(.sdata* .gnu.linkonce.s.*) } > RAM
+ .sdata : {
+ bsp_section_sdata_begin = .;
+ PROVIDE (_SDA_BASE_ = 32768); *(.sdata* .gnu.linkonce.s.*);
+ bsp_section_sdata_end = .;
+ } > RAM
_edata = .;
PROVIDE (edata = .);
/* Zeroed small data addressed as offsets from r13 */
.sbss : { PROVIDE (__sbss_start = .);
+ bsp_section_sbss_begin = .;
*(.dynsbss)
*(.sbss*)
*(.gnu.linkonce.sb.*)
@@ -228,6 +233,11 @@ SECTIONS
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
.plt : { *(.plt) } > RAM