OSDN Git Service

2003-06-11 Benjamin Kosnik <bkoz@redhat.com>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / config / linker-map.gnu
1 ## Linker script for GNU ld 2.11.94+ only.
2 ##
3 ## Copyright (C) 2002, 2003 Free Software Foundation, Inc.
4 ##
5 ## This file is part of the libstdc++ version 3 distribution.
6 ##
7 ## This file is part of the GNU ISO C++ Library.  This library is free
8 ## software; you can redistribute it and/or modify it under the
9 ## terms of the GNU General Public License as published by the
10 ## Free Software Foundation; either version 2, or (at your option)
11 ## any later version.
12 ##
13 ## This library is distributed in the hope that it will be useful,
14 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
15 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 ## GNU General Public License for more details.
17 ##
18 ## You should have received a copy of the GNU General Public License along
19 ## with this library; see the file COPYING.  If not, write to the Free
20 ## Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307,
21 ## USA.
22
23 GLIBCPP_3.4 {
24
25   global:
26
27     # Names inside the 'extern' block are demangled names.
28     # All but the last are terminated with a semicolon.
29     extern "C++"
30     {
31       std::[A-Za-k]*;
32       std::length_error*;
33       std::logic_error*;
34       std::locale::[A-Za-e]*;
35       std::locale::facet::[A-Za-z]*;
36       std::locale::facet::_S_c_locale;  
37       std::locale::facet::_S_clone_c_locale*;
38       std::locale::facet::_S_create_c_locale*;
39       std::locale::facet::_S_destroy_c_locale*;
40       std::locale::[A-Zg-h]*;
41       std::locale::id::[A-Za-z]*;
42       std::locale::id::_S_highwater;
43       std::locale::[A-Zj-z]*;
44       std::locale::_[A-Ha-z]*;
45       std::locale::_Impl::[A-Za-z]*;
46       std::locale::_Impl::_M_[A-Za-z]*;
47       std::locale::_[J-Ra-z]*;
48       std::locale::_S_normalize_category*;
49       std::locale::_[T-Za-z]*;
50       std::[A-Zm-z]*;
51       std::__throw_*;
52       std::__basic_file*;
53       std::__timepunct*;
54       std::__numeric_limits_base*;
55       std::__num_base::_S_format_float*;
56       std::__num_base::_S_format_int*;
57       std::__num_base::_S_atoms_in;
58       std::__num_base::_S_atoms_out;
59       
60       # Needed only when generic cpu's atomicity.h is in use.
61       __gnu_cxx::_Atomic_add_mutex;
62       __gnu_cxx::_Atomic_add_mutex_once;
63       __gnu_cxx::__gthread_atomic_add_mutex_once
64     };
65
66     # Names not in an 'extern' block are mangled names.
67
68     # std::locale destructors
69     _ZNSt6localeD*;
70         
71     # std::locale::facet destructors
72     _ZNSt6locale5facetD*;
73          
74     # std::locale::_Impl constructors, destrutors
75     _ZNSt6locale5_ImplC*;
76     _ZNSt6locale5_ImplD*;
77
78     # bool has_facet 
79     _ZSt9has_facet*;
80
81     # operator new(size_t)
82     _Znw[jm];
83     # operator new(size_t, std::nothrow_t const&)
84     _Znw[jm]RKSt9nothrow_t;
85
86     # operator delete(void*)
87     _ZdlPv;
88     # operator delete(void*, std::nothrow_t const&)
89     _ZdlPvRKSt9nothrow_t;
90
91     # operator new[](size_t)
92     _Zna[jm];
93     # operator new[](size_t, std::nothrow_t const&)
94     _Zna[jm]RKSt9nothrow_t;
95
96     # operator delete[](void*)
97     _ZdaPv;
98     # operator delete[](void*, std::nothrow_t const&)
99     _ZdaPvRKSt9nothrow_t;
100
101     # vtable
102     _ZTVN9__gnu_cxx*;
103     _ZTVNSt8ios_base7failureE;
104     _ZTVNSt6locale5facetE;
105     _ZTVS[a-z];
106     _ZTVSt[0-9][A-Za-z]*;
107     _ZTVSt[0-9][0-9][A-Za-z]*;
108     _ZTVSt11__timepunctI[cw]E;
109     _ZTVSt23__codecvt_abstract_baseI[cw]c11__mbstate_tE;
110     _ZTVSt21__ctype_abstract_baseI[cw]E;
111
112     _ZTTS[a-z];
113     _ZTTSt[0-9][A-Za-z]*;
114     _ZTTSt[0-9][0-9][A-Za-z]*;
115
116     # typeinfo
117     _ZTI[a-z];
118     _ZTINSt8ios_base7failureE;
119     _ZTINSt6locale5facetE;
120     _ZTIN9__gnu_cxx*;
121     _ZTIP[a-z];
122     _ZTIPK[a-z];
123     _ZTIS[a-z];
124     _ZTISt[0-9][A-Za-z]*;
125     _ZTISt[0-9][0-9][A-Za-z]*;
126     _ZTISt11__timepunctI[cw]E;
127     _ZTISt10__num_base;
128     _ZTISt21__ctype_abstract_baseI[cw]E;
129     _ZTISt23__codecvt_abstract_baseI[cw]c11__mbstate_tE;
130
131     _ZTS[a-z];
132     _ZTSNSt8ios_base7failureE;
133     _ZTSNSt6locale5facetE;
134     _ZTSN9__gnu_cxx*;
135     _ZTSP[a-z];
136     _ZTSPK[a-z];
137     _ZTSS[a-z];
138     _ZTSSt[0-9][A-Za-z]*;
139     _ZTSSt[0-9][0-9][A-Za-z]*;
140     _ZTSSt11__timepunctI[cw]E;
141     _ZTSSt10__num_base;
142     _ZTSSt21__ctype_abstract_baseI[cw]E;
143     _ZTSSt23__codecvt_abstract_baseI[cw]c11__mbstate_tE;
144
145     # function-scope static objects requires a guard variable.
146     _ZGV*;
147
148     # virtual function thunks
149     _ZTh*;
150     _ZTv*;
151     _ZTc*;
152
153     # std::__convert_to_v
154     _ZSt14__convert_to_v*;
155
156     # stub functions from libmath
157     sinf;
158     sinl;
159     sinhf;
160     sinhl;
161     cosf;
162     cosl;
163     coshf;
164     coshl;
165     tanf;
166     tanl;
167     tanhf;
168     tanhl;
169     atan2f;
170     atan2l;
171     expf;
172     expl;
173     hypotf;
174     hypotl;
175     hypot;
176     logf;
177     logl;
178     log10f;
179     log10l;
180     powf;
181     powl;
182     sqrtf;
183     sqrtl;
184     copysignf;
185     nan;
186     __signbit;
187     __signbitf;
188     __signbitl;
189
190   local:
191     *;
192 };
193
194
195 # Symbols in the support library (libsupc++) have their own tag.
196 CXXABI_1.3 {
197
198   global:
199     __cxa_allocate_exception;
200     __cxa_bad_cast;
201     __cxa_bad_typeid;
202     __cxa_begin_catch;
203     __cxa_call_unexpected;
204     __cxa_current_exception_type;
205     __cxa_demangle;
206     __cxa_end_catch;
207     __cxa_free_exception;
208     __cxa_get_globals;
209     __cxa_get_globals_fast;
210     __cxa_guard_abort;
211     __cxa_guard_acquire;
212     __cxa_guard_release;
213     __cxa_pure_virtual;
214     __cxa_rethrow;
215     __cxa_throw;
216     __cxa_vec_cctor;
217     __cxa_vec_cleanup;
218     __cxa_vec_ctor;
219     __cxa_vec_delete2;
220     __cxa_vec_delete3;
221     __cxa_vec_delete;
222     __cxa_vec_dtor;
223     __cxa_vec_new2;
224     __cxa_vec_new3;
225     __cxa_vec_new;
226     __gxx_personality_v0;
227     __gxx_personality_sj0;
228     __dynamic_cast;
229
230     # __gnu_cxx::_verbose_terminate_handler()
231     _ZN9__gnu_cxx27__verbose_terminate_handlerEv;
232
233     # typeinfo
234     _ZTIN10__cxxabi*;
235     _ZTSN10__cxxabi*;
236
237     # vtable
238     _ZTVN10__cxxabi*;
239
240   local:
241     *;
242 };