2002-02-15 02:24:13 +08:00
|
|
|
## Linker script for GNU ld 2.11.94+ only.
|
|
|
|
##
|
|
|
|
## Copyright (C) 2002 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.
|
|
|
|
|
2002-08-02 01:25:56 +08:00
|
|
|
GLIBCPP_3.2 {
|
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-10-13 12:46:58 +08:00
|
|
|
std::[A-Za-b]*;
|
|
|
|
std::c[a-n]*;
|
|
|
|
std::co[a-c]*;
|
|
|
|
std::codecvt_byname*;
|
|
|
|
std::codecvt::[A-Za-b]*;
|
|
|
|
std::codecvt::[A-Zd-z]*;
|
|
|
|
std::codecvt_c;
|
|
|
|
std::codecvt_w;
|
|
|
|
std::co[e-z]*;
|
|
|
|
std::c[p-z]*;
|
2002-10-17 00:14:10 +08:00
|
|
|
std::c_[a-z]*;
|
2002-10-13 12:46:58 +08:00
|
|
|
std::[A-Zd-k]*;
|
2002-10-11 15:09:36 +08:00
|
|
|
std::length_error*;
|
|
|
|
std::logic_error*;
|
|
|
|
std::locale::[A-Za-z]*;
|
2002-10-13 12:46:58 +08:00
|
|
|
std::locale::_[A-Ra-z]*;
|
2002-10-11 15:09:36 +08:00
|
|
|
std::locale::_S_classic;
|
|
|
|
std::locale::_S_global;
|
|
|
|
std::locale::_S_num_categories;
|
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*;
|
|
|
|
std::_S_bit_count;
|
2002-04-18 04:08:18 +08:00
|
|
|
std::_S_first_one;
|
|
|
|
std::__default_alloc_template*;
|
2002-07-25 08:04:37 +08:00
|
|
|
std::__malloc_alloc_template*
|
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*;
|
2002-10-13 12:46:58 +08:00
|
|
|
|
|
|
|
# std::codecvt<char> members.
|
|
|
|
_ZNKSt7codecvtIcc11__mbstate_tE*;
|
|
|
|
# std::codecvt<char>::~codecvt
|
|
|
|
_ZNSt7codecvtIcc11__mbstate_tED*;
|
2002-10-17 00:14:10 +08:00
|
|
|
# std::codecvt<char>::codecvt(size_t), where size_t variable.
|
2002-10-13 12:46:58 +08:00
|
|
|
_ZNSt7codecvtIcc11__mbstate_tEC1Ej;
|
|
|
|
_ZNSt7codecvtIcc11__mbstate_tEC2Ej;
|
2002-10-17 00:14:10 +08:00
|
|
|
_ZNSt7codecvtIcc11__mbstate_tEC1Em;
|
|
|
|
_ZNSt7codecvtIcc11__mbstate_tEC2Em;
|
2002-10-13 12:46:58 +08:00
|
|
|
# std::codecvt<char>::id
|
|
|
|
_ZNSt7codecvtIcc11__mbstate_tE2idE;
|
|
|
|
|
|
|
|
# std::codecvt<wchar_t> members.
|
|
|
|
_ZNKSt7codecvtIwc11__mbstate_tE*;
|
|
|
|
# std::codecvt<wchar_t>::~codecvt
|
|
|
|
_ZNSt7codecvtIwc11__mbstate_tED*;
|
2002-10-17 00:14:10 +08:00
|
|
|
# std::codecvt<wchar_t>::codecvt(size_t), where size_t variable.
|
2002-10-13 12:46:58 +08:00
|
|
|
_ZNSt7codecvtIwc11__mbstate_tEC1Ej;
|
|
|
|
_ZNSt7codecvtIwc11__mbstate_tEC2Ej;
|
2002-10-17 00:14:10 +08:00
|
|
|
_ZNSt7codecvtIwc11__mbstate_tEC1Em;
|
|
|
|
_ZNSt7codecvtIwc11__mbstate_tEC2Em;
|
2002-10-13 12:46:58 +08:00
|
|
|
# std::codecvt<wchar_t>::id
|
|
|
|
_ZNSt7codecvtIwc11__mbstate_tE2idE;
|
|
|
|
|
|
|
|
# std::use_facet<codecvt>
|
|
|
|
_ZSt9use_facetISt7codecvtIcc11__mbstate_tEERKT_RKSt6locale;
|
|
|
|
_ZSt9use_facetISt7codecvtIwc11__mbstate_tEERKT_RKSt6locale;
|
2002-10-11 15:09:36 +08:00
|
|
|
|
2002-08-24 00:52:29 +08:00
|
|
|
# std::has_facet*
|
2002-03-08 14:05:21 +08:00
|
|
|
_ZSt9has_facet*;
|
2002-03-01 09:27:57 +08:00
|
|
|
|
2002-02-20 08:58:17 +08:00
|
|
|
# operator new(unsigned)
|
2002-02-15 02:24:13 +08:00
|
|
|
_Znwj;
|
2002-03-01 09:27:57 +08:00
|
|
|
# operator new(unsigned, std::nothrow_t const&)
|
|
|
|
_ZnwjRKSt9nothrow_t;
|
|
|
|
# operator new(unsigned long)
|
|
|
|
_Znwm;
|
|
|
|
# operator new(unsigned long, std::nothrow_t const&)
|
|
|
|
_ZnwmRKSt9nothrow_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
|
|
|
|
2002-02-20 08:58:17 +08:00
|
|
|
# operator new[](unsigned)
|
2002-02-15 02:24:13 +08:00
|
|
|
_Znaj;
|
2002-03-01 09:27:57 +08:00
|
|
|
# operator new[](unsigned, std::nothrow_t const&)
|
|
|
|
_ZnajRKSt9nothrow_t;
|
|
|
|
# operator new[](unsigned long)
|
|
|
|
_Znam;
|
|
|
|
# operator new[](unsigned long, std::nothrow_t const&)
|
|
|
|
_ZnamRKSt9nothrow_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*;
|
|
|
|
|
|
|
|
local:
|
|
|
|
*;
|
|
|
|
};
|
2002-02-23 07:45:28 +08:00
|
|
|
|
2002-10-11 15:09:36 +08:00
|
|
|
# Symbols added after GLIBCPP_3.2
|
|
|
|
GLIBCPP_3.2.1 {
|
|
|
|
|
|
|
|
_ZNSt7codecvtIcc11__mbstate_tEC1EP15__locale_structj;
|
|
|
|
_ZNSt7codecvtIcc11__mbstate_tEC2EP15__locale_structj;
|
|
|
|
_ZNSt7codecvtIwc11__mbstate_tEC1EP15__locale_structj;
|
|
|
|
_ZNSt7codecvtIwc11__mbstate_tEC2EP15__locale_structj;
|
|
|
|
|
2002-11-02 01:54:51 +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-10-11 15:09:36 +08:00
|
|
|
} GLIBCPP_3.2;
|
2002-02-23 07:45:28 +08:00
|
|
|
|
|
|
|
# Symbols in the support library (libsupc++) have their own tag.
|
2002-08-02 01:25:56 +08:00
|
|
|
CXXABI_1.2 {
|
2002-02-23 07:45:28 +08:00
|
|
|
|
|
|
|
global:
|
|
|
|
__cxa_*;
|
|
|
|
__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:
|
|
|
|
*;
|
|
|
|
};
|