aboutsummaryrefslogtreecommitdiff
path: root/gold
diff options
context:
space:
mode:
authorYunQiang Su <yunqiang.su@cipunited.com>2023-08-27 21:46:21 -0400
committerYunQiang Su <yunqiang.su@cipunited.com>2023-08-27 23:43:29 -0400
commit39834263784567c306fbccb8230ddd1badca53fe (patch)
treec26d8e9ff59a343e83b50030986d32cc25e303d9 /gold
parentcf8565fb2ea42579c50722cbaeafdf71c3d58c66 (diff)
downloadgdb-39834263784567c306fbccb8230ddd1badca53fe.zip
gdb-39834263784567c306fbccb8230ddd1badca53fe.tar.gz
gdb-39834263784567c306fbccb8230ddd1badca53fe.tar.bz2
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.
Diffstat (limited to 'gold')
-rw-r--r--gold/configure.tgt2
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/configure.tgt b/gold/configure.tgt
index b472b8f..996bc90 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