re PR libstdc++/29722 (Linking with libsupc++.a creates link time undefined references)
authorBenjamin Kosnik <bkoz@redhat.com>
Tue, 7 Nov 2006 18:36:32 +0000 (18:36 +0000)
committerBenjamin Kosnik <bkoz@gcc.gnu.org>
Tue, 7 Nov 2006 18:36:32 +0000 (18:36 +0000)
commitf15e02d2504e38ecadd19dd41f8b21305f98605a
treeca315b5785762ede5508d18204d0f150489825e8
parent120b24f7ba504ac2ff8876bae10df5b327586b70
re PR libstdc++/29722 (Linking with libsupc++.a creates link time undefined references)

2006-11-07  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/29722
* include/ext/concurrence.h (concurrence_lock_error): New.
(concurrence_unlock_error): New.
(__throw_concurrence_lock_error): New.
(__throw_concurrence_unlock_error): New.
(__mutex): Use functions.
(__recursive_mutex): Same.
* testsuite/abi/cxx_runtime_only_linkage.cc: New.

* include/ext/pb_ds/exception.hpp: Keep exception classes defined
even when -fno-exceptions is passed, consistent with other usage.

From-SVN: r118564
libstdc++-v3/ChangeLog
libstdc++-v3/include/ext/concurrence.h
libstdc++-v3/include/ext/pb_ds/exception.hpp
libstdc++-v3/testsuite/abi/cxx_runtime_only_linkage.cc [new file with mode: 0644]