summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Wielaard <[email protected]>2009-07-26 08:33:18 -0700
committerUlrich Drepper <[email protected]>2009-07-26 08:33:18 -0700
commitbc1b92e9aff2595b078b7ffc354e5c2191a2c887 (patch)
treea322dc4066f262f804de9cbe2bc592a251aa136d
parent3117a85d8c53668b4bf0c1d10659634f2d69d177 (diff)
Handle NT_GNU_GOLD_VERSION.
-rw-r--r--libebl/ChangeLog5
-rw-r--r--libebl/eblobjnotetypename.c3
-rw-r--r--src/ChangeLog4
-rw-r--r--src/elflint.c1
4 files changed, 12 insertions, 1 deletions
diff --git a/libebl/ChangeLog b/libebl/ChangeLog
index 837a4d16..46a58c79 100644
--- a/libebl/ChangeLog
+++ b/libebl/ChangeLog
@@ -1,3 +1,8 @@
+2009-07-26 Mark Wielaard <[email protected]>
+
+ * eblobjnotetypename.c (ebl_object_note_type_name): Recognize
+ NT_GNU_GOLD_VERSION.
+
2009-07-08 Roland McGrath <[email protected]>
* ebl-hooks.h: Add abi_cfi hook.
diff --git a/libebl/eblobjnotetypename.c b/libebl/eblobjnotetypename.c
index ff9330f9..8e99dbb4 100644
--- a/libebl/eblobjnotetypename.c
+++ b/libebl/eblobjnotetypename.c
@@ -1,5 +1,5 @@
/* Return note type name.
- Copyright (C) 2002, 2007 Red Hat, Inc.
+ Copyright (C) 2002, 2007, 2009 Red Hat, Inc.
This file is part of Red Hat elfutils.
Written by Ulrich Drepper <[email protected]>, 2002.
@@ -74,6 +74,7 @@ ebl_object_note_type_name (ebl, type, buf, len)
KNOWNSTYPE (VERSION),
KNOWNSTYPE (GNU_HWCAP),
KNOWNSTYPE (GNU_BUILD_ID),
+ KNOWNSTYPE (GNU_GOLD_VERSION),
};
/* Handle standard names. */
diff --git a/src/ChangeLog b/src/ChangeLog
index 88e0c115..7e0b25b7 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
+2009-07-26 Mark Wielaard <[email protected]>
+
+ * elflint.c (check_note_data): Recognize NT_GNU_GOLD_VERSION.
+
2009-07-25 Mark Wielaard <[email protected]>
* Makefile.am (addr2line_LDADD): Add $(libelf).
diff --git a/src/elflint.c b/src/elflint.c
index 9915a549..f85d2864 100644
--- a/src/elflint.c
+++ b/src/elflint.c
@@ -3969,6 +3969,7 @@ section [%2d] '%s': unknown core file note type %" PRIu32
case NT_GNU_ABI_TAG:
case NT_GNU_HWCAP:
case NT_GNU_BUILD_ID:
+ case NT_GNU_GOLD_VERSION:
break;
case 0: