commit | 4019aa8148b3871111b8a6687bd9f9a62cba8539 | [log] [tgz] |
---|---|---|
author | Mark Wielaard <mark@klomp.org> | Fri Feb 12 16:42:44 2021 +0100 |
committer | Mark Wielaard <mark@klomp.org> | Wed Feb 17 16:55:53 2021 +0100 |
tree | 110ffa6a02148e58947a69c6b11e046eb2b6a7da | |
parent | ce6a126b01b2c8951dd941a95a92be71e34f2088 [diff] |
readelf: Type DIE offset is from start of CU. While inspecting some type units I noticed the type offset seemed off. We were printing the offset as is, but it should include the offset of the unit. There was actually a testcase for this, run-readelf-types.sh but that had the same bug in the expected output. Fixed both. Signed-off-by: Mark Wielaard <mark@klomp.org>