diff options
author | Frederic Cambus <fred@statdns.com> | 2024-02-12 13:44:59 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2024-02-12 17:09:13 +0000 |
commit | d86205c3ec49b0edadfa2b3e568b3d852f0a6e1f (patch) | |
tree | afff7c18368b4649597fe13aa4aa722f2830d15b /include/elf | |
parent | e19e16103fb10ac28b15683f56c821cf1b349c1b (diff) | |
download | gdb-d86205c3ec49b0edadfa2b3e568b3d852f0a6e1f.zip gdb-d86205c3ec49b0edadfa2b3e568b3d852f0a6e1f.tar.gz gdb-d86205c3ec49b0edadfa2b3e568b3d852f0a6e1f.tar.bz2 |
Add support to readelf for the PT_OPENBSD_SYSCALLS segment type.
binutils * readelf.c (get_segment_type): Handle PT_OPENBSD_SYSCALLS segment type.
include * elf/common.h (PT_OPENBSD_SYSCALLS): Define.
Diffstat (limited to 'include/elf')
-rw-r--r-- | include/elf/common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/elf/common.h b/include/elf/common.h index 6a66456..832f9bd 100644 --- a/include/elf/common.h +++ b/include/elf/common.h @@ -496,6 +496,7 @@ #define PT_OPENBSD_RANDOMIZE (PT_LOOS + 0x5a3dbe6) /* Fill with random data. */ #define PT_OPENBSD_WXNEEDED (PT_LOOS + 0x5a3dbe7) /* Program does W^X violations. */ #define PT_OPENBSD_NOBTCFI (PT_LOOS + 0x5a3dbe8) /* No branch target CFI. */ +#define PT_OPENBSD_SYSCALLS (PT_LOOS + 0x5a3dbe9) /* System call sites. */ #define PT_OPENBSD_BOOTDATA (PT_LOOS + 0x5a41be6) /* Section for boot arguments. */ /* Mbind segments */ |