diff mbox

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

Message ID 51E918D6.1070102@arm.com
State New
Headers show

Commit Message

Yufeng Zhang July 19, 2013, 10:45 a.m. UTC
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=*.

Comments

Marcus Shawcroft July 23, 2013, 11:31 a.m. UTC | #1
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
diff mbox

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