aboutsummaryrefslogtreecommitdiff
path: root/ld
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
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')
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/scripttempl/elfmips.sc4
2 files changed, 8 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 4ab3f5f..9ba140f 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+Tue Feb 11 15:34:26 1997 Ian Lance Taylor <ian@cygnus.com>
+
+ * scripttempl/elfmips.sc: When relocating, put .mips16.fn.* and
+ .mips16.call.* in .text.
+
start-sanitize-r5900
Fri Feb 7 13:16:53 1997 Gavin Koch <gavin@cygnus.com>
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 = .);}