aboutsummaryrefslogtreecommitdiff
path: root/libitm/eh_cpp.cc
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2012-01-09 19:16:07 -0800
committerRichard Henderson <rth@gcc.gnu.org>2012-01-09 19:16:07 -0800
commit8377e5e5461f7370489eb849e8af4cde4a75831f (patch)
tree2b6da3942f1c48f565c007d91cedb45472610c29 /libitm/eh_cpp.cc
parentdf5a9a7ccc58153f578002f6674701842348f912 (diff)
downloadgcc-8377e5e5461f7370489eb849e8af4cde4a75831f.zip
gcc-8377e5e5461f7370489eb849e8af4cde4a75831f.tar.gz
gcc-8377e5e5461f7370489eb849e8af4cde4a75831f.tar.bz2
libitm_i.h (_Unwind_DeleteException): Declare weak.
* libitm_i.h (_Unwind_DeleteException): Declare weak. * eh_cpp.cc (_Unwind_DeleteException): Define for !HAVE_ELF_STYLE_WEAKREF. From-SVN: r183049
Diffstat (limited to 'libitm/eh_cpp.cc')
-rw-r--r--libitm/eh_cpp.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/libitm/eh_cpp.cc b/libitm/eh_cpp.cc
index 6f302cd..352a313 100644
--- a/libitm/eh_cpp.cc
+++ b/libitm/eh_cpp.cc
@@ -1,4 +1,4 @@
-/* Copyright (C) 2009, 2011 Free Software Foundation, Inc.
+/* Copyright (C) 2009, 2011, 2012 Free Software Foundation, Inc.
Contributed by Richard Henderson <rth@redhat.com>.
This file is part of the GNU Transactional Memory Library (libitm).
@@ -45,6 +45,7 @@ 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; }
+void _Unwind_DeleteException (_Unwind_Exception *) { return; }
#endif /* HAVE_ELF_STYLE_WEAKREF */
}