[PATCH] Add support to readelf for the PT_OPENBSD_MUTABLE segment type.

Nick Clifton nickc@redhat.com
Wed Mar 22 13:42:08 GMT 2023


Hi Fred,

> binutils/ChangeLog:
> 
> 2023-03-17  Frederic Cambus  <fred@statdns.com>
> 
> 	* readelf.c (get_segment_type): Handle PT_OPENBSD_MUTABLE segment type.
> 
> include/ChangeLog:
> 
> 2023-03-17  Frederic Cambus  <fred@statdns.com>
> 
> 	* elf/common.h (PT_OPENBSD_MUTABLE): Define.

Patch approved - please apply.

Is there any chance that you could create a binutils/linker testcase
for this new feature ?  You can use a linker script to create segments
with specific types...

Cheers
   Nick




More information about the Binutils mailing list