aboutsummaryrefslogtreecommitdiff
path: root/gold
diff options
context:
space:
mode:
authorYunQiang Su <yunqiang.su@cipunited.com>2023-11-10 16:28:42 +0000
committerNick Clifton <nickc@redhat.com>2023-11-10 16:28:42 +0000
commit870a4f2cc3df832eab92151e27fd9e7db9027726 (patch)
treef88265a8ba4b860189c5be0c2632bfdca70b65ba /gold
parent5efb1045972d8bdb317a7c83ba9d9f016aceb023 (diff)
downloadgdb-870a4f2cc3df832eab92151e27fd9e7db9027726.zip
gdb-870a4f2cc3df832eab92151e27fd9e7db9027726.tar.gz
gdb-870a4f2cc3df832eab92151e27fd9e7db9027726.tar.bz2
Gold/MIPS: Use EM_MIPS instead of EM_MIPS_RS3_LE for little endian
Diffstat (limited to 'gold')
-rw-r--r--gold/ChangeLog5
-rw-r--r--gold/configure.tgt2
2 files changed, 6 insertions, 1 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index 54fb1c1..0a7ff50 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,3 +1,8 @@
+2023-11-10 YunQiang Su <yunqiang.su@cipunited.com>
+
+ * configure.tgt (targ_machine): Set to EM_MIPS for little endian
+ mips targets.
+
2023-09-05 Roland McGrath <mcgrathr@google.com>
The std::basic_string template type is only specified for
diff --git a/gold/configure.tgt b/gold/configure.tgt
index 4b54e08..751c8fd 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