aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorLuis Machado <luis.machado@linaro.org>2021-05-21 10:40:32 +0100
committerNick Clifton <nickc@redhat.com>2021-05-21 10:40:32 +0100
commit894982bfccec66a1496785bbef4d46423345b8c8 (patch)
treeb1cc82e6ce9f4bab68f9aa2e30146ca5b73ab124 /binutils
parent75b969ccb1b05c3fbcecb0b6bb392d7448ce7286 (diff)
downloadgdb-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/ChangeLog4
-rw-r--r--binutils/readelf.c2
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;
}