projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf8565f
)
Gold/MIPS: Use EM_MIPS instead of EM_MIPS_RS3_LE for little endian
author
YunQiang Su
<yunqiang.su@cipunited.com>
Mon, 28 Aug 2023 01:46:21 +0000
(21:46 -0400)
committer
YunQiang Su
<yunqiang.su@cipunited.com>
Mon, 28 Aug 2023 03:43:29 +0000
(23:43 -0400)
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
patch
|
blob
|
history
diff --git
a/gold/configure.tgt
b/gold/configure.tgt
index b472b8f0bad9913d81b2c84de7e85c8b8c7529aa..996bc901d1dcb4630171d28be5dd8e1ecbc2d494 100644
(file)
--- 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