diff options
author | Alan Hayward <alan.hayward@arm.com> | 2019-02-20 10:39:28 +0000 |
---|---|---|
committer | Alan Hayward <alan.hayward@arm.com> | 2019-02-20 10:39:28 +0000 |
commit | e6c3b5bfb449d1a02d26f3c4bae5b732951479fc (patch) | |
tree | 9fb625a78e11377adfcfdb56ae89ba67f74e4899 /include | |
parent | 34d75fb5c419a23922174c520e124523e01114c4 (diff) | |
download | fsf-binutils-gdb-e6c3b5bfb449d1a02d26f3c4bae5b732951479fc.zip fsf-binutils-gdb-e6c3b5bfb449d1a02d26f3c4bae5b732951479fc.tar.gz fsf-binutils-gdb-e6c3b5bfb449d1a02d26f3c4bae5b732951479fc.tar.bz2 |
AArch64: Add pauth core file section
Used for the AArch64 pointer authentication code mask registers in Arm v8.3-a.
NT_ARM_PAC_MASK matches the value in Linux include/uapi/linux/elf.h
include/ChangeLog:
* elf/common.h (NT_ARM_PAC_MASK): Add define.
bfd/ChangeLog:
* elf-bfd.h (elfcore_write_aarch_pauth): Add declaration.
* elf.c (elfcore_grok_aarch_pauth): New function.
(elfcore_grok_note): Check for NT_ARM_PAC_MASK.
(elfcore_write_aarch_pauth): New function.
(elfcore_write_register_note): Check for AArch64 pauth section.
Diffstat (limited to 'include')
-rw-r--r-- | include/ChangeLog | 4 | ||||
-rw-r--r-- | include/elf/common.h | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index 7045bc9..6d6ec66 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2019-02-20 Alan Hayward <alan.hayward@arm.com> + + * elf/common.h (NT_ARM_PAC_MASK): Add define. + 2019-02-15 Saagar Jha <saagar@saagarjha.com> * mach-o/loader.h: Use new OS names in comments. diff --git a/include/elf/common.h b/include/elf/common.h index 996acf9..e8faf67 100644 --- a/include/elf/common.h +++ b/include/elf/common.h @@ -650,6 +650,8 @@ /* note name must be "LINUX". */ #define NT_ARM_SVE 0x405 /* AArch SVE registers. */ /* note name must be "LINUX". */ +#define NT_ARM_PAC_MASK 0x406 /* AArch pointer authentication code masks */ + /* note name must be "LINUX". */ #define NT_SIGINFO 0x53494749 /* Fields of siginfo_t. */ #define NT_FILE 0x46494c45 /* Description of mapped files. */ |