Make the printing of DW_OP_GNU_implicit_pointer consistent with other
operations that have a DIE offset as argument.
Before:
[ 6e4a] formal_parameter
abstract_origin (ref4) [ 616a]
location (exprloc)
[ 0] GNU_implicit_pointer 0x6dbe, +0
After:
[ 6e4a] formal_parameter
abstract_origin (ref4) [ 616a]
location (exprloc)
[ 0] GNU_implicit_pointer [ 6dbe] +0
Signed-off-by: Mark Wielaard <mjw@redhat.com>
+2013-05-06 Mark Wielaard <mjw@redhat.com>
+
+ * readelf.c (print_ops): Format first DW_OP_GNU_implicit_pointer
+ argument as DIE offset.
+
2013-04-24 Mark Wielaard <mjw@redhat.com>
* Makefile.am: Use AM_CPPFLAGS instead of INCLUDES.
/* Byte offset operand. */
get_sleb128 (sleb, data); /* XXX check overrun */
- printf ("%*s[%4" PRIuMAX "] %s %#" PRIxMAX ", %+" PRId64 "\n",
+ printf ("%*s[%4" PRIuMAX "] %s [%6" PRIxMAX "] %+" PRId64 "\n",
indent, "", (intmax_t) offset,
op_name, (uintmax_t) addr, sleb);
CONSUME (data - start);