diff options
author | Alan Modra <amodra@gmail.com> | 2006-10-23 03:30:02 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2006-10-23 03:30:02 +0000 |
commit | 19163ab3bd1380b8bc597679b41e7f6a2346cf6d (patch) | |
tree | 2ecbf984ed7808150ddccd3cf8a1795181167841 /ld/emulparams | |
parent | a70ae33183ae2c7f1b9366925b2db34343f73ca7 (diff) | |
download | gdb-19163ab3bd1380b8bc597679b41e7f6a2346cf6d.zip gdb-19163ab3bd1380b8bc597679b41e7f6a2346cf6d.tar.gz gdb-19163ab3bd1380b8bc597679b41e7f6a2346cf6d.tar.bz2 |
* emulparams/h8300elf.sh (TINY_DATA_SECTION, TINY_BSS_SECTION): Don't
set section address on a relocatable link.
Diffstat (limited to 'ld/emulparams')
-rw-r--r-- | ld/emulparams/h8300elf.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/emulparams/h8300elf.sh b/ld/emulparams/h8300elf.sh index 39cff18..fb4db40 100644 --- a/ld/emulparams/h8300elf.sh +++ b/ld/emulparams/h8300elf.sh @@ -14,12 +14,12 @@ TINY_READONLY_SECTION=".tinyrodata : { *(.tinyrodata) } =0" -TINY_DATA_SECTION=".tinydata 0xff8000 : +TINY_DATA_SECTION=".tinydata ${RELOCATING+0xff8000} : { *(.tinydata) ${RELOCATING+ _tinydata = .; } }" -TINY_BSS_SECTION=".tinybss : AT (_tinydata) +TINY_BSS_SECTION=".tinybss : ${RELOCATING+AT (_tinydata)} { *(.tinybss) }" |