diff options
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) }" |