aboutsummaryrefslogtreecommitdiff
path: root/ld/mips.sc-sh
diff options
context:
space:
mode:
authorPer Bothner <per@bothner.com>1993-05-20 20:59:28 +0000
committerPer Bothner <per@bothner.com>1993-05-20 20:59:28 +0000
commit5b7876febe6a3467694184c9338a354fa6c89bcd (patch)
tree3679dbe54c39a9d7fd9790c9198e7747067b38d0 /ld/mips.sc-sh
parent8c59ee1150bc24e1c8ae0f2b0326450253ce63ad (diff)
downloadgdb-5b7876febe6a3467694184c9338a354fa6c89bcd.zip
gdb-5b7876febe6a3467694184c9338a354fa6c89bcd.tar.gz
gdb-5b7876febe6a3467694184c9338a354fa6c89bcd.tar.bz2
* 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).
Diffstat (limited to 'ld/mips.sc-sh')
-rw-r--r--ld/mips.sc-sh3
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