diff options
author | dim <dim@FreeBSD.org> | 2015-01-31 23:48:59 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2015-01-31 23:48:59 +0000 |
commit | d55f158aa0c66ce046b7c35cebe1650e14161ca3 (patch) | |
tree | 6fd4f9ea15c58bd8ca9a6b8a85fdc9a5eb6ff31f /contrib/libcxxrt/cxxabi.h | |
parent | c6bc15d7ab08f753864c67985cc70c180d9cf799 (diff) | |
download | FreeBSD-src-d55f158aa0c66ce046b7c35cebe1650e14161ca3.zip FreeBSD-src-d55f158aa0c66ce046b7c35cebe1650e14161ca3.tar.gz |
MFC r273381 (by bapt):
Add support for __cxa_throw_bad_array_new_length in libcxxrt
It is required for use with newer g++49
Differential Revision: https://reviews.freebsd.org/D982
Reviewed by: theraven
Approved by: theraven
MFC r276417:
Import libcxxrt master 00bc29eb6513624824a6d7db2ebc768a4216a604.
Interesting fixes:
76584a0 Reorganize code to use only 32bit atomic ops for 32bit platforms
30d2ae5 Implement __cxa_throw_bad_array_new_length
Reviewed by: bapt
Differential Revision: https://reviews.freebsd.org/D1390
Diffstat (limited to 'contrib/libcxxrt/cxxabi.h')
-rw-r--r-- | contrib/libcxxrt/cxxabi.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/libcxxrt/cxxabi.h b/contrib/libcxxrt/cxxabi.h index 7c83360..411c4c7 100644 --- a/contrib/libcxxrt/cxxabi.h +++ b/contrib/libcxxrt/cxxabi.h @@ -110,7 +110,7 @@ struct __cxa_exception * handler count reaches 0 (which it doesn't with the top bit set). */ int handlerCount; -#ifdef __arm__ +#if defined(__arm__) && !defined(__ARM_DWARF_EH__) /** * The ARM EH ABI requires the unwind library to keep track of exceptions * during cleanups. These support nesting, so we need to keep a list of |