aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf-bfd.h
diff options
context:
space:
mode:
authorAlan Hayward <alan.hayward@arm.com>2019-02-20 10:39:28 +0000
committerAlan Hayward <alan.hayward@arm.com>2019-02-20 10:39:28 +0000
commite6c3b5bfb449d1a02d26f3c4bae5b732951479fc (patch)
tree9fb625a78e11377adfcfdb56ae89ba67f74e4899 /bfd/elf-bfd.h
parent34d75fb5c419a23922174c520e124523e01114c4 (diff)
downloadbinutils-e6c3b5bfb449d1a02d26f3c4bae5b732951479fc.zip
binutils-e6c3b5bfb449d1a02d26f3c4bae5b732951479fc.tar.gz
binutils-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 'bfd/elf-bfd.h')
-rw-r--r--bfd/elf-bfd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h
index 5741c60..56cddda 100644
--- a/bfd/elf-bfd.h
+++ b/bfd/elf-bfd.h
@@ -2634,6 +2634,8 @@ extern char *elfcore_write_aarch_hw_watch
(bfd *, char *, int *, const void *, int);
extern char *elfcore_write_aarch_sve
(bfd *, char *, int *, const void *, int);
+extern char *elfcore_write_aarch_pauth
+ (bfd *, char *, int *, const void *, int);
extern char *elfcore_write_lwpstatus
(bfd *, char *, int *, long, int, const void *);
extern char *elfcore_write_register_note