]> git.ipfire.org Git - thirdparty/elfutils.git/commit
readelf: add pretty printing for FDO Dlopen Metadata note
authorLuca Boccassi <bluca@debian.org>
Fri, 10 May 2024 21:58:02 +0000 (22:58 +0100)
committerMark Wielaard <mark@klomp.org>
Fri, 31 May 2024 12:30:21 +0000 (14:30 +0200)
commitf4d79637f994457b915af5d8a52b922453f6e6fe
treef9bfb7b3a8df9a8c5da69dd0fdcaabfb288e4adb
parent3b056870a0d5f19ef98eb9be3677ab01874f977f
readelf: add pretty printing for FDO Dlopen Metadata note

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".
     * libebl/eblobjnotetypename.c (ebl_object_note_type_name): Handle
     "FDO" name and type NT_FDO_DLOPEN_METADATA.

Signed-off-by: Luca Boccassi <bluca@debian.org>
libebl/eblobjnote.c
libebl/eblobjnotetypename.c