Revert: [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.
This commit is contained in:
Luis Machado
2021-09-07 10:41:01 -03:00
parent 90f4cc60f1
commit 64dbf74d42
6 changed files with 26 additions and 27 deletions

View File

@ -694,12 +694,6 @@
/* 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. */