From 894982bfccec66a1496785bbef4d46423345b8c8 Mon Sep 17 00:00:00 2001 From: Luis Machado Date: Fri, 21 May 2021 10:40:32 +0100 Subject: [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. --- binutils/ChangeLog | 4 ++++ binutils/readelf.c | 2 ++ 2 files changed, 6 insertions(+) (limited to 'binutils') 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 + + * readelf.c (get_note_type): Handle NT_MEMTAG note types. + 2021-05-19 Eli Schwartz * 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; } -- cgit v1.1