2002-02-15 02:24:13 +08:00
|
|
|
## Linker script for GNU ld 2.11.94+ only.
|
|
|
|
##
|
2003-01-24 01:21:11 +08:00
|
|
|
## Copyright (C) 2002, 2003 Free Software Foundation, Inc.
|
2002-02-15 02:24:13 +08:00
|
|
|
##
|
|
|
|
## 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.
|
|
|
|
|
2003-01-24 01:21:11 +08:00
|
|
|
GLIBCPP_3.4 {
|
2002-02-15 02:24:13 +08:00
|
|
|
|
|
|
|
global:
|
|
|
|
|
2002-02-20 08:58:17 +08:00
|
|
|
# Names inside the 'extern' block are demangled names.
|
|
|
|
# All but the last are terminated with a semicolon.
|
2002-02-15 02:24:13 +08:00
|
|
|
extern "C++"
|
|
|
|
{
|
2002-11-05 06:57:00 +08:00
|
|
|
std::[A-Za]*;
|
|
|
|
std::ba[a-r]*;
|
|
|
|
std::basic_[a-r]*;
|
|
|
|
std::basic_streambuf*;
|
|
|
|
std::basic_stringbuf*;
|
|
|
|
std::basic_stringstream*;
|
|
|
|
std::basic_[t-z]*;
|
|
|
|
std::ba[t-z]*;
|
|
|
|
std::b[b-z]*;
|
2003-01-24 01:21:11 +08:00
|
|
|
std::[A-Zc-k]*;
|
2002-10-11 15:09:36 +08:00
|
|
|
std::length_error*;
|
|
|
|
std::logic_error*;
|
2003-01-07 05:23:00 +08:00
|
|
|
std::locale::[A-Za-e]*;
|
|
|
|
std::locale::facet::[A-Za-z]*;
|
|
|
|
std::locale::facet::_M*;
|
2003-01-24 01:21:11 +08:00
|
|
|
std::locale::facet::_S_c_locale;
|
2003-01-07 05:23:00 +08:00
|
|
|
std::locale::facet::_S_clone_c_locale*;
|
|
|
|
std::locale::facet::_S_create_c_locale*;
|
|
|
|
std::locale::facet::_S_destroy_c_locale*;
|
2003-01-24 01:21:11 +08:00
|
|
|
std::locale::[A-Zg-h]*;
|
|
|
|
std::locale::id::[A-Za-z]*;
|
|
|
|
std::locale::id::_S_highwater;
|
|
|
|
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]*;
|
2002-10-13 12:46:58 +08:00
|
|
|
std::locale::_S_normalize_category*;
|
|
|
|
std::locale::_[T-Za-z]*;
|
2002-10-11 15:09:36 +08:00
|
|
|
std::[A-Zm-z]*;
|
2002-02-15 02:24:13 +08:00
|
|
|
std::__throw_*;
|
|
|
|
std::__basic_file*;
|
|
|
|
std::__num_base*;
|
2002-03-09 01:59:14 +08:00
|
|
|
std::__timepunct*;
|
2002-04-09 15:35:31 +08:00
|
|
|
std::__numeric_limits_base*;
|
2003-01-24 01:21:11 +08:00
|
|
|
std::_S_bit_count
|
2002-02-15 02:24:13 +08:00
|
|
|
};
|
|
|
|
|
2002-02-20 08:58:17 +08:00
|
|
|
# Names not in an 'extern' block are mangled names.
|
2002-08-24 00:52:29 +08:00
|
|
|
|
2002-10-13 12:46:58 +08:00
|
|
|
# std::locale destructors
|
2002-10-11 15:09:36 +08:00
|
|
|
_ZNSt6localeD*;
|
2003-01-07 05:23:00 +08:00
|
|
|
|
|
|
|
# std::locale::facet destructors
|
|
|
|
_ZNSt6locale5facetD*;
|
2002-10-13 12:46:58 +08:00
|
|
|
|
2003-01-24 01:21:11 +08:00
|
|
|
# std::locale::_Impl constructors, destrutors
|
|
|
|
_ZNSt6locale5_ImplC*;
|
|
|
|
_ZNSt6locale5_ImplD*;
|
2002-10-11 15:09:36 +08:00
|
|
|
|
2003-01-24 01:21:11 +08:00
|
|
|
# bool has_facet
|
2002-03-08 14:05:21 +08:00
|
|
|
_ZSt9has_facet*;
|
2002-03-01 09:27:57 +08:00
|
|
|
|
2003-01-24 01:21:11 +08:00
|
|
|
# std::string, std::wstring minus static data members
|
|
|
|
_ZNKS[sb]*;
|
|
|
|
_ZNS[sb]D*;
|
|
|
|
_ZNS[sb]C*;
|
|
|
|
_ZStplI[cw]St11char_traitsI[cw]ESaI[cw]EESbIT_T0_T1_EPKS3_RKS6_;
|
|
|
|
_ZStplI[cw]St11char_traitsI[cw]ESaI[cw]EESbIT_T0_T1_ES3_RKS6_;
|
|
|
|
_ZNS[sb]I[cw]St11char_traitsI[cw]ESaI[cw]EE[A-Ra-z]*;
|
|
|
|
_ZNS[sb]I[cw]St11char_traitsI[cw]ESaI[cw]EE[0-9][A-Ra-z]*;
|
|
|
|
_ZNS[sb]I[cw]St11char_traitsI[cw]ESaI[cw]EE[0-9][0-9][A-Ra-z]*;
|
|
|
|
_ZNS[sb]I[cw]St11char_traitsI[cw]ESaI[cw]EE[0-9]_[A-Ra-z]*;
|
|
|
|
_ZNS[sb]I[cw]St11char_traitsI[cw]ESaI[cw]EE[0-9][0-9]_[A-Ra-z]*;
|
|
|
|
_ZNS[sb]I[cw]St11char_traitsI[cw]ESaI[cw]EE20_S_empty_rep_storageE;
|
|
|
|
|
|
|
|
# std::__pool_alloc
|
2003-01-25 01:01:25 +08:00
|
|
|
_ZNSt12__pool_allocILb1ELi0EE10deallocateEPv[jm]*;
|
|
|
|
_ZNSt12__pool_allocILb1ELi0EE8allocateE[jm]*;
|
2003-01-24 01:21:11 +08:00
|
|
|
_ZNSt12__pool_allocILb1ELi0EE5_Lock*;
|
|
|
|
_ZNSt12__pool_allocILb1ELi0EE12_S_force_newE;
|
|
|
|
_ZNSt12__pool_allocILb1ELi0EE12_S_free_listE;
|
|
|
|
_ZNSt12__pool_allocILb1ELi0EE7_S_lockE;
|
|
|
|
_ZNSt12__pool_allocILb1ELi0EE9_S_refillE[jm];
|
|
|
|
|
|
|
|
# operator new(size_t)
|
|
|
|
_Znw[jm];
|
|
|
|
# operator new(size_t, std::nothrow_t const&)
|
|
|
|
_Znw[jm]RKSt9nothrow_t;
|
2002-02-15 02:24:13 +08:00
|
|
|
|
2002-02-20 08:58:17 +08:00
|
|
|
# operator delete(void*)
|
2002-02-15 02:24:13 +08:00
|
|
|
_ZdlPv;
|
2002-03-01 09:27:57 +08:00
|
|
|
# operator delete(void*, std::nothrow_t const&)
|
|
|
|
_ZdlPvRKSt9nothrow_t;
|
2002-02-15 02:24:13 +08:00
|
|
|
|
2003-01-24 01:21:11 +08:00
|
|
|
# operator new[](size_t)
|
|
|
|
_Zna[jm];
|
|
|
|
# operator new[](size_t, std::nothrow_t const&)
|
|
|
|
_Zna[jm]RKSt9nothrow_t;
|
2002-02-15 02:24:13 +08:00
|
|
|
|
2002-02-20 08:58:17 +08:00
|
|
|
# operator delete[](void*)
|
2002-02-15 02:24:13 +08:00
|
|
|
_ZdaPv;
|
2002-03-01 09:27:57 +08:00
|
|
|
# operator delete[](void*, std::nothrow_t const&)
|
|
|
|
_ZdaPvRKSt9nothrow_t;
|
2002-02-15 02:24:13 +08:00
|
|
|
|
2002-08-24 00:52:29 +08:00
|
|
|
# vtable
|
|
|
|
_ZTV*;
|
2002-02-20 05:47:05 +08:00
|
|
|
_ZTT*;
|
2002-02-15 10:21:33 +08:00
|
|
|
|
|
|
|
# typeinfo
|
2002-02-20 05:47:05 +08:00
|
|
|
_ZTI*;
|
|
|
|
_ZTS*;
|
|
|
|
|
|
|
|
# function-scope static objects requires a guard variable.
|
|
|
|
_ZGV*;
|
2002-02-15 10:21:33 +08:00
|
|
|
|
2002-02-20 05:47:05 +08:00
|
|
|
# virtual function thunks
|
|
|
|
_ZTh*;
|
|
|
|
_ZTv*;
|
|
|
|
_ZTc*;
|
|
|
|
|
2002-02-20 08:58:17 +08:00
|
|
|
# std::__convert_to_v
|
2002-02-15 02:24:13 +08:00
|
|
|
_ZSt14__convert_to_v*;
|
|
|
|
|
2003-01-24 01:21:11 +08:00
|
|
|
# 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;
|
|
|
|
|
2002-02-15 02:24:13 +08:00
|
|
|
local:
|
|
|
|
*;
|
|
|
|
};
|
2002-02-23 07:45:28 +08:00
|
|
|
|
2003-01-07 05:23:00 +08:00
|
|
|
|
2002-02-23 07:45:28 +08:00
|
|
|
# Symbols in the support library (libsupc++) have their own tag.
|
2003-01-24 01:21:11 +08:00
|
|
|
CXXABI_1.3 {
|
2002-02-23 07:45:28 +08:00
|
|
|
|
|
|
|
global:
|
2002-11-26 09:37:50 +08:00
|
|
|
__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;
|
2003-01-24 01:21:11 +08:00
|
|
|
__cxa_guard_abort;
|
|
|
|
__cxa_guard_acquire;
|
|
|
|
__cxa_guard_release;
|
2002-11-26 09:37:50 +08:00
|
|
|
__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;
|
2002-02-23 07:45:28 +08:00
|
|
|
__gxx_personality_v0;
|
2002-04-12 07:27:45 +08:00
|
|
|
__gxx_personality_sj0;
|
2002-02-23 07:45:28 +08:00
|
|
|
__dynamic_cast;
|
|
|
|
|
2002-04-02 05:56:42 +08:00
|
|
|
# __gnu_cxx::_verbose_terminate_handler()
|
|
|
|
_ZN9__gnu_cxx27__verbose_terminate_handlerEv;
|
|
|
|
|
2002-02-23 07:45:28 +08:00
|
|
|
local:
|
|
|
|
*;
|
|
|
|
};
|