This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
[binutils-gdb/binutils-2_30-branch] MIPS/GAS: Correct default ABI selection for `mips64*-ps2-elf*'
- From: Maciej W.Rozycki <macro at sourceware dot org>
- To: bfd-cvs at sourceware dot org
- Date: 26 Jan 2018 22:31:45 -0000
- Subject: [binutils-gdb/binutils-2_30-branch] MIPS/GAS: Correct default ABI selection for `mips64*-ps2-elf*'
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=3010b1823899dca5e487574f469a2b9986bd7980
commit 3010b1823899dca5e487574f469a2b9986bd7980
Author: Maciej W. Rozycki <macro@mips.com>
Date: Fri Jan 26 22:29:47 2018 +0000
MIPS/GAS: Correct default ABI selection for `mips64*-ps2-elf*'
Correct an issue with the `mips64*-ps2-elf*' target introduced with
commit e407c74b5b60 ("Support for MIPS R5900 (Sony Playstation 2)"),
<https://sourceware.org/ml/binutils/2012-12/msg00240.html> and make
the n32 ABI the default for GAS, consistently with how BFD and LD
are configured for this target.
gas/
* configure.ac: Also set `mips_default_abi' to N32_ABI for
`mips64*-ps2-elf*'.
* configure: Regenerate.
(cherry picked from commit 0984958bd1d20245e4d42888a697b6015dc6172f)
Diff:
---
gas/ChangeLog | 6 ++++++
gas/configure | 3 ++-
gas/configure.ac | 3 ++-
3 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 9a86647..508cd33 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,9 @@
+2018-01-26 Maciej W. Rozycki <macro@mips.com>
+
+ * configure.ac: Also set `mips_default_abi' to N32_ABI for
+ `mips64*-ps2-elf*'.
+ * configure: Regenerate.
+
2018-01-23 Nick Clifton <nickc@redhat.com>
* configure: Regenerate.
diff --git a/gas/configure b/gas/configure
index 74ef423..6067767 100755
--- a/gas/configure
+++ b/gas/configure
@@ -12380,7 +12380,8 @@ _ACEOF
esac
# Decide which ABI to target by default.
case ${target} in
- mips64*-linux* | mips-sgi-irix6* | mips64*-freebsd* | mips64*-kfreebsd*-gnu)
+ mips64*-linux* | mips-sgi-irix6* | mips64*-freebsd* \
+ | mips64*-kfreebsd*-gnu | mips64*-ps2-elf*)
mips_default_abi=N32_ABI
;;
mips*-linux* | mips*-freebsd* | mips*-kfreebsd*-gnu)
diff --git a/gas/configure.ac b/gas/configure.ac
index b394179..043b5c8 100644
--- a/gas/configure.ac
+++ b/gas/configure.ac
@@ -345,7 +345,8 @@ changequote([,])dnl
esac
# Decide which ABI to target by default.
case ${target} in
- mips64*-linux* | mips-sgi-irix6* | mips64*-freebsd* | mips64*-kfreebsd*-gnu)
+ mips64*-linux* | mips-sgi-irix6* | mips64*-freebsd* \
+ | mips64*-kfreebsd*-gnu | mips64*-ps2-elf*)
mips_default_abi=N32_ABI
;;
mips*-linux* | mips*-freebsd* | mips*-kfreebsd*-gnu)