From: YunQiang Su Date: Mon, 28 Aug 2023 01:46:21 +0000 (-0400) Subject: Gold/MIPS: Use EM_MIPS instead of EM_MIPS_RS3_LE for little endian X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=39834263784567c306fbccb8230ddd1badca53fe;p=binutils-gdb.git Gold/MIPS: Use EM_MIPS instead of EM_MIPS_RS3_LE for little endian EM_MIPS_RS3_LE has been deprecated quite long ago, and in fact most of current LE ELF files are using EM_MIPS. This problem didn't make some trouble for us, is due to that gold is a linker, and all of the inputs to it has right EM values. --- diff --git a/gold/configure.tgt b/gold/configure.tgt index b472b8f0bad..996bc901d1d 100644 --- a/gold/configure.tgt +++ b/gold/configure.tgt @@ -155,7 +155,7 @@ aarch64*-*) ;; mips*el*-*-*|mips*le*-*-*) targ_obj=mips - targ_machine=EM_MIPS_RS3_LE + targ_machine=EM_MIPS targ_size=32 targ_big_endian=false targ_extra_big_endian=true