PATCH v2: add mach-o handling in is32bit

Tristan Gingold gingold@adacore.com
Fri Nov 14 10:58:00 GMT 2008


On Nov 14, 2008, at 11:51 AM, Tristan Gingold wrote:

>
> On Nov 14, 2008, at 10:40 AM, Nick Clifton wrote:
>
>> Hi Tristan,
>>
>>> I was about to commit this patch but had a thought just before it:
>>> why not use bfd_arch_bits_per_address instead ?
>>
>> Actually that is a good point.  If you can confirm that it works  
>> for both types of mach-o binary then please go ahead and apply that  
>> variant of the patch instead.
>
> I will commit the following patch within a few days.
> I prefer to keep the ELF specific code as ELF32 can be at least used  
> by ia64.

Oops I forgot to say:

Tested on Darwin using native, mmix and x86_64-mingw targets.

Tristan.



More information about the Binutils mailing list