]> git.pld-linux.org Git - packages/crossppc-gcc.git/blob - gcc-pr19664_gnu_internal.patch
- more
[packages/crossppc-gcc.git] / gcc-pr19664_gnu_internal.patch
1 2005-10-31  Benjamin Kosnik  <bkoz@redhat.com>
2
3         * src/mt_allocator.cc (__gnu_internal): Make hidden.
4         * src/pool_allocator.cc: Same.
5         * src/locale_init.cc (__gnu_internal): Same.
6         * src/locale.cc (__gnu_internal): Same.
7         * src/ios_init.cc (__gnu_internal): Same.
8         * src/globals_io.cc: Same.
9         * src/globals_locale.cc (__gnu_internal): Same.
10         * src/debug.cc (__gnu_internal): Same.
11         * src/ext-inst.cc (__gnu_internal): Same.
12
13 *** gcc/libstdc++-v3/src/debug.cc       9 Sep 2005 10:14:33 -0000       1.15
14 --- gcc/libstdc++-v3/src/debug.cc       28 Oct 2005 00:44:54 -0000
15 *************** using namespace std;
16 *** 41,47 ****
17 --- 41,51 ----
18   
19   namespace __gnu_internal
20   {
21 + #pragma GCC visibility push(hidden)
22
23     static __glibcxx_mutex_define_initialized(iterator_base_mutex);
24
25 + #pragma GCC visibility pop
26   } // namespace __gnu_internal
27   
28   namespace __gnu_debug
29 *** gcc/libstdc++-v3/src/ext-inst.cc    17 Aug 2005 02:14:21 -0000      1.8
30 --- gcc/libstdc++-v3/src/ext-inst.cc    28 Oct 2005 00:44:54 -0000
31 ***************
32 *** 1,6 ****
33   // Explicit instantiation file.
34   
35 ! // Copyright (C) 2001, 2002, 2004 Free Software Foundation, Inc.
36   //
37   // This file is part of the GNU ISO C++ Library.  This library is free
38   // software; you can redistribute it and/or modify it under the
39 --- 1,6 ----
40   // Explicit instantiation file.
41   
42 ! // Copyright (C) 2001, 2002, 2004, 2005 Free Software Foundation, Inc.
43   //
44   // This file is part of the GNU ISO C++ Library.  This library is free
45   // software; you can redistribute it and/or modify it under the
46 ***************
47 *** 36,42 ****
48 --- 36,46 ----
49   
50   namespace __gnu_internal
51   {
52 + #pragma GCC visibility push(hidden)
53
54     const int min_len = __gnu_cxx::_Rope_constants::_S_max_rope_depth + 1;
55
56 + #pragma GCC visibility pop
57   }
58   
59   namespace __gnu_cxx
60 *** gcc/libstdc++-v3/src/globals_io.cc  17 Aug 2005 02:14:22 -0000      1.3
61 --- gcc/libstdc++-v3/src/globals_io.cc  28 Oct 2005 00:44:54 -0000
62 ***************
63 *** 1,4 ****
64 ! // Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
65   //
66   // This file is part of the GNU ISO C++ Library.  This library is free
67   // software; you can redistribute it and/or modify it under the
68 --- 1,4 ----
69 ! // Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
70   //
71   // This file is part of the GNU ISO C++ Library.  This library is free
72   // software; you can redistribute it and/or modify it under the
73 *************** namespace std
74 *** 76,81 ****
75 --- 76,83 ----
76   
77   namespace __gnu_internal
78   {
79 + #pragma GCC visibility push(hidden)
80
81     using namespace std;
82     using namespace __gnu_cxx;
83   
84 *************** namespace __gnu_internal
85 *** 126,129 ****
86 --- 128,133 ----
87     _GLIBCXX_mutex_address_init ()
88     { __GTHREAD_MUTEX_INIT_FUNCTION (_GLIBCXX_mutex_address); }
89   #endif
90
91 + #pragma GCC visibility pop
92   } // namespace __gnu_internal
93 *** gcc/libstdc++-v3/src/globals_locale.cc      17 Aug 2005 02:14:22 -0000      1.4
94 --- gcc/libstdc++-v3/src/globals_locale.cc      28 Oct 2005 00:44:54 -0000
95 ***************
96 *** 1,4 ****
97 ! // Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
98   //
99   // This file is part of the GNU ISO C++ Library.  This library is free
100   // software; you can redistribute it and/or modify it under the
101 --- 1,4 ----
102 ! // Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
103   //
104   // This file is part of the GNU ISO C++ Library.  This library is free
105   // software; you can redistribute it and/or modify it under the
106 ***************
107 *** 45,50 ****
108 --- 45,52 ----
109   
110   namespace __gnu_internal
111   {
112 + #pragma GCC visibility push(hidden)
113
114     using namespace std;
115   
116     typedef char fake_locale_Impl[sizeof(locale::_Impl)]
117 *************** namespace __gnu_internal
118 *** 207,210 ****
119 --- 209,214 ----
120     __attribute__ ((aligned(__alignof__(std::__timepunct_cache<wchar_t>))));
121     fake_time_cache_w timepunct_cache_w;
122   #endif
123
124 + #pragma GCC visibility pop
125   } // namespace __gnu_internal
126 *** gcc/libstdc++-v3/src/ios_init.cc    17 Aug 2005 02:14:22 -0000      1.8
127 --- gcc/libstdc++-v3/src/ios_init.cc    28 Oct 2005 00:44:54 -0000
128 ***************
129 *** 1,6 ****
130   // Iostreams base classes -*- C++ -*-
131   
132 ! // Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
133   // Free Software Foundation, Inc.
134   //
135   // This file is part of the GNU ISO C++ Library.  This library is free
136 --- 1,6 ----
137   // Iostreams base classes -*- C++ -*-
138   
139 ! // Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
140   // Free Software Foundation, Inc.
141   //
142   // This file is part of the GNU ISO C++ Library.  This library is free
143 ***************
144 *** 42,47 ****
145 --- 42,49 ----
146   
147   namespace __gnu_internal
148   {
149 + #pragma GCC visibility push(hidden)
150
151     using namespace __gnu_cxx;
152   
153     // Extern declarations for global objects in src/globals.cc.
154 *************** namespace __gnu_internal
155 *** 62,67 ****
156 --- 64,71 ----
157     extern stdio_filebuf<wchar_t> buf_wcin;
158     extern stdio_filebuf<wchar_t> buf_wcerr;
159   #endif
160
161 + #pragma GCC visibility pop
162   } // namespace __gnu_internal
163   
164   namespace std 
165 *** gcc/libstdc++-v3/src/locale.cc      11 Oct 2005 06:19:13 -0000      1.112
166 --- gcc/libstdc++-v3/src/locale.cc      28 Oct 2005 00:44:54 -0000
167 ***************
168 *** 1,4 ****
169 ! // Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
170   // Free Software Foundation, Inc.
171   //
172   // This file is part of the GNU ISO C++ Library.  This library is free
173 --- 1,4 ----
174 ! // Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
175   // Free Software Foundation, Inc.
176   //
177   // This file is part of the GNU ISO C++ Library.  This library is free
178 ***************
179 *** 37,44 ****
180 --- 37,48 ----
181   
182   namespace __gnu_internal
183   {
184 + #pragma GCC visibility push(hidden)
185
186     // Mutex object for cache access
187     static __glibcxx_mutex_define_initialized(locale_cache_mutex);
188
189 + #pragma GCC visibility pop
190   }
191   
192   namespace std 
193 *** gcc/libstdc++-v3/src/locale_init.cc 9 Sep 2005 10:14:34 -0000       1.17
194 --- gcc/libstdc++-v3/src/locale_init.cc 28 Oct 2005 00:44:54 -0000
195 ***************
196 *** 37,42 ****
197 --- 37,44 ----
198   
199   namespace __gnu_internal
200   {
201 + #pragma GCC visibility push(hidden)
202
203     // Defined in globals.cc.
204     extern std::locale          c_locale;
205     extern std::locale::_Impl   c_locale_impl;
206 *************** namespace __gnu_internal
207 *** 91,96 ****
208 --- 93,100 ----
209   
210     // Mutex object for locale initialization.
211     static __glibcxx_mutex_define_initialized(locale_mutex);
212
213 + #pragma GCC visibility pop
214   } // namespace __gnu_internal
215   
216   namespace std 
217 *** gcc/libstdc++-v3/src/mt_allocator.cc        12 Sep 2005 04:49:10 -0000      1.13
218 --- gcc/libstdc++-v3/src/mt_allocator.cc        28 Oct 2005 00:44:54 -0000
219 ***************
220 *** 37,42 ****
221 --- 37,44 ----
222   
223   namespace __gnu_internal
224   {
225 + #pragma GCC visibility push(hidden)
226
227   #ifdef __GTHREADS
228     struct __freelist
229     {
230 *************** namespace __gnu_internal
231 *** 74,79 ****
232 --- 76,83 ----
233       freelist._M_thread_freelist = __tr;
234     }
235   #endif
236
237 + #pragma GCC visibility pop
238   }
239   
240   namespace __gnu_cxx
241 *** gcc/libstdc++-v3/src/pool_allocator.cc      9 Sep 2005 10:14:34 -0000       1.6
242 --- gcc/libstdc++-v3/src/pool_allocator.cc      28 Oct 2005 00:44:54 -0000
243 ***************
244 *** 37,43 ****
245 --- 37,47 ----
246   
247   namespace __gnu_internal
248   {
249 + #pragma GCC visibility push(hidden)
250
251     static __glibcxx_mutex_define_initialized(palloc_init_mutex);
252
253 + #pragma GCC visibility pop
254   }
255   
256   namespace __gnu_cxx
This page took 0.043633 seconds and 3 git commands to generate.