scripts/glibcelf.py: Add PT_AARCH64_MEMTAG_MTE constant
Checks
Context |
Check |
Description |
dj/TryBot-apply_patch |
success
|
Patch applied to master at the time it was sent
|
dj/TryBot-32bit |
success
|
Build for i686
|
Commit Message
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(+)
Comments
* Adhemerval Zanella via Libc-alpha:
> 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
Looks okay. I'll look at reworking this so that the constants are
synthesized from elf/elf.h.
Reviewed-by: Florian Weimer <fweimer@redhat.com>
Thanks,
Florian
@@ -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