aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gas/ChangeLog6
-rw-r--r--gas/doc/c-arm.texi6
2 files changed, 10 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index c0b6801..b881625 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,9 @@
+2018-07-25 Thomas Preud'homme <thomas.preudhomme@linaro.org>
+
+ * doc/c-arm.texi (.arch directive): Clarify that name must not include
+ an extension.
+ (.cpu directive): Likewise.
+
2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (build_vex_prefix): Use unsigned int to
diff --git a/gas/doc/c-arm.texi b/gas/doc/c-arm.texi
index d2f6fe1..a316c26 100644
--- a/gas/doc/c-arm.texi
+++ b/gas/doc/c-arm.texi
@@ -624,7 +624,8 @@ boundary). This is for compatibility with ARM's own assembler.
@cindex @code{.arch} directive, ARM
@item .arch @var{name}
Select the target architecture. Valid values for @var{name} are the same as
-for the @option{-march} command-line option.
+for the @option{-march} command-line option without the instruction set
+extension.
Specifying @code{.arch} clears any previously selected architecture
extensions.
@@ -663,7 +664,8 @@ selects Thumb, with the value 32 selecting ARM.
@cindex @code{.cpu} directive, ARM
@item .cpu @var{name}
Select the target processor. Valid values for @var{name} are the same as
-for the @option{-mcpu} command-line option.
+for the @option{-mcpu} command-line option without the instruction set
+extension.
Specifying @code{.cpu} clears any previously selected architecture
extensions.