]> git.ipfire.org Git - thirdparty/gcc.git/commit - libstdc++-v3/libsupc++/eh_terminate.cc
re PR libstdc++/56841 (ld: Unsatisfied symbol "__atomic_exchange_8" in file /test...
authorJonathan Wakely <jwakely.gcc@gmail.com>
Fri, 5 Apr 2013 10:03:04 +0000 (10:03 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 5 Apr 2013 10:03:04 +0000 (11:03 +0100)
commit7e20f4b022dd4acd8ce6abc63ab9c02fe25707fa
tree2b3dd0c1dfe48cc07dd8c4ecc3ce2433b45844d4
parent526c230f1ec8c68897fd429dce098171b51e745d
re PR libstdc++/56841 (ld: Unsatisfied symbol "__atomic_exchange_8" in file /test/gnu/gcc/objdir/prev-hppa64-hp-hpux11.11/libstdc++-v3/src/.libs/libstdc++.a[eh_terminate.o])

PR libstdc++/56841
* libsupc++/eh_ptr.cc (rethrow_exception): Use get_unexpected() and
get_terminate() accessors.
* libsupc++/eh_throw.cc (__cxa_throw): Likewise.
* libsupc++/eh_terminate.cc: Use mutex when atomic builtins not
available.
* libsupc++/new_handler.cc: Likewise.

From-SVN: r197512
libstdc++-v3/ChangeLog
libstdc++-v3/libsupc++/eh_ptr.cc
libstdc++-v3/libsupc++/eh_terminate.cc
libstdc++-v3/libsupc++/eh_throw.cc
libstdc++-v3/libsupc++/new_handler.cc