From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 7863) id 13A6C3858D28; Mon, 28 Aug 2023 03:44:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 13A6C3858D28 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: YunQiang Su To: bfd-cvs@sourceware.org Subject: [binutils-gdb] Gold/MIPS: Use EM_MIPS instead of EM_MIPS_RS3_LE for little endian X-Act-Checkin: binutils-gdb X-Git-Author: YunQiang Su X-Git-Refname: refs/heads/master X-Git-Oldrev: cf8565fb2ea42579c50722cbaeafdf71c3d58c66 X-Git-Newrev: 39834263784567c306fbccb8230ddd1badca53fe Message-Id: <20230828034420.13A6C3858D28@sourceware.org> Date: Mon, 28 Aug 2023 03:44:20 +0000 (GMT) X-BeenThere: binutils-cvs@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Binutils-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Aug 2023 03:44:20 -0000 https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D398342637845= 67c306fbccb8230ddd1badca53fe commit 39834263784567c306fbccb8230ddd1badca53fe Author: YunQiang Su Date: Sun Aug 27 21:46:21 2023 -0400 Gold/MIPS: Use EM_MIPS instead of EM_MIPS_RS3_LE for little endian =20 EM_MIPS_RS3_LE has been deprecated quite long ago, and in fact most of current LE ELF files are using EM_MIPS. =20 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: --- 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=3Dmips - targ_machine=3DEM_MIPS_RS3_LE + targ_machine=3DEM_MIPS targ_size=3D32 targ_big_endian=3Dfalse targ_extra_big_endian=3Dtrue