This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[PING] Add OpenBSD/amd64 BFD support
- From: Mark Kettenis <kettenis at chello dot nl>
- To: binutils at sources dot redhat dot com
- Date: Sat, 13 Mar 2004 13:04:30 +0100 (CET)
- Subject: [PING] Add OpenBSD/amd64 BFD support
Folks,
I'd really like to be able to check this in before GDB 6.1 gets
released. GDB's support for OpenBSD/amd64 depends on it.
Mark
------- Start of forwarded message -------
Date: Mon, 1 Mar 2004 00:05:19 +0100
From: Mark Kettenis <kettenis@elgar.kettenis.dyndns.org>
To: binutils@sources.redhat.com
Subject: [PING/RFA/PATCH] Add OpenBSD/amd64 BFD support
I sent part of this patch before:
http://sources.redhat.com/ml/binutils/2004-02/msg00226.html
but this one is a bit more complete. This is all that's missing to
get GDB working on OpenBSD/amd64.
OK to check this in?
Mark
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* config.bfd: Add x86_64-*-openbsd*.
* configure.in (x86_64-*-openbsd*): Set COREFILE to
netbsd-core.lo.
* configure: Regenerate.
Index: config.bfd
===================================================================
RCS file: /cvs/src/src/bfd/config.bfd,v
retrieving revision 1.152
diff -u -p -r1.152 config.bfd
- --- config.bfd 6 Jan 2004 19:18:59 -0000 1.152
+++ config.bfd 29 Feb 2004 22:55:58 -0000
@@ -493,7 +493,7 @@ case "${targ}" in
targ_defvec=bfd_elf64_x86_64_vec
targ_selvecs="bfd_elf32_i386_vec i386coff_vec bfd_efi_app_ia32_vec"
;;
- - x86_64-*-netbsd*)
+ x86_64-*-netbsd* | x86_64-*-openbsd*)
targ_defvec=bfd_elf64_x86_64_vec
targ_selvecs="bfd_elf32_i386_vec i386netbsd_vec i386coff_vec bfd_efi_app_ia32_vec"
;;
Index: configure.in
===================================================================
RCS file: /cvs/src/src/bfd/configure.in,v
retrieving revision 1.144
diff -u -p -r1.144 configure.in
- --- configure.in 18 Feb 2004 17:17:17 -0000 1.144
+++ configure.in 29 Feb 2004 22:55:59 -0000
@@ -405,7 +405,9 @@ changequote([,])dnl
COREFILE=trad-core.lo
TRAD_HEADER='"hosts/vaxbsd.h"'
;;
- - x86_64-*-netbsd*) COREFILE=netbsd-core.lo ;;
+ x86_64-*-netbsd* | x86_64-*-openbsd*)
+ COREFILE=netbsd-core.lo
+ ;;
esac
case "$COREFILE" in
------- End of forwarded message -------