summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils/bfd
diff options
context:
space:
mode:
authorimp <imp@cvs.openbsd.org>1996-12-12 05:16:50 +0000
committerimp <imp@cvs.openbsd.org>1996-12-12 05:16:50 +0000
commit0cc5d3ea85361983bab9a84ff271d6e98b1cb4eb (patch)
treee37682bc2ad31db894cd129446a2c8e154ba1897 /gnu/usr.bin/binutils/bfd
parentc3e66e3b4942f97e0b6abb011835f0c435a82dd1 (diff)
Add OpenBSD/arc support to gdb, from pefo
Diffstat (limited to 'gnu/usr.bin/binutils/bfd')
-rw-r--r--gnu/usr.bin/binutils/bfd/config.bfd4
-rw-r--r--gnu/usr.bin/binutils/bfd/configure3
-rw-r--r--gnu/usr.bin/binutils/bfd/configure.in3
3 files changed, 10 insertions, 0 deletions
diff --git a/gnu/usr.bin/binutils/bfd/config.bfd b/gnu/usr.bin/binutils/bfd/config.bfd
index 5737650d6bc..c7adfa36160 100644
--- a/gnu/usr.bin/binutils/bfd/config.bfd
+++ b/gnu/usr.bin/binutils/bfd/config.bfd
@@ -354,6 +354,10 @@ case "${targ}" in
targ_underscore=yes
;;
+ mips-arc-openbsd*)
+ targ_defvec=bfd_elf32_littlemips_vec
+ targ_selvecs=bfd_elf32_bigmips_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 75b3a15e738..1e99744f31b 100644
--- a/gnu/usr.bin/binutils/bfd/configure
+++ b/gnu/usr.bin/binutils/bfd/configure
@@ -1664,6 +1664,9 @@ EOF
EOF
;;
+ mips-*-openbsd*)
+ COREFILE=netbsd-core.o
+ ;;
mips-dec-bsd*)
COREFILE=trad-core.o
cat >> confdefs.h <<\EOF
diff --git a/gnu/usr.bin/binutils/bfd/configure.in b/gnu/usr.bin/binutils/bfd/configure.in
index 68f1f7f4b39..0a15f9d41a6 100644
--- a/gnu/usr.bin/binutils/bfd/configure.in
+++ b/gnu/usr.bin/binutils/bfd/configure.in
@@ -221,6 +221,9 @@ changequote([,])dnl
COREFILE=trad-core.o
AC_DEFINE(TRAD_HEADER,"hosts/i860mach3.h")
;;
+ mips-*-openbsd*)
+ COREFILE=netbsd-core.o
+ ;;
mips-dec-bsd*)
COREFILE=trad-core.o
AC_DEFINE(TRAD_HEADER,"hosts/mipsbsd.h")