summaryrefslogtreecommitdiff
path: root/libdw/dwarf.h
diff options
context:
space:
mode:
authorMark Wielaard <mark@klomp.org>2017-11-02 16:23:24 +0100
committerMark Wielaard <mark@klomp.org>2017-11-10 16:36:01 +0100
commite23c71330c3b332d19fdf9e48ca8b03680d9ad34 (patch)
tree5399c5566a1921ed9873b5d0e1eb0605b4ce5281 /libdw/dwarf.h
parentcc1d7e7612e9bd43a299fd1e2237f837f84e6f04 (diff)
downloadelfutils-e23c71330c3b332d19fdf9e48ca8b03680d9ad34.tar.gz
readelf: Handle DW_OP_GNU_variable_value.
Also format both DW_OP_call_ref and DW_OP_GNU_variable_value argument as a normal DIE reference. Signed-off-by: Mark Wielaard <mark@klomp.org>
Diffstat (limited to 'libdw/dwarf.h')
-rw-r--r--libdw/dwarf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libdw/dwarf.h b/libdw/dwarf.h
index 902d2617..8edf719a 100644
--- a/libdw/dwarf.h
+++ b/libdw/dwarf.h
@@ -545,6 +545,7 @@ enum
DW_OP_GNU_convert = 0xf7,
DW_OP_GNU_reinterpret = 0xf9,
DW_OP_GNU_parameter_ref = 0xfa,
+ DW_OP_GNU_variable_value = 0xfd,
DW_OP_lo_user = 0xe0, /* Implementation-defined range start. */
DW_OP_hi_user = 0xff /* Implementation-defined range end. */