summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils/bfd
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/binutils/bfd')
-rw-r--r--gnu/usr.bin/binutils/bfd/config.bfd6
-rw-r--r--gnu/usr.bin/binutils/bfd/configure5
2 files changed, 6 insertions, 5 deletions
diff --git a/gnu/usr.bin/binutils/bfd/config.bfd b/gnu/usr.bin/binutils/bfd/config.bfd
index 4c86e4dc833..75595196b9e 100644
--- a/gnu/usr.bin/binutils/bfd/config.bfd
+++ b/gnu/usr.bin/binutils/bfd/config.bfd
@@ -353,10 +353,14 @@ case "${targ}" in
targ_defvec=m88kbcs_vec
targ_underscore=yes
;;
- mips*-*-openbsd*)
+ mips*el-*-openbsd*)
targ_defvec=bfd_elf32_littlemips_vec
targ_selvecs=bfd_elf32_bigmips_vec
;;
+ mips*-*-openbsd*)
+ targ_defvec=bfd_elf32_bigmips_vec
+ targ_selvecs="bfd_elf32_littlemips_vec bfd_elf64_bigmips_vec bfd_elf64_littlemips_vec"
+ ;;
mips*-big-*)
targ_defvec=ecoff_big_vec
targ_selvecs=ecoff_little_vec
diff --git a/gnu/usr.bin/binutils/bfd/configure b/gnu/usr.bin/binutils/bfd/configure
index 3c5db469545..d0e575e252d 100644
--- a/gnu/usr.bin/binutils/bfd/configure
+++ b/gnu/usr.bin/binutils/bfd/configure
@@ -1664,7 +1664,7 @@ EOF
EOF
;;
- mips-*-openbsd*)
+ mips*-*-openbsd*)
COREFILE=netbsd-core.o
;;
mips-dec-bsd*)
@@ -1681,9 +1681,6 @@ EOF
EOF
;;
- mips-*-netbsd*)
- COREFILE=netbsd-core.o
- ;;
mips-*-openbsd*)
COREFILE=netbsd-core.o
;;