This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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]

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


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=*.

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

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