aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2021-06-15 11:43:43 +0100
committerNick Clifton <nickc@redhat.com>2021-06-15 11:43:43 +0100
commitc8795e1f2f4d8617f22c3bd40dad75c75482e164 (patch)
treeb34062544134637a2effd75950506f851fba125f /include
parentb00af7c8c615891f24a21d79a5bea35ef82bf252 (diff)
downloadgdb-c8795e1f2f4d8617f22c3bd40dad75c75482e164.zip
gdb-c8795e1f2f4d8617f22c3bd40dad75c75482e164.tar.gz
gdb-c8795e1f2f4d8617f22c3bd40dad75c75482e164.tar.bz2
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.
Diffstat (limited to 'include')
-rw-r--r--include/ChangeLog4
-rw-r--r--include/elf/common.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index 27c5e29..b6bf28a 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -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.
diff --git a/include/elf/common.h b/include/elf/common.h
index 24d0a09..58b0936 100644
--- a/include/elf/common.h
+++ b/include/elf/common.h
@@ -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". */