[PATCH]: Teach readelf about gold version note.
David Miller
davem@davemloft.net
Tue Apr 15 00:24:00 GMT 2008
I noticed this while scanning readelf dumps over the past
week or so.
Ok to apply?
2008-04-14 David S. Miller <davem@davemloft.net>
* readelf.c (get_gnu_elf_note_type): Recognize NT_GNU_GOLD_VERSION.
Index: readelf.c
===================================================================
RCS file: /cvs/src/src/binutils/readelf.c,v
retrieving revision 1.406
diff -u -p -r1.406 readelf.c
--- readelf.c 11 Apr 2008 09:04:17 -0000 1.406
+++ readelf.c 15 Apr 2008 00:19:58 -0000
@@ -9799,6 +9799,8 @@ get_gnu_elf_note_type (unsigned e_type)
return _("NT_GNU_HWCAP (DSO-supplied software HWCAP info)");
case NT_GNU_BUILD_ID:
return _("NT_GNU_BUILD_ID (unique build ID bitstring)");
+ case NT_GNU_GOLD_VERSION:
+ return _("NT_GNU_GOLD_VERSION (gold version)");
default:
break;
}
More information about the Binutils
mailing list