summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Machata <pmachata@redhat.com>2013-09-26 00:38:37 +0200
committerPetr Machata <pmachata@redhat.com>2013-09-27 14:19:10 +0200
commitb43bcfe4235d3fda3ea22d96af0f8f0c71924013 (patch)
tree5664be190a346068a883f13b9d3f3a31c38b76d7
parentf36d727a5ca4e8fc5e25b2f3af4a3d42986a68a6 (diff)
downloadelfutils-b43bcfe4235d3fda3ea22d96af0f8f0c71924013.tar.gz
Recognize names of some new core note types in ebl_core_note_type_name
Signed-off-by: Petr Machata <pmachata@redhat.com>
-rw-r--r--libebl/ChangeLog5
-rw-r--r--libebl/eblcorenotetypename.c7
2 files changed, 11 insertions, 1 deletions
diff --git a/libebl/ChangeLog b/libebl/ChangeLog
index 623bdbaa..e81fae90 100644
--- a/libebl/ChangeLog
+++ b/libebl/ChangeLog
@@ -1,3 +1,8 @@
+2013-09-26 Petr Machata <pmachata@redhat.com>
+
+ * eblcorenotetypename.c: Handle NT_ARM_TLS, NT_ARM_HW_BREAK,
+ NT_ARM_HW_WATCH, NT_SIGINFO, NT_FILE.
+
2013-09-25 Mark Wielaard <mjw@redhat.com>
* eblsectionstripp.c (ebl_section_strip_p): Check shdr_l is not NULL.
diff --git a/libebl/eblcorenotetypename.c b/libebl/eblcorenotetypename.c
index 21fff73d..b6db6cd8 100644
--- a/libebl/eblcorenotetypename.c
+++ b/libebl/eblcorenotetypename.c
@@ -1,5 +1,5 @@
/* Return note type name.
- Copyright (C) 2002, 2007, 2008, 2012 Red Hat, Inc.
+ Copyright (C) 2002, 2007, 2008, 2012, 2013 Red Hat, Inc.
This file is part of elfutils.
Written by Ulrich Drepper <drepper@redhat.com>, 2002.
@@ -91,6 +91,11 @@ ebl_core_note_type_name (ebl, type, buf, len)
KNOWNSTYPE (S390_LAST_BREAK);
KNOWNSTYPE (S390_SYSTEM_CALL);
KNOWNSTYPE (ARM_VFP);
+ KNOWNSTYPE (ARM_TLS);
+ KNOWNSTYPE (ARM_HW_BREAK);
+ KNOWNSTYPE (ARM_HW_WATCH);
+ KNOWNSTYPE (SIGINFO);
+ KNOWNSTYPE (FILE);
#undef KNOWNSTYPE
default: