diff options
author | Luca Boccassi <luca.boccassi@gmail.com> | 2024-05-20 16:47:00 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2024-05-20 16:47:00 +0100 |
commit | 762910fbd19cf703d732ad3d2f2ff0d95c1cbfa2 (patch) | |
tree | 6e1666ad418c235daf1a59835202df8ecedfc0b5 /binutils/readelf.c | |
parent | 4af0542142732be2522cbbcc7ad318ab57933d28 (diff) | |
download | gdb-762910fbd19cf703d732ad3d2f2ff0d95c1cbfa2.zip gdb-762910fbd19cf703d732ad3d2f2ff0d95c1cbfa2.tar.gz gdb-762910fbd19cf703d732ad3d2f2ff0d95c1cbfa2.tar.bz2 |
readelf: add pretty printing for FDO Dlopen Metadata note
Diffstat (limited to 'binutils/readelf.c')
-rw-r--r-- | binutils/readelf.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/binutils/readelf.c b/binutils/readelf.c index bb3dde0..e2203cf 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -20514,6 +20514,8 @@ get_note_type (Filedata * filedata, unsigned e_type) return _("GO BUILDID"); case FDO_PACKAGING_METADATA: return _("FDO_PACKAGING_METADATA"); + case FDO_DLOPEN_METADATA: + return _("FDO_DLOPEN_METADATA"); default: break; } @@ -21773,6 +21775,11 @@ print_fdo_note (Elf_Internal_Note * pnote) printf (_(" Packaging Metadata: %.*s\n"), (int) pnote->descsz, pnote->descdata); return true; } + if (pnote->descsz > 0 && pnote->type == FDO_DLOPEN_METADATA) + { + printf (_(" Dlopen Metadata: %.*s\n"), (int) pnote->descsz, pnote->descdata); + return true; + } return false; } |