OSDN Git Service

2004-10-11 Benjamin Kosnik <bkoz@redhat.com>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / config / linker-map.gnu
1 ## Linker script for GNU ld 2.13.91+ only.
2 ##
3 ## Copyright (C) 2002, 2003, 2004 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 GLIBCXX_3.4 {
24
25   global:
26
27     # Names inside the 'extern' block are demangled names.
28     extern "C++"
29     {
30       std::[A-Za-h]*;
31       std::i[a-n]*;
32       std::ios_base::[A-Ha-z]*;
33       std::ios_base::_M_grow_words*;
34       std::ios_base::_M_init*;
35       std::ios_base::Init::[A-Za-z]*;
36       std::ios_base::[J-Za-z]*;
37       std::i[p-z]*;
38       std::[A-Zj-k]*;
39       std::length_error*;
40       std::logic_error*;
41       std::locale::[A-Za-e]*;
42       std::locale::facet::[A-Za-z]*;
43       std::locale::facet::_S_get_c_locale*;     
44       std::locale::facet::_S_clone_c_locale*;
45       std::locale::facet::_S_create_c_locale*;
46       std::locale::facet::_S_destroy_c_locale*;
47       std::locale::[A-Zg-h]*;
48       std::locale::id::[A-Za-z]*;
49       std::locale::id::_M_id*;
50       std::locale::[A-Zj-z]*;
51       std::locale::_[A-Ha-z]*;
52       std::locale::_Impl::[A-Za-z]*;
53       std::locale::_Impl::_M_[A-Za-z]*;
54       std::locale::_[J-Ra-z]*;
55       std::locale::_S_normalize_category*;
56       std::locale::_[T-Za-z]*;
57       std::[A-Zm-z]*;
58       std::_List_node_base::hook*;
59       std::_List_node_base::swap*;
60       std::_List_node_base::unhook*;
61       std::_List_node_base::reverse*;
62       std::_List_node_base::transfer*;
63       std::__throw_*;
64       std::__timepunct*;
65       std::__numeric_limits_base*;
66       std::__num_base::_S_format_float*;
67       std::__num_base::_S_format_int*;
68       std::__num_base::_S_atoms_in;
69       std::__num_base::_S_atoms_out;
70       std::__moneypunct_cache*;
71       std::__numpunct_cache*;
72       std::__timepunct_cache*;
73       __gnu_debug::_Safe_iterator_base*;
74       __gnu_debug::_Safe_sequence_base*;
75       __gnu_debug::_Error_formatter*;
76       __gnu_norm::_List_node_base::hook*;
77       __gnu_norm::_List_node_base::swap*;
78       __gnu_norm::_List_node_base::unhook*;
79       __gnu_norm::_List_node_base::reverse*;
80       __gnu_norm::_List_node_base::transfer*
81     };
82
83     # Names not in an 'extern' block are mangled names.
84
85     # operator new(size_t)
86     _Znw[jm];
87     # operator new(size_t, std::nothrow_t const&)
88     _Znw[jm]RKSt9nothrow_t;
89
90     # operator delete(void*)
91     _ZdlPv;
92     # operator delete(void*, std::nothrow_t const&)
93     _ZdlPvRKSt9nothrow_t;
94
95     # operator new[](size_t)
96     _Zna[jm];
97     # operator new[](size_t, std::nothrow_t const&)
98     _Zna[jm]RKSt9nothrow_t;
99
100     # operator delete[](void*)
101     _ZdaPv;
102     # operator delete[](void*, std::nothrow_t const&)
103     _ZdaPvRKSt9nothrow_t;
104
105     # std::locale destructors
106     _ZNSt6localeD*;
107         
108     # std::locale::facet destructors
109     _ZNSt6locale5facetD*;
110          
111     # std::locale::_Impl constructors, destructors
112     _ZNSt6locale5_ImplC*;
113     _ZNSt6locale5_ImplD*;
114
115     # std::ios_base, std::ios_base::Init destructors
116     _ZNSt8ios_baseD*;
117     _ZNSt8ios_base4InitD*;
118
119     # bool has_facet 
120     _ZSt9has_facet*;
121
122     # _Rb_tree
123     _ZSt18_Rb_tree_decrementPKSt18_Rb_tree_node_base;
124     _ZSt18_Rb_tree_decrementPSt18_Rb_tree_node_base;
125     _ZSt18_Rb_tree_incrementPKSt18_Rb_tree_node_base;
126     _ZSt18_Rb_tree_incrementPSt18_Rb_tree_node_base;
127     _ZSt20_Rb_tree_black_countPKSt18_Rb_tree_node_baseS1_;
128     _ZSt20_Rb_tree_rotate_leftPSt18_Rb_tree_node_baseRS0_;
129     _ZSt21_Rb_tree_rotate_rightPSt18_Rb_tree_node_baseRS0_;
130     _ZSt28_Rb_tree_rebalance_for_erasePSt18_Rb_tree_node_baseRS_;
131     _ZSt29_Rb_tree_insert_and_rebalancebPSt18_Rb_tree_node_baseS0_RS_;
132
133     # std::__basic_file
134     _ZNKSt12__basic_fileIcE7is_openEv;
135     _ZNSt12__basic_fileIcE2fdEv;
136     _ZNSt12__basic_fileIcE4openEPKcSt13_Ios_Openmodei;
137     _ZNSt12__basic_fileIcE4syncEv;
138     _ZNSt12__basic_fileIcE5closeEv;
139     _ZNSt12__basic_fileIcE6xsgetn*;
140     _ZNSt12__basic_fileIcE6xsputn*;
141     _ZNSt12__basic_fileIcE7seekoff*;
142     _ZNSt12__basic_fileIcE8sys_openE*St13_Ios_Openmode;
143     _ZNSt12__basic_fileIcE8xsputn_2*;
144     _ZNSt12__basic_fileIcE9showmanycEv;
145     _ZNSt12__basic_fileIcEC*;
146     _ZNSt12__basic_fileIcED*;
147
148     # virtual table
149     _ZTVNSt8ios_base7failureE;
150     _ZTVNSt6locale5facetE;
151     _ZTVS[a-z];
152     _ZTVSt[0-9][A-Za-z]*;
153     _ZTVSt[0-9][0-9][A-Za-z]*;
154     _ZTVSt11__timepunctI[cw]E;
155     _ZTVSt23__codecvt_abstract_baseI[cw]c11__mbstate_tE;
156     _ZTVSt21__ctype_abstract_baseI[cw]E;
157
158     # VTT structure
159     _ZTTS[a-z];
160     _ZTTSt[0-9][A-Za-z]*;
161     _ZTTSt[0-9][0-9][A-Za-z]*;
162
163     # typeinfo structure
164     _ZTIS[a-z];
165     _ZTINSt8ios_base7failureE;
166     _ZTINSt6locale5facetE;
167     _ZTISt[0-9][A-Za-z]*;
168     _ZTISt[0-9][0-9][A-Za-z]*;
169     _ZTISt11__timepunctI[cw]E;
170     _ZTISt10__num_base;
171     _ZTISt21__ctype_abstract_baseI[cw]E;
172     _ZTISt23__codecvt_abstract_baseI[cw]c11__mbstate_tE;
173     _ZTIN9__gnu_cxx18stdio_sync_filebufI[cw]St11char_traitsI[cw]EEE;
174     _ZTIN9__gnu_cxx13stdio_filebufI[cw]St11char_traitsI[cw]EEE;
175
176     # typeinfo name
177     _ZTSNSt8ios_base7failureE;
178     _ZTSNSt6locale5facetE;
179     _ZTSS[a-z];
180     _ZTSSt[0-9][A-Za-z]*;
181     _ZTSSt[0-9][0-9][A-Za-z]*;
182     _ZTSSt11__timepunctI[cw]E;
183     _ZTSSt10__num_base;
184     _ZTSSt21__ctype_abstract_baseI[cw]E;
185     _ZTSSt23__codecvt_abstract_baseI[cw]c11__mbstate_tE;
186     _ZTSN9__gnu_cxx18stdio_sync_filebufI[cw]St11char_traitsI[cw]EEE;
187     _ZTSN9__gnu_cxx13stdio_filebufI[cw]St11char_traitsI[cw]EEE;
188
189     # function-scope static objects requires a guard variable.
190     _ZGVNSt*;
191
192     # virtual function thunks
193     _ZThn8_NS*;
194     _ZThn16_NS*;
195     _ZTv0_n12_NS*;
196     _ZTv0_n24_NS*;
197
198     # std::__convert_to_v
199     _ZSt14__convert_to_v*;
200
201     # stub functions from libmath
202     sinf;
203     sinl;
204     sinhf;
205     sinhl;
206     cosf;
207     cosl;
208     coshf;
209     coshl;
210     tanf;
211     tanl;
212     tanhf;
213     tanhl;
214     atan2f;
215     atan2l;
216     expf;
217     expl;
218     hypotf;
219     hypotl;
220     hypot;
221     logf;
222     logl;
223     log10f;
224     log10l;
225     powf;
226     powl;
227     sqrtf;
228     sqrtl;
229     copysignf;
230     __signbit;
231     __signbitf;
232     __signbitl;
233
234     # __gnu_cxx::stdio_sync_filebuf
235     _ZTVN9__gnu_cxx18stdio_sync_filebufI[cw]St11char_traitsI[cw]EEE;
236
237     # __gnu_cxx::__atomic_add
238     # __gnu_cxx::__exchange_and_add
239     _ZN9__gnu_cxx12__atomic_add*;
240     _ZN9__gnu_cxx18__exchange_and_add*;
241
242   # DO NOT DELETE THIS LINE.  Port-specific symbols, if any, will be here.
243
244   local:
245     *;
246 };
247
248 GLIBCXX_3.4.1 {
249  
250     _ZNSt12__basic_fileIcE4fileEv;
251  
252 } GLIBCXX_3.4;
253  
254 GLIBCXX_3.4.2 {
255
256     _ZN9__gnu_cxx18stdio_sync_filebufI[cw]St11char_traitsI[cw]EE4fileEv;
257
258     _ZN9__gnu_cxx17__pool_alloc_base9_M_refillE[jm];
259     _ZN9__gnu_cxx17__pool_alloc_base16_M_get_free_listE[jm];
260     _ZN9__gnu_cxx17__pool_alloc_base12_M_get_mutexEv;
261
262 } GLIBCXX_3.4.1;
263
264 GLIBCXX_3.4.3 {
265  
266     _ZN9__gnu_cxx6__poolILb0EE13_M_initializeEv;
267     _ZN9__gnu_cxx6__poolILb1EE13_M_initializeEPFvPvE;
268     _ZN9__gnu_cxx6__poolILb1EE21_M_destroy_thread_keyEPv;
269     _ZN9__gnu_cxx6__poolILb1EE16_M_get_thread_idEv;
270     _ZN9__gnu_cxx6__poolILb[01]EE16_M_reserve_blockE[jm][jm];
271     _ZN9__gnu_cxx6__poolILb[01]EE16_M_reclaim_blockEPc[jm];
272     _ZN9__gnu_cxx6__poolILb[01]EE10_M_destroyEv;
273  
274     # stub functions from libmath
275     acosf;
276     acosl;
277     asinf;
278     asinl;
279     atanf;
280     atanl;
281     ceilf;
282     ceill;
283     floorf;
284     floorl;
285     fmodf;
286     fmodl;
287     frexpf;
288     frexpl;
289     ldexpf;
290     ldexpl;
291     modff;
292     modfl;
293
294 } GLIBCXX_3.4.2;
295
296 # Symbols in the support library (libsupc++) have their own tag.
297 CXXABI_1.3 {
298
299   global:
300     __cxa_allocate_exception;
301     __cxa_bad_cast;
302     __cxa_bad_typeid;
303     __cxa_begin_catch;
304     __cxa_call_unexpected;
305     __cxa_current_exception_type;
306     __cxa_demangle;
307     __cxa_end_catch;
308     __cxa_free_exception;
309     __cxa_get_globals;
310     __cxa_get_globals_fast;
311     __cxa_guard_abort;
312     __cxa_guard_acquire;
313     __cxa_guard_release;
314     __cxa_pure_virtual;
315     __cxa_rethrow;
316     __cxa_throw;
317     __cxa_vec_cctor;
318     __cxa_vec_cleanup;
319     __cxa_vec_ctor;
320     __cxa_vec_delete2;
321     __cxa_vec_delete3;
322     __cxa_vec_delete;
323     __cxa_vec_dtor;
324     __cxa_vec_new2;
325     __cxa_vec_new3;
326     __cxa_vec_new;
327     __gxx_personality_v0;
328     __gxx_personality_sj0;
329     __dynamic_cast;
330
331     # *_type_info classes, ctor and dtor
332     _ZN10__cxxabiv117__array_type_info*;
333     _ZN10__cxxabiv117__class_type_info*;
334     _ZN10__cxxabiv116__enum_type_info*;
335     _ZN10__cxxabiv120__function_type_info*;
336     _ZN10__cxxabiv123__fundamental_type_info*;
337     _ZN10__cxxabiv117__pbase_type_info*;
338     _ZN10__cxxabiv129__pointer_to_member_type_info*;
339     _ZN10__cxxabiv119__pointer_type_info*;
340     _ZN10__cxxabiv120__si_class_type_info*;
341     _ZN10__cxxabiv121__vmi_class_type_info*;
342
343     # *_type_info classes, member functions
344     _ZNK10__cxxabiv117__class_type_info*;
345     _ZNK10__cxxabiv120__function_type_info*;
346     _ZNK10__cxxabiv117__pbase_type_info*;
347     _ZNK10__cxxabiv129__pointer_to_member_type_info*;
348     _ZNK10__cxxabiv119__pointer_type_info*;
349     _ZNK10__cxxabiv120__si_class_type_info*;
350     _ZNK10__cxxabiv121__vmi_class_type_info*;
351
352     # virtual table
353     _ZTVN10__cxxabiv117__array_type_infoE;
354     _ZTVN10__cxxabiv117__class_type_infoE;
355     _ZTVN10__cxxabiv116__enum_type_infoE;
356     _ZTVN10__cxxabiv120__function_type_infoE;
357     _ZTVN10__cxxabiv123__fundamental_type_infoE;
358     _ZTVN10__cxxabiv117__pbase_type_infoE;
359     _ZTVN10__cxxabiv129__pointer_to_member_type_infoE;
360     _ZTVN10__cxxabiv119__pointer_type_infoE;
361     _ZTVN10__cxxabiv120__si_class_type_infoE;
362     _ZTVN10__cxxabiv121__vmi_class_type_infoE;
363
364     # typeinfo structure (and some names)
365     _ZTI[a-z];
366     _ZTIP[a-z];
367     _ZTIPK[a-z];
368     _ZTIN10__cxxabiv117__array_type_infoE;
369     _ZTIN10__cxxabiv117__class_type_infoE;
370     _ZTIN10__cxxabiv116__enum_type_infoE;
371     _ZTIN10__cxxabiv120__function_type_infoE;
372     _ZTIN10__cxxabiv123__fundamental_type_infoE;
373     _ZTIN10__cxxabiv117__pbase_type_infoE;
374     _ZTIN10__cxxabiv129__pointer_to_member_type_infoE;
375     _ZTIN10__cxxabiv119__pointer_type_infoE;
376     _ZTIN10__cxxabiv120__si_class_type_infoE;
377     _ZTIN10__cxxabiv121__vmi_class_type_infoE;
378
379     # typeinfo name
380     _ZTS[a-z];
381     _ZTSP[a-z];
382     _ZTSPK[a-z];
383     _ZTSN10__cxxabiv117__array_type_infoE;
384     _ZTSN10__cxxabiv117__class_type_infoE;
385     _ZTSN10__cxxabiv116__enum_type_infoE;
386     _ZTSN10__cxxabiv120__function_type_infoE;
387     _ZTSN10__cxxabiv123__fundamental_type_infoE;
388     _ZTSN10__cxxabiv117__pbase_type_infoE;
389     _ZTSN10__cxxabiv129__pointer_to_member_type_infoE;
390     _ZTSN10__cxxabiv119__pointer_type_infoE;
391     _ZTSN10__cxxabiv120__si_class_type_infoE;
392     _ZTSN10__cxxabiv121__vmi_class_type_infoE;
393
394     # __gnu_cxx::_verbose_terminate_handler()
395     _ZN9__gnu_cxx27__verbose_terminate_handlerEv;
396
397   local:
398     *;
399 };