Re: [PATCH] readelf: add pretty printing for FDO Dlopen Metadata note

2024-05-31 Thread Luca Boccassi
On Fri, 31 May 2024 at 13:39, Mark Wielaard wrote: > > Hi Luca, > > On Thu, 2024-05-30 at 11:45 +0100, Luca Boccassi wrote: > > On Tue, 14 May 2024 at 22:18, Mark Wielaard wrote: > > > Not a fan of json, feels very un-ELF. But it is what it is. The patch > > > looks OK. Could you let us know when

[PATCH 2/2] readelf: add pretty printing for FDO Dlopen Metadata note

2024-05-31 Thread Mark Wielaard
From: Luca Boccassi The node ID and the string format are now fixed, even if the content of the string might change, it will still be a string. * libebl/eblobjnote.c (ebl_object_note): Handle both type being NT_FDO_PACKAGING_METADATA or NT_FDO_DLOPEN_METADATA when name is "FDO".

[PATCH 1/2] libelf: Sync elf.h from glibc

2024-05-31 Thread Mark Wielaard
* libelf/elf.h: Adds AT_HWCAP{3,4}, NT_FDO_DLOPEN_METADATA and R_LARCH_TLS_DESC{32,64}. Signed-off-by: Mark Wielaard --- libelf/elf.h | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/libelf/elf.h b/libelf/elf.h index f2206e5c065d..081742a9c38c 1006

Re: [PATCH] readelf: add pretty printing for FDO Dlopen Metadata note

2024-05-31 Thread Mark Wielaard
Hi Luca, On Thu, 2024-05-30 at 11:45 +0100, Luca Boccassi wrote: > On Tue, 14 May 2024 at 22:18, Mark Wielaard wrote: > > Not a fan of json, feels very un-ELF. But it is what it is. The patch > > looks OK. Could you let us know when the elf.h change is accepted in > > glibc, then we'll sync and i