From 39834263784567c306fbccb8230ddd1badca53fe Mon Sep 17 00:00:00 2001 From: YunQiang Su Date: Sun, 27 Aug 2023 21:46:21 -0400 Subject: [PATCH] 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. --- gold/configure.tgt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2