This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [PATCH] eh_personality.cc: unwinding on ARM
- From: Andrew Stubbs <ams at codesourcery dot com>
- To: "EXTERNAL Waechtler Peter (Fa. TCP, CM-AI/PJ-CF31)" <external dot Peter dot Waechtler at de dot bosch dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, "libstdc++ at gcc dot gnu dot org" <libstdc++ at gcc dot gnu dot org>, "paul at codesourcery dot com" <paul at codesourcery dot com>, "pwaechtler at mac dot com" <pwaechtler at mac dot com>, <drow at false dot org>
- Date: Mon, 19 Mar 2012 16:12:24 +0000
- Subject: Re: [PATCH] eh_personality.cc: unwinding on ARM
- References: <274124B9C6907D4B8CE985903EAA19E91B2D361D48@SI-MBX06.de.bosch.com>
On 16/03/12 13:29, EXTERNAL Waechtler Peter (Fa. TCP, CM-AI/PJ-CF31) wrote:
The CodeSourcery toolchain contains a "fix" like the following,
please consider for adding it.
Here's the full original patch with ChangeLog.
I don't know why Dan never submitted this one. Perhaps it's not suitable
for upstream or not considered the correct fix?
Anyway, as far as copyright goes, I don't believe CodeSourcery has any
problem with this being committed.
Andrew
2010-02-04 Daniel Jacobowitz <dan@codesourcery.com>
libstdc++-v3/
* libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): For
ARM EABI, skip handlers for _US_VIRTUAL_UNWIND_FRAME
| _US_FORCE_UNWIND.
--- libstdc++-v3/libsupc++/eh_personality.cc
+++ libstdc++-v3/libsupc++/eh_personality.cc
@@ -384,6 +384,8 @@
switch (state & _US_ACTION_MASK)
{
case _US_VIRTUAL_UNWIND_FRAME:
+ if (state & _US_FORCE_UNWIND)
+ CONTINUE_UNWINDING;
actions = _UA_SEARCH_PHASE;
break;