readelf: Use correct listptr when looking up next loc for locview attr.
authorMark Wielaard <mark@klomp.org>
Wed, 30 May 2018 09:54:31 +0000 (11:54 +0200)
committerMark Wielaard <mark@klomp.org>
Thu, 31 May 2018 19:09:08 +0000 (21:09 +0200)
commit84acd2365d4775b93aed5e5970b34db05ea5d547
tree5b1fc9911d0bbbbad887322a450630e59a7136ba
parentaa02fb9028abcadaa18440b86b1ed085e029956c
readelf: Use correct listptr when looking up next loc for locview attr.

We were using loclistsptr instead of locsptr in print_debug_loc_section.

https://sourceware.org/bugzilla/show_bug.cgi?id=23247

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