This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Patch: build bfd for x86_64-*-darwin*
- From: Tristan Gingold <gingold at adacore dot com>
- To: binutils at sourceware dot org
- Date: Thu, 27 Nov 2008 11:04:07 +0100
- Subject: Patch: build bfd for x86_64-*-darwin*
Hi,
simple patch that add this target in config.bfd.
Tristan.
bfd:
2008-11-27 Tristan Gingold <gingold@adacore.com>
* config.bfd: Add x86_64-*-darwin*
*** config.bfd 6 Nov 2008 15:36:38 -0000 1.240
--- config.bfd 27 Nov 2008 10:03:04 -0000
***************
*** 589,594 ****
--- 589,600 ----
targ64_selvecs=bfd_elf64_x86_64_vec
;;
#ifdef BFD64
+ x86_64-*-darwin*)
+ targ_defvec=mach_o_le_vec
+ targ_selvecs="mach_o_le_vec mach_o_be_vec mach_o_fat_vec pef_vec
pef_xlib_vec sym_vec"
+ targ_archs="bfd_i386_arch bfd_powerpc_arch bfd_rs6000_arch"
+ want64=true
+ ;;
x86_64-*-dicos*)
targ_defvec=bfd_elf64_x86_64_vec
targ_selvecs="bfd_elf32_i386_vec"