From e948a1fbd4dc864dfb5ff9e5511e03c630416e5a Mon Sep 17 00:00:00 2001 From: Iain Sandoe Date: Wed, 15 Feb 2012 23:39:28 +0000 Subject: re PR libitm/52220 (FAIL: libitm.c++/eh-1.C execution test due to Xcode 4 weakref linker bug) libitm/ 2012-02-15 Iain Sandoe Patrick Marlier PR libitm/52220 * alloc_cpp.cc: No dummy definitions for darwin. * eh_cpp.cc: Likewise. libgcc/ 2012-02-15 Iain Sandoe Patrick Marlier PR libitm/52220 * config/darwin-crt-tm.c: Generate dummy functions. Co-Authored-By: Patrick Marlier From-SVN: r184293 --- libitm/eh_cpp.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libitm/eh_cpp.cc') diff --git a/libitm/eh_cpp.cc b/libitm/eh_cpp.cc index 352a313..5c4ca28 100644 --- a/libitm/eh_cpp.cc +++ b/libitm/eh_cpp.cc @@ -39,7 +39,7 @@ extern void *__cxa_begin_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) +#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; } -- cgit v1.1