diff options
author | Ed Maste <emaste@FreeBSD.org> | 2020-03-06 17:24:51 +0000 |
---|---|---|
committer | Ed Maste <emaste@FreeBSD.org> | 2020-03-06 17:24:51 +0000 |
commit | 6c37d6032ed296370371f8c9f79068ba7c6a54df (patch) | |
tree | 171062d4e7432d3e9b42d5fd522293f2937b4c74 /contrib | |
parent | fc7efa1b6a45b6407d170ce150a1cec1594c4018 (diff) | |
download | src-test2-6c37d6032ed296370371f8c9f79068ba7c6a54df.tar.gz src-test2-6c37d6032ed296370371f8c9f79068ba7c6a54df.zip |
Notes
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/elftoolchain/readelf/readelf.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/elftoolchain/readelf/readelf.c b/contrib/elftoolchain/readelf/readelf.c index e5a6fa0de2e6..28daeede16ae 100644 --- a/contrib/elftoolchain/readelf/readelf.c +++ b/contrib/elftoolchain/readelf/readelf.c @@ -3742,6 +3742,12 @@ dump_notes_data(struct readelf *re, const char *name, uint32_t type, case NT_GNU_PROPERTY_TYPE_0: dump_gnu_property_type_0(re, buf, sz); return; + case NT_GNU_BUILD_ID: + printf(" Build ID: "); + for (i = 0; i < sz; i++) + printf("%02x", (unsigned char)buf[i]); + printf("\n"); + return; } } else if (strcmp(name, "Xen") == 0) { switch (type) { |