diff mbox series

aarch64: Fix typo in comment about FEATURE_STRING

Message ID 20240329142850.2747851-1-christophe.lyon@linaro.org
State New
Headers show
Series aarch64: Fix typo in comment about FEATURE_STRING | expand

Commit Message

Christophe Lyon March 29, 2024, 2:28 p.m. UTC
Fix the comment to document FEATURE_STRING instead of FEAT_STRING.

2024-03-29  Christophe Lyon  <christophe.lyon@linaro.org>

	gcc/
	* config/aarch64/aarch64-option-extensions.def: Fix comment.
---
 gcc/config/aarch64/aarch64-option-extensions.def | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

Comments

Richard Sandiford April 2, 2024, 3:44 p.m. UTC | #1
Christophe Lyon <christophe.lyon@linaro.org> writes:
> Fix the comment to document FEATURE_STRING instead of FEAT_STRING.
>
> 2024-03-29  Christophe Lyon  <christophe.lyon@linaro.org>
>
> 	gcc/
> 	* config/aarch64/aarch64-option-extensions.def: Fix comment.

OK, thanks.

Richard

> ---
>  gcc/config/aarch64/aarch64-option-extensions.def | 16 ++++++++--------
>  1 file changed, 8 insertions(+), 8 deletions(-)
>
> diff --git a/gcc/config/aarch64/aarch64-option-extensions.def b/gcc/config/aarch64/aarch64-option-extensions.def
> index 061a145e9e7..aa3cd99f791 100644
> --- a/gcc/config/aarch64/aarch64-option-extensions.def
> +++ b/gcc/config/aarch64/aarch64-option-extensions.def
> @@ -54,14 +54,14 @@
>       If a feature A appears in this list then the list implicitly includes
>       any features that are transitively dependent on A (according to REQUIRES).
>  
> -   - FEAT_STRING is a string containing the entries in the 'Features' field of
> -     /proc/cpuinfo on a GNU/Linux system that correspond to this architecture
> -     extension being available.  Sometimes multiple entries are needed to enable
> -     the extension (for example, the 'crypto' extension depends on four
> -     entries: aes, pmull, sha1, sha2 being present).  In that case this field
> -     should contain a space (" ") separated list of the strings in 'Features'
> -     that are required.  Their order is not important.  An empty string means
> -     do not detect this feature during auto detection.
> +   - FEATURE_STRING is a string containing the entries in the 'Features' field
> +     of /proc/cpuinfo on a GNU/Linux system that correspond to this
> +     architecture extension being available.  Sometimes multiple entries are
> +     needed to enable the extension (for example, the 'crypto' extension
> +     depends on four entries: aes, pmull, sha1, sha2 being present).  In that
> +     case this field should contain a space (" ") separated list of the strings
> +     in 'Features' that are required.  Their order is not important.  An empty
> +     string means do not detect this feature during auto detection.
>  
>     - OPT_FLAGS is a list of feature IDENTS that should be enabled (along with
>       their transitive dependencies) when the specified FMV feature is present.
diff mbox series

Patch

diff --git a/gcc/config/aarch64/aarch64-option-extensions.def b/gcc/config/aarch64/aarch64-option-extensions.def
index 061a145e9e7..aa3cd99f791 100644
--- a/gcc/config/aarch64/aarch64-option-extensions.def
+++ b/gcc/config/aarch64/aarch64-option-extensions.def
@@ -54,14 +54,14 @@ 
      If a feature A appears in this list then the list implicitly includes
      any features that are transitively dependent on A (according to REQUIRES).
 
-   - FEAT_STRING is a string containing the entries in the 'Features' field of
-     /proc/cpuinfo on a GNU/Linux system that correspond to this architecture
-     extension being available.  Sometimes multiple entries are needed to enable
-     the extension (for example, the 'crypto' extension depends on four
-     entries: aes, pmull, sha1, sha2 being present).  In that case this field
-     should contain a space (" ") separated list of the strings in 'Features'
-     that are required.  Their order is not important.  An empty string means
-     do not detect this feature during auto detection.
+   - FEATURE_STRING is a string containing the entries in the 'Features' field
+     of /proc/cpuinfo on a GNU/Linux system that correspond to this
+     architecture extension being available.  Sometimes multiple entries are
+     needed to enable the extension (for example, the 'crypto' extension
+     depends on four entries: aes, pmull, sha1, sha2 being present).  In that
+     case this field should contain a space (" ") separated list of the strings
+     in 'Features' that are required.  Their order is not important.  An empty
+     string means do not detect this feature during auto detection.
 
    - OPT_FLAGS is a list of feature IDENTS that should be enabled (along with
      their transitive dependencies) when the specified FMV feature is present.