[PATCH 1/2] Support new 'h' core note item format for hidden fields

Petr Machata pmachata at redhat.com
Wed Nov 13 23:47:29 UTC 2013


Signed-off-by: Petr Machata <pmachata at redhat.com>
---
 src/ChangeLog |    5 +++++
 src/readelf.c |    3 +++
 2 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/src/ChangeLog b/src/ChangeLog
index e538a57..49fc728 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
+2013-09-30  Petr Machata  <pmachata at redhat.com>
+
+	* readelf.c (handle_core_item) <'h'>: New branch for handling
+	fields that shouldn't be displayed.
+
 2013-09-26  Petr Machata  <pmachata at redhat.com>
 
 	* readelf.c (handle_file_note): New function.
diff --git a/src/readelf.c b/src/readelf.c
index d1a5b68..96de30d 100644
--- a/src/readelf.c
+++ b/src/readelf.c
@@ -8169,6 +8169,9 @@ handle_core_item (Elf *core, const Ebl_Core_Item *item, const void *desc,
       colno = WRAP_COLUMN;
       break;
 
+    case 'h':
+      break;
+
     default:
       error (0, 0, "XXX not handling format '%c' for %s",
 	     item->format, item->name);
-- 
1.7.6.5



More information about the elfutils-devel mailing list