diff options
author | Yufeng Zhang <yufeng.zhang@arm.com> | 2013-07-19 16:25:54 +0000 |
---|---|---|
committer | Yufeng Zhang <yufeng.zhang@arm.com> | 2013-07-19 16:25:54 +0000 |
commit | 69091a2cc4cfdd51d5b63c2925ab50ba6aa094cf (patch) | |
tree | 91380198603717f061de1826208b628e7f0d42cc /gas/doc | |
parent | 0a01f695e0592bf8abee97d6f35771b86525fff7 (diff) | |
download | gdb-69091a2cc4cfdd51d5b63c2925ab50ba6aa094cf.zip gdb-69091a2cc4cfdd51d5b63c2925ab50ba6aa094cf.tar.gz gdb-69091a2cc4cfdd51d5b63c2925ab50ba6aa094cf.tar.bz2 |
[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
Diffstat (limited to 'gas/doc')
-rw-r--r-- | gas/doc/as.texinfo | 1 | ||||
-rw-r--r-- | gas/doc/c-aarch64.texi | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/gas/doc/as.texinfo b/gas/doc/as.texinfo index a2771d7..de6b5b0 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 3939fee..6019006 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 |