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*;
|
|
|
|
std::__timepunct*
|
|
|
|
};
|
|
|
|
|
2002-02-20 08:58:17 +08:00
|
|
|
# Names not in an 'extern' block are mangled names.
|
|
|
|
# operator new(unsigned)
|
2002-02-15 02:24:13 +08:00
|
|
|
_Znwj;
|
|
|
|
|
2002-02-20 08:58:17 +08:00
|
|
|
# operator delete(void*)
|
2002-02-15 02:24:13 +08:00
|
|
|
_ZdlPv;
|
|
|
|
|
2002-02-20 08:58:17 +08:00
|
|
|
# operator new[](unsigned)
|
2002-02-15 02:24:13 +08:00
|
|
|
_Znaj;
|
|
|
|
|
2002-02-20 08:58:17 +08:00
|
|
|
# operator delete[](void*)
|
2002-02-15 02:24:13 +08:00
|
|
|
_ZdaPv;
|
|
|
|
|
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::_S_rb_tree_red
|
2002-02-15 02:24:13 +08:00
|
|
|
_ZSt14_S_rb_tree_red;
|
|
|
|
|
2002-02-20 08:58:17 +08:00
|
|
|
# std::_S_rb_tree_black
|
2002-02-15 02:24:13 +08:00
|
|
|
_ZSt16_S_rb_tree_black;
|
|
|
|
|
2002-02-20 08:58:17 +08:00
|
|
|
# std::__stl_threshold
|
2002-02-15 02:24:13 +08:00
|
|
|
_ZSt15__stl_threshold;
|
|
|
|
|
2002-02-20 08:58:17 +08:00
|
|
|
# std::__stl_chunk_size
|
2002-02-15 02:24:13 +08:00
|
|
|
_ZSt16__stl_chunk_size;
|
|
|
|
|
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:
|
|
|
|
*;
|
|
|
|
};
|
|
|
|
|