aboutsummaryrefslogtreecommitdiff
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
parent4081944fd18906dd26c21c8bac6aa4f6671bdabf (diff)
downloadgdb-517ed4859c817850493617d689868c3ebb0a7a3b.zip
gdb-517ed4859c817850493617d689868c3ebb0a7a3b.tar.gz
gdb-517ed4859c817850493617d689868c3ebb0a7a3b.tar.bz2
Define __data and __rdata
-rw-r--r--ld/ChangeLog4
-rw-r--r--ld/scripttempl/xstormy16.sc2
2 files changed, 6 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 76323c2..c097057 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,7 @@
+2003-04-18 Andrew Haley <aph@cambridge.redhat.com>
+
+ * scripttempl/xstormy16.sc (__data, __rdata): New.
+
2003-04-16 Nick Clifton <nickc@redhat.com>
* scripttempl/xstormy16.sc: Add .jcr section mapping.
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.*)}