From a38b265971b74c3753b5b2555686012c467ba3fd Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Sat, 16 Dec 2006 11:24:05 +0000 Subject: [PATCH] * config.bfd: (sh*-*-openbsd*): Add target. * configure.in (sh*-*-openbsd*): Set COREFILE to netbsd-core.lo. * configure: Regenerate. --- bfd/ChangeLog | 6 ++++++ bfd/config.bfd | 4 ++++ bfd/configure | 4 +++- bfd/configure.in | 4 +++- 4 files changed, 16 insertions(+), 2 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 312fef6ffc4..61e028148b8 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2006-12-15 Mark Kettenis + + * config.bfd: (sh*-*-openbsd*): Add target. + * configure.in (sh*-*-openbsd*): Set COREFILE to netbsd-core.lo. + * configure: Regenerate. + 2006-12-15 Alan Modra * opncls.c (bfd_openr_iovec): Add "stat" parameter. diff --git a/bfd/config.bfd b/bfd/config.bfd index 9b81db722e5..2dfd3d9b2d3 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 07c20c15e52..90975c373bb 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 073377a0384..2ea861f3ad8 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 ;; -- 2.30.2