From 80251d4185048c6391b74abe96c754e8a536b35f Mon Sep 17 00:00:00 2001 From: Frederic Cambus Date: Thu, 23 Mar 2023 15:19:38 +0000 Subject: Add support to readelf for the PT_OPENBSD_MUTABLE segment type. binutils * readelf.c (get_segment_type): Handle PT_OPENBSD_MUTABLE segment type. include * elf/common.h (PT_OPENBSD_MUTABLE): Define. --- binutils/ChangeLog | 5 +++++ binutils/readelf.c | 1 + 2 files changed, 6 insertions(+) (limited to 'binutils') diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 10718ab..a6932cb 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2023-03-23 Frederic Cambus + + * readelf.c (get_segment_type): Handle PT_OPENBSD_MUTABLE segment + type. + 2023-03-14 Nick Clifton PR 30227 diff --git a/binutils/readelf.c b/binutils/readelf.c index 4c54030..a47cb0e 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -4640,6 +4640,7 @@ get_segment_type (Filedata * filedata, unsigned long p_type) case PT_GNU_PROPERTY: return "GNU_PROPERTY"; case PT_GNU_SFRAME: return "GNU_SFRAME"; + case PT_OPENBSD_MUTABLE: return "OPENBSD_MUTABLE"; case PT_OPENBSD_RANDOMIZE: return "OPENBSD_RANDOMIZE"; case PT_OPENBSD_WXNEEDED: return "OPENBSD_WXNEEDED"; case PT_OPENBSD_BOOTDATA: return "OPENBSD_BOOTDATA"; -- cgit v1.1