GNU Binutils with patches for OS216
修訂 | 0984958bd1d20245e4d42888a697b6015dc6172f (tree) |
---|---|
時間 | 2018-01-24 06:18:24 |
作者 | Maciej W. Rozycki <macro@mips...> |
Commiter | Maciej W. Rozycki |
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.
@@ -1,5 +1,11 @@ | ||
1 | 1 | 2018-01-23 Maciej W. Rozycki <macro@mips.com> |
2 | 2 | |
3 | + * configure.ac: Also set `mips_default_abi' to N32_ABI for | |
4 | + `mips64*-ps2-elf*'. | |
5 | + * configure: Regenerate. | |
6 | + | |
7 | +2018-01-23 Maciej W. Rozycki <macro@mips.com> | |
8 | + | |
3 | 9 | * config/tc-mips.c (options): Remove OPTION_COMPAT_ARCH_BASE |
4 | 10 | enum value. |
5 | 11 |
@@ -12380,7 +12380,8 @@ _ACEOF | ||
12380 | 12380 | esac |
12381 | 12381 | # Decide which ABI to target by default. |
12382 | 12382 | case ${target} in |
12383 | - mips64*-linux* | mips-sgi-irix6* | mips64*-freebsd* | mips64*-kfreebsd*-gnu) | |
12383 | + mips64*-linux* | mips-sgi-irix6* | mips64*-freebsd* \ | |
12384 | + | mips64*-kfreebsd*-gnu | mips64*-ps2-elf*) | |
12384 | 12385 | mips_default_abi=N32_ABI |
12385 | 12386 | ;; |
12386 | 12387 | mips*-linux* | mips*-freebsd* | mips*-kfreebsd*-gnu) |
@@ -345,7 +345,8 @@ changequote([,])dnl | ||
345 | 345 | esac |
346 | 346 | # Decide which ABI to target by default. |
347 | 347 | case ${target} in |
348 | - mips64*-linux* | mips-sgi-irix6* | mips64*-freebsd* | mips64*-kfreebsd*-gnu) | |
348 | + mips64*-linux* | mips-sgi-irix6* | mips64*-freebsd* \ | |
349 | + | mips64*-kfreebsd*-gnu | mips64*-ps2-elf*) | |
349 | 350 | mips_default_abi=N32_ABI |
350 | 351 | ;; |
351 | 352 | mips*-linux* | mips*-freebsd* | mips*-kfreebsd*-gnu) |