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-02-15 10:21:33 +08:00
|
|
|
GLIBCPP_3.1 {
|
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++"
|
|
|
|
{
|
|
|
|
std::[A-Za-z]*;
|
|
|
|
std::__throw_*;
|
|
|
|
std::__basic_file*;
|
|
|
|
std::__num_base*;
|
2002-03-09 01:59:14 +08:00
|
|
|
std::__timepunct*;
|
|
|
|
std::__numeric_limits_base*
|
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-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-02-15 10:21:33 +08:00
|
|
|
# vtable
|
2002-02-20 05:47:05 +08:00
|
|
|
_ZTV*;
|
|
|
|
_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
|
|
|
|
|
|
|
|
|
|
|
# Symbols in the support library (libsupc++) have their own tag.
|
|
|
|
CXXABI_1 {
|
|
|
|
|
|
|
|
global:
|
|
|
|
__cxa_*;
|
|
|
|
__gxx_personality_v0;
|
|
|
|
__dynamic_cast;
|
|
|
|
|
|
|
|
local:
|
|
|
|
*;
|
|
|
|
};
|