summaryrefslogtreecommitdiff
path: root/gas/doc
diff options
context:
space:
mode:
authorYufeng Zhang <yufeng.zhang@arm.com>2013-07-19 16:25:53 +0000
committerYufeng Zhang <yufeng.zhang@arm.com>2013-07-19 16:25:53 +0000
commitd7aeacea41b381a96cc45d9b2211a943be1aacf1 (patch)
treece09e756412559c7f4a8e5be8f2bea1ffde4c2af /gas/doc
parenta2e4385b2a5fb1fcb2d020724e2a48093756a8e3 (diff)
downloadbinutils-redhat-d7aeacea41b381a96cc45d9b2211a943be1aacf1.tar.gz
[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.texinfo1
-rw-r--r--gas/doc/c-aarch64.texi6
2 files changed, 7 insertions, 0 deletions
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