diff options
author | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2011-11-17 11:34:33 +0000 |
---|---|---|
committer | Rainer Orth <ro@gcc.gnu.org> | 2011-11-17 11:34:33 +0000 |
commit | d846e425c90211f07c13797880a4a0cd94879440 (patch) | |
tree | b8773c0b6507e14a7e7f8e1f8bd8affa4007d313 /libitm/eh_cpp.cc | |
parent | 1502e1556c87fb727fe0360f1f2703425d7aa455 (diff) | |
download | gcc-d846e425c90211f07c13797880a4a0cd94879440.zip gcc-d846e425c90211f07c13797880a4a0cd94879440.tar.gz gcc-d846e425c90211f07c13797880a4a0cd94879440.tar.bz2 |
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.
From-SVN: r181442
Diffstat (limited to 'libitm/eh_cpp.cc')
-rw-r--r-- | libitm/eh_cpp.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libitm/eh_cpp.cc b/libitm/eh_cpp.cc index 7cba97c..7a37862 100644 --- a/libitm/eh_cpp.cc +++ b/libitm/eh_cpp.cc @@ -39,6 +39,14 @@ extern void *__cxa_begin_catch (void *) WEAK; extern void *__cxa_end_catch (void) WEAK; extern void __cxa_tm_cleanup (void *, void *, unsigned int) WEAK; +#ifdef __osf__ /* Really: !HAVE_WEAKDEF */ +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_tm_cleanup (void *, void *, unsigned int) { return; } +#endif + } |