Re: [PATCH] readelf: It is not an error if there are no line number statements

2020-08-30 Thread Mark Wielaard
On Wed, Aug 26, 2020 at 02:30:42PM +0200, Mark Wielaard wrote: > It can happen that there are no line number statements at the end of > a debug line section. So don't check that there are any more bytes > after the last file entry. And print "No line number statements." Pushed.

[PATCH] readelf: It is not an error if there are no line number statements

2020-08-26 Thread Mark Wielaard
It can happen that there are no line number statements at the end of a debug line section. So don't check that there are any more bytes after the last file entry. And print "No line number statements." libdw already got this corner case correct. Signed-off-by: Mark Wielaard --- src/ChangeLog |