This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [1/2][AArch64, gas] Support ILP32 triplet aarch64*-linux-gnu_ilp32
- From: Nick Clifton <nickc at redhat dot com>
- To: Jiong Wang <jiong dot wang at foss dot arm dot com>, Binutils <binutils at sourceware dot org>
- Date: Mon, 22 May 2017 11:05:29 +0100
- Subject: Re: [1/2][AArch64, gas] Support ILP32 triplet aarch64*-linux-gnu_ilp32
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx05.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx05.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=nickc at redhat dot com
- Dkim-filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 620901556C
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 620901556C
- References: <2cdf643e-a546-c7eb-ba41-203aa05a6bcf@foss.arm.com> <fcb66fe9-d632-6cca-d93f-543a956e0f6a@redhat.com> <bdde891b-31a6-1035-b63f-7a6a8cfa37e5@foss.arm.com>
Hi Jiong,
> I have updated the patch to use above condition. Qualified triplet will
> be treated as ILP32, otherwise simply defaulting to LP64.
Thanks.
> 2017-05-22 Jiong Wang <jiong.wang@arm.com>
>
> gas/
> * configure.tgt: Set "arch" to "aarch64" if ${cpu} equals "aarch64".
> Recognize the new triplet name aarch64*-linux-gnu_ilp32.
> * configure.ac: Output DEFAULT_ARCH macro for AArch64.
> * configure: Regenerate.
> * config/tc-aarch64.h (aarch64_after_parse_args): New declaration.
> (md_after_parse_args): New define.
> * config/tc-aarch64.c (aarch64_abi_type): New enumeration
> AARCH64_ABI_NONE.
> (DEFAULT_ARCH): New define.
> (aarch64_abi): Set default value to AARCH64_ABI_NONE.
> (aarch64_after_parse_args): New function.
Approved - please apply.
Cheers
Nick