Re: [PATCH 2/2] readelf: Turn format_print_dwarf into print_dwarf_addr.

2018-06-09 Thread Mark Wielaard
On Thu, 2018-06-07 at 23:44 +0200, Mark Wielaard wrote: > We don't really need to setup a buffer, print into it and then print it > out to stdout. Simplify the code by directly printing the address (and > symbol name). Pushed to master, including a description of the other little change in it:   

[PATCH 2/2] readelf: Turn format_print_dwarf into print_dwarf_addr.

2018-06-07 Thread Mark Wielaard
We don't really need to setup a buffer, print into it and then print it out to stdout. Simplify the code by directly printing the address (and symbol name). Signed-off-by: Mark Wielaard --- src/ChangeLog| 20 +++ src/readelf.c| 423 +--