diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-01-08 22:16:15 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-01-08 22:16:15 +0000 |
commit | 1f8c3790ec61faf56f648a79e646d22089dfb072 (patch) | |
tree | 6ab7c15321371a1a3e62d724b662165cd6b62015 /gnu/usr.bin/binutils/bfd | |
parent | 2f133e3ceabf10c62e3cfd918301b51f08315097 (diff) |
Add OpenBSD configuration, it's exactly like NetBSD.
Diffstat (limited to 'gnu/usr.bin/binutils/bfd')
-rw-r--r-- | gnu/usr.bin/binutils/bfd/config.bfd | 27 | ||||
-rw-r--r-- | gnu/usr.bin/binutils/bfd/configure | 35 | ||||
-rw-r--r-- | gnu/usr.bin/binutils/bfd/configure.host | 1 | ||||
-rw-r--r-- | gnu/usr.bin/binutils/bfd/configure.in | 22 |
4 files changed, 85 insertions, 0 deletions
diff --git a/gnu/usr.bin/binutils/bfd/config.bfd b/gnu/usr.bin/binutils/bfd/config.bfd index a03f978d738..5d93cd6b734 100644 --- a/gnu/usr.bin/binutils/bfd/config.bfd +++ b/gnu/usr.bin/binutils/bfd/config.bfd @@ -138,6 +138,11 @@ case "${targ}" in targ_selvecs=i386bsd_vec targ_underscore=yes ;; + i[345]86-*-openbsd*) + targ_defvec=i386netbsd_vec + targ_selvecs=i386bsd_vec + targ_underscore=yes + ;; i[345]86-*-netware*) targ_defvec=bfd_elf32_i386_vec targ_selvecs="nlm32_i386_vec i386coff_vec i386aout_vec" @@ -257,6 +262,16 @@ case "${targ}" in targ_selvecs="m68k4knetbsd_vec hp300bsd_vec sunos_big_vec" targ_underscore=yes ;; + m68*-hp*-openbsd*) + targ_defvec=m68k4knetbsd_vec + targ_selvecs="m68knetbsd_vec hp300bsd_vec sunos_big_vec" + targ_underscore=yes + ;; + m68*-*-openbsd*) + targ_defvec=m68knetbsd_vec + targ_selvecs="m68k4knetbsd_vec hp300bsd_vec sunos_big_vec" + targ_underscore=yes + ;; m68*-*-sunos* | m68*-*-os68k* | m68*-*-vxworks* | m68*-netx-* | \ m68*-*-bsd* | m68*-*-vsta*) targ_defvec=sunos_big_vec @@ -289,6 +304,10 @@ case "${targ}" in targ_defvec=bfd_elf32_littlemips_vec targ_selvecs=bfd_elf32_bigmips_vec ;; + mips-dec-openbsd*) + targ_defvec=bfd_elf32_littlemips_vec + targ_selvecs=bfd_elf32_bigmips_vec + ;; mips*-dec-bsd*) targ_defvec=aout_mips_little_vec targ_underscore=yes @@ -342,6 +361,10 @@ case "${targ}" in targ_defvec=pc532netbsd_vec targ_underscore=yes ;; + ns32k-*-openbsd*) + targ_defvec=pc532netbsd_vec + targ_underscore=yes + ;; powerpc-*-aix*) targ_defvec=rs6000coff_vec @@ -385,6 +408,10 @@ case "${targ}" in targ_defvec=sparcnetbsd_vec targ_underscore=yes ;; + sparc-*-openbsd*) + targ_defvec=sparcnetbsd_vec + targ_underscore=yes + ;; sparc-*-solaris2* | sparc-*-sysv4*) targ_defvec=bfd_elf32_sparc_vec targ_selvecs=sunos_big_vec diff --git a/gnu/usr.bin/binutils/bfd/configure b/gnu/usr.bin/binutils/bfd/configure index adb5e46e008..ceb063914a4 100644 --- a/gnu/usr.bin/binutils/bfd/configure +++ b/gnu/usr.bin/binutils/bfd/configure @@ -1063,6 +1063,13 @@ EOF EOF ;; + i[345]86-*-openbsd*) + COREFILE=trad-core.o + cat >> confdefs.h <<\EOF +#define TRAD_HEADER "hosts/i386nbsd.h" +EOF + + ;; i[345]86-esix-sysv3*) COREFILE=trad-core.o cat >> confdefs.h <<\EOF @@ -1121,6 +1128,13 @@ EOF EOF ;; + mips-*-openbsd*) + COREFILE=trad-core.o + cat >> confdefs.h <<\EOF +#define TRAD_HEADER "hosts/mipsnbsd.h" +EOF + + ;; mips-dec-*) COREFILE=trad-core.o cat >> confdefs.h <<\EOF @@ -1188,6 +1202,13 @@ EOF EOF ;; + m68*-*-openbsd*) + COREFILE=trad-core.o + cat >> confdefs.h <<\EOF +#define TRAD_HEADER "hosts/m68knbsd.h" +EOF + + ;; m88*-*-sysv4*) ;; m88*-motorola-sysv*) COREFILE=ptrace-core.o ;; m88*-*-mach3*) @@ -1211,6 +1232,13 @@ EOF EOF ;; + ns32k-*-openbsd*) + COREFILE=trad-core.o + cat >> confdefs.h <<\EOF +#define TRAD_HEADER "hosts/ns32knbsd.h" +EOF + + ;; rs6000-*-lynx*) COREFILE=lynx-core.o ;; rs6000-*-aix4*) COREFILE=rs6000-core.o ;; rs6000-*-*) COREFILE=rs6000-core.o ;; @@ -1223,6 +1251,13 @@ EOF EOF ;; + sparc-*-openbsd*) + COREFILE=trad-core.o + cat >> confdefs.h <<\EOF +#define TRAD_HEADER "hosts/sparcnbsd.h" +EOF + + ;; tahoe-*-*) COREFILE=trad-core.o cat >> confdefs.h <<\EOF diff --git a/gnu/usr.bin/binutils/bfd/configure.host b/gnu/usr.bin/binutils/bfd/configure.host index 41af344620c..7ea144a353e 100644 --- a/gnu/usr.bin/binutils/bfd/configure.host +++ b/gnu/usr.bin/binutils/bfd/configure.host @@ -54,6 +54,7 @@ i[345]86-*-win32) test -z "$CC" && CC="i386-win32-gcc -O2" ;; mips-dec-netbsd*) ;; +mips-dec-openbsd*) ;; mips-dec-*) HDEFINES="-G 4" ;; mips-sgi-irix3*) HDEFINES="-G 4" test -z "$LDFLAGS" && LDFLAGS=-lmalloc diff --git a/gnu/usr.bin/binutils/bfd/configure.in b/gnu/usr.bin/binutils/bfd/configure.in index 8d649011eaf..93b0ca8e091 100644 --- a/gnu/usr.bin/binutils/bfd/configure.in +++ b/gnu/usr.bin/binutils/bfd/configure.in @@ -139,6 +139,12 @@ changequote([,])dnl AC_DEFINE(TRAD_HEADER,"hosts/i386nbsd.h") ;; changequote(,)dnl + i[345]86-*-openbsd*) +changequote([,])dnl + COREFILE=trad-core.o + AC_DEFINE(TRAD_HEADER,"hosts/i386nbsd.h") + ;; +changequote(,)dnl i[345]86-esix-sysv3*) changequote([,])dnl COREFILE=trad-core.o @@ -182,6 +188,10 @@ changequote([,])dnl COREFILE=trad-core.o AC_DEFINE(TRAD_HEADER,"hosts/mipsnbsd.h") ;; + mips-*-openbsd*) + COREFILE=trad-core.o + AC_DEFINE(TRAD_HEADER,"hosts/mipsnbsd.h") + ;; mips-dec-*) COREFILE=trad-core.o AC_DEFINE(TRAD_HEADER,"hosts/decstation.h") @@ -222,6 +232,10 @@ changequote([,])dnl COREFILE=trad-core.o AC_DEFINE(TRAD_HEADER,"hosts/m68knbsd.h") ;; + m68*-*-openbsd*) + COREFILE=trad-core.o + AC_DEFINE(TRAD_HEADER,"hosts/m68knbsd.h") + ;; m88*-*-sysv4*) ;; m88*-motorola-sysv*) COREFILE=ptrace-core.o ;; m88*-*-mach3*) @@ -236,6 +250,10 @@ changequote([,])dnl COREFILE=trad-core.o AC_DEFINE(TRAD_HEADER,"hosts/ns32knbsd.h") ;; + ns32k-*-openbsd*) + COREFILE=trad-core.o + AC_DEFINE(TRAD_HEADER,"hosts/ns32knbsd.h") + ;; rs6000-*-lynx*) COREFILE=lynx-core.o ;; rs6000-*-aix4*) COREFILE=rs6000-core.o ;; rs6000-*-*) COREFILE=rs6000-core.o ;; @@ -245,6 +263,10 @@ changequote([,])dnl COREFILE=trad-core.o AC_DEFINE(TRAD_HEADER,"hosts/sparcnbsd.h") ;; + sparc-*-openbsd*) + COREFILE=trad-core.o + AC_DEFINE(TRAD_HEADER,"hosts/sparcnbsd.h") + ;; tahoe-*-*) COREFILE=trad-core.o AC_DEFINE(TRAD_HEADER,"hosts/tahoe.h") |