+2020-08-26 Nick Clifton <nickc@redhat.com>
+
+ PR 26405
+ * readelf.c (get_segment_type): Handle OpenBSD segment types.
+
2020-08-26 Alan Modra <amodra@gmail.com>
PR 26412
case PT_GNU_RELRO: return "GNU_RELRO";
case PT_GNU_PROPERTY: return "GNU_PROPERTY";
+ case PT_OPENBSD_RANDOMIZE: return "OPENBSD_RANDOMIZE";
+ case PT_OPENBSD_WXNEEDED: return "OPENBSD_WXNEEDED";
+ case PT_OPENBSD_BOOTDATA: return "OPENBSD_BOOTDATA";
+
default:
if ((p_type >= PT_LOPROC) && (p_type <= PT_HIPROC))
{
+2020-08-26 Nick Clifton <nickc@redhat.com>
+
+ PR 26405
+ * elf/common.h (PT_OPENBSD_BOOTDATA): Define.
+ (PT_OPENBSD_RANDOMIZE): Define.
+ (PT_OPENBSD_WXNEEDED): Define.
+
2020-08-26 Alan Modra <amodra@gmail.com>
PR 26458
#define PT_GNU_RELRO (PT_LOOS + 0x474e552) /* Read-only after relocation */
#define PT_GNU_PROPERTY (PT_LOOS + 0x474e553) /* GNU property */
+/* OpenBSD segment types. */
+#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_BOOTDATA (PT_LOOS + 0x5a41be6) /* Section for boot arguments. */
+
/* Mbind segments */
#define PT_GNU_MBIND_NUM 4096
#define PT_GNU_MBIND_LO (PT_LOOS + 0x474e555)