This is the mail archive of the binutils@sourceware.org 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: [libbdf] Mach-O format support ?


On Apr 14, 2010, at 10:07 AM, Emmanuel Fleury wrote:
> 
> So, what I suspect is just that libbfd does not handle this 'multi-arch'
> packaging feature that seems to be supported in Mach-O.
> 
> Is it right ?

No, this works for me, using the current head (should also work with 2.21):

$ ./binutils/objdump -f /bin/ls 
In archive /bin/ls:

/bin/ls:i386:x86-64:     file format mach-o-x86-64
architecture: i386:x86-64, flags 0x00000012:
EXEC_P, HAS_SYMS
start address 0x0000000100001478


/bin/ls:i386:     file format mach-o-i386
architecture: i386, flags 0x00000012:
EXEC_P, HAS_SYMS
start address 0x00001a60

Tristan.


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