From e7886d4ba19fc81c1bad8ce411107e46094665ef Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 11 Feb 1997 20:34:57 +0000 Subject: * scripttempl/elfmips.sc: When relocating, put .mips16.fn.* and .mips16.call.* in .text. --- ld/scripttempl/elfmips.sc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'ld/scripttempl') 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 = .);} -- cgit v1.1