Clarify doc for .arch/.cpu
authorThomas Preud'homme <thomas.preudhomme@linaro.org>
Wed, 25 Jul 2018 08:51:51 +0000 (09:51 +0100)
committerThomas Preud'homme <thomas.preudhomme@linaro.org>
Wed, 25 Jul 2018 13:12:40 +0000 (14:12 +0100)
Documentation for .arch and .cpu directives currently says that it
accepts the same name as -march/-mcpu command-line options respectively.
However it only accept the architecture/CPU part of those options: it
does not accept specifying an extension which is done via
.arch_extension. This patch clarifies that the extension is not
accepted.

2018-07-25  Thomas Preud'homme  <thomas.preudhomme@linaro.org>

gas/
* doc/c-arm.texi (.arch directive): Clarify that name must not include
an extension.
(.cpu directive): Likewise.

gas/ChangeLog
gas/doc/c-arm.texi

index c0b6801f893528127d2eaf71c0693269f99e5132..b8816258a53582b97fc01196775186f24c5508d3 100644 (file)
@@ -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
index d2f6fe180907427f46ca9a0d204826b0c6250330..a316c267e22c603ed529451a488d9b3d1baf5c56 100644 (file)
@@ -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.
This page took 0.029931 seconds and 4 git commands to generate.