From: Nick Clifton Date: Thu, 7 Sep 2006 17:01:10 +0000 (+0000) Subject: * emulparams/h8300elf.sh: _tinydata should not be placed in relocatables. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7c94efc52259df93dbe9aa3e4dcb1334bd460aef;p=binutils-gdb.git * emulparams/h8300elf.sh: _tinydata should not be placed in relocatables. * emulparams/h8300.sh: Likewise. * emulparams/h8300sxelf.sh: Likewise. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index 939fef05dd5..a81518a0f29 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,10 @@ +2006-09-07 Joel Sherrill + + * emulparams/h8300elf.sh: _tinydata should not be placed in + relocatables. + * emulparams/h8300.sh: Likewise. + * emulparams/h8300sxelf.sh: Likewise. + 2006-09-05 H.J. Lu PR ld/3015 diff --git a/ld/emulparams/h8300.sh b/ld/emulparams/h8300.sh index 68ecdb3be7d..7042535b400 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 67d5b20361e..39cff18d2ce 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 bac2cc3cd0e..c0b715f0ba9 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) {