From 5b7876febe6a3467694184c9338a354fa6c89bcd Mon Sep 17 00:00:00 2001 From: Per Bothner Date: Thu, 20 May 1993 20:59:28 +0000 Subject: [PATCH] * 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). --- ld/mips.sc-sh | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.30.2