aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1997-02-11 20:34:57 +0000
committerIan Lance Taylor <ian@airs.com>1997-02-11 20:34:57 +0000
commite7886d4ba19fc81c1bad8ce411107e46094665ef (patch)
treeaf390ce99d200e1393b40d84386c441153e8243c /ld/scripttempl
parenta4183ba5c975bcaed9473184a0830d73ebd84487 (diff)
downloadgdb-e7886d4ba19fc81c1bad8ce411107e46094665ef.zip
gdb-e7886d4ba19fc81c1bad8ce411107e46094665ef.tar.gz
gdb-e7886d4ba19fc81c1bad8ce411107e46094665ef.tar.bz2
* scripttempl/elfmips.sc: When relocating, put .mips16.fn.* and
.mips16.call.* in .text.
Diffstat (limited to 'ld/scripttempl')
-rw-r--r--ld/scripttempl/elfmips.sc4
1 files changed, 3 insertions, 1 deletions
diff --git a/ld/scripttempl/elfmips.sc b/ld/scripttempl/elfmips.sc
index 535310f..ec23a36 100644
--- a/ld/scripttempl/elfmips.sc
+++ b/ld/scripttempl/elfmips.sc
@@ -104,7 +104,9 @@ SECTIONS
*(.stub)
/* .gnu.warning sections are handled specially by elf32.em. */
*(.gnu.warning)
- *(.gnu.linkonce.t*)
+ ${RELOCATING+*(.gnu.linkonce.t*)}
+ ${RELOCATING+*(.mips16.fn.*)}
+ ${RELOCATING+*(.mips16.call.*)}
} =${NOP-0}
${RELOCATING+_etext = .;}
${RELOCATING+PROVIDE (etext = .);}