* emulparams/h8300elf.sh: _tinydata should not be placed in relocatables.
authorNick Clifton <nickc@redhat.com>
Thu, 7 Sep 2006 17:01:10 +0000 (17:01 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 7 Sep 2006 17:01:10 +0000 (17:01 +0000)
* emulparams/h8300.sh: Likewise.
* emulparams/h8300sxelf.sh: Likewise.

ld/ChangeLog
ld/emulparams/h8300.sh
ld/emulparams/h8300elf.sh
ld/emulparams/h8300sxelf.sh

index 939fef05dd556059b277424ab9e674c118d37ad3..a81518a0f29df1c6c38cf7b72e71000e201ce512 100644 (file)
@@ -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
index 68ecdb3be7d4e4711a3f2c4328ba8fba57894175..7042535b40071e810fb7a0a15bbb38a833f7ff7e 100644 (file)
@@ -10,7 +10,7 @@ TINY_READONLY_SECTION=".tinyrodata :
 TINY_DATA_SECTION=".tinydata   0xff8000 :
   {
        *(.tinydata)
-       _tinydata = .;
+       ${RELOCATING+ _tinydata = .; }
   }"
 TINY_BSS_SECTION=".tinybss     : AT (_tinydata)
   {
index 67d5b20361e8a10bc8299250d68ead104342b582..39cff18d2ce7bd3129140bed7ceffc11877a8a07 100644 (file)
@@ -17,7 +17,7 @@ TINY_READONLY_SECTION=".tinyrodata :
 TINY_DATA_SECTION=".tinydata   0xff8000 :
   {
        *(.tinydata)
-       _tinydata = .;
+        ${RELOCATING+ _tinydata = .; }
   }"
 TINY_BSS_SECTION=".tinybss     : AT (_tinydata)
   {
index bac2cc3cd0e88b701bdae4e546f9f69380e095df..c0b715f0ba9016330125b5cbce6b54f949e90cb8 100644 (file)
@@ -8,7 +8,7 @@ TINY_READONLY_SECTION=".tinyrodata :
 TINY_DATA_SECTION=".tinydata   0xff8000 :
   {
        *(.tinydata)
-       _tinydata = .;
+       ${RELOCATING+ _tinydata = .; }
   }"
 TINY_BSS_SECTION=".tinybss     : AT (_tinydata)
   {