aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2006-09-07 17:01:10 +0000
committerNick Clifton <nickc@redhat.com>2006-09-07 17:01:10 +0000
commit7c94efc52259df93dbe9aa3e4dcb1334bd460aef (patch)
tree5e126b8cc1a626fe4e57b540a24c7adfdf1b293a /ld
parent2ab1eb7abcf19861c0d778227bd44d5085d1e176 (diff)
downloadgdb-7c94efc52259df93dbe9aa3e4dcb1334bd460aef.zip
gdb-7c94efc52259df93dbe9aa3e4dcb1334bd460aef.tar.gz
gdb-7c94efc52259df93dbe9aa3e4dcb1334bd460aef.tar.bz2
* emulparams/h8300elf.sh: _tinydata should not be placed in relocatables.
* emulparams/h8300.sh: Likewise. * emulparams/h8300sxelf.sh: Likewise.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog7
-rw-r--r--ld/emulparams/h8300.sh2
-rw-r--r--ld/emulparams/h8300elf.sh2
-rw-r--r--ld/emulparams/h8300sxelf.sh2
4 files changed, 10 insertions, 3 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 939fef0..a81518a 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,10 @@
+2006-09-07 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * emulparams/h8300elf.sh: _tinydata should not be placed in
+ relocatables.
+ * emulparams/h8300.sh: Likewise.
+ * emulparams/h8300sxelf.sh: Likewise.
+
2006-09-05 H.J. Lu <hongjiu.lu@intel.com>
PR ld/3015
diff --git a/ld/emulparams/h8300.sh b/ld/emulparams/h8300.sh
index 68ecdb3..7042535 100644
--- a/ld/emulparams/h8300.sh
+++ b/ld/emulparams/h8300.sh
@@ -10,7 +10,7 @@ TINY_READONLY_SECTION=".tinyrodata :
TINY_DATA_SECTION=".tinydata 0xff8000 :
{
*(.tinydata)
- _tinydata = .;
+ ${RELOCATING+ _tinydata = .; }
}"
TINY_BSS_SECTION=".tinybss : AT (_tinydata)
{
diff --git a/ld/emulparams/h8300elf.sh b/ld/emulparams/h8300elf.sh
index 67d5b20..39cff18 100644
--- a/ld/emulparams/h8300elf.sh
+++ b/ld/emulparams/h8300elf.sh
@@ -17,7 +17,7 @@ TINY_READONLY_SECTION=".tinyrodata :
TINY_DATA_SECTION=".tinydata 0xff8000 :
{
*(.tinydata)
- _tinydata = .;
+ ${RELOCATING+ _tinydata = .; }
}"
TINY_BSS_SECTION=".tinybss : AT (_tinydata)
{
diff --git a/ld/emulparams/h8300sxelf.sh b/ld/emulparams/h8300sxelf.sh
index bac2cc3..c0b715f 100644
--- a/ld/emulparams/h8300sxelf.sh
+++ b/ld/emulparams/h8300sxelf.sh
@@ -8,7 +8,7 @@ TINY_READONLY_SECTION=".tinyrodata :
TINY_DATA_SECTION=".tinydata 0xff8000 :
{
*(.tinydata)
- _tinydata = .;
+ ${RELOCATING+ _tinydata = .; }
}"
TINY_BSS_SECTION=".tinybss : AT (_tinydata)
{