12ffa22844
2011-01-30 Benjamin Kosnik <bkoz@redhat.com> PR libstdc++/36104 part four * include/bits/c++config (_GLIBCXX_STD): Remove. (_GLIBCXX_STD_D, _GLIBCXX_PR): Now _GLIBCXX_STD_C. (_GLIBCXX_P): Now _GLIBCXX_STD_A. (_GLIBCXX_NAMESPACE_DEBUG, _GLIBCXX_NAMESPACE_PARALLEL, _GLIBCXX_NAMESPACE_PROFILE, _GLIBCXX_NAMESPACE_VERSION): Remove. (_GLIBCXX_INLINE_DEBUG, _GLIBCXX_INLINE_PARALLEL, _GLIBCXX_INLINE_PROFILE): Remove. (_GLIBCXX_BEGIN_NAMESPACE(X)): Remove. (_GLIBCXX_END_NAMESPACE): Remove. (_GLIBCXX_BEGIN_NESTED_NAMESPACE(X, Y)): Remove. (_GLIBCXX_END_NESTED_NAMESPACE): Remove. (_GLIBCXX_BEGIN_NAMESPACE_ALGO): Add. (_GLIBCXX_END_NAMESPACE_ALGO): Add. (_GLIBCXX_BEGIN_NAMESPACE_CONTAINER): Add. (_GLIBCXX_END_NAMESPACE_CONTAINER): Add. (_GLIBCXX_BEGIN_NAMESPACE_VERSION): Add. (_GLIBCXX_END_NAMESPACE_VERSION): Add. (_GLIBCXX_BEGIN_LDBL_NAMESPACE): To _GLIBCXX_BEGIN_NAMESPACE_LDBL. (_GLIBCXX_END_LDBL_NAMESPACE): To _GLIBCXX_END_NAMESPACE_LDBL. (_GLIBCXX_VISIBILITY_ATTR): Revert to _GLIBCXX_VISIBILITY. * include/*: Use new macros for namespace scope. * config/*: Same. * src/*: Same. * src/Makefile.am (sources): Remove debug_list.cc, add compatibility-debug_list-2.cc. (parallel_sources): Remove parallel_list.cc, add compatibility-parallel_list-2.cc. (compatibility-parallel_list-2.[o,lo]): New rule. * src/Makefile.in: Regenerate. * src/debug_list.cc: Remove. * src/parallel_list.cc: Remove. * src/compatibility-list-2.cc: New. * src/compatibility-debug_list-2.cc: New. * src/compatibility-parallel_list-2.cc: New. * doc/doxygen/user.cfg.in: Adjust macros. * testsuite/20_util/auto_ptr/assign_neg.cc: Adjust line numbers, macros. * testsuite/20_util/declval/requirements/1_neg.cc: Same. * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Same. * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Same. * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Same. * testsuite/20_util/forward/c_neg.cc: Same. * testsuite/20_util/forward/f_neg.cc: Same. * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Same. * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Same. * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Same. * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Same. * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Same. * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Same. * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Same. * testsuite/23_containers/deque/requirements/dr438/ constructor_1_neg.cc: Same. * testsuite/23_containers/deque/requirements/dr438/ constructor_2_neg.cc: Same. * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Same. * testsuite/23_containers/forward_list/capacity/1.cc: Same. * testsuite/23_containers/forward_list/requirements/dr438/ assign_neg.cc: Same. * testsuite/23_containers/forward_list/requirements/dr438/ constructor_1_neg.cc: Same. * testsuite/23_containers/forward_list/requirements/dr438/ constructor_2_neg.cc: Same. * testsuite/23_containers/forward_list/requirements/dr438/ insert_neg.cc: Same. * testsuite/23_containers/list/capacity/29134.cc: Same. * testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Same. * testsuite/23_containers/list/requirements/dr438/ constructor_1_neg.cc: Same. * testsuite/23_containers/list/requirements/dr438/ constructor_2_neg.cc: Same. * testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Same. * testsuite/23_containers/vector/bool/capacity/29134.cc: Same. * testsuite/23_containers/vector/bool/modifiers/insert/31370.cc: Same. * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: Same. * testsuite/23_containers/vector/requirements/dr438/ constructor_1_neg.cc: Same. * testsuite/23_containers/vector/requirements/dr438/ constructor_2_neg.cc: Same. * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Same. * testsuite/25_algorithms/sort/35588.cc: Same. * testsuite/27_io/ios_base/cons/assign_neg.cc: Same. * testsuite/27_io/ios_base/cons/copy_neg.cc: Same. * testsuite/ext/profile/mutex_extensions_neg.cc: Same. * testsuite/ext/profile/profiler_algos.cc: Same. * testsuite/ext/type_traits/add_unsigned_floating_neg.cc: Same. * testsuite/ext/type_traits/add_unsigned_integer_neg.cc: Same. * testsuite/ext/type_traits/remove_unsigned_floating_neg.cc: Same. * testsuite/ext/type_traits/remove_unsigned_integer_neg.cc: Same. * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc: Same. From-SVN: r169421
305 lines
9.3 KiB
Plaintext
305 lines
9.3 KiB
Plaintext
## Linker script for GNU namespace versioning.
|
|
##
|
|
## Copyright (C) 2002, 2003, 2004, 2005, 2007, 2009, 2011
|
|
## Free Software Foundation, Inc.
|
|
##
|
|
## This file is part of the libstdc++ version 3 distribution.
|
|
##
|
|
## This file is part of the GNU ISO C++ Library. This library is free
|
|
## software; you can redistribute it and/or modify it under the
|
|
## terms of the GNU General Public License as published by the
|
|
## Free Software Foundation; either version 3, or (at your option)
|
|
## any later version.
|
|
##
|
|
## This library is distributed in the hope that it will be useful,
|
|
## but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
## GNU General Public License for more details.
|
|
##
|
|
## You should have received a copy of the GNU General Public License along
|
|
## with this library; see the file COPYING3. If not see
|
|
## <http://www.gnu.org/licenses/>.
|
|
|
|
GLIBCXX_5.0 {
|
|
|
|
global:
|
|
|
|
# Names inside the 'extern' block are demangled names.
|
|
extern "C++"
|
|
{
|
|
std::_6::*;
|
|
std::*
|
|
};
|
|
|
|
# locale
|
|
_ZNSt2_69has_facetINS_*;
|
|
|
|
# hash
|
|
_ZNSt8__detail2_612__prime_listE;
|
|
_ZNSt3tr18__detail2_612__prime_listE;
|
|
|
|
# thread/mutex/condition_variable/future
|
|
__once_proxy;
|
|
|
|
# operator new(size_t)
|
|
_Znw[jm];
|
|
# operator new(size_t, std::nothrow_t const&)
|
|
_Znw[jm]RKSt9nothrow_t;
|
|
|
|
# operator delete(void*)
|
|
_ZdlPv;
|
|
# operator delete(void*, std::nothrow_t const&)
|
|
_ZdlPvRKSt9nothrow_t;
|
|
|
|
# operator new[](size_t)
|
|
_Zna[jm];
|
|
# operator new[](size_t, std::nothrow_t const&)
|
|
_Zna[jm]RKSt9nothrow_t;
|
|
|
|
# operator delete[](void*)
|
|
_ZdaPv;
|
|
# operator delete[](void*, std::nothrow_t const&)
|
|
_ZdaPvRKSt9nothrow_t;
|
|
|
|
# function-scope static objects requires a guard variable.
|
|
_ZGVNSt*;
|
|
|
|
_ZTT*;
|
|
_ZTV*;
|
|
|
|
_ZTI*;
|
|
_ZTS*;
|
|
|
|
_ZTv0_n*;
|
|
|
|
# std::__detail::_List_node_base
|
|
_ZNSt8__detail2_615_List_node_base7_M_hook*;
|
|
_ZNSt8__detail2_615_List_node_base9_M_unhookEv;
|
|
_ZNSt8__detail2_615_List_node_base10_M_reverseEv;
|
|
_ZNSt8__detail2_615_List_node_base11_M_transfer*;
|
|
_ZNSt8__detail2_615_List_node_base4swapER*;
|
|
|
|
# std::__convert_to_v
|
|
_ZNSt2_614__convert_to_v*;
|
|
|
|
# std::__copy_streambufs
|
|
_ZNSt2_617__copy_streambufsI*;
|
|
_ZNSt2_621__copy_streambufs_eofI*;
|
|
|
|
# __gnu_cxx::__atomic_add
|
|
# __gnu_cxx::__exchange_and_add
|
|
_ZN9__gnu_cxx2_612__atomic_addEPV[il][il];
|
|
_ZN9__gnu_cxx2_618__exchange_and_addEPV[li][il];
|
|
|
|
# __gnu_cxx::__pool
|
|
_ZN9__gnu_cxx2_66__poolILb[01]EE13_M_initializeEv;
|
|
_ZN9__gnu_cxx2_66__poolILb[01]EE16_M_reserve_blockE[jm][jm];
|
|
_ZN9__gnu_cxx2_66__poolILb[01]EE16_M_reclaim_blockEPc[jm];
|
|
_ZN9__gnu_cxx2_66__poolILb[01]EE10_M_destroyEv;
|
|
_ZN9__gnu_cxx2_66__poolILb1EE16_M_get_thread_idEv;
|
|
|
|
_ZN9__gnu_cxx2_617__pool_alloc_base9_M_refillE[jm];
|
|
_ZN9__gnu_cxx2_617__pool_alloc_base16_M_get_free_listE[jm];
|
|
_ZN9__gnu_cxx2_617__pool_alloc_base12_M_get_mutexEv;
|
|
|
|
_ZN9__gnu_cxx2_69free_list6_M_getE[jm];
|
|
_ZN9__gnu_cxx2_69free_list8_M_clearEv;
|
|
|
|
# __gnu_cxx::stdio_sync_filebuf
|
|
_ZTVN9__gnu_cxx2_618stdio_sync_filebufI[cw]St2_611char_traitsI[cw]EEE;
|
|
_ZN9__gnu_cxx2_618stdio_sync_filebufI[cw]NSt2_611char_traitsI[cw]EEE[5-9]*;
|
|
|
|
# debug mode
|
|
_ZN11__gnu_debug19_Safe_sequence_base12_M_get_mutexEv;
|
|
_ZN11__gnu_debug19_Safe_sequence_base13_M_detach_allEv;
|
|
_ZN11__gnu_debug19_Safe_sequence_base18_M_detach_singularEv;
|
|
_ZN11__gnu_debug19_Safe_sequence_base22_M_revalidate_singularEv;
|
|
_ZN11__gnu_debug19_Safe_sequence_base7_M_swapERS0_;
|
|
|
|
_ZN11__gnu_debug19_Safe_iterator_base9_M_attach*;
|
|
_ZN11__gnu_debug19_Safe_iterator_base16_M_attach_single*;
|
|
_ZN11__gnu_debug19_Safe_iterator_base9_M_detachEv;
|
|
_ZN11__gnu_debug19_Safe_iterator_base16_M_detach_singleEv;
|
|
_ZN11__gnu_debug19_Safe_iterator_base12_M_get_mutexEv;
|
|
_ZNK11__gnu_debug19_Safe_iterator_base11_M_singularEv;
|
|
_ZNK11__gnu_debug19_Safe_iterator_base14_M_can_compareERKS0_;
|
|
|
|
_ZNK11__gnu_debug16_Error_formatter10_M_message*;
|
|
_ZNK11__gnu_debug16_Error_formatter10_Parameter*;
|
|
_ZNK11__gnu_debug16_Error_formatter13_M_print_word*;
|
|
_ZNK11__gnu_debug16_Error_formatter15_M_print_string*;
|
|
_ZNK11__gnu_debug16_Error_formatter8_M_error*;
|
|
_ZNK11__gnu_debug16_Error_formatter17_M_get_max_lengthEv;
|
|
|
|
# parallel mode
|
|
_ZN14__gnu_parallel9_Settings3getEv;
|
|
_ZN14__gnu_parallel9_Settings3setERS0_;
|
|
|
|
local:
|
|
*;
|
|
};
|
|
|
|
|
|
# Symbols in the support library (libsupc++) have their own tag.
|
|
CXXABI_2.0 {
|
|
|
|
global:
|
|
__cxa_allocate_exception;
|
|
__cxa_bad_cast;
|
|
__cxa_bad_typeid;
|
|
__cxa_begin_catch;
|
|
__cxa_begin_cleanup;
|
|
__cxa_call_unexpected;
|
|
__cxa_current_exception_type;
|
|
__cxa_demangle;
|
|
__cxa_end_catch;
|
|
__cxa_end_cleanup;
|
|
__cxa_free_exception;
|
|
__cxa_get_exception_ptr;
|
|
__cxa_get_globals;
|
|
__cxa_get_globals_fast;
|
|
__cxa_guard_abort;
|
|
__cxa_guard_acquire;
|
|
__cxa_guard_release;
|
|
__cxa_pure_virtual;
|
|
__cxa_rethrow;
|
|
__cxa_throw;
|
|
__cxa_type_match;
|
|
__cxa_vec_cctor;
|
|
__cxa_vec_cleanup;
|
|
__cxa_vec_ctor;
|
|
__cxa_vec_delete2;
|
|
__cxa_vec_delete3;
|
|
__cxa_vec_delete;
|
|
__cxa_vec_dtor;
|
|
__cxa_vec_new2;
|
|
__cxa_vec_new3;
|
|
__cxa_vec_new;
|
|
__gxx_personality_v0;
|
|
__gxx_personality_sj0;
|
|
__dynamic_cast;
|
|
|
|
# std::exception_ptr
|
|
_ZNSt15__exception_ptr13exception_ptrC1Ev;
|
|
_ZNSt15__exception_ptr13exception_ptrC2Ev;
|
|
_ZNSt15__exception_ptr13exception_ptrC1ERKS0_;
|
|
_ZNSt15__exception_ptr13exception_ptrC2ERKS0_;
|
|
_ZNSt15__exception_ptr13exception_ptrC1EMS0_FvvE;
|
|
_ZNSt15__exception_ptr13exception_ptrC2EMS0_FvvE;
|
|
_ZNSt15__exception_ptr13exception_ptrD1Ev;
|
|
_ZNSt15__exception_ptr13exception_ptrD2Ev;
|
|
_ZNSt15__exception_ptr13exception_ptraSERKS0_;
|
|
_ZNKSt15__exception_ptr13exception_ptrcvMS0_FvvEEv;
|
|
_ZNKSt15__exception_ptr13exception_ptrntEv;
|
|
_ZNKSt15__exception_ptr13exception_ptr20__cxa_exception_typeEv;
|
|
_ZNSt15__exception_ptr13exception_ptr4swapERS0_;
|
|
_ZNSt15__exception_ptreqERKNS_13exception_ptrES2_;
|
|
_ZNSt15__exception_ptrneERKNS_13exception_ptrES2_;
|
|
|
|
_ZSt17current_exceptionv;
|
|
_ZSt17rethrow_exceptionNSt15__exception_ptr13exception_ptrE;
|
|
|
|
# std::bad_function_call.
|
|
_ZNSt17bad_function_callD*;
|
|
_ZTISt17bad_function_call;
|
|
_ZTSSt17bad_function_call;
|
|
_ZTVSt17bad_function_call;
|
|
|
|
# Default function.
|
|
_ZSt11_Hash_bytesPKv*;
|
|
|
|
# FNV hash.
|
|
_ZSt15_Fnv_hash_bytesPKv*;
|
|
|
|
# __gnu_cxx::_verbose_terminate_handler()
|
|
_ZN9__gnu_cxx2_627__verbose_terminate_handlerEv;
|
|
|
|
# *_type_info classes, ctor and dtor
|
|
_ZN10__cxxabiv117__array_type_info*;
|
|
_ZN10__cxxabiv117__class_type_info*;
|
|
_ZN10__cxxabiv116__enum_type_info*;
|
|
_ZN10__cxxabiv120__function_type_info*;
|
|
_ZN10__cxxabiv123__fundamental_type_info*;
|
|
_ZN10__cxxabiv117__pbase_type_info*;
|
|
_ZN10__cxxabiv129__pointer_to_member_type_info*;
|
|
_ZN10__cxxabiv119__pointer_type_info*;
|
|
_ZN10__cxxabiv120__si_class_type_info*;
|
|
_ZN10__cxxabiv121__vmi_class_type_info*;
|
|
|
|
# *_type_info classes, member functions
|
|
_ZNK10__cxxabiv117__class_type_info*;
|
|
_ZNK10__cxxabiv120__function_type_info*;
|
|
_ZNK10__cxxabiv117__pbase_type_info*;
|
|
_ZNK10__cxxabiv129__pointer_to_member_type_info*;
|
|
_ZNK10__cxxabiv119__pointer_type_info*;
|
|
_ZNK10__cxxabiv120__si_class_type_info*;
|
|
_ZNK10__cxxabiv121__vmi_class_type_info*;
|
|
|
|
# typeinfo structure
|
|
_ZTI[a-z];
|
|
_ZTIP[a-z];
|
|
_ZTIPK[a-z];
|
|
_ZTIN10__cxxabiv117__array_type_infoE;
|
|
_ZTIN10__cxxabiv117__class_type_infoE;
|
|
_ZTIN10__cxxabiv116__enum_type_infoE;
|
|
_ZTIN10__cxxabiv120__function_type_infoE;
|
|
_ZTIN10__cxxabiv123__fundamental_type_infoE;
|
|
_ZTIN10__cxxabiv117__pbase_type_infoE;
|
|
_ZTIN10__cxxabiv129__pointer_to_member_type_infoE;
|
|
_ZTIN10__cxxabiv119__pointer_type_infoE;
|
|
_ZTIN10__cxxabiv120__si_class_type_infoE;
|
|
_ZTIN10__cxxabiv121__vmi_class_type_infoE;
|
|
_ZTIN10__cxxabiv115__forced_unwindE;
|
|
_ZTIN10__cxxabiv119__foreign_exceptionE;
|
|
_ZTIN10__cxxabiv115__forced_unwindE;
|
|
_ZTIN10__cxxabiv119__foreign_exceptionE;
|
|
|
|
# typeinfo name
|
|
_ZTS[a-z];
|
|
_ZTSP[a-z];
|
|
_ZTSPK[a-z];
|
|
_ZTSN10__cxxabiv117__array_type_infoE;
|
|
_ZTSN10__cxxabiv117__class_type_infoE;
|
|
_ZTSN10__cxxabiv116__enum_type_infoE;
|
|
_ZTSN10__cxxabiv120__function_type_infoE;
|
|
_ZTSN10__cxxabiv123__fundamental_type_infoE;
|
|
_ZTSN10__cxxabiv117__pbase_type_infoE;
|
|
_ZTSN10__cxxabiv129__pointer_to_member_type_infoE;
|
|
_ZTSN10__cxxabiv119__pointer_type_infoE;
|
|
_ZTSN10__cxxabiv120__si_class_type_infoE;
|
|
_ZTSN10__cxxabiv121__vmi_class_type_infoE;
|
|
|
|
# typeinfo for char16_t and char32_t
|
|
_ZTIDs;
|
|
_ZTIPDs;
|
|
_ZTIPKDs;
|
|
_ZTIDi;
|
|
_ZTIPDi;
|
|
_ZTIPKDi;
|
|
|
|
# typeinfo for decimal floating point types
|
|
_ZTID[fde];
|
|
_ZTIPD[fde];
|
|
_ZTIPKD[fde];
|
|
|
|
# typeinfo for decltype(nullptr)
|
|
_ZTIDn;
|
|
_ZTIPDn;
|
|
_ZTIPKDn;
|
|
|
|
# virtual table
|
|
_ZTVN10__cxxabiv117__array_type_infoE;
|
|
_ZTVN10__cxxabiv117__class_type_infoE;
|
|
_ZTVN10__cxxabiv116__enum_type_infoE;
|
|
_ZTVN10__cxxabiv120__function_type_infoE;
|
|
_ZTVN10__cxxabiv123__fundamental_type_infoE;
|
|
_ZTVN10__cxxabiv117__pbase_type_infoE;
|
|
_ZTVN10__cxxabiv129__pointer_to_member_type_infoE;
|
|
_ZTVN10__cxxabiv119__pointer_type_infoE;
|
|
_ZTVN10__cxxabiv120__si_class_type_infoE;
|
|
_ZTVN10__cxxabiv121__vmi_class_type_infoE;
|
|
|
|
local:
|
|
*;
|
|
};
|