This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[patch] Add NT_GNU_GOLD_VERSION
- From: Mark Wielaard <mjw at redhat dot com>
- To: libc-alpha at sourceware dot org
- Date: Sun, 26 Jul 2009 08:21:47 +0200
- Subject: [patch] Add NT_GNU_GOLD_VERSION
Hi,
binutils added a new note type for NT_GNU_GOLD_VERSION. This patch adds
it also to elf.h.
Cheers,
Mark
>From 512e22912d723399989d4156b929e1f52e4691ab Mon Sep 17 00:00:00 2001
From: Mark Wielaard <mjw@redhat.com>
Date: Sun, 26 Jul 2009 07:58:59 +0200
Subject: [PATCH] elf/elf.h (NT_GNU_GOLD_VERSION): Define, to match binutils.
---
ChangeLog | 4 ++++
elf/elf.h | 2 ++
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index abfe7db..c8f4b0a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-07-26 Mark Wielaard <mjw@redhat.com>
+
+ * elf/elf.h (NT_GNU_GOLD_VERSION): Define, to match binutils.
+
2009-07-25 Ulrich Drepper <drepper@redhat.com>
* sysdeps/x86_64/multiarch/strcmp.S: Some more optimizations for
diff --git a/elf/elf.h b/elf/elf.h
index 7efdede..73e2803 100644
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -1054,6 +1054,8 @@ typedef struct
The descriptor consists of any nonzero number of bytes. */
#define NT_GNU_BUILD_ID 3
+/* Version note generated by GNU gold containing a version string. */
+#define NT_GNU_GOLD_VERSION 4
/* Move records. */
typedef struct
--
1.6.2.5