aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorJiong Wang <jiong.wang@arm.com>2015-02-03 14:02:24 +0000
committerJiong Wang <jiong.wang@arm.com>2015-02-03 14:02:24 +0000
commit8e02d7f52092fe95f29d006e1df45b110490adc1 (patch)
treed7adf324b9bf185a71262f0d258f852f3937ffce /gas
parent6d012254d46550b0930705b132ad9a49479573b6 (diff)
downloadgdb-8e02d7f52092fe95f29d006e1df45b110490adc1.zip
gdb-8e02d7f52092fe95f29d006e1df45b110490adc1.tar.gz
gdb-8e02d7f52092fe95f29d006e1df45b110490adc1.tar.bz2
[AARCH64] Document .arch and .arch_extension directive
2015-02-03 Renlin Li <renlin.li@arm.com> gas/ * doc/c-aarch64.texi (.arch): Document the directive. (.arch_extension): Likewise.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/doc/c-aarch64.texi18
2 files changed, 23 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 3322fce..5e77360 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2015-02-03 Renlin Li <renlin.li@arm.com>
+
+ * doc/c-aarch64.texi (.arch): Document the directive.
+ (.arch_extension): Likewise.
+
2015-02-03 Nick Clifton <nickc@redhat.com>
* config/tc-rl78.h (TC_PARSE_CONS_EXPRESSION): Define.
diff --git a/gas/doc/c-aarch64.texi b/gas/doc/c-aarch64.texi
index 3488a1f..508dd11 100644
--- a/gas/doc/c-aarch64.texi
+++ b/gas/doc/c-aarch64.texi
@@ -232,6 +232,24 @@ The AArch64 architecture uses @sc{ieee} floating-point numbers.
@table @code
@c AAAAAAAAAAAAAAAAAAAAAAAAA
+
+@cindex @code{.arch} directive, AArch64
+@item .arch @var{name}
+Select the target architecture. Valid values for @var{name} are the same as
+for the @option{-march} commandline option.
+
+Specifying @code{.arch} clears any previously selected architecture
+extensions.
+
+@cindex @code{.arch_extension} directive, AArch64
+@item .arch_extension @var{name}
+Add or remove an architecture extension to the target architecture. Valid
+values for @var{name} are the same as those accepted as architectural
+extensions by the @option{-mcpu} commandline option.
+
+@code{.arch_extension} may be used multiple times to add or remove extensions
+incrementally to the architecture being compiled for.
+
@c BBBBBBBBBBBBBBBBBBBBBBBBBB
@cindex @code{.bss} directive, AArch64