From: H.J. Lu Date: Fri, 29 Mar 2013 20:42:48 +0000 (+0000) Subject: Increment hdrptr by 8 after SAFE_BYTE_GET64 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f048b1425bed2e17643e37c85ac72741021ffa30;p=binutils-gdb.git Increment hdrptr by 8 after SAFE_BYTE_GET64 * dwarf.c (process_debug_info): Increment hdrptr by 8 after SAFE_BYTE_GET64. --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 8ae4ebcb577..65340914201 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2013-03-29 H.J. Lu + + * dwarf.c (process_debug_info): Increment hdrptr by 8 after + SAFE_BYTE_GET64. + 2013-03-27 Phil Krylov PR binutils/13409 diff --git a/binutils/dwarf.c b/binutils/dwarf.c index 1787e7e4959..a3a59499324 100644 --- a/binutils/dwarf.c +++ b/binutils/dwarf.c @@ -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); }