From e7886d4ba19fc81c1bad8ce411107e46094665ef Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 11 Feb 1997 20:34:57 +0000 Subject: [PATCH] * scripttempl/elfmips.sc: When relocating, put .mips16.fn.* and .mips16.call.* in .text. --- ld/ChangeLog | 5 +++++ ld/scripttempl/elfmips.sc | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index 4ab3f5fce5..9ba140fa7c 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +Tue Feb 11 15:34:26 1997 Ian Lance Taylor + + * 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 diff --git a/ld/scripttempl/elfmips.sc b/ld/scripttempl/elfmips.sc index 535310fb1b..ec23a36027 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 = .);} -- 2.34.1