diff options
-rw-r--r-- | ld/mips.sc-sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ld/mips.sc-sh b/ld/mips.sc-sh index 8f39521..0926db5 100644 --- a/ld/mips.sc-sh +++ b/ld/mips.sc-sh @@ -20,6 +20,7 @@ SECTIONS *(.text) *(.fini) ${RELOCATING+ etext = .}; + ${RELOCATING+ _etext = .}; } .rdata ${RELOCATING+ ${DATA_ADDR}} : { *(.rdata) @@ -39,6 +40,7 @@ SECTIONS *(.sdata) } ${RELOCATING+ edata = .;} + ${RELOCATING+ _edata = .;} ${RELOCATING+ ${BSS_VAR}} .sbss ${RELOCATING+ .} : { *(.sbss) @@ -49,5 +51,6 @@ SECTIONS *(COMMON) } ${RELOCATING+ end = .;} + ${RELOCATING+ _end = .;} } EOF |