public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: YunQiang Su <yunqiang.su@cipunited.com>
To: binutils@sourceware.org
Cc: YunQiang Su <yunqiang.su@cipunited.com>
Subject: [committed 5/6] Gold/MIPS: Add mips64*/mips64*el triple support
Date: Sun, 27 Aug 2023 23:49:39 -0400	[thread overview]
Message-ID: <20230828034940.2056275-5-yunqiang.su@cipunited.com> (raw)
In-Reply-To: <20230828034940.2056275-1-yunqiang.su@cipunited.com>

Use targ_size=64 and targ_extra_size=32
---
 gold/configure.tgt | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/gold/configure.tgt b/gold/configure.tgt
index 4b16634ff4e..e2e131bbd84 100644
--- a/gold/configure.tgt
+++ b/gold/configure.tgt
@@ -153,6 +153,14 @@ aarch64*-*)
  targ_big_endian=false
  targ_extra_big_endian=true
  ;;
+mips64*el-*-*)
+ targ_obj=mips
+ targ_machine=EM_MIPS
+ targ_size=64
+ targ_extra_size=32
+ targ_big_endian=false
+ targ_extra_big_endian=true
+ ;;
 mips*el-*-*)
  targ_obj=mips
  targ_machine=EM_MIPS
@@ -161,6 +169,14 @@ mips*el-*-*)
  targ_big_endian=false
  targ_extra_big_endian=true
  ;;
+mips64*-*-*)
+ targ_obj=mips
+ targ_machine=EM_MIPS
+ targ_size=64
+ targ_extra_size=32
+ targ_big_endian=true
+ targ_extra_little_endian=true
+ ;;
 mips*-*-*)
  targ_obj=mips
  targ_machine=EM_MIPS
-- 
2.39.2


  parent reply	other threads:[~2023-08-28  3:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-28  3:49 [committed 1/6] Gold: Add targ_extra_little_endian to configure.ac YunQiang Su
2023-08-28  3:49 ` [committed 2/6] Gold/MIPS: Use EM_MIPS instead of EM_MIPS_RS3_LE for little endian YunQiang Su
2023-10-07  3:32   ` YunQiang Su
2023-10-07 15:01     ` Maciej W. Rozycki
2023-08-28  3:49 ` [committed 3/6] Gold/MIPS: Drop mips*le/mips*el* triple pattern YunQiang Su
2023-08-28  3:49 ` [committed 4/6] Gold/MIPS: Add targ_extra_size=64 for mips32 triples YunQiang Su
2023-08-28  3:49 ` YunQiang Su [this message]
2023-08-28  3:49 ` [committed 6/6] MIPS: Use 64-bit a ABI by default for `mipsisa64*-*-linux*' targets YunQiang Su

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=20230828034940.2056275-5-yunqiang.su@cipunited.com \
    --to=yunqiang.su@cipunited.com \
    --cc=binutils@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).