194aa3
commit 8521001731d6539382fa875f1cac9864c466ef27
194aa3
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
194aa3
Date:   Mon Jun 6 14:41:24 2022 -0300
194aa3
194aa3
    scripts/glibcelf.py: Add PT_AARCH64_MEMTAG_MTE constant
194aa3
    
194aa3
    It was added in commit 603e5c8ba7257483c162cabb06eb6f79096429b6.
194aa3
    This caused the elf/tst-glibcelf consistency check to fail.
194aa3
    
194aa3
    Reviewed-by: Florian Weimer <fweimer@redhat.com>
194aa3
194aa3
diff --git a/scripts/glibcelf.py b/scripts/glibcelf.py
194aa3
index 07bef940433b4c99..47f95d07baefb4ae 100644
194aa3
--- a/scripts/glibcelf.py
194aa3
+++ b/scripts/glibcelf.py
194aa3
@@ -523,6 +523,10 @@ class Pt(_OpenIntEnum):
194aa3
     PT_SUNWBSS = 0x6ffffffa
194aa3
     PT_SUNWSTACK = 0x6ffffffb
194aa3
 
194aa3
+class PtAARCH64(enum.Enum):
194aa3
+    """Supplemental PT_* constants for EM_AARCH64."""
194aa3
+    PT_AARCH64_MEMTAG_MTE = 0x70000002
194aa3
+
194aa3
 class PtARM(enum.Enum):
194aa3
     """Supplemental PT_* constants for EM_ARM."""
194aa3
     PT_ARM_EXIDX = 0x70000001