This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: PATCH v2: add mach-o handling in is32bit
Hi,
I was about to commit this patch but had a thought just before it:
why not using bfd_arch_bits_per_address instead ?
Tristan.
On Nov 12, 2008, at 10:33 AM, Nick Clifton wrote:
Hi Tristan,
bfd/:
2008-11-07 Tristan Gingold <gingold@adacore.com>
* bfd.c: Add BFD_VMA64 flag.
(is32bit): Return 0 if BFD_VMA64 flag is set.
* bfd-in2.h: Regenerate.
* mach-o.c (bfd_mach_o_scan): Set BFD_VMA64 if object file is
64bits.
(bfd_mach_o_object_p): Do not recognize 64bits files unless
BFD64 is
defined.
Approved - please apply.
Cheers
Nick