diff options
| author | Mark Wielaard <[email protected]> | 2018-06-05 23:21:05 +0200 |
|---|---|---|
| committer | Mark Wielaard <[email protected]> | 2018-06-08 12:03:14 +0200 |
| commit | a3b15251cdb68e225dc4e0433984784b7a6592d5 (patch) | |
| tree | de20a801089153cf8f855b1de6c820c5b0d3ba27 /tests/varlocs.c | |
| parent | 090ef3e03c884d4d936129c4cffaa73cd57d4c7f (diff) | |
readelf: Always initialize .debug_addr unit_length, even without a header.
We would print a "fake" .debug_addr header, but didn't always setup the
unit_length (in case there was a mix of GNU DebugFission and DWARF5 tables).
Make sure to always set the unit_length (we do always calculate the next
unit offset already).
Signed-off-by: Mark Wielaard <[email protected]>
Diffstat (limited to 'tests/varlocs.c')
0 files changed, 0 insertions, 0 deletions
