diff options
author | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-11-17 11:34:33 +0000 |
---|---|---|
committer | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-11-17 11:34:33 +0000 |
commit | 6aaf42adb4b0443f974e66bb9d04c8851837851a (patch) | |
tree | b8773c0b6507e14a7e7f8e1f8bd8affa4007d313 /libitm/alloc_cpp.cc | |
parent | 0245eec82b307b95bc78cd816c45130ddb985197 (diff) | |
download | gcc-6aaf42adb4b0443f974e66bb9d04c8851837851a.tar.gz |
Provide all dummy functions in alloc_cpp.cc, eh_cpp.cc
* alloc_cpp.cc [__osf__] (_ZnwX, _ZdlPv, _ZnaX, _ZdaPv,
_ZnwXRKSt9nothrow_t, _ZdlPvRKSt9nothrow_t, _ZdaPvRKSt9nothrow_t):
Dummy functions.
* eh_cpp.cc [__osf__] (__cxa_allocate_exception, __cxa_throw,
__cxa_begin_catch, __cxa_end_catch, __cxa_tm_cleanup): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181442 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libitm/alloc_cpp.cc')
-rw-r--r-- | libitm/alloc_cpp.cc | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/libitm/alloc_cpp.cc b/libitm/alloc_cpp.cc index 4e535513cd5..d298bd49e82 100644 --- a/libitm/alloc_cpp.cc +++ b/libitm/alloc_cpp.cc @@ -61,11 +61,15 @@ extern void *_ZnaXRKSt9nothrow_t (size_t, c_nothrow_p) __attribute__((weak)); extern void _ZdaPvRKSt9nothrow_t (void *, c_nothrow_p) __attribute__((weak)); #ifdef __osf__ /* Really: !HAVE_WEAKDEF */ -void * -_ZnaXRKSt9nothrow_t (size_t, c_nothrow_p) -{ - return NULL; -} +void *_ZnwX (size_t) { return NULL; } +void _ZdlPv (void *) { return; } +void *_ZnaX (size_t) { return NULL; } +void _ZdaPv (void *) { return; } + +void *_ZnwXRKSt9nothrow_t (size_t, c_nothrow_p) { return NULL; } +void _ZdlPvRKSt9nothrow_t (void *, c_nothrow_p) { return; } +void *_ZnaXRKSt9nothrow_t (size_t, c_nothrow_p) { return NULL; } +void _ZdaPvRKSt9nothrow_t (void *, c_nothrow_p) { return; } #endif /* __osf__ */ /* Wrap the delete nothrow symbols for usage with a single argument. |