aboutsummaryrefslogtreecommitdiff
path: root/gas/configure
diff options
context:
space:
mode:
authorYunQiang Su <yunqiang.su@cipunited.com>2023-04-18 21:27:04 +0800
committerYunQiang Su <yunqiang.su@cipunited.com>2023-04-23 14:32:43 +0800
commit32f1c80375ebe8ad25d9805ee5889f0006c51e59 (patch)
treeca0c5e2eae95fd03048f9c0fa04f243d5c5d00b9 /gas/configure
parentfda507e61c40b25c339c2dbd7ace70498779f70a (diff)
downloadfsf-binutils-gdb-32f1c80375ebe8ad25d9805ee5889f0006c51e59.zip
fsf-binutils-gdb-32f1c80375ebe8ad25d9805ee5889f0006c51e59.tar.gz
fsf-binutils-gdb-32f1c80375ebe8ad25d9805ee5889f0006c51e59.tar.bz2
MIPS: support mips*64 as CPU and gnuabi64 as ABI
For MIPS64r6 ports, Debian as an example, `mipsisa64r6el` is used as the cpu name in triple. Let's recognize them by `mips*64*(el)`. For 64bit Ports, like Debian's mips64el and mips64r6el ports, `gnuabi64` is used as the abi section. Let's use N64 abi by default for the triple with gnuabi64.
Diffstat (limited to 'gas/configure')
-rwxr-xr-xgas/configure5
1 files changed, 4 insertions, 1 deletions
diff --git a/gas/configure b/gas/configure
index b568369..868f4a9 100755
--- a/gas/configure
+++ b/gas/configure
@@ -12223,7 +12223,10 @@ _ACEOF
esac
# Decide which ABI to target by default.
case ${target} in
- mips64*-linux* | mips-sgi-irix6* | mips64*-freebsd* \
+ mips*64*-linux-gnuabi64)
+ mips_default_abi=N64_ABI
+ ;;
+ mips*64*-linux* | mips-sgi-irix6* | mips64*-freebsd* \
| mips64*-kfreebsd*-gnu | mips64*-ps2-elf*)
mips_default_abi=N32_ABI
;;