[PATCH] scripts/glibcelf.py: Add PT_AARCH64_MEMTAG_MTE constant

Adhemerval Zanella adhemerval.zanella@linaro.org
Mon Jun 6 17:42:21 GMT 2022


It was added in commit 603e5c8ba7257483c162cabb06eb6f79096429b6.
This caused the elf/tst-glibcelf consistency check to fail.
---
 scripts/glibcelf.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/scripts/glibcelf.py b/scripts/glibcelf.py
index 07bef94043..47f95d07ba 100644
--- a/scripts/glibcelf.py
+++ b/scripts/glibcelf.py
@@ -523,6 +523,10 @@ class Pt(_OpenIntEnum):
     PT_SUNWBSS = 0x6ffffffa
     PT_SUNWSTACK = 0x6ffffffb
 
+class PtAARCH64(enum.Enum):
+    """Supplemental PT_* constants for EM_AARCH64."""
+    PT_AARCH64_MEMTAG_MTE = 0x70000002
+
 class PtARM(enum.Enum):
     """Supplemental PT_* constants for EM_ARM."""
     PT_ARM_EXIDX = 0x70000001
-- 
2.34.1



More information about the Libc-alpha mailing list