public inbox for binutils-cvs@sourceware.org
 help / color / mirror / Atom feed
From: YunQiang Su <syq@sourceware.org>
To: bfd-cvs@sourceware.org
Subject: [binutils-gdb/binutils-2_41-branch] Gold/MIPS: Use EM_MIPS instead of EM_MIPS_RS3_LE for little endian
Date: Tue, 21 Nov 2023 05:03:39 +0000 (GMT)	[thread overview]
Message-ID: <20231121050339.303123858D35@sourceware.org> (raw)

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=c27eff41737c95a84c01bd1f498931ad2323141c

commit c27eff41737c95a84c01bd1f498931ad2323141c
Author: YunQiang Su <yunqiang.su@cipunited.com>
Date:   Tue Nov 21 12:52:24 2023 +0800

    Gold/MIPS: Use EM_MIPS instead of EM_MIPS_RS3_LE for little endian
    
    Backport commit: 870a4f2cc3df832eab92151e27fd9e7db9027726

Diff:
---
 gold/ChangeLog     | 5 +++++
 gold/configure.tgt | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/gold/ChangeLog b/gold/ChangeLog
index cbdb467b427..3b09989d32d 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,3 +1,8 @@
+2023-11-21  YunQiang Su  <yunqiang.su@cipunited.com>
+
+	* configure.tgt (mips targets): Set targ_machine to EM_MIPS for
+	little endian mips targets.
+
 2023-07-30  Nick Clifton  <nickc@redhat.com>
 
 	This is the 2.41 release.
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

                 reply	other threads:[~2023-11-21  5:03 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231121050339.303123858D35@sourceware.org \
    --to=syq@sourceware.org \
    --cc=bfd-cvs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).