about summary refs log tree commit diff
path: root/scripts/glibcelf.py
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-06-06 14:41:24 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-06-06 15:56:48 -0300
commit8521001731d6539382fa875f1cac9864c466ef27 (patch)
tree1d20e7832dc32002c890794068d8e70c3680c43e /scripts/glibcelf.py
parent999835533bc60fbd0b0b65d2412a6742e5a54b9d (diff)
downloadglibc-8521001731d6539382fa875f1cac9864c466ef27.tar.gz
glibc-8521001731d6539382fa875f1cac9864c466ef27.tar.xz
glibc-8521001731d6539382fa875f1cac9864c466ef27.zip
scripts/glibcelf.py: Add PT_AARCH64_MEMTAG_MTE constant
It was added in commit 603e5c8ba7257483c162cabb06eb6f79096429b6.
This caused the elf/tst-glibcelf consistency check to fail.

Reviewed-by: Florian Weimer <fweimer@redhat.com>
Diffstat (limited to 'scripts/glibcelf.py')
-rw-r--r--scripts/glibcelf.py4
1 files changed, 4 insertions, 0 deletions
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