NEWS: record mips*64 CPU name and -gnuabi64 ABI support

Message ID 20230721152656.4122973-1-yunqiang.su@cipunited.com
State Unresolved
Headers
Series NEWS: record mips*64 CPU name and -gnuabi64 ABI support |

Checks

Context Check Description
snail/binutils-gdb-check warning Git am fail log

Commit Message

YunQiang Su July 21, 2023, 3:26 p.m. UTC
  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(+)
  

Comments

Andreas K. Huettel July 25, 2023, 8:37 p.m. UTC | #1
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.
  

Patch

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