aboutsummaryrefslogtreecommitdiff
path: root/ld/configure.tgt
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2002-07-31 22:26:53 +0000
committerH.J. Lu <hjl.tools@gmail.com>2002-07-31 22:26:53 +0000
commita0dfa6a8051fddc213ca7f466f77d5ccc63e65b6 (patch)
tree071c0191434926695daa369199f04bd193e2984b /ld/configure.tgt
parentf3a7b3a58461c679c0ddd15562e08b9950fcd09b (diff)
downloadgdb-a0dfa6a8051fddc213ca7f466f77d5ccc63e65b6.zip
gdb-a0dfa6a8051fddc213ca7f466f77d5ccc63e65b6.tar.gz
gdb-a0dfa6a8051fddc213ca7f466f77d5ccc63e65b6.tar.bz2
Enable 64bit emulations for Linux/mips if 64bit BFD is selected.
Diffstat (limited to 'ld/configure.tgt')
-rw-r--r--ld/configure.tgt10
1 files changed, 8 insertions, 2 deletions
diff --git a/ld/configure.tgt b/ld/configure.tgt
index a144123..6217f65 100644
--- a/ld/configure.tgt
+++ b/ld/configure.tgt
@@ -396,10 +396,16 @@ mips64*-*-linux-gnu*) targ_emul=elf32btsmipn32
targ_extra_emuls="elf32ltsmipn32 elf32btsmip elf32ltsmip elf64btsmip elf64ltsmip"
;;
mips*el-*-linux-gnu*) targ_emul=elf32ltsmip
- targ_extra_emuls="elf32btsmip elf64ltsmip elf64btsmip"
+ targ_extra_emuls="elf32btsmip"
+ if test x${want64} = xtrue; then
+ targ_extra_emuls="$targ_extra_emuls elf32ltsmipn32 elf64ltsmip elf32btsmipn32 elf64btsmip"
+ fi
;;
mips*-*-linux-gnu*) targ_emul=elf32btsmip
- targ_extra_emuls="elf32ltsmip elf64btsmip elf64ltsmip"
+ targ_extra_emuls="elf32ltsmip"
+ if test x${want64} = xtrue; then
+ targ_extra_emuls="$targ_extra_emuls elf32btsmipn32 elf64btsmip elf32ltsmipn32 elf64ltsmip"
+ fi
;;
mips*-*-lnews*) targ_emul=mipslnews ;;
mips*-*-sysv4*) targ_emul=elf32btsmip ;;