285b36d6a5
2003-11-11 Doug Gregor <gregod@cs.rpi.edu> * docs/html/debug.html: Document libstdc++ debug mode. * docs/html/debug_mode.html: Document libstdc++ debug mode design. * docs/html/test.html: Document how to test under debug mode. * docs/html/17_intro/howto.html: Document debug-mode macros. * include/Makefile.am: Install debug-mode headers. * src/Makefile.am: Include debug.cc. * include/bits/basic_string.tcc: (basic_string::_S_construct): Fix NULL pointer check. (__is_null_pointer): New. Add precondition annotations. * include/bits/stream_iterator.h (istream_iterator, ostream_iterator): Added precondition annotations. * include/bits/streambuf_iterator.h (istreambuf_iterator): Ditto. * include/bits/stl_queue.h (queue, priority_queue): Ditto. * include/bits/stl_stack.h (stack): Ditto. * include/bits/basic_string.h (basic_string): Ditto. * include/bits/basic_string.tcc (basic_string): Ditto. * include/std/std_memory.h (auto_ptr): Ditto. * include/std/std_valarray.h (valarray): Ditto. * include/bits/stl_algo.h: Added algorithm precondition annotations. * include/bits/stl_algobase.h: Added algorithm precondition annotations. * include/bits/stl_numeric.h: Ditto. * include/ext/algorithm: Added algorithm precondition annotations. (__is_heap): Moved away from here. * include/bits/stl_heap.h: Added algorithm precondition annotations. (__is_heap): Moved to the top of this file. (__is_heap): Added iterator range overloads. * testsuite/20_util/auto_ptr_neg.cc: Fix line numbers to match up with changes in std_memory.h. * testsuite/23_containers/list/operators/4.cc: Don't verify performance guarantees when in debug mode. * testsuite/23_containers/bitset/invalidation/1.cc: New. * testsuite/23_containers/deque/invalidation/1.cc: New. * testsuite/23_containers/deque/invalidation/2.cc: New. * testsuite/23_containers/deque/invalidation/3.cc: New. * testsuite/23_containers/deque/invalidation/4.cc: New. * testsuite/23_containers/list/invalidation/1.cc: New. * testsuite/23_containers/list/invalidation/2.cc: New. * testsuite/23_containers/list/invalidation/3.cc: New. * testsuite/23_containers/list/invalidation/4.cc: New. * testsuite/23_containers/map/invalidation/1.cc: New. * testsuite/23_containers/map/invalidation/2.cc: New. * testsuite/23_containers/multimap/invalidation/1.cc: New. * testsuite/23_containers/multimap/invalidation/2.cc: New. * testsuite/23_containers/multiset/invalidation/1.cc: New. * testsuite/23_containers/multiset/invalidation/2.cc: New. * testsuite/23_containers/set/invalidation/1.cc: New. * testsuite/23_containers/set/invalidation/2.cc: New. * testsuite/23_containers/vector/invalidation/1.cc: New. * testsuite/23_containers/vector/invalidation/2.cc: New. * testsuite/23_containers/vector/invalidation/3.cc: New. * testsuite/23_containers/vector/invalidation/4.cc: New. * testsuite/25_algorithms/heap.cc: Don't verify performance guarantees when in debug mode. * include/debug/bitset: New. * include/debug/debug.h: New. * include/debug/deque: New. * include/debug/formatter.h: New. * include/debug/hash_map: New. * include/debug/hash_map.h: New. * include/debug/hash_multimap.h: New. * include/debug/hash_set: New. * include/debug/hash_set.h: New. * include/debug/hash_multiset.h: New. * include/debug/list: New. * include/debug/map: New. * include/debug/map.h: New. * include/debug/multimap.h: New. * include/debug/multiset.h: New. * include/debug/safe_base.h: New. * include/debug/safe_iterator.h: New. * include/debug/safe_iterator.tcc: New. * include/debug/safe_sequence.h: New. * include/debug/set: New. * include/debug/set.h: New. * include/debug/string: New. * include/debug/vector: New. * src/debug.cc: New. * config/linker-map.gnu: Add debug mode symbols. 2003-11-11 Benjamin Kosnik <bkoz@redhat.com> * src/string-inst.cc: Tweak namespaces. * src/misc-inst.cc: Same. * docs/html/debug.html: Edits. * config/link-map.gnu: Remove cruft. * include/bits/c++config: Add in namespace associations. * include/std/std_bitset.h: Adjust namespace to __gnu_norm, comment tweaks. * include/bits/deque.tcc: Same. * include/bits/list.tcc: Same. * include/bits/stl_bvector.h: Same. * include/bits/stl_deque.h: Same. * include/bits/stl_list.h: Same. * include/bits/stl_map.h: Same. * include/bits/stl_multimap.h: Same. * include/bits/stl_multiset.h: Same. * include/bits/stl_set.h: Same. * include/bits/stl_vector.h: Same. * include/bits/vector.tcc: Same. * include/std/std_algorithm.h: Remove markup comments. * include/std/std_functional.h: Same. * include/std/std_iterator.h: Same. * include/std/std_numeric.h: Same. * include/std/std_utility.h: Same. * include/bits/stl_queue.h: Formatting tweaks. * include/bits/stl_stack.h: Same. * include/std/std_deque.h: Include debugging version in debug mode. * include/std/std_list.h: Same. * include/std/std_map.h: Same. * include/std/std_set.h: Same. * include/std/std_vector.h: Same. * include/std/std_queue.h: Use deque, vector. * include/std/std_stack.h: Same. From-SVN: r73459
320 lines
8.8 KiB
Gnuplot
320 lines
8.8 KiB
Gnuplot
## Linker script for GNU ld 2.13.91+ only.
|
|
##
|
|
## Copyright (C) 2002, 2003 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 2, 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 COPYING. If not, write to the Free
|
|
## Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
|
## USA.
|
|
|
|
GLIBCXX_3.4 {
|
|
|
|
global:
|
|
|
|
# Names inside the 'extern' block are demangled names.
|
|
extern "C++"
|
|
{
|
|
std::[A-Za-k]*;
|
|
std::length_error*;
|
|
std::logic_error*;
|
|
std::locale::[A-Za-e]*;
|
|
std::locale::facet::[A-Za-z]*;
|
|
std::locale::facet::_S_get_c_locale*;
|
|
std::locale::facet::_S_clone_c_locale*;
|
|
std::locale::facet::_S_create_c_locale*;
|
|
std::locale::facet::_S_destroy_c_locale*;
|
|
std::locale::[A-Zg-h]*;
|
|
std::locale::id::[A-Za-z]*;
|
|
std::locale::id::_M_id*;
|
|
std::locale::[A-Zj-z]*;
|
|
std::locale::_[A-Ha-z]*;
|
|
std::locale::_Impl::[A-Za-z]*;
|
|
std::locale::_Impl::_M_[A-Za-z]*;
|
|
std::locale::_[J-Ra-z]*;
|
|
std::locale::_S_normalize_category*;
|
|
std::locale::_[T-Za-z]*;
|
|
std::[A-Zm-z]*;
|
|
std::__throw_*;
|
|
std::__basic_file*;
|
|
std::__timepunct*;
|
|
std::__numeric_limits_base*;
|
|
std::__num_base::_S_format_float*;
|
|
std::__num_base::_S_format_int*;
|
|
std::__num_base::_S_atoms_in;
|
|
std::__num_base::_S_atoms_out;
|
|
std::__moneypunct_cache*;
|
|
std::__numpunct_cache*;
|
|
std::__timepunct_cache*;
|
|
__gnu_norm::*;
|
|
__gnu_debug::_Safe_iterator_base*;
|
|
__gnu_debug::_Safe_sequence_base*;
|
|
__gnu_debug::_Error_formatter*
|
|
};
|
|
|
|
# Names not in an 'extern' block are mangled names.
|
|
|
|
# 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;
|
|
|
|
# std::locale destructors
|
|
_ZNSt6localeD*;
|
|
|
|
# std::locale::facet destructors
|
|
_ZNSt6locale5facetD*;
|
|
|
|
# std::locale::_Impl constructors, destructors
|
|
_ZNSt6locale5_ImplC*;
|
|
_ZNSt6locale5_ImplD*;
|
|
|
|
# bool has_facet
|
|
_ZSt9has_facet*;
|
|
|
|
# _Rb_tree
|
|
_ZSt18_Rb_tree_decrementPSt18_Rb_tree_node_base;
|
|
_ZSt18_Rb_tree_incrementPSt18_Rb_tree_node_base;
|
|
_ZSt18_Rb_tree_rebalancePSt18_Rb_tree_node_baseRS0_;
|
|
_ZSt20_Rb_tree_black_countPKSt18_Rb_tree_node_baseS1_;
|
|
_ZSt20_Rb_tree_rotate_leftPSt18_Rb_tree_node_baseRS0_;
|
|
_ZSt21_Rb_tree_rotate_rightPSt18_Rb_tree_node_baseRS0_;
|
|
_ZSt28_Rb_tree_rebalance_for_erasePSt18_Rb_tree_node_baseRS_;
|
|
|
|
# std::__codecvt_abstract_base*
|
|
_ZNStSt23__codecvt_abstract_base*;
|
|
|
|
# virtual table
|
|
_ZTVNSt8ios_base7failureE;
|
|
_ZTVNSt6locale5facetE;
|
|
_ZTVS[a-z];
|
|
_ZTVSt[0-9][A-Za-z]*;
|
|
_ZTVSt[0-9][0-9][A-Za-z]*;
|
|
_ZTVSt11__timepunctI[cw]E;
|
|
_ZTVSt23__codecvt_abstract_baseI[cw]c11__mbstate_tE;
|
|
_ZTVSt21__ctype_abstract_baseI[cw]E;
|
|
|
|
# VTT structure
|
|
_ZTTS[a-z];
|
|
_ZTTSt[0-9][A-Za-z]*;
|
|
_ZTTSt[0-9][0-9][A-Za-z]*;
|
|
|
|
# typeinfo structure
|
|
_ZTIS[a-z];
|
|
_ZTINSt8ios_base7failureE;
|
|
_ZTINSt6locale5facetE;
|
|
_ZTISt[0-9][A-Za-z]*;
|
|
_ZTISt[0-9][0-9][A-Za-z]*;
|
|
_ZTISt11__timepunctI[cw]E;
|
|
_ZTISt10__num_base;
|
|
_ZTISt21__ctype_abstract_baseI[cw]E;
|
|
_ZTISt23__codecvt_abstract_baseI[cw]c11__mbstate_tE;
|
|
|
|
# typeinfo name
|
|
_ZTSNSt8ios_base7failureE;
|
|
_ZTSNSt6locale5facetE;
|
|
_ZTSS[a-z];
|
|
_ZTSSt[0-9][A-Za-z]*;
|
|
_ZTSSt[0-9][0-9][A-Za-z]*;
|
|
_ZTSSt11__timepunctI[cw]E;
|
|
_ZTSSt10__num_base;
|
|
_ZTSSt21__ctype_abstract_baseI[cw]E;
|
|
_ZTSSt23__codecvt_abstract_baseI[cw]c11__mbstate_tE;
|
|
|
|
# function-scope static objects requires a guard variable.
|
|
_ZGVNSt*;
|
|
|
|
# virtual function thunks
|
|
_ZThn8_NS*;
|
|
_ZThn16_NS*;
|
|
_ZTv0_n12_NS*;
|
|
_ZTv0_n24_NS*;
|
|
|
|
# std::__convert_to_v
|
|
_ZSt14__convert_to_v*;
|
|
|
|
# stub functions from libmath
|
|
sinf;
|
|
sinl;
|
|
sinhf;
|
|
sinhl;
|
|
cosf;
|
|
cosl;
|
|
coshf;
|
|
coshl;
|
|
tanf;
|
|
tanl;
|
|
tanhf;
|
|
tanhl;
|
|
atan2f;
|
|
atan2l;
|
|
expf;
|
|
expl;
|
|
hypotf;
|
|
hypotl;
|
|
hypot;
|
|
logf;
|
|
logl;
|
|
log10f;
|
|
log10l;
|
|
powf;
|
|
powl;
|
|
sqrtf;
|
|
sqrtl;
|
|
copysignf;
|
|
nan;
|
|
__signbit;
|
|
__signbitf;
|
|
__signbitl;
|
|
|
|
# __gnu_cxx::__pool_alloc
|
|
_ZN9__gnu_cxx12__pool_allocILb1ELi0EE8allocateE[jm];
|
|
_ZN9__gnu_cxx12__pool_allocILb1ELi0EE10deallocateEPv[jm];
|
|
|
|
# __gnu_cxx::stdio_sync_filebuf
|
|
_ZTVN9__gnu_cxx18stdio_sync_filebufI[cw]St11char_traitsI[cw]EEE;
|
|
|
|
# Needed only when generic cpu's atomicity.h is in use.
|
|
_ZN9__gnu_cxx17_Atomic_add_mutexE;
|
|
_ZN9__gnu_cxx22_Atomic_add_mutex_onceE;
|
|
_ZN9__gnu_cxx31__gthread_atomic_add_mutex_onceEv;
|
|
|
|
# DO NOT DELETE THIS LINE. Port-specific symbols, if any, will be here.
|
|
|
|
local:
|
|
*;
|
|
};
|
|
|
|
|
|
# Symbols in the support library (libsupc++) have their own tag.
|
|
CXXABI_1.3 {
|
|
|
|
global:
|
|
__cxa_allocate_exception;
|
|
__cxa_bad_cast;
|
|
__cxa_bad_typeid;
|
|
__cxa_begin_catch;
|
|
__cxa_call_unexpected;
|
|
__cxa_current_exception_type;
|
|
__cxa_demangle;
|
|
__cxa_end_catch;
|
|
__cxa_free_exception;
|
|
__cxa_get_globals;
|
|
__cxa_get_globals_fast;
|
|
__cxa_guard_abort;
|
|
__cxa_guard_acquire;
|
|
__cxa_guard_release;
|
|
__cxa_pure_virtual;
|
|
__cxa_rethrow;
|
|
__cxa_throw;
|
|
__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;
|
|
|
|
# *_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*;
|
|
|
|
# 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;
|
|
|
|
# typeinfo structure (and some names)
|
|
_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;
|
|
|
|
# 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;
|
|
|
|
# __gnu_cxx::_verbose_terminate_handler()
|
|
_ZN9__gnu_cxx27__verbose_terminate_handlerEv;
|
|
|
|
local:
|
|
*;
|
|
};
|