From: Per Bothner Date: Thu, 20 May 1993 20:59:28 +0000 (+0000) Subject: * mips.sc-sh: Define _etext, _edata, and _end, in addition X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5b7876febe6a3467694184c9338a354fa6c89bcd;p=binutils-gdb.git * mips.sc-sh: Define _etext, _edata, and _end, in addition to etext, edata, and end. Needed for IRIX 4.0.5F. Patch from mwp@iconix.oz.au (Michael Paddon). --- diff --git a/ld/mips.sc-sh b/ld/mips.sc-sh index 8f3952144ed..0926db5b300 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