]> git.ipfire.org Git - thirdparty/elfutils.git/commit
readelf: base address entry can be first
authorMark Wielaard <mark@klomp.org>
Tue, 1 Sep 2020 21:32:09 +0000 (23:32 +0200)
committerMark Wielaard <mark@klomp.org>
Mon, 7 Sep 2020 08:07:45 +0000 (10:07 +0200)
commitf1a0e680aa0f4e9fcdf10afcea075a833a5a9e4a
tree6f26edef3920716068f7a31787f9826bbfe781f8
parentd0f3b596fd9bc262c6bcd2da571436165d734222
readelf: base address entry can be first

In both debug_ranges and debug_loc a base address entry can be the
first in the range or loc list. If so print the offset and set first
to false. Otherwise don't print the entry list offset, but do set
first to false.

Signed-off-by: Mark Wielaard <mark@klomp.org>
src/ChangeLog
src/readelf.c