aboutsummaryrefslogtreecommitdiff
path: root/include/elf
diff options
context:
space:
mode:
authorFrederic Cambus <fred@statdns.com>2023-09-28 13:39:01 +0100
committerNick Clifton <nickc@redhat.com>2023-09-28 13:39:01 +0100
commit73b22419edd563cf26bc8688c3f04fb3cf414cb0 (patch)
treeac34dd29127dcd7cd42394f190877ff6fa1ecd1a /include/elf
parent6136093c0d009e3118abb08344e156d91144a046 (diff)
downloadgdb-73b22419edd563cf26bc8688c3f04fb3cf414cb0.zip
gdb-73b22419edd563cf26bc8688c3f04fb3cf414cb0.tar.gz
gdb-73b22419edd563cf26bc8688c3f04fb3cf414cb0.tar.bz2
Add support to readelf for the PT_OPENBSD_NOBTCFI segment type.
Diffstat (limited to 'include/elf')
-rw-r--r--include/elf/common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/elf/common.h b/include/elf/common.h
index 932ea94..2edfb15 100644
--- a/include/elf/common.h
+++ b/include/elf/common.h
@@ -495,6 +495,7 @@
#define PT_OPENBSD_MUTABLE (PT_LOOS + 0x5a3dbe5) /* Like bss, but not immutable. */
#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_BOOTDATA (PT_LOOS + 0x5a41be6) /* Section for boot arguments. */
/* Mbind segments */