From 32f1c80375ebe8ad25d9805ee5889f0006c51e59 Mon Sep 17 00:00:00 2001 From: YunQiang Su Date: Tue, 18 Apr 2023 21:27:04 +0800 Subject: 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. --- gas/configure | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'gas/configure') 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 ;; -- cgit v1.1