From f21cd979851fb422b8c01ee26b85b0273885350e Mon Sep 17 00:00:00 2001 From: "Maciej W. Rozycki" Date: Fri, 20 Nov 2015 16:11:22 +0000 Subject: MIPS/LD: Fix little-endian `mti' and `img' ELF emulations Make the little-endian emulation the default for the `mips*el-mti-elf*' and `mips*el-img-elf*' targets, fixing the issue of LD rejecting, in its default configuration, object files produced by GAS also in its default configuration. ld/ * configure.tgt : Add targets. --- ld/configure.tgt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ld/configure.tgt') diff --git a/ld/configure.tgt b/ld/configure.tgt index 6b6bbf25771..27742c05685 100644 --- a/ld/configure.tgt +++ b/ld/configure.tgt @@ -490,7 +490,8 @@ mips*vr4100el-*-elf*) targ_emul=elf32l4300 ;; mips*vr4100-*-elf*) targ_emul=elf32b4300 ;; mips*vr5000el-*-elf*) targ_emul=elf32l4300 ;; mips*vr5000-*-elf*) targ_emul=elf32b4300 ;; -mips*el-sde-elf*) targ_emul=elf32ltsmip +mips*el-sde-elf* | mips*el-mti-elf* | mips*el-img-elf*) + targ_emul=elf32ltsmip targ_extra_emuls="elf32btsmip elf32ltsmipn32 elf64ltsmip elf32btsmipn32 elf64btsmip" ;; mips*-sde-elf* | mips*-mti-elf* | mips*-img-elf*) targ_emul=elf32btsmip -- cgit v1.2.1