* 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).
This commit is contained in:
Per Bothner
1993-05-20 20:59:28 +00:00
parent 8c59ee1150
commit 5b7876febe

View File

@ -20,6 +20,7 @@ SECTIONS
*(.text) *(.text)
*(.fini) *(.fini)
${RELOCATING+ etext = .}; ${RELOCATING+ etext = .};
${RELOCATING+ _etext = .};
} }
.rdata ${RELOCATING+ ${DATA_ADDR}} : { .rdata ${RELOCATING+ ${DATA_ADDR}} : {
*(.rdata) *(.rdata)
@ -39,6 +40,7 @@ SECTIONS
*(.sdata) *(.sdata)
} }
${RELOCATING+ edata = .;} ${RELOCATING+ edata = .;}
${RELOCATING+ _edata = .;}
${RELOCATING+ ${BSS_VAR}} ${RELOCATING+ ${BSS_VAR}}
.sbss ${RELOCATING+ .} : { .sbss ${RELOCATING+ .} : {
*(.sbss) *(.sbss)
@ -49,5 +51,6 @@ SECTIONS
*(COMMON) *(COMMON)
} }
${RELOCATING+ end = .;} ${RELOCATING+ end = .;}
${RELOCATING+ _end = .;}
} }
EOF EOF