]> git.ipfire.org Git - thirdparty/elfutils.git/commit
readelf handle .debug_addr section.
authorMark Wielaard <mark@klomp.org>
Fri, 27 Apr 2018 22:10:41 +0000 (00:10 +0200)
committerMark Wielaard <mark@klomp.org>
Wed, 30 May 2018 10:14:10 +0000 (12:14 +0200)
commit50dfd98101dde72b32ea2d4df89166ce148a28f2
treeaf701df25251309b413b1435f48df532937280cd
parent4dc31fde711c69fed6acfe18e7e57dfd5665cebb
readelf handle .debug_addr section.

Add debug-dump=addr which will show the .debug_addr section tables.
The only tricky bit is the fact that GNU DebugFission, a DWARF4
extension, didn't produce unit table headers. So if we see a mixed
DWARF4/5 .debug_addr table we have to reconstruct the table length
from the CU DIE DW_AT_[GNU_]_addr_base offsets.

Signed-off-by: Mark Wielaard <mark@klomp.org>
src/ChangeLog
src/readelf.c
tests/ChangeLog
tests/Makefile.am
tests/run-readelf-addr.sh [new file with mode: 0755]
tests/run-readelf-ranges.sh