diff options
author | Luis Machado <luis.machado@linaro.org> | 2021-05-21 10:40:32 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2021-05-21 10:40:32 +0100 |
commit | 894982bfccec66a1496785bbef4d46423345b8c8 (patch) | |
tree | b1cc82e6ce9f4bab68f9aa2e30146ca5b73ab124 /include | |
parent | 75b969ccb1b05c3fbcecb0b6bb392d7448ce7286 (diff) | |
download | gdb-894982bfccec66a1496785bbef4d46423345b8c8.zip gdb-894982bfccec66a1496785bbef4d46423345b8c8.tar.gz gdb-894982bfccec66a1496785bbef4d46423345b8c8.tar.bz2 |
[AArch64] MTE corefile support
bfd * elf.c (elfcore_make_memtag_note_section): New function.
(elfcore_grok_note): Handle NT_MEMTAG note types.
binutils* readelf.c (get_note_type): Handle NT_MEMTAG note types.
include * elf/common.h (NT_MEMTAG): New constant.
(NT_MEMTAG_TYPE_AARCH_MTE): New constant.
Diffstat (limited to 'include')
-rw-r--r-- | include/ChangeLog | 5 | ||||
-rw-r--r-- | include/elf/common.h | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index e22f3e8..fdb2a7b 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,8 @@ +2021-05-21 Luis Machado <luis.machado@linaro.org> + + * elf/common.h (NT_MEMTAG): New constant. + (NT_MEMTAG_TYPE_AARCH_MTE): New constant. + 2021-05-07 Clément Chigot <clement.chigot@atos.net> * coff/internal.h (C_DWARF): New define. diff --git a/include/elf/common.h b/include/elf/common.h index f36bb0b..234aef0 100644 --- a/include/elf/common.h +++ b/include/elf/common.h @@ -685,6 +685,12 @@ /* The range 0xff000000 to 0xffffffff is set aside for notes that don't originate from any particular operating system. */ #define NT_GDB_TDESC 0xff000000 /* Contains copy of GDB's target description XML. */ +#define NT_MEMTAG 0xff000001 /* Contains a copy of the memory tags. */ + +/* NT_MEMTAG record types. */ + +/* ARM-specific NT_MEMTAG types. */ +#define NT_MEMTAG_TYPE_AARCH_MTE 0x400 /* MTE memory tags for AArch64. */ /* Note segments for core files on dir-style procfs systems. */ |