mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:51:15 +08:00
Allow readelf to recognise GO buildid notes.
binutils * readelf.c (get_note_type): Add support for NT_GO_BUILDID. include * elf/common.h (NT_GO_BUILDID): Define.
This commit is contained in:
parent
b00af7c8c6
commit
c8795e1f2f
@ -1,3 +1,7 @@
|
||||
2021-06-15 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
* readelf.c (get_note_type): Add support for NT_GO_BUILDID.
|
||||
|
||||
2021-06-15 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* readelf.c (locate_dynamic_section, is_pie): New functions.
|
||||
|
@ -18859,6 +18859,8 @@ get_note_type (Filedata * filedata, unsigned e_type)
|
||||
return _("OPEN");
|
||||
case NT_GNU_BUILD_ATTRIBUTE_FUNC:
|
||||
return _("func");
|
||||
case NT_GO_BUILDID:
|
||||
return _("GO BUILDID");
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
@ -1,3 +1,7 @@
|
||||
2021-06-15 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
* elf/common.h (NT_GO_BUILDID): Define.
|
||||
|
||||
2021-06-02 Shahab Vahedi <shahab@synopsys.com>
|
||||
|
||||
* dis-asm.h (disassembler_options_arc): New prototype.
|
||||
|
@ -748,6 +748,7 @@
|
||||
|
||||
#define NT_VERSION 1 /* Contains a version string. */
|
||||
#define NT_ARCH 2 /* Contains an architecture string. */
|
||||
#define NT_GO_BUILDID 4 /* Contains GO buildid data. */
|
||||
|
||||
/* Values for notes in non-core files using name "GNU". */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user