Skip to content

Commit

Permalink
[PAuthABI] Change DT_AARCH64_AUTH_RELR* to avoid conflict with DT_AAR…
Browse files Browse the repository at this point in the history
…CH64_VARIANT_PCS

We need to pick two odd numbers for DT_AARCH64_AUTH_RELRSZ and
DT_AARCH64_AUTH_RELRENT. The recent DT_AARCH64_MEMTAG_* tags have
occupied a few numbers.
Let's use 0x70000011 to 0x70000013. The numbers are consecutive to be
similar to DT_RELRSZ/DT_RELR/DT_RELRENT.
  • Loading branch information
MaskRay committed Aug 16, 2023
1 parent d281283 commit 4ffc047
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions pauthabielf64/pauthabielf64.rst
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,9 @@ changes to the content of the document for that release.
| 2021q3 | 1\ :sup:`st` November 2021 | Clarify the concepts of a default and alternate PAuth elf signing|
| | | schemes. |
+------------+-----------------------------+------------------------------------------------------------------+
| 2023q3 | 16\ :sup:`st` August 2023 | Update tags in `Dynamic Sections`_ to avoid conflict with |
| | | DT_AARCH64_VARIANT_PCS. |
+------------+-----------------------------+------------------------------------------------------------------+

References
----------
Expand Down Expand Up @@ -741,11 +744,11 @@ The PAuth ABI adds the following processor-specific dynamic array tags.
+----------------------------+------------+--------+------------+---------------+
| Name | Value | d\_un | Executable | Shared Object |
+============================+============+========+============+===============+
| DT\_AARCH64\_AUTH\_RELRSZ | 0x70000005 | d\_val | optional | optional |
| DT\_AARCH64\_AUTH\_RELRSZ | 0x70000011 | d\_val | optional | optional |
+----------------------------+------------+--------+------------+---------------+
| DT\_AARCH64\_AUTH\_RELR | 0x70000006 | d\_ptr | optional | optional |
| DT\_AARCH64\_AUTH\_RELR | 0x70000012 | d\_ptr | optional | optional |
+----------------------------+------------+--------+------------+---------------+
| DT\_AARCH64\_AUTH\_RELRENT | 0x70000007 | d\_val | optional | optional |
| DT\_AARCH64\_AUTH\_RELRENT | 0x70000013 | d\_val | optional | optional |
+----------------------------+------------+--------+------------+---------------+

Description:
Expand Down

0 comments on commit 4ffc047

Please sign in to comment.