From 870a4f2cc3df832eab92151e27fd9e7db9027726 Mon Sep 17 00:00:00 2001 From: YunQiang Su Date: Fri, 10 Nov 2023 16:28:42 +0000 Subject: [PATCH] Gold/MIPS: Use EM_MIPS instead of EM_MIPS_RS3_LE for little endian --- gold/ChangeLog | 5 +++++ gold/configure.tgt | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gold/ChangeLog b/gold/ChangeLog index 54fb1c16e17..0a7ff505b46 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,8 @@ +2023-11-10 YunQiang Su + + * configure.tgt (targ_machine): Set to EM_MIPS for little endian + mips targets. + 2023-09-05 Roland McGrath The std::basic_string template type is only specified for diff --git a/gold/configure.tgt b/gold/configure.tgt index 4b54e08d27f..751c8fd06c6 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