Patchwork [AArch64] Change to pass -mabi=* directly to the assembler

login
register
mail settings
Submitter Yufeng Zhang
Date July 19, 2013, 10:45 a.m.
Message ID <51E918D6.1070102@arm.com>
Download mbox | patch
Permalink /patch/260236/
State New
Headers show

Comments

Yufeng Zhang - July 19, 2013, 10:45 a.m.
Hi,

Following the work in AArch64 GAS to unify the ABI command line 
interface, this patch updates the compiler driver to pass -mabi=* 
directly to the assembler.

The related GAS patch is here:
http://www.sourceware.org/ml/binutils/2013-07/msg00180.html

OK for the trunk (after the initial ILP32 patch set are committed)?

Thanks,
Yufeng


gcc/

         * config/aarch64/aarch64-elf.h (ASM_SPEC): Pass on -mabi=*.
Marcus Shawcroft - July 23, 2013, 11:31 a.m.
On 19 July 2013 11:45, Yufeng Zhang <Yufeng.Zhang@arm.com> wrote:
> Hi,
>
> Following the work in AArch64 GAS to unify the ABI command line interface,
> this patch updates the compiler driver to pass -mabi=* directly to the
> assembler.
>
> The related GAS patch is here:
> http://www.sourceware.org/ml/binutils/2013-07/msg00180.html
>
> OK for the trunk (after the initial ILP32 patch set are committed)?

OK

/Marcus

Patch

diff --git a/gcc/config/aarch64/aarch64-elf.h b/gcc/config/aarch64/aarch64-elf.h
index 315a510..4757d22 100644
--- a/gcc/config/aarch64/aarch64-elf.h
+++ b/gcc/config/aarch64/aarch64-elf.h
@@ -140,8 +140,7 @@ 
 %{mlittle-endian:-EL} \
 %{mcpu=*:-mcpu=%*} \
 %{march=*:-march=%*} \
-%{mabi=ilp32*:-milp32} \
-%{mabi=lp64*:-mlp64}"
+%{mabi=*:-mabi=%*}"
 #endif
 
 #undef TYPE_OPERAND_FMT