]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - binutils/readelf.c
Add 3 new PAC-related ARM note types
authorLuis Machado <luis.machado@linaro.org>
Thu, 5 Aug 2021 16:50:17 +0000 (13:50 -0300)
committerLuis Machado <luis.machado@linaro.org>
Wed, 11 Aug 2021 12:42:44 +0000 (09:42 -0300)
commit3af2785c97622c0a64b266e18a06d735af822df9
treefbe00b9558bf1edfaa135f3c73e333e557844f47
parent4f212c5520a7bd56b83f7e4b3feff2048d394194
Add 3 new PAC-related ARM note types

The following patch synchronizes includes/objdump/readelf with the Linux
Kernel in terms of ARM regset notes.

We're currently missing 3 of them:

NT_ARM_PACA_KEYS
NT_ARM_PACG_KEYS
NT_ARM_PAC_ENABLED_KEYS

We don't need GDB to bother with this at the moment, so this doesn't update
bfd/elf.c. If needed, we can do it in the future.

binutils/

* readelf.c (get_note_type): Handle new ARM PAC notes.

include/elf/

* common.h (NT_ARM_PACA_KEYS, NT_ARM_PACG_KEYS)
(NT_ARM_PAC_ENABLED_KEYS): New constants.
binutils/readelf.c
include/elf/common.h