Re: [PATCH] libdwelf: Add dwelf_elf_e_machine_string and use it in readelf.

2019-07-10 Thread Mark Wielaard
On Fri, 2019-06-28 at 23:07 +0200, Mark Wielaard wrote: > 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 t

[PATCH] libdwelf: Add dwelf_elf_e_machine_string and use it in readelf.

2019-06-28 Thread Mark Wielaard
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_mach