unwind-arm.c (enum __cxa_type_match_result): New.
authorNathan Sidwell <nathan@codesourcery.com>
Wed, 29 Jun 2011 14:18:48 +0000 (14:18 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Wed, 29 Jun 2011 14:18:48 +0000 (14:18 +0000)
commit3a86cfeb42e2a6bbbe6ecdbddacbf182a7db899a
tree8823824b74da8e60cbab15045913ea4c5340cfdd
parent7b37a0c548b633d91e07fbb2c941828aafd5cd3b
unwind-arm.c (enum __cxa_type_match_result): New.

gcc/
* config/arm/unwind-arm.c (enum __cxa_type_match_result): New.
(cxa_type_match): Correct declaration.
(__gnu_unwind_pr_common): Reconstruct
additional indirection when __cxa_type_match returns
succeeded_with_ptr_to_base.

libstdc++/
* libsupc++/eh_arm.c (__cxa_type_match): Construct address of
thrown object here.  Return succeded_with_ptr_to_base for all
pointer cases.

From-SVN: r175641
gcc/ChangeLog
gcc/config/arm/unwind-arm.c
libstdc++-v3/ChangeLog
libstdc++-v3/libsupc++/eh_arm.cc