This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PING] Add OpenBSD/amd64 BFD support


Mark Kettenis <kettenis@chello.nl> writes:

> 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
>
>
> From: Mark Kettenis <kettenis@elgar.kettenis.dyndns.org>
> Subject: [PING/RFA/PATCH] Add OpenBSD/amd64 BFD support
> To: binutils@sources.redhat.com
> Date: Mon, 1 Mar 2004 00:05:19 +0100
> X-Sent: 1 week, 5 days, 13 hours, 14 minutes, 7 seconds ago
>
> 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?

Yes, go ahead,

Andreas

> 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
> ----------
>

Andreas
-- 
 Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
  SuSE Linux AG, Maxfeldstr. 5, 90409 Nürnberg, Germany
   GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126

Attachment: pgp00000.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]