aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2003-04-18 08:26:17 +0000
committerNick Clifton <nickc@redhat.com>2003-04-18 08:26:17 +0000
commit517ed4859c817850493617d689868c3ebb0a7a3b (patch)
treeb31f6204e4156b705496257250160fea0e50795e /ld/scripttempl
parent4081944fd18906dd26c21c8bac6aa4f6671bdabf (diff)
downloadgdb-517ed4859c817850493617d689868c3ebb0a7a3b.zip
gdb-517ed4859c817850493617d689868c3ebb0a7a3b.tar.gz
gdb-517ed4859c817850493617d689868c3ebb0a7a3b.tar.bz2
Define __data and __rdata
Diffstat (limited to 'ld/scripttempl')
-rw-r--r--ld/scripttempl/xstormy16.sc2
1 files changed, 2 insertions, 0 deletions
diff --git a/ld/scripttempl/xstormy16.sc b/ld/scripttempl/xstormy16.sc
index 6d4210e..a74df07 100644
--- a/ld/scripttempl/xstormy16.sc
+++ b/ld/scripttempl/xstormy16.sc
@@ -117,6 +117,8 @@ SECTIONS
{
.data ${RELOCATING-0} :
{
+ ${RELOCATING+__rdata = .;}
+ ${RELOCATING+__data = .;}
${RELOCATING+${DATA_START_SYMBOLS}}
*(.data)
${RELOCATING+*(.data.*)}