aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorYunQiang Su <yunqiang.su@cipunited.com>2023-08-21 01:14:57 +0800
committerYunQiang Su <yunqiang.su@cipunited.com>2023-08-27 23:43:30 -0400
commit025e84f93566c8ced594ef48ddee1dec7e5b4cdd (patch)
tree530487963aa07ba0e1fd92b0667312c3b135c177 /ld
parent5c4cdba100b66e2924a25dad9b12d8e5b84d527f (diff)
downloadgdb-025e84f93566c8ced594ef48ddee1dec7e5b4cdd.zip
gdb-025e84f93566c8ced594ef48ddee1dec7e5b4cdd.tar.gz
gdb-025e84f93566c8ced594ef48ddee1dec7e5b4cdd.tar.bz2
MIPS: Use 64-bit a ABI by default for `mipsisa64*-*-linux*' targets
Following the arrangement in GCC select a 64-bit ABI by default, either n32 or n64, rather than o32 for `mipsisa64*-*-linux*' targets, just as with the corresponding `mips64*-*-linux*' targets.
Diffstat (limited to 'ld')
-rw-r--r--ld/configure.tgt10
1 files changed, 6 insertions, 4 deletions
diff --git a/ld/configure.tgt b/ld/configure.tgt
index ff0aaaa..34d20e0 100644
--- a/ld/configure.tgt
+++ b/ld/configure.tgt
@@ -586,21 +586,23 @@ mips*-*-vxworks*) targ_emul=elf32ebmipvxworks
;;
mips*-*-windiss) targ_emul=elf32mipswindiss
;;
-mips64*el-*-linux-gnuabi64)
+mips64*el-*-linux-gnuabi64 | mipsisa64*el-*-linux-gnuabi64)
targ_emul=elf64ltsmip
targ_extra_emuls="elf64btsmip elf32ltsmipn32 elf32btsmipn32 elf32ltsmip elf32btsmip"
targ_extra_libpath=$targ_extra_emuls
;;
-mips64*el-*-linux-*) targ_emul=elf32ltsmipn32
+mips64*el-*-linux-* | mipsisa64*el-*-linux-*)
+ targ_emul=elf32ltsmipn32
targ_extra_emuls="elf32btsmipn32 elf32ltsmip elf32btsmip elf64ltsmip elf64btsmip"
targ_extra_libpath=$targ_extra_emuls
;;
-mips64*-*-linux-gnuabi64)
+mips64*-*-linux-gnuabi64 | mipsisa64*-*-linux-gnuabi64)
targ_emul=elf64btsmip
targ_extra_emuls="elf64ltsmip elf32btsmipn32 elf32ltsmipn32 elf32btsmip elf32ltsmip"
targ_extra_libpath=$targ_extra_emuls
;;
-mips64*-*-linux-*) targ_emul=elf32btsmipn32
+mips64*-*-linux-* | mipsisa64*-*-linux-*)
+ targ_emul=elf32btsmipn32
targ_extra_emuls="elf32ltsmipn32 elf32btsmip elf32ltsmip elf64btsmip elf64ltsmip"
targ_extra_libpath=$targ_extra_emuls
;;