This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[PATCH]: new targets
- From: "Federico G. Schwindt" <fgsch at olimpo dot com dot br>
- To: binutils at sources dot redhat dot com
- Date: Thu, 9 May 2002 12:53:50 -0300
- Subject: [PATCH]: new targets
Hi,
Here's a diff for couple of OpenBSD targets.
f.-
bfd/ChangeLog
2002-05-09 Federico G. Schwindt <fgsch@olimpo.com.br>
* config.bfd (alpha*-*-openbsd*, sparc64*-*-openbsd*,
hppa*-*-openbsd*): New targets.
* configure.in (alpha*-*-openbsd*, sparc*-*-openbsd*): set COREFILE.
Index: config.bfd
===================================================================
RCS file: /cvs/src/src/bfd/config.bfd,v
retrieving revision 1.88
diff -u -r1.88 config.bfd
--- config.bfd 30 Apr 2002 17:42:34 -0000 1.88
+++ config.bfd 9 May 2002 15:58:23 -0000
@@ -70,7 +70,7 @@
case "${targ}" in
# START OF targmatch.h
#ifdef BFD64
- alpha*-*-netbsd* | alpha*-*-freebsd*)
+ alpha*-*-netbsd* | alpha*-*-freebsd* | alpha*-*-openbsd*)
targ_defvec=bfd_elf64_alpha_vec
targ_selvecs=ecoffalpha_little_vec
;;
@@ -104,7 +104,7 @@
targ_defvec=bfd_elf32_ia64_hpux_big_vec
targ_selvecs="bfd_elf64_ia64_hpux_big_vec"
;;
- sparc64-*-freebsd* | sparc64-*-netbsd*)
+ sparc64-*-freebsd* | sparc64-*-netbsd* | sparc64-*-openbsd*)
targ_defvec=bfd_elf64_sparc_vec
targ_selvecs="bfd_elf32_sparc_vec sunos_big_vec"
;;
@@ -303,7 +303,7 @@
targ_defvec=bfd_elf32_hppa_linux_vec
targ_selvecs=bfd_elf32_hppa_vec
;;
- hppa*-*-*elf* | hppa*-*-lites* | hppa*-*-netbsd* | hppa*-*-sysv4* | hppa*-*-rtems*)
+ hppa*-*-*elf* | hppa*-*-lites* | hppa*-*-netbsd* | hppa*-*-openbsd* | hppa*-*-sysv4* | hppa*-*-rtems*)
targ_defvec=bfd_elf32_hppa_vec
targ_selvecs=bfd_elf32_hppa_linux_vec
;;
Index: configure.in
===================================================================
RCS file: /cvs/src/src/bfd/configure.in,v
retrieving revision 1.91
diff -u -r1.91 configure.in
--- configure.in 7 Apr 2002 21:49:09 -0000 1.91
+++ configure.in 9 May 2002 15:58:26 -0000
@@ -162,7 +162,9 @@
COREFILE=trad-core.lo
TRAD_HEADER='"hosts/alphalinux.h"'
;;
- alpha*-*-netbsd*) COREFILE=netbsd-core.lo ;;
+ alpha*-*-netbsd* | alpha*-*-openbsd*)
+ COREFILE=netbsd-core.lo
+ ;;
alpha*-*-*) COREFILE=osf-core.lo ;;
arm-*-freebsd*) COREFILE='' ;;
arm-*-netbsd*) COREFILE=netbsd-core.lo ;;
@@ -348,7 +350,7 @@
powerpc-*-*bsd*) COREFILE=netbsd-core.lo ;;
s390*-*-*) COREFILE=trad-core.lo ;;
sh*-*-netbsd*) COREFILE=netbsd-core.lo ;;
- sparc-*-netbsd* | sparc-*-openbsd*)
+ sparc-*-netbsd* | sparc*-*-openbsd*)
COREFILE=netbsd-core.lo
;;
tahoe-*-*)