Add support to readelf for the PT_OPENBSD_NOBTCFI segment type.

This commit is contained in:
Frederic Cambus
2023-09-28 13:39:01 +01:00
committed by Nick Clifton
parent 6136093c0d
commit 73b22419ed
4 changed files with 11 additions and 0 deletions

View File

@@ -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 */