aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2006-12-16 11:24:05 +0000
committerMark Kettenis <kettenis@gnu.org>2006-12-16 11:24:05 +0000
commita38b265971b74c3753b5b2555686012c467ba3fd (patch)
tree8a20deeb5dcda24efbfc6134a733f93f51f70673
parent5d0fc17b31c25fa1c33b7808db13220871a72ded (diff)
downloadgdb-a38b265971b74c3753b5b2555686012c467ba3fd.zip
gdb-a38b265971b74c3753b5b2555686012c467ba3fd.tar.gz
gdb-a38b265971b74c3753b5b2555686012c467ba3fd.tar.bz2
* config.bfd: (sh*-*-openbsd*): Add target.
* configure.in (sh*-*-openbsd*): Set COREFILE to netbsd-core.lo. * configure: Regenerate.
-rw-r--r--bfd/ChangeLog6
-rw-r--r--bfd/config.bfd4
-rwxr-xr-xbfd/configure4
-rw-r--r--bfd/configure.in4
4 files changed, 16 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 312fef6..61e0281 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,9 @@
+2006-12-15 Mark Kettenis <kettenis@gnu.org>
+
+ * config.bfd: (sh*-*-openbsd*): Add target.
+ * configure.in (sh*-*-openbsd*): Set COREFILE to netbsd-core.lo.
+ * configure: Regenerate.
+
2006-12-15 Alan Modra <amodra@bigpond.net.au>
* opncls.c (bfd_openr_iovec): Add "stat" parameter.
diff --git a/bfd/config.bfd b/bfd/config.bfd
index 9b81db7..2dfd3d9 100644
--- a/bfd/config.bfd
+++ b/bfd/config.bfd
@@ -1256,6 +1256,10 @@ case "${targ}" in
targ_selvecs="bfd_elf32_shl_vec shcoff_vec shlcoff_vec shcoff_small_vec shlcoff_small_vec"
targ_underscore=yes
;;
+ sh*-*-openbsd*)
+ targ_defvec=bfd_elf32_shlnbsd_vec
+ targ_selvecs="bfd_elf32_shnbsd_vec shcoff_vec shlcoff_vec"
+ ;;
sh-*-pe)
targ_defvec=shlpe_vec
targ_selvecs="shlpe_vec shlpei_vec"
diff --git a/bfd/configure b/bfd/configure
index 07c20c1..90975c3 100755
--- a/bfd/configure
+++ b/bfd/configure
@@ -9410,7 +9410,9 @@ rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
powerpc-*-netbsd*) COREFILE=netbsd-core.lo ;;
powerpc-*-*bsd*) COREFILE=netbsd-core.lo ;;
s390*-*-*) COREFILE=trad-core.lo ;;
- sh*-*-netbsd*) COREFILE=netbsd-core.lo ;;
+ sh*-*-netbsd* | sh*-*-openbsd*)
+ COREFILE=netbsd-core.lo
+ ;;
sparc-*-netbsd* | sparc*-*-openbsd*)
COREFILE=netbsd-core.lo
;;
diff --git a/bfd/configure.in b/bfd/configure.in
index 073377a..2ea861f 100644
--- a/bfd/configure.in
+++ b/bfd/configure.in
@@ -365,7 +365,9 @@ changequote([,])dnl
powerpc-*-netbsd*) COREFILE=netbsd-core.lo ;;
powerpc-*-*bsd*) COREFILE=netbsd-core.lo ;;
s390*-*-*) COREFILE=trad-core.lo ;;
- sh*-*-netbsd*) COREFILE=netbsd-core.lo ;;
+ sh*-*-netbsd* | sh*-*-openbsd*)
+ COREFILE=netbsd-core.lo
+ ;;
sparc-*-netbsd* | sparc*-*-openbsd*)
COREFILE=netbsd-core.lo
;;