PATCH v2: add mach-o handling in is32bit

Tristan Gingold gingold@adacore.com
Wed Nov 12 10:42:00 GMT 2008


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



More information about the Binutils mailing list