Commit 02f9e21a by Kai Tietz Committed by Kai Tietz

re PR target/55445 (Always defined __SEH__ when build from trunk)

        PR target/55445
        * libsupc++/eh_personaltity.cc (__SEH__): Additional check
        for not being SjLj.

From-SVN: r193929
parent e5a81c8e
2012-11-29 Kai Tietz <ktietz@redhat.com>
PR target/55445
* libsupc++/eh_personaltity.cc (__SEH__): Additional check
for not being SjLj.
2012-11-28 Andrew Pinski <apinski@cavium.com> 2012-11-28 Andrew Pinski <apinski@cavium.com>
PR bootstrap/54279 PR bootstrap/54279
......
...@@ -332,13 +332,13 @@ namespace __cxxabiv1 ...@@ -332,13 +332,13 @@ namespace __cxxabiv1
#ifdef _GLIBCXX_SJLJ_EXCEPTIONS #ifdef _GLIBCXX_SJLJ_EXCEPTIONS
#define PERSONALITY_FUNCTION __gxx_personality_sj0 #define PERSONALITY_FUNCTION __gxx_personality_sj0
#define __builtin_eh_return_data_regno(x) x #define __builtin_eh_return_data_regno(x) x
#elif defined(__SEH__) #elif defined(__SEH__) && !defined (_GLIBCXX_SJLJ_EXCEPTIONS)
#define PERSONALITY_FUNCTION __gxx_personality_imp #define PERSONALITY_FUNCTION __gxx_personality_imp
#else #else
#define PERSONALITY_FUNCTION __gxx_personality_v0 #define PERSONALITY_FUNCTION __gxx_personality_v0
#endif #endif
#ifdef __SEH__ #if defined (__SEH__) && !defined (_GLIBCXX_SJLJ_EXCEPTIONS)
static static
#else #else
extern "C" extern "C"
...@@ -785,7 +785,7 @@ __cxa_call_unexpected (void *exc_obj_in) ...@@ -785,7 +785,7 @@ __cxa_call_unexpected (void *exc_obj_in)
} }
#endif #endif
#ifdef __SEH__ #if defined (__SEH__) && !defined (_GLIBCXX_SJLJ_EXCEPTIONS)
extern "C" extern "C"
EXCEPTION_DISPOSITION EXCEPTION_DISPOSITION
__gxx_personality_seh0 (PEXCEPTION_RECORD ms_exc, void *this_frame, __gxx_personality_seh0 (PEXCEPTION_RECORD ms_exc, void *this_frame,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment