]> git.ipfire.org Git - thirdparty/elfutils.git/commit
readelf, libdw: blocks aren't expressions for DWARF version 4
authorMark Wielaard <mark@klomp.org>
Fri, 12 Feb 2021 15:28:50 +0000 (16:28 +0100)
committerMark Wielaard <mark@klomp.org>
Wed, 17 Feb 2021 15:52:57 +0000 (16:52 +0100)
commitce6a126b01b2c8951dd941a95a92be71e34f2088
treec70be2b1a6c4ed23dbb8a5e65112a3a3b7d0208f
parentf146d5ec8e2eee566df6eb4c939cf29d779fc08c
readelf, libdw: blocks aren't expressions for DWARF version 4

For DWARF version 4 or higher a block form really encodes a block,
not an expression location. Also constant offsets can be expressed
as DW_FORM_implicit_const in DWARF version 5.

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