public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] NEWS: record mips*64 CPU name and -gnuabi64 ABI support
@ 2023-07-21 15:26 YunQiang Su
  2023-07-25 20:37 ` Andreas K. Huettel
  0 siblings, 1 reply; 2+ messages in thread
From: YunQiang Su @ 2023-07-21 15:26 UTC (permalink / raw)
  To: binutils; +Cc: richard.sandiford, macro, YunQiang Su

GCC supports triples like mipsisa64rN* as the CPU section of triples.
We add this support to binutils since commit
   32f1c80375ebe8ad25d9805ee5889f0006c51e59.

Due to history reason, the default ABI of mips*64*-linux-gnu* is N32
instead of N64.  When we working on Debian's mips64el port, we
introduced `-linux-gnuabi64` flavor, and we also support it since
the above commit.

Let's record them in gas/NEWS, gold/NEWS, and ld/NEWS for 2.41 release.
---
 gas/NEWS  | 3 +++
 gold/NEWS | 2 ++
 ld/NEWS   | 3 +++
 3 files changed, 8 insertions(+)

diff --git a/gas/NEWS b/gas/NEWS
index 59bdd30aaaa..63e2e7a168b 100644
--- a/gas/NEWS
+++ b/gas/NEWS
@@ -24,6 +24,9 @@ Changes in 2.41:
 
 * Deprecate the LoongArch register aliases $v0, $v1, $x, $fv0 and $fv1.
 
+* Support mips*64 as the CPU name, the default ABI for them is set to N32.
+  Only when the triple ends with linux-gnuabi64, use N64 as default ABI.
+
 Changes in 2.40:
 
 * Add support for Intel RAO-INT instructions.
diff --git a/gold/NEWS b/gold/NEWS
index 154908b55a6..3c1d95f663b 100644
--- a/gold/NEWS
+++ b/gold/NEWS
@@ -5,6 +5,8 @@
 
 * Remove support for -z bndplt (MPX prefix instructions).
 
+* Support mips*64* as CPU name.
+
 Changes in 1.16:
 
 * Improve warning messages for relocations that refer to discarded sections.
diff --git a/ld/NEWS b/ld/NEWS
index e1ac20b8a97..2c298e1af55 100644
--- a/ld/NEWS
+++ b/ld/NEWS
@@ -20,6 +20,9 @@ Changes in 2.41:
 * Add command-line option, -z nosectionheader, to omit ELF section
   header.
 
+* Support mips*64* as CPU name, instead the previous mips64*, and set the default
+  target to N32.  As an exception, -linux-gnuabi64, is set to N64.
+
 Changes in 2.40:
 
 * The linker has a new command line option to suppress the generation of any
-- 
2.30.2


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] NEWS: record mips*64 CPU name and -gnuabi64 ABI support
  2023-07-21 15:26 [PATCH] NEWS: record mips*64 CPU name and -gnuabi64 ABI support YunQiang Su
@ 2023-07-25 20:37 ` Andreas K. Huettel
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas K. Huettel @ 2023-07-25 20:37 UTC (permalink / raw)
  To: binutils; +Cc: richard.sandiford, macro, YunQiang Su, YunQiang Su

[-- Attachment #1: Type: text/plain, Size: 802 bytes --]

Am Freitag, 21. Juli 2023, 17:26:56 CEST schrieb YunQiang Su:
> GCC supports triples like mipsisa64rN* as the CPU section of triples.
> We add this support to binutils since commit
>    32f1c80375ebe8ad25d9805ee5889f0006c51e59.
> 
> Due to history reason, the default ABI of mips*64*-linux-gnu* is N32
> instead of N64.  When we working on Debian's mips64el port, we
> introduced `-linux-gnuabi64` flavor, and we also support it since
> the above commit.
> 
> Let's record them in gas/NEWS, gold/NEWS, and ld/NEWS for 2.41 release.
> ---
>  gas/NEWS  | 3 +++
>  gold/NEWS | 2 ++
>  ld/NEWS   | 3 +++
>  3 files changed, 8 insertions(+)
> 

Sounds good to me.

-- 
Andreas K. Hüttel
dilfridge@gentoo.org
Gentoo Linux developer
(council, toolchain, base-system, perl, libreoffice)

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 981 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-07-25 20:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-21 15:26 [PATCH] NEWS: record mips*64 CPU name and -gnuabi64 ABI support YunQiang Su
2023-07-25 20:37 ` Andreas K. Huettel

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).