+2012-07-29 Mark Wielaard <mjw@redhat.com>
+
+ * readelf.c (dwarf_lang_string): Use DW_LANG_ObjC, not DW_LANG_Objc.
+ (print_ops): Use known[op], not op_name, for DW_OP_GNU_parameter_ref.
+
2012-07-19 Mark Wielaard <mjw@redhat.com>
* readelf.c (print_ops): Handle DW_OP_GNU_parameter_ref.
[DW_LANG_Ada95] = "Ada95",
[DW_LANG_Fortran95] = "Fortran95",
[DW_LANG_PL1] = "PL1",
- [DW_LANG_Objc] = "Objective C",
+ [DW_LANG_ObjC] = "Objective C",
[DW_LANG_ObjC_plus_plus] = "Objective C++",
[DW_LANG_UPC] = "UPC",
[DW_LANG_D] = "D",
DW_TAG_formal_parameter. */
NEED (4);
printf ("%*s[%4" PRIuMAX "] %s [%6" PRIxMAX "]\n",
- indent, "", (uintmax_t) offset, op_name,
+ indent, "", (uintmax_t) offset, known[op],
(uintmax_t) read_4ubyte_unaligned (dbg, data));
CONSUME (4);
data += 4;