Increment hdrptr by 8 after SAFE_BYTE_GET64

* dwarf.c (process_debug_info): Increment hdrptr by 8 after
	SAFE_BYTE_GET64.
This commit is contained in:
H.J. Lu
2013-03-29 20:42:48 +00:00
parent 6296d8c13f
commit f048b1425b
2 changed files with 6 additions and 0 deletions

View File

@ -2238,6 +2238,7 @@ process_debug_info (struct dwarf_section *section,
if (do_types)
{
SAFE_BYTE_GET64 (hdrptr, &signature_high, &signature_low, end);
hdrptr += 8;
SAFE_BYTE_GET_AND_INC (type_offset, hdrptr, offset_size, end);
}