diff options
-rw-r--r-- | bfd/ChangeLog | 10 | ||||
-rwxr-xr-x | bfd/configure | 41 | ||||
-rw-r--r-- | bfd/configure.in | 11 |
3 files changed, 37 insertions, 25 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 4e1b539..c4c3ea3 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,13 @@ +Fri Apr 11 11:57:15 1997 Niklas Hallqvist <niklas@appli.se> + + * config.bfd: (i[3456]86-*-openbsd*, m68*-*-openbsd*, + mips*el*-*-openbsd*, mips*-*-openbsd*, ns32k-*-openbsd*, + powerpc-*-*bsd*, sparc-*-openbsd*): New targets. + * configure.in (i[3456]86-*-openbsd*, mips*-*-openbsd*, + m68*-*-openbsd*, ns32k-*-openbsd*, powerpc-*-*bsd*, + sparc-*-openbsd*): New targets. + * configure: Rebuild. + Tue Apr 8 18:09:29 1997 Jamie Lokier <jamie@rebellion.co.uk> * stabs.c (struct stab_section_info): New field diff --git a/bfd/configure b/bfd/configure index d653693..96d6c95 100755 --- a/bfd/configure +++ b/bfd/configure @@ -1673,7 +1673,7 @@ EOF EOF ;; - i[3456]86-*-netbsd*) + i[3456]86-*-netbsd* | i[3456]86-*-openbsd*) COREFILE=netbsd-core.o ;; i[3456]86-esix-sysv3*) @@ -1727,7 +1727,7 @@ EOF EOF ;; - mips-*-netbsd*) + mips-*-netbsd* | mips*-*-openbsd*) COREFILE=netbsd-core.o ;; mips-dec-*) @@ -1798,7 +1798,7 @@ EOF EOF ;; - m68*-*-netbsd*) + m68*-*-netbsd* | m68*-*-openbsd*) COREFILE=netbsd-core.o ;; m68*-apple-aux*) @@ -1824,16 +1824,17 @@ EOF EOF ;; - ns32k-*-netbsd*) + ns32k-*-netbsd* | ns32k-*-openbsd*) COREFILE=netbsd-core.o ;; rs6000-*-lynx*) COREFILE=lynx-core.o ;; rs6000-*-aix4*) COREFILE=rs6000-core.o ;; rs6000-*-*) COREFILE=rs6000-core.o ;; + powerpc-*-*bsd*) COREFILE=netbsd-core.o ;; powerpc-*-aix4*) COREFILE=rs6000-core.o ;; powerpc-*-aix*) COREFILE=rs6000-core.o ;; powerpc-*-beos*) ;; - sparc-*-netbsd*) + sparc-*-netbsd* | sparc-*-openbsd*) COREFILE=netbsd-core.o ;; tahoe-*-*) @@ -1882,19 +1883,19 @@ EOF # Define HAVE_SYS_PROCFS_H if the file exists and defines # prstatus_t. echo $ac_n "checking for sys/procfs.h""... $ac_c" 1>&6 -echo "configure:1886: checking for sys/procfs.h" >&5 +echo "configure:1887: checking for sys/procfs.h" >&5 if eval "test \"`echo '$''{'bfd_cv_header_sys_procfs_h'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 1891 "configure" +#line 1892 "configure" #include "confdefs.h" #include <sys/procfs.h> int main() { prstatus_t t; ; return 0; } EOF -if { (eval echo configure:1898: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:1899: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* bfd_cv_header_sys_procfs_h=yes else @@ -2208,17 +2209,17 @@ for ac_hdr in unistd.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:2212: checking for $ac_hdr" >&5 +echo "configure:2213: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 2217 "configure" +#line 2218 "configure" #include "confdefs.h" #include <$ac_hdr> EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:2222: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:2223: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* @@ -2247,12 +2248,12 @@ done for ac_func in getpagesize do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:2251: checking for $ac_func" >&5 +echo "configure:2252: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 2256 "configure" +#line 2257 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -2275,7 +2276,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:2279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -2300,7 +2301,7 @@ fi done echo $ac_n "checking for working mmap""... $ac_c" 1>&6 -echo "configure:2304: checking for working mmap" >&5 +echo "configure:2305: checking for working mmap" >&5 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2308,7 +2309,7 @@ else ac_cv_func_mmap_fixed_mapped=no else cat > conftest.$ac_ext <<EOF -#line 2312 "configure" +#line 2313 "configure" #include "confdefs.h" /* Thanks to Mike Haertel and Jim Avera for this test. @@ -2448,7 +2449,7 @@ main() } EOF -if { (eval echo configure:2452: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null +if { (eval echo configure:2453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null then ac_cv_func_mmap_fixed_mapped=yes else @@ -2473,12 +2474,12 @@ fi for ac_func in madvise mprotect do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:2477: checking for $ac_func" >&5 +echo "configure:2478: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 2482 "configure" +#line 2483 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -2501,7 +2502,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:2505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2506: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else diff --git a/bfd/configure.in b/bfd/configure.in index 949eb37..58a2e42 100644 --- a/bfd/configure.in +++ b/bfd/configure.in @@ -181,7 +181,7 @@ changequote([,])dnl AC_DEFINE(TRAD_HEADER,"hosts/i386bsd.h") ;; changequote(,)dnl - i[3456]86-*-netbsd*) + i[3456]86-*-netbsd* | i[3456]86-*-openbsd*) changequote([,])dnl COREFILE=netbsd-core.o ;; @@ -225,7 +225,7 @@ changequote([,])dnl COREFILE=trad-core.o AC_DEFINE(TRAD_HEADER,"hosts/mipsmach3.h") ;; - mips-*-netbsd*) + mips-*-netbsd* | mips*-*-openbsd*) COREFILE=netbsd-core.o ;; mips-dec-*) @@ -269,7 +269,7 @@ changequote([,])dnl COREFILE=trad-core.o AC_DEFINE(TRAD_HEADER,"hosts/news.h") ;; - m68*-*-netbsd*) + m68*-*-netbsd* | m68*-*-openbsd*) COREFILE=netbsd-core.o ;; m68*-apple-aux*) @@ -286,16 +286,17 @@ changequote([,])dnl COREFILE=trad-core.o AC_DEFINE(TRAD_HEADER,"hosts/pc532mach.h") ;; - ns32k-*-netbsd*) + ns32k-*-netbsd* | ns32k-*-openbsd*) COREFILE=netbsd-core.o ;; rs6000-*-lynx*) COREFILE=lynx-core.o ;; rs6000-*-aix4*) COREFILE=rs6000-core.o ;; rs6000-*-*) COREFILE=rs6000-core.o ;; + powerpc-*-*bsd*) COREFILE=netbsd-core.o ;; powerpc-*-aix4*) COREFILE=rs6000-core.o ;; powerpc-*-aix*) COREFILE=rs6000-core.o ;; powerpc-*-beos*) ;; - sparc-*-netbsd*) + sparc-*-netbsd* | sparc-*-openbsd*) COREFILE=netbsd-core.o ;; tahoe-*-*) |