Skip to content

Commit 5b79fa9

Browse files
committed
changes: reword accessing __aarch64_cpu_features outside FMV
1 parent 6e51650 commit 5b79fa9

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

sysvabi64/sysvabi64.rst

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1716,12 +1716,13 @@ The variable may contain the following fields:
17161716
+-------------------+----------+
17171717

17181718
Implementing FMV using ``__aarch64_cpu_features`` is not required.
1719-
Accessing this variable from outside a FMV resolver function is not
1720-
well defined. If the variable is only accessed by the FMV resolvers,
1721-
then it may be placed in the `Relocation Read Only (RELRO)`_ program
1722-
segment to prevent it from being modified after the FMV resolvers
1723-
have run. The variable must be defined as DSO-local with its symbol
1724-
visibility set to ``STV_HIDDEN``.
1719+
Accessing ``__aarch64_cpu_features`` is reserved for the compiler
1720+
generated code or the runtime library. If the variable is only
1721+
accessed by the FMV resolvers, then it may be placed in the
1722+
`Relocation Read Only (RELRO)`_ program segment to prevent it from
1723+
being modified after the FMV resolvers have run. The variable must
1724+
be defined as DSO-local with its symbol visibility set to
1725+
``STV_HIDDEN``.
17251726

17261727
.. note::
17271728

0 commit comments

Comments
 (0)