]>
Commit | Line | Data |
---|---|---|
530539d9 PE |
1 | ## Linker script for GNU ld 2.11.94+ only. |
2 | ## | |
3 | ## Copyright (C) 2002 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 | ||
37cea034 | 24 | GLIBCPP_3.1 { |
530539d9 PE |
25 | |
26 | global: | |
27 | ||
37cea034 BK |
28 | ## Names inside the 'extern' block are demangled names. |
29 | ## All but the last are terminated with a semicolon. | |
530539d9 PE |
30 | extern "C++" |
31 | { | |
32 | std::[A-Za-z]*; | |
33 | std::__throw_*; | |
34 | std::__basic_file*; | |
530539d9 PE |
35 | std::__num_base*; |
36 | std::__timepunct* | |
37 | }; | |
38 | ||
37cea034 | 39 | ## Names not in an 'extern' block are mangled names. |
530539d9 PE |
40 | __cxa_*; |
41 | __gxx_personality_v0; | |
42 | __dynamic_cast; | |
43 | ||
530539d9 PE |
44 | ## operator new(unsigned) |
45 | _Znwj; | |
46 | ||
47 | ## operator delete(void*) | |
48 | _ZdlPv; | |
49 | ||
50 | ## operator new[](unsigned) | |
51 | _Znaj; | |
52 | ||
53 | ## operator delete[](void*) | |
54 | _ZdaPv; | |
55 | ||
37cea034 BK |
56 | # vtable |
57 | # XXX export them all? | |
58 | _ZTVSt*; | |
59 | _ZTVN10__cxxabiv1*; | |
60 | ||
61 | # typeinfo | |
62 | # XXX export them all? | |
63 | _ZTSSt*; | |
64 | ||
65 | ||
66 | ######## hmmmmm, the rediculous hacks section.... | |
530539d9 PE |
67 | ## std::_S_rb_tree_red |
68 | _ZSt14_S_rb_tree_red; | |
69 | ||
70 | ## std::_S_rb_tree_black | |
71 | _ZSt16_S_rb_tree_black; | |
72 | ||
73 | ## std::__stl_threshold | |
74 | _ZSt15__stl_threshold; | |
75 | ||
76 | ## std::__stl_chunk_size | |
77 | _ZSt16__stl_chunk_size; | |
78 | ||
79 | ## VTT for std::basic_istringstream<char, std::char_traits<char>, std::allocator<char> > | |
80 | _ZTTSt19basic_istringstreamIcSt11char_traitsIcESaIcEE; | |
81 | ||
82 | ## VTT for std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> > | |
83 | _ZTTSt19basic_ostringstreamIcSt11char_traitsIcESaIcEE; | |
84 | ||
85 | # this is a function, "void std::__convert_to_v(stuff)", and as such | |
86 | # doesn't work well in the demangled section above | |
87 | _ZSt14__convert_to_v*; | |
88 | ||
89 | # likewise for "std::_Setfill<char> std::setfill<char>(char)" | |
90 | _ZSt7setfillIcESt8_SetfillIT_ES1_; | |
91 | ||
92 | # likewise for "bool std::has_facet<std::ctype<char> >(std::locale const&)" | |
93 | _ZSt9has_facetISt5ctypeIcEEbRKSt6locale; | |
94 | ||
95 | # likewise for "bool | |
96 | # std::has_facet<std::num_put<char, std::ostreambuf_iterator<char, | |
97 | # std::char_traits<char> > > >(std::locale const&)" | |
98 | _ZSt9has_facetISt7num_putIcSt19ostreambuf_iteratorIcSt11char_traitsIcEEEEbRKSt6locale; | |
99 | ||
100 | # ditto for istreambuf_iterator | |
101 | _ZSt9has_facetISt7num_getIcSt19istreambuf_iteratorIcSt11char_traitsIcEEEEbRKSt6locale; | |
102 | ||
530539d9 PE |
103 | local: |
104 | *; | |
105 | }; |