This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [Mach-O, committed]: Add definition for arm64 cpu
- From: Tristan Gingold <gingold at adacore dot com>
- To: Marcus Shawcroft <marcus dot shawcroft at gmail dot com>
- Cc: Richard Earnshaw <rearnsha at arm dot com>, "binutils at sourceware dot org Development" <binutils at sourceware dot org>
- Date: Thu, 27 Mar 2014 09:22:34 +0100
- Subject: Re: [Mach-O, committed]: Add definition for arm64 cpu
- Authentication-results: sourceware.org; auth=none
- References: <470024C4-4E3C-43BD-A80B-BBD0EC8B8392 at adacore dot com> <5332FF52 dot 7010402 at arm dot com> <6DBF330F-D3D1-48FD-B9D4-7595E5583DDC at adacore dot com> <CAFqB+PyAoAyFwwU9qj5uGKfSHLUA-peH+XFX=599ff4nDRYePQ at mail dot gmail dot com>
On 26 Mar 2014, at 17:43, Marcus Shawcroft <marcus.shawcroft@gmail.com> wrote:
> On 26 March 2014 16:34, Tristan Gingold <gingold@adacore.com> wrote:
>
>> In fact it is consistent with the macro name defined by Apple :-(
>> Hard to be consistent with two non-consistent usages.
>
> That justification does not hold for the name string in bfd_mach_o_cpu_name[].
The strings in bfd_mach_o_cpu_name corresponds to the cpu name part in the literal.
This is also compatible with the output of Apple tool:
/SDKs/iPhoneOS7.1.sdk/Developer/Library/Frameworks/SenTestingKit.framework/SenTestingKit (architecture arm64):
Note that (obviously) the BFD architecture of such binaries is bfd_arch_aarch64, and so will be
the bfd target.
Tristan.