mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-25 21:41:47 +08:00
Clarify doc for .arch/.cpu
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.
This commit is contained in:
@ -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>
|
2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
* config/tc-i386.c (build_vex_prefix): Use unsigned int to
|
* config/tc-i386.c (build_vex_prefix): Use unsigned int to
|
||||||
|
@ -624,7 +624,8 @@ boundary). This is for compatibility with ARM's own assembler.
|
|||||||
@cindex @code{.arch} directive, ARM
|
@cindex @code{.arch} directive, ARM
|
||||||
@item .arch @var{name}
|
@item .arch @var{name}
|
||||||
Select the target architecture. Valid values for @var{name} are the same as
|
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
|
Specifying @code{.arch} clears any previously selected architecture
|
||||||
extensions.
|
extensions.
|
||||||
@ -663,7 +664,8 @@ selects Thumb, with the value 32 selecting ARM.
|
|||||||
@cindex @code{.cpu} directive, ARM
|
@cindex @code{.cpu} directive, ARM
|
||||||
@item .cpu @var{name}
|
@item .cpu @var{name}
|
||||||
Select the target processor. Valid values for @var{name} are the same as
|
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
|
Specifying @code{.cpu} clears any previously selected architecture
|
||||||
extensions.
|
extensions.
|
||||||
|
Reference in New Issue
Block a user