diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-01-10 03:16:07 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-01-10 03:16:07 +0000 |
commit | b2abbcafff02c0bbc41e66a1ef7da55f04577e94 (patch) | |
tree | 2b6da3942f1c48f565c007d91cedb45472610c29 /libitm/libitm_i.h | |
parent | ca8c55ac37838c8896ee2a274061b46012e3e1a0 (diff) | |
download | gcc-b2abbcafff02c0bbc41e66a1ef7da55f04577e94.tar.gz |
* libitm_i.h (_Unwind_DeleteException): Declare weak.
* eh_cpp.cc (_Unwind_DeleteException): Define for
!HAVE_ELF_STYLE_WEAKREF.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183049 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libitm/libitm_i.h')
-rw-r--r-- | libitm/libitm_i.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libitm/libitm_i.h b/libitm/libitm_i.h index f922d22d89f..c00389d5115 100644 --- a/libitm/libitm_i.h +++ b/libitm/libitm_i.h @@ -39,6 +39,10 @@ #include "local_type_traits" #include "local_atomic" +/* Don't require libgcc_s.so for exceptions. */ +extern void _Unwind_DeleteException (_Unwind_Exception*) __attribute__((weak)); + + #include "common.h" namespace GTM HIDDEN { |