From d7aeacea41b381a96cc45d9b2211a943be1aacf1 Mon Sep 17 00:00:00 2001 From: Yufeng Zhang Date: Fri, 19 Jul 2013 16:25:53 +0000 Subject: [AArch64, ILP32] Retire -milp32 and -mlp64; use -mabi=ilp32 and -mabi=lp64. gas/ * config/tc-aarch64.c (enum aarch64_abi_type): New enumeration tag. (AARCH64_ABI_LP64, AARCH64_ABI_ILP32): New enumerators. (aarch64_abi): New variable. (ilp32_p): Change to be a macro. (aarch64_opts): Remove the support for option -milp32 and -mlp64. (struct aarch64_option_abi_value_table): New struct. (aarch64_abis): New table. (aarch64_parse_abi): New function. (aarch64_long_opts): Add entry for -mabi=. * doc/as.texinfo (Target AArch64 options): Document -mabi. * doc/c-aarch64.texi: Likewise. gas/testsuite/ * gas/aarch64/ilp32-basic.d (#as): Update to use -mabi=ilp32 --- gas/doc/as.texinfo | 1 + gas/doc/c-aarch64.texi | 6 ++++++ 2 files changed, 7 insertions(+) (limited to 'gas/doc') diff --git a/gas/doc/as.texinfo b/gas/doc/as.texinfo index a2771d7b27..de6b5b0213 100644 --- a/gas/doc/as.texinfo +++ b/gas/doc/as.texinfo @@ -248,6 +248,7 @@ gcc(1), ld(1), and the Info entries for @file{binutils} and @file{ld}. @emph{Target AArch64 options:} [@b{-EB}|@b{-EL}] + [@b{-mabi}=@var{ABI}] @end ifset @ifset ALPHA diff --git a/gas/doc/c-aarch64.texi b/gas/doc/c-aarch64.texi index 3939fee5f0..6019006346 100644 --- a/gas/doc/c-aarch64.texi +++ b/gas/doc/c-aarch64.texi @@ -44,6 +44,12 @@ be marked as being encoded for a big-endian processor. This option specifies that the output generated by the assembler should be marked as being encoded for a little-endian processor. +@cindex @code{-mabi=} command line option, AArch64 +@item -mabi=@var{abi} +Specify which ABI the source code uses. The recognized arguments +are: @code{ilp32} and @code{lp64}, which decides the generated object +file in ELF32 and ELF64 format respectively. The default is @code{lp64}. + @end table @c man end -- cgit v1.2.1