]> git.ipfire.org Git - thirdparty/gcc.git/commit - libgcc/unwind-dw2.c
dwarf2out.c (output_call_frame_info): For dw_cie_version >= 4 add also address size...
authorJakub Jelinek <jakub@redhat.com>
Wed, 21 Apr 2010 06:57:37 +0000 (08:57 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 21 Apr 2010 06:57:37 +0000 (08:57 +0200)
commit8f65940dd1ba4a5d305a9efa4d44a5af15518af1
tree17be69b1e08b391d9bba647e830f604c506db243
parentd64427ff33f0521b2af8636a74422d52392141e3
dwarf2out.c (output_call_frame_info): For dw_cie_version >= 4 add also address size and segment size fields into CIE...

* dwarf2out.c (output_call_frame_info): For dw_cie_version
>= 4 add also address size and segment size fields into CIE
header.

* unwind-dw2.c (extract_cie_info): Handle CIE version 4, as
long as address size is the same as sizeof (void *) and
segment size is 0.
* unwind-dw2-fde.c (get_cie_encoding): Likewise.  If
address size or segment size is unexpected, return DW_EH_PE_omit.
(classify_object_over_fdes): If get_cie_encoding returned
DW_EH_PE_omit, return -1.
(init_object): If classify_object_over_fdes returned -1,
pretend there were no FDEs at all.

From-SVN: r158589
gcc/ChangeLog
gcc/dwarf2out.c
gcc/unwind-dw2-fde.c
gcc/unwind-dw2.c