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 /binutils | |
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 'binutils')
-rw-r--r-- | binutils/ChangeLog | 4 | ||||
-rw-r--r-- | binutils/readelf.c | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 1795f41..b765188 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,7 @@ +2021-05-21 Luis Machado <luis.machado@linaro.org> + + * readelf.c (get_note_type): Handle NT_MEMTAG note types. + 2021-05-19 Eli Schwartz <eschwartz@archlinux.org> * dwarf.c (ENABLE_CHECKING): Define to 0 if not previously set. diff --git a/binutils/readelf.c b/binutils/readelf.c index cf20117..656df64 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -18696,6 +18696,8 @@ get_note_type (Filedata * filedata, unsigned e_type) return _("NT_SIGINFO (siginfo_t data)"); case NT_FILE: return _("NT_FILE (mapped files)"); + case NT_MEMTAG: + return _("NT_MEMTAG (memory tags)"); default: break; } |