From: Maciej W. Rozycki Date: Tue, 23 Jan 2018 21:18:24 +0000 (+0000) Subject: MIPS/GAS: Correct default ABI selection for `mips64*-ps2-elf*' X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0984958bd1d20245e4d42888a697b6015dc6172f;p=binutils-gdb.git 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)"), 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. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 39a483818e7..2ce6f17f0b0 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2018-01-23 Maciej W. Rozycki + + * configure.ac: Also set `mips_default_abi' to N32_ABI for + `mips64*-ps2-elf*'. + * configure: Regenerate. + 2018-01-23 Maciej W. Rozycki * config/tc-mips.c (options): Remove OPTION_COMPAT_ARCH_BASE diff --git a/gas/configure b/gas/configure index f4abbe2a79a..fbac8f44d54 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 b394179f201..043b5c810b5 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)