summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPetr Machata <[email protected]>2013-11-14 01:07:22 +0100
committerPetr Machata <[email protected]>2013-11-22 00:17:29 +0100
commita47a096e2b8105326c5c58d1f50afcaefff968a0 (patch)
tree43aed720fcef2fea5732b44059e3ca09061f45bf /src
parent99a29497c673871040fed2382938eb5bd06befdd (diff)
Support new 'h' core note item format for hidden fields
Signed-off-by: Petr Machata <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/readelf.c3
2 files changed, 8 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 51a5bd56..66586870 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
+2013-11-14 Petr Machata <[email protected]>
+
+ * readelf.c (handle_core_item) <'h'>: New branch for handling
+ fields that shouldn't be displayed.
+
2013-11-10 Mark Wielaard <[email protected]>
* stack.c: Use ARGP_PROGRAM_VERSION_HOOK_DEF and
diff --git a/src/readelf.c b/src/readelf.c
index ac2f2b0a..7ed9f4a5 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);