summaryrefslogtreecommitdiff
path: root/libitm/alloc_cpp.cc
diff options
context:
space:
mode:
authorpmarlier <pmarlier@138bc75d-0d04-0410-961f-82ee72b054a4>2012-02-15 23:39:28 +0000
committerpmarlier <pmarlier@138bc75d-0d04-0410-961f-82ee72b054a4>2012-02-15 23:39:28 +0000
commitb8f4585416cf5b70f4d1566a9898734847778af4 (patch)
tree6b555950db9f790ccbc9a8b2d3739d727cd63bb2 /libitm/alloc_cpp.cc
parentea76f7e12f48ebfec20581ceada19b3de3cb18f6 (diff)
downloadgcc-b8f4585416cf5b70f4d1566a9898734847778af4.tar.gz
libitm/
2012-02-15 Iain Sandoe <iains@gcc.gnu.org> Patrick Marlier <patrick.marlier@gmail.com> PR libitm/52220 * alloc_cpp.cc: No dummy definitions for darwin. * eh_cpp.cc: Likewise. libgcc/ 2012-02-15 Iain Sandoe <iains@gcc.gnu.org> Patrick Marlier <patrick.marlier@gmail.com> PR libitm/52220 * config/darwin-crt-tm.c: Generate dummy functions. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184293 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libitm/alloc_cpp.cc')
-rw-r--r--libitm/alloc_cpp.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libitm/alloc_cpp.cc b/libitm/alloc_cpp.cc
index 0789b2e5342..00a4d3211d9 100644
--- a/libitm/alloc_cpp.cc
+++ b/libitm/alloc_cpp.cc
@@ -60,7 +60,7 @@ extern void _ZdlPvRKSt9nothrow_t (void *, c_nothrow_p) __attribute__((weak));
extern void *_ZnaXRKSt9nothrow_t (size_t, c_nothrow_p) __attribute__((weak));
extern void _ZdaPvRKSt9nothrow_t (void *, c_nothrow_p) __attribute__((weak));
-#if !defined (HAVE_ELF_STYLE_WEAKREF)
+#if !defined (HAVE_ELF_STYLE_WEAKREF) && !defined (__MACH__)
void *_ZnwX (size_t) { return NULL; }
void _ZdlPv (void *) { return; }
void *_ZnaX (size_t) { return NULL; }