* [binutils-gdb] Gold/MIPS: Use EM_MIPS instead of EM_MIPS_RS3_LE for little endian
@ 2023-11-10 16:28 Nick Clifton
0 siblings, 0 replies; 2+ messages in thread
From: Nick Clifton @ 2023-11-10 16:28 UTC (permalink / raw)
To: bfd-cvs
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=870a4f2cc3df832eab92151e27fd9e7db9027726
commit 870a4f2cc3df832eab92151e27fd9e7db9027726
Author: YunQiang Su <yunqiang.su@cipunited.com>
Date: Fri Nov 10 16:28:42 2023 +0000
Gold/MIPS: Use EM_MIPS instead of EM_MIPS_RS3_LE for little endian
Diff:
---
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 <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 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
^ permalink raw reply [flat|nested] 2+ messages in thread
* [binutils-gdb] Gold/MIPS: Use EM_MIPS instead of EM_MIPS_RS3_LE for little endian
@ 2023-08-28 3:44 YunQiang Su
0 siblings, 0 replies; 2+ messages in thread
From: YunQiang Su @ 2023-08-28 3:44 UTC (permalink / raw)
To: bfd-cvs
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=39834263784567c306fbccb8230ddd1badca53fe
commit 39834263784567c306fbccb8230ddd1badca53fe
Author: YunQiang Su <yunqiang.su@cipunited.com>
Date: Sun Aug 27 21:46:21 2023 -0400
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.
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=mips
- targ_machine=EM_MIPS_RS3_LE
+ targ_machine=EM_MIPS
targ_size=32
targ_big_endian=false
targ_extra_big_endian=true
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-11-10 16:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-10 16:28 [binutils-gdb] Gold/MIPS: Use EM_MIPS instead of EM_MIPS_RS3_LE for little endian Nick Clifton
-- strict thread matches above, loose matches on Subject: below --
2023-08-28 3:44 YunQiang Su
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).