From 4ffc047ed50525c90e3becd11cb01cc38c9956a0 Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Wed, 2 Aug 2023 23:49:35 -0400 Subject: [PATCH] [PAuthABI] Change DT_AARCH64_AUTH_RELR* to avoid conflict with DT_AARCH64_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. --- pauthabielf64/pauthabielf64.rst | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/pauthabielf64/pauthabielf64.rst b/pauthabielf64/pauthabielf64.rst index 0fcf846a..d6607bf6 100644 --- a/pauthabielf64/pauthabielf64.rst +++ b/pauthabielf64/pauthabielf64.rst @@ -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 ---------- @@ -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: