diff options
author | Nick Clifton <nickc@redhat.com> | 2013-09-10 16:19:07 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2013-09-10 16:19:07 +0000 |
commit | 155fc52ea2da7c5517a8a39854dbac932bafec57 (patch) | |
tree | 370add2dd37ec890818916408f3d6d45bdd9a395 /binutils | |
parent | d9c268a0a6a91e1c731777dab1c7cf555b7240cc (diff) | |
download | binutils-redhat-155fc52ea2da7c5517a8a39854dbac932bafec57.tar.gz |
* dwarf.c (display_debug_frames): Check for DW64_CIE_ID when
parsing 64-bit frames.
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/ChangeLog | 5 | ||||
-rw-r--r-- | binutils/dwarf.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 5a4872cbd3..89f354d5aa 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2013-09-10 Nick Clifton <nickc@redhat.com> + + * dwarf.c (display_debug_frames): Check for DW64_CIE_ID when + parsing 64-bit frames. + 2013-08-27 Nick Clifton <nickc@redhat.com> PR binutils/15796 diff --git a/binutils/dwarf.c b/binutils/dwarf.c index 05bc483abf..00dad397f4 100644 --- a/binutils/dwarf.c +++ b/binutils/dwarf.c @@ -5188,7 +5188,8 @@ display_debug_frames (struct dwarf_section *section, SAFE_BYTE_GET_AND_INC (cie_id, start, offset_size, end); - if (is_eh ? (cie_id == 0) : (cie_id == DW_CIE_ID)) + if (is_eh ? (cie_id == 0) : ((offset_size == 4 && cie_id == DW_CIE_ID) + || (offset_size == 8 && cie_id == DW64_CIE_ID))) { int version; |