+2017-06-21 H.J. Lu <hongjiu.lu@intel.com>
+
+ * dwarf.c (READ_ULEB): Use DWARF_VMA_FMT to report error.
+ (READ_SLEB): Likewise.
+
2017-06-21 Nick Clifton <nickc@redhat.com>
PR binutils/21648
\
(var) = _val = read_uleb128 (start, &length_return, end); \
if ((var) != _val) \
- error (_("Internal error: %s%d: LEB value (%#lx) too large for containing variable\n"), \
+ error (_("Internal error: %s%d: LEB value (%#" DWARF_VMA_FMT "x) too large for containing variable\n"), \
__FILE__, __LINE__, _val); \
start += length_return; \
} \
\
(var) = _val = read_sleb128 (start, &length_return, end); \
if ((var) != _val) \
- error (_("Internal error: %s%d: LEB value (%#lx) too large for containing variable\n"), \
+ error (_("Internal error: %s%d: LEB value (%#" DWARF_VMA_FMT "x) too large for containing variable\n"), \
__FILE__, __LINE__, _val); \
start += length_return; \
} \