summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils/gdb/configure.tgt
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2004-11-04 22:40:50 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2004-11-04 22:40:50 +0000
commit49cb92135f17f7ee271df84b36c0bbb5bf0e8554 (patch)
tree443423aced49f4bb481b9de0deae82eddec17d3d /gnu/usr.bin/binutils/gdb/configure.tgt
parent1850051cfd8bf1e29df55c9c15db029ec9c35d41 (diff)
Set default OS/ABI to OpenBSD/ELF for all ELF ports.
Fixes PR 3922. ok miod@
Diffstat (limited to 'gnu/usr.bin/binutils/gdb/configure.tgt')
-rw-r--r--gnu/usr.bin/binutils/gdb/configure.tgt10
1 files changed, 4 insertions, 6 deletions
diff --git a/gnu/usr.bin/binutils/gdb/configure.tgt b/gnu/usr.bin/binutils/gdb/configure.tgt
index ed05b780685..6767ed8e4a2 100644
--- a/gnu/usr.bin/binutils/gdb/configure.tgt
+++ b/gnu/usr.bin/binutils/gdb/configure.tgt
@@ -193,9 +193,7 @@ sparc64-*-linux*) gdb_target=linux64 ;;
sparc-*-netbsd*) gdb_target=nbsd ;;
sparc64-*-netbsd*) gdb_target=nbsd64 ;;
sparc-*-openbsd*) gdb_target=obsd ;;
-sparc64-*-openbsd*) gdb_target=obsd64
- gdb_osabi=GDB_OSABI_OPENBSD_ELF
- ;;
+sparc64-*-openbsd*) gdb_target=obsd64 ;;
sparc-*-solaris2.[0-6] | sparc-*-solaris2.[0-6].*)
gdb_target=sol2
;;
@@ -223,9 +221,7 @@ x86_64-*-linux*) gdb_target=linux64
build_gdbserver=yes
;;
x86_64-*-netbsd*) gdb_target=nbsd64 ;;
-x86_64-*-openbsd*) gdb_target=obsd64
- gdb_osabi=GDB_OSABI_OPENBSD_ELF
- ;;
+x86_64-*-openbsd*) gdb_target=obsd64 ;;
esac
@@ -235,5 +231,7 @@ case "${target}" in
*-*-linux*) gdb_osabi=GDB_OSABI_LINUX ;;
*-*-gnu*) gdb_osabi=GDB_OSABI_HURD ;;
*-*-nto*) gdb_osabi=GDB_OSABI_QNXNTO ;;
+m68*-*-openbsd* | m88*-*-openbsd* | vax-*-openbsd*) ;;
+*-*-openbsd*) gdb_osabi=GDB_OSABI_OPENBSD_ELF ;;
*-*-solaris*) gdb_osabi=GDB_OSABI_SOLARIS ;;
esac