summaryrefslogtreecommitdiff
path: root/libdw/ChangeLog
diff options
context:
space:
mode:
authorMark Wielaard <mark@klomp.org>2019-06-28 19:21:59 +0200
committerMark Wielaard <mark@klomp.org>2019-07-10 14:08:33 +0200
commitb3233914074cb7eb19ea2fc3c70257679f867f68 (patch)
treeaad365893d911393052714723f050388197170d7 /libdw/ChangeLog
parent31c8b3f098b0654db8f573b2a15d5b6d07d4d3b0 (diff)
downloadelfutils-b3233914074cb7eb19ea2fc3c70257679f867f68.tar.gz
libdwelf: Add dwelf_elf_e_machine_string and use it in readelf.
To print eh human readable description of the ELF e_machine header field we used the ebl name. But this is not set for most EM constants. Introduce a new function dwelf_elf_e_machine_string that does work for all known EM values. Use that in eu-readelf to print a string representation of the e_machine value. Since this was the only usage of ebl->name, remove that from struct ebl. Also add a testcase that makes sure dwelf_elf_e_machine_string works for all EM values in the libelf/elf.h header so we will immediately notice when a new value appears. Signed-off-by: Mark Wielaard <mark@klomp.org>
Diffstat (limited to 'libdw/ChangeLog')
-rw-r--r--libdw/ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/libdw/ChangeLog b/libdw/ChangeLog
index 4760f9de..6b779e77 100644
--- a/libdw/ChangeLog
+++ b/libdw/ChangeLog
@@ -1,3 +1,8 @@
+2019-06-28 Mark Wielaard <mark@klomp.org>
+
+ * libdw.map (ELFUTILS_0.177): New section. Add
+ dwelf_elf_e_machine_string.
+
2019-05-16 Mark Wielaard <mark@klomp.org>
* dwarf.h: Add DW_AT_GNU_numerator, DW_AT_GNU_denominator and