Skip to content

Commit

Permalink
[NFC] address language suggestions across various documents
Browse files Browse the repository at this point in the history
  • Loading branch information
stuij committed Aug 12, 2024
1 parent c3d0c0b commit 4b25a26
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 12 deletions.
10 changes: 5 additions & 5 deletions aaelf64/aaelf64.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1870,27 +1870,27 @@ At this time this ABI specifies no generic platform architecture compatibility d
Program Property
----------------

The information on Program Property has been moved to [SYSVABI64_].
The information on Program Property has moved to [SYSVABI64_].

Program Loading
---------------

The information on program loading has been moved to [SYSVABI64_].
The information on program loading has moved to [SYSVABI64_].

Dynamic Linking
---------------

The information on Dynamic Linking has been moved to [SYSVABI64_].
The information on Dynamic Linking has moved to [SYSVABI64_].

Dynamic Section
---------------

The information on the Dynamic Section has been moved to [SYSVABI64_].
The information on the Dynamic Section has moved to [SYSVABI64_].

Custom PLTs
^^^^^^^^^^^^

The information on custom PLTs has been moved to [SYSVABI64_].
The information on custom PLTs has moved to [SYSVABI64_].

.. raw:: pdf
Expand Down
2 changes: 1 addition & 1 deletion aapcs64/aapcs64.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2282,7 +2282,7 @@ a lazy save, with the subroutine having the following properties:
**(Beta)**

Platforms that support SME must provide a subroutine to query the current
value of VG, with the subroutine having the following properties:
value of VG, and the subroutine must have the following properties:

* The subroutine is called ``__arm_get_current_vg``.

Expand Down
15 changes: 9 additions & 6 deletions memtagabielf64/memtagabielf64.rst
Original file line number Diff line number Diff line change
Expand Up @@ -380,21 +380,24 @@ MemtagABI adds the following processor-specific dynamic array tags:
respectively). Binaries compiled with clang-17 and lld-17 produced the dynamic
entries with ``DT_AARCH64_MEMTAG_STACK`` as ``d_val`` and
``DT_AARCH64_MEMTAG_GLOBALS`` as ``d_ptr`` as this was the intended semantics,
and they were shipped on Android devices. The values were thus updated to
and they were shipped on Android devices. The values were updated to
their more fitting semantic types (without updating the ``Value``), but this
does mean that ``DT_AARCH64_MEMTAG_STACK`` is a ``d_val`` with an even
``Value``, and ``DT_AARCH64_MEMTAG_GLOBALS`` is a ``d_ptr`` with an odd
``Value`` (where the normal semantics are ``odd == d_val``, and ``even ==
d_ptr``). Implementations of dynamic loaders need to be careful to apply these
d_ptr``). Implementations of dynamic loaders should be careful to apply these
semantics correctly - notably the load bias should not be applied to
``DT_AARCH64_MEMTAG_STACK``, as it's a ``d_val``, even though the ``Value`` is
even.

``DT_AARCH64_MEMTAG_MODE`` indicates the initial MTE mode that should be set. It
has two possible values: ``0``, indicating that the desired MTE mode is
Synchronous, and ``1``, indicating that the desired mode is Asynchronous. This
entry is only valid on the main executable, usage in dynamically loaded objects
is ignored.
has two possible values:

* ``0``, indicating that the desired MTE mode is Synchronous
* ``1``, indicating that the desired mode is Asynchronous.

This entry is only valid on the main executable, usage in dynamically loaded
objects is ignored.

The presence of the ``DT_AARCH64_MEMTAG_HEAP`` dynamic array entry indicates
that heap allocations should be protected with memory tagging. Implementation of
Expand Down

0 comments on commit 4b25a26

Please sign in to comment.