[PATCH] Add support to readelf for reading OpenBSD ELF core notes.
John Baldwin
jhb@FreeBSD.org
Mon Sep 27 17:17:02 GMT 2021
On 9/27/21 3:24 AM, Frederic Cambus wrote:
> On Sat, Sep 11, 2021 at 11:30:22PM +0200, Frederic Cambus wrote:
>> binutils/ChangeLog:
>>
>> 2021-09-11 Frederic Cambus <fred@statdns.com>
>>
>> * readelf.c (get_openbsd_elfcore_note_type): New function.
>> (process_note): Add support for OpenBSD core notes.
>
> Friendly ping. Anyone willing to have a look at this? Thanks.
I think this looks fine, but I am not an approver for binutils.
I noticed that there are also #define's for NT_OPENBSD_XFPREGS
(presumably for SSE regs on i386?) and NT_OPENBSD_IDENT. Did
you want to handle those as well? (That is, does modern OpenBSD
generate those?) The first one is probably a simple change to
your existing patch. NT_OPENBSD_IDENT might be more involved if
it is similar to NT_NETBSD_IDENT.
--
John Baldwin
More information about the Binutils
mailing list