diff options
Diffstat (limited to 'ld')
-rwxr-xr-x | ld/h8300hms.sc-sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ld/h8300hms.sc-sh b/ld/h8300hms.sc-sh index ca19afb..6eab5c2 100755 --- a/ld/h8300hms.sc-sh +++ b/ld/h8300hms.sc-sh @@ -16,23 +16,23 @@ SECTIONS { *(.text) *(.strings) - _etext = .; + ${RELOCATING+_etext = .;} } ${RELOCATING+ > ram} .data : { *(.data) - _edata = .; + ${RELOCATING+_edata = .;} } ${RELOCATING+ > ram} .bss : { - ${RELOCATING+ _bss_start = .}; + ${RELOCATING+ _bss_start = .;} *(.bss) *(COMMON) ${RELOCATING+ _end = .}; } ${RELOCATING+ >ram} .stack : { - _stack = .; + ${RELOCATING+_stack = .;} *(.stack) } ${RELOCATING+ > topram} } |