mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-14 04:20:25 +08:00
eh_cpp.cc: Fix __cxa_end_catch declaration.
2012-05-21 Patrick Marlier <patrick.marlier@gmail.com> * eh_cpp.cc: Fix __cxa_end_catch declaration. From-SVN: r187747
This commit is contained in:
parent
041f207220
commit
f2f9a0977a
@ -1,3 +1,7 @@
|
||||
2012-05-21 Patrick Marlier <patrick.marlier@gmail.com>
|
||||
|
||||
* eh_cpp.cc: Fix __cxa_end_catch declaration.
|
||||
|
||||
2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* configure: Regenerated.
|
||||
|
@ -36,14 +36,14 @@ extern "C" {
|
||||
extern void *__cxa_allocate_exception (size_t) WEAK;
|
||||
extern void __cxa_throw (void *, void *, void *) WEAK;
|
||||
extern void *__cxa_begin_catch (void *) WEAK;
|
||||
extern void *__cxa_end_catch (void) WEAK;
|
||||
extern void __cxa_end_catch (void) WEAK;
|
||||
extern void __cxa_tm_cleanup (void *, void *, unsigned int) WEAK;
|
||||
|
||||
#if !defined (HAVE_ELF_STYLE_WEAKREF) && !defined (__MACH__)
|
||||
void *__cxa_allocate_exception (size_t) { return NULL; }
|
||||
void __cxa_throw (void *, void *, void *) { return; }
|
||||
void *__cxa_begin_catch (void *) { return NULL; }
|
||||
void *__cxa_end_catch (void) { return NULL; }
|
||||
void __cxa_end_catch (void) { return; }
|
||||
void __cxa_tm_cleanup (void *, void *, unsigned int) { return; }
|
||||
void _Unwind_DeleteException (_Unwind_Exception *) { return; }
|
||||
#endif /* HAVE_ELF_STYLE_WEAKREF */
|
||||
|
Loading…
x
Reference in New Issue
Block a user