6c0c7fc623
The changes for PR libstdc++/64735 mean that libsupc++ function might now depend on the __exchange_and_add and __atomic_add functions defined in config/cpu/*/atomicity.h which is not compiled into libsupc++. This causes a link failure for some targets when trying to use libsupc++ without the rest of libstdc++. This patch simply moves the definitions of those functions into libsupc++ so that they are available there. libstdc++-v3/ChangeLog: PR libstdc++/96657 * libsupc++/Makefile.am: Add atomicity.cc here. * src/c++98/Makefile.am: Remove it from here. * libsupc++/Makefile.in: Regenerate. * src/c++98/Makefile.in: Regenerate. * testsuite/18_support/exception_ptr/96657.cc: New test. |
||
---|---|---|
.. | ||
aligned_alloc | ||
bad_alloc | ||
bad_cast | ||
bad_exception | ||
bad_typeid | ||
byte | ||
comparisons | ||
coroutines | ||
exception | ||
exception_ptr | ||
headers | ||
initializer_list | ||
launder | ||
max_align_t/requirements | ||
nested_exception | ||
numeric_limits | ||
quick_exit | ||
source_location | ||
type_info | ||
uncaught_exception | ||
uncaught_exceptions | ||
50594.cc | ||
51333.cc | ||
96817.cc | ||
cxa_vec.cc | ||
destroying_delete.cc | ||
free_eh_pool.cc | ||
new_aligned.cc | ||
new_delete_placement.cc | ||
new_handler.cc | ||
new_nothrow.cc | ||
pthread_guard.cc | ||
set_terminate.cc | ||
set_unexpected.cc | ||
terminate_handler.cc | ||
unexpected_handler.cc |