+2009-07-20 Mark Wielaard <mjw@redhat.com>
+
+ * readelf.c (print_ops): Add handling of DW_OP_implicit_value
+ and DW_OP_stack_value.
+
2009-07-14 Ulrich Drepper <drepper@redhat.com>
* elflint.c (check_elf_header): Allow Linux ABI.
[DW_OP_form_tls_address] = "form_tls_address",
[DW_OP_call_frame_cfa] = "call_frame_cfa",
[DW_OP_bit_piece] = "bit_piece",
+ [DW_OP_implicit_value] = "implicit_value",
+ [DW_OP_stack_value] = "stack_value",
};
if (len == 0)
offset += 3;
break;
+ case DW_OP_implicit_value:
+ start = data;
+ get_uleb128 (uleb, data); /* XXX check overrun */
+ printf ("%*s[%4" PRIuMAX "] %s %u (",
+ indent, "", (uintmax_t) offset, known[op], uleb);
+ NEED (uleb);
+ while (uleb-- > 0)
+ printf ("%02x ", *data++);
+ fputs (")\n", stdout);
+ len -= data - start;
+ offset += 1 + (data - start);
+ break;
+
default:
/* No Operand. */
if (op < sizeof known / sizeof known[0] && known[op] != NULL)