]> git.pld-linux.org Git - packages/gcc.git/blob - gcc-push-pop-visibility.patch
- cleanups.
[packages/gcc.git] / gcc-push-pop-visibility.patch
1
2  c_std/std_cassert.h      |    3 +++
3  c_std/std_cctype.h       |    3 +++
4  c_std/std_cerrno.h       |    3 +++
5  c_std/std_cfloat.h       |    3 +++
6  c_std/std_climits.h      |    2 ++
7  c_std/std_clocale.h      |    3 +++
8  c_std/std_cmath.h        |    3 +++
9  c_std/std_csetjmp.h      |    3 +++
10  c_std/std_csignal.h      |    3 +++
11  c_std/std_cstdarg.h      |    3 +++
12  c_std/std_cstddef.h      |    3 +++
13  c_std/std_cstdio.h       |    3 +++
14  c_std/std_cstdlib.h      |    3 +++
15  c_std/std_cstring.h      |    3 +++
16  c_std/std_ctime.h        |    3 +++
17  c_std/std_cwchar.h       |    3 +++
18  c_std/std_cwctype.h      |    3 +++
19  debug/bitset             |    4 ++++
20  debug/deque              |    4 ++++
21  debug/hash_map           |    4 ++++
22  debug/hash_set           |    4 ++++
23  debug/list               |    4 ++++
24  debug/map                |    4 ++++
25  debug/set                |    4 ++++
26  debug/string             |    4 ++++
27  debug/vector             |    4 ++++
28  ext/algorithm            |    3 +++
29  ext/array_allocator.h    |    4 ++++
30  ext/bitmap_allocator.h   |    4 ++++
31  ext/debug_allocator.h    |    4 ++++
32  ext/functional           |    4 ++++
33  ext/hash_map             |    4 ++++
34  ext/hash_set             |    4 ++++
35  ext/iterator             |    3 +++
36  ext/malloc_allocator.h   |    4 ++++
37  ext/memory               |    3 +++
38  ext/mt_allocator.h       |    4 ++++
39  ext/new_allocator.h      |    4 ++++
40  ext/numeric              |    3 +++
41  ext/pod_char_traits.h    |    4 ++++
42  ext/pool_allocator.h     |    4 ++++
43  ext/rb_tree              |    3 +++
44  ext/rope                 |    4 ++++
45  ext/slist                |    5 +++++
46  ext/stdio_filebuf.h      |    3 +++
47  ext/stdio_sync_filebuf.h |    3 +++
48  std/std_algorithm.h      |    3 +++
49  std/std_bitset.h         |    3 +++
50  std/std_complex.h        |    3 +++
51  std/std_deque.h          |    3 +++
52  std/std_fstream.h        |    3 +++
53  std/std_functional.h     |    3 +++
54  std/std_iomanip.h        |    3 +++
55  std/std_ios.h            |    3 +++
56  std/std_iosfwd.h         |    3 +++
57  std/std_iostream.h       |    3 +++
58  std/std_istream.h        |    3 +++
59  std/std_iterator.h       |    3 +++
60  std/std_limits.h         |    3 +++
61  std/std_list.h           |    3 +++
62  std/std_locale.h         |    3 +++
63  std/std_map.h            |    3 +++
64  std/std_memory.h         |    3 +++
65  std/std_numeric.h        |    3 +++
66  std/std_ostream.h        |    3 +++
67  std/std_queue.h          |    3 +++
68  std/std_set.h            |    5 ++++-
69  std/std_sstream.h        |    3 +++
70  std/std_stack.h          |    3 +++
71  std/std_stdexcept.h      |    3 +++
72  std/std_streambuf.h      |    3 +++
73  std/std_string.h         |    3 +++
74  std/std_utility.h        |    3 +++
75  std/std_valarray.h       |    3 +++
76  std/std_vector.h         |    3 +++
77  tr1/array                |    4 ++++
78  tr1/functional           |    4 ++++
79  tr1/memory               |    4 ++++
80  tr1/tuple                |    4 ++++
81  tr1/type_traits          |    4 ++++
82  tr1/unordered_map        |    4 ++++
83  tr1/unordered_set        |    4 ++++
84  tr1/utility              |    6 +++++-
85  83 files changed, 281 insertions(+), 2 deletions(-)
86
87 diff -uNr libstdc++-v3.orig/include/c_std/std_cassert.h libstdc++-v3/include/c_std/std_cassert.h
88 --- libstdc++-v3.orig/include/c_std/std_cassert.h       2003-12-09 04:44:35.000000000 +0100
89 +++ libstdc++-v3/include/c_std/std_cassert.h    2005-05-17 11:23:06.000000000 +0200
90 @@ -44,5 +44,8 @@
91  // No include guards on this header...
92  
93  #pragma GCC system_header
94 +#pragma GCC visibility push(default)
95  
96  #include <assert.h>
97 +
98 +#pragma GCC visibility pop
99 diff -uNr libstdc++-v3.orig/include/c_std/std_cctype.h libstdc++-v3/include/c_std/std_cctype.h
100 --- libstdc++-v3.orig/include/c_std/std_cctype.h        2003-12-09 04:44:35.000000000 +0100
101 +++ libstdc++-v3/include/c_std/std_cctype.h     2005-05-17 11:23:06.000000000 +0200
102 @@ -44,6 +45,7 @@
103  #define _GLIBCXX_CCTYPE 1
104  
105  #pragma GCC system_header
106 +#pragma GCC visibility push(default)
107  
108  #include <bits/c++config.h>
109  #include <ctype.h>
110 @@ -80,4 +82,6 @@
111    using ::toupper;
112  }
113  
114 +#pragma GCC visibility pop
115 +
116  #endif
117 diff -uNr libstdc++-v3.orig/include/c_std/std_cerrno.h libstdc++-v3/include/c_std/std_cerrno.h
118 --- libstdc++-v3.orig/include/c_std/std_cerrno.h        2003-07-23 17:28:44.000000000 +0200
119 +++ libstdc++-v3/include/c_std/std_cerrno.h     2005-05-17 11:23:06.000000000 +0200
120 @@ -44,6 +45,7 @@
121  #define _GLIBCXX_CERRNO 1
122  
123  #pragma GCC system_header
124 +#pragma GCC visibility push(default)
125  
126  #include <errno.h>
127  
128 @@ -52,4 +54,6 @@
129  #define errno errno
130  #endif
131  
132 +#pragma GCC visibility pop
133 +
134  #endif
135 diff -uNr libstdc++-v3.orig/include/c_std/std_cfloat.h libstdc++-v3/include/c_std/std_cfloat.h
136 --- libstdc++-v3.orig/include/c_std/std_cfloat.h        2003-07-23 17:28:44.000000000 +0200
137 +++ libstdc++-v3/include/c_std/std_cfloat.h     2005-05-17 11:23:06.000000000 +0200
138 @@ -44,7 +45,10 @@
139  #define _GLIBCXX_CFLOAT 1
140  
141  #pragma GCC system_header
142 +#pragma GCC visibility push(default)
143  
144  #include <float.h>
145  
146 +#pragma GCC visibility pop
147 +
148  #endif
149 diff -uNr libstdc++-v3.orig/include/c_std/std_climits.h libstdc++-v3/include/c_std/std_climits.h
150 --- libstdc++-v3.orig/include/c_std/std_climits.h       2003-07-23 17:28:44.000000000 +0200
151 +++ libstdc++-v3/include/c_std/std_climits.h    2005-05-17 11:23:06.000000000 +0200
152 @@ -45,7 +45,9 @@
153  #define _GLIBCXX_CLIMITS 1
154  
155  #pragma GCC system_header
156 +#pragma GCC visibility push(default)
157  
158  #include <limits.h>
159  
160 +#pragma GCC visibility pop
161  #endif
162 diff -uNr libstdc++-v3.orig/include/c_std/std_clocale.h libstdc++-v3/include/c_std/std_clocale.h
163 --- libstdc++-v3.orig/include/c_std/std_clocale.h       2003-07-23 17:28:44.000000000 +0200
164 +++ libstdc++-v3/include/c_std/std_clocale.h    2005-05-17 11:23:06.000000000 +0200
165 @@ -45,6 +45,7 @@
166  #define _GLIBCXX_CLOCALE 1
167  
168  #pragma GCC system_header
169 +#pragma GCC visibility push(default)
170  
171  #include <locale.h>
172  
173 @@ -59,4 +60,6 @@
174    using ::localeconv;
175  }
176  
177 +#pragma GCC visibility pop
178 +
179  #endif
180 diff -uNr libstdc++-v3.orig/include/c_std/std_cmath.h libstdc++-v3/include/c_std/std_cmath.h
181 --- libstdc++-v3.orig/include/c_std/std_cmath.h 2005-02-13 11:25:02.000000000 +0100
182 +++ libstdc++-v3/include/c_std/std_cmath.h      2005-05-17 11:23:06.000000000 +0200
183 @@ -45,6 +45,7 @@
184  #define _GLIBCXX_CMATH 1
185  
186  #pragma GCC system_header
187 +#pragma GCC visibility push(default)
188  
189  #include <bits/c++config.h>
190  #include <bits/cpp_type_traits.h>
191 @@ -574,4 +575,6 @@
192  # include <bits/cmath.tcc>
193  #endif
194  
195 +#pragma GCC visibility pop
196 +
197  #endif
198 diff -uNr libstdc++-v3.orig/include/c_std/std_csetjmp.h libstdc++-v3/include/c_std/std_csetjmp.h
199 --- libstdc++-v3.orig/include/c_std/std_csetjmp.h       2003-07-23 17:28:44.000000000 +0200
200 +++ libstdc++-v3/include/c_std/std_csetjmp.h    2005-05-17 11:23:06.000000000 +0200
201 @@ -45,6 +45,7 @@
202  #define _GLIBCXX_CSETJMP 1
203  
204  #pragma GCC system_header
205 +#pragma GCC visibility push(default)
206  
207  #include <setjmp.h>
208  
209 @@ -62,4 +63,6 @@
210    using ::longjmp;
211  }
212  
213 +#pragma GCC visibility pop
214 +
215  #endif
216 diff -uNr libstdc++-v3.orig/include/c_std/std_csignal.h libstdc++-v3/include/c_std/std_csignal.h
217 --- libstdc++-v3.orig/include/c_std/std_csignal.h       2003-07-23 17:28:44.000000000 +0200
218 +++ libstdc++-v3/include/c_std/std_csignal.h    2005-05-17 11:23:06.000000000 +0200
219 @@ -45,6 +45,7 @@
220  #define _GLIBCXX_CSIGNAL 1
221  
222  #pragma GCC system_header
223 +#pragma GCC visibility push(default)
224  
225  #include <signal.h>
226  
227 @@ -58,4 +59,6 @@
228    using ::raise;
229  }
230  
231 +#pragma GCC visibility pop
232 +
233  #endif
234 diff -uNr libstdc++-v3.orig/include/c_std/std_cstdarg.h libstdc++-v3/include/c_std/std_cstdarg.h
235 --- libstdc++-v3.orig/include/c_std/std_cstdarg.h       2003-07-23 17:28:44.000000000 +0200
236 +++ libstdc++-v3/include/c_std/std_cstdarg.h    2005-05-17 11:23:06.000000000 +0200
237 @@ -44,6 +45,7 @@
238  #define _GLIBCXX_CSTDARG 1
239  
240  #pragma GCC system_header
241 +#pragma GCC visibility push(default)
242  
243  #include <stdarg.h>
244  
245 @@ -57,4 +59,6 @@
246    using ::va_list;
247  }
248  
249 +#pragma GCC visibility pop
250 +
251  #endif
252 diff -uNr libstdc++-v3.orig/include/c_std/std_cstddef.h libstdc++-v3/include/c_std/std_cstddef.h
253 --- libstdc++-v3.orig/include/c_std/std_cstddef.h       2003-12-09 04:44:35.000000000 +0100
254 +++ libstdc++-v3/include/c_std/std_cstddef.h    2005-05-17 11:23:06.000000000 +0200
255 @@ -44,6 +45,7 @@
256  #define _GLIBCXX_CSTDDEF 1
257  
258  #pragma GCC system_header
259 +#pragma GCC visibility push(default)
260  
261  #include <stddef.h>
262  
263 @@ -53,4 +55,6 @@
264    using ::size_t;
265  }
266  
267 +#pragma GCC visibility pop
268 +
269  #endif
270 diff -uNr libstdc++-v3.orig/include/c_std/std_cstdio.h libstdc++-v3/include/c_std/std_cstdio.h
271 --- libstdc++-v3.orig/include/c_std/std_cstdio.h        2003-12-09 04:44:35.000000000 +0100
272 +++ libstdc++-v3/include/c_std/std_cstdio.h     2005-05-17 11:23:06.000000000 +0200
273 @@ -45,6 +45,7 @@
274  #define _GLIBCXX_CSTDIO 1
275  
276  #pragma GCC system_header
277 +#pragma GCC visibility push(default)
278  
279  #include <bits/c++config.h>
280  #include <cstddef>
281 @@ -182,4 +183,6 @@
282  }
283  #endif
284  
285 +#pragma GCC visibility pop
286 +
287  #endif
288 diff -uNr libstdc++-v3.orig/include/c_std/std_cstdlib.h libstdc++-v3/include/c_std/std_cstdlib.h
289 --- libstdc++-v3.orig/include/c_std/std_cstdlib.h       2004-08-02 22:28:21.000000000 +0200
290 +++ libstdc++-v3/include/c_std/std_cstdlib.h    2005-05-17 11:23:06.000000000 +0200
291  #define _GLIBCXX_CSTDLIB 1
292  
293  #pragma GCC system_header
294 +#pragma GCC visibility push(default)
295  
296  #include <bits/c++config.h>
297  #include <cstddef>
298 @@ -217,4 +218,6 @@
299  }
300  #endif
301  
302 +#pragma GCC visibility pop
303 +
304  #endif
305 diff -uNr libstdc++-v3.orig/include/c_std/std_cstring.h libstdc++-v3/include/c_std/std_cstring.h
306 --- libstdc++-v3.orig/include/c_std/std_cstring.h       2003-12-09 04:44:35.000000000 +0100
307 +++ libstdc++-v3/include/c_std/std_cstring.h    2005-05-17 11:23:06.000000000 +0200
308 @@ -45,6 +45,7 @@
309  #define _GLIBCXX_CSTRING 1
310  
311  #pragma GCC system_header
312 +#pragma GCC visibility push(default)
313  
314  #include <cstddef>
315  
316 @@ -125,4 +126,6 @@
317    { return __builtin_strstr(const_cast<const char*>(__s1), __s2); }
318  }
319  
320 +#pragma GCC visibility pop
321 +
322  #endif
323 diff -uNr libstdc++-v3.orig/include/c_std/std_ctime.h libstdc++-v3/include/c_std/std_ctime.h
324 --- libstdc++-v3.orig/include/c_std/std_ctime.h 2003-07-23 17:28:44.000000000 +0200
325 +++ libstdc++-v3/include/c_std/std_ctime.h      2005-05-17 11:23:06.000000000 +0200
326 @@ -45,6 +45,7 @@
327  #define _GLIBCXX_CTIME 1
328  
329  #pragma GCC system_header
330 +#pragma GCC visibility push(default)
331  
332  #include <cstddef>
333  
334 @@ -78,4 +79,6 @@
335    using ::strftime;
336  }
337  
338 +#pragma GCC visibility pop
339 +
340  #endif
341 diff -uNr libstdc++-v3.orig/include/c_std/std_cwchar.h libstdc++-v3/include/c_std/std_cwchar.h
342 --- libstdc++-v3.orig/include/c_std/std_cwchar.h        2004-07-20 10:47:42.000000000 +0200
343 +++ libstdc++-v3/include/c_std/std_cwchar.h     2005-05-17 11:23:06.000000000 +0200
344 @@ -45,6 +45,7 @@
345  #define _GLIBCXX_CWCHAR 1
346  
347  #pragma GCC system_header
348 +#pragma GCC visibility push(default)
349  
350  #include <bits/c++config.h>
351  #include <cstddef>
352 @@ -270,4 +271,6 @@
353  
354  #endif //_GLIBCXX_USE_WCHAR_T
355  
356 +#pragma GCC visibility pop
357 +
358  #endif
359 diff -uNr libstdc++-v3.orig/include/c_std/std_cwctype.h libstdc++-v3/include/c_std/std_cwctype.h
360 --- libstdc++-v3.orig/include/c_std/std_cwctype.h       2003-12-09 04:44:35.000000000 +0100
361 +++ libstdc++-v3/include/c_std/std_cwctype.h    2005-05-17 11:23:06.000000000 +0200
362 @@ -45,6 +45,7 @@
363  #define _GLIBCXX_CWCTYPE 1
364  
365  #pragma GCC system_header
366 +#pragma GCC visibility push(default)
367  
368  #include <bits/c++config.h>
369  
370 @@ -107,4 +108,6 @@
371  }
372  #endif //_GLIBCXX_USE_WCHAR_T
373  
374 +#pragma GCC visibility pop
375 +
376  #endif
377 diff -uNr libstdc++-v3.orig/include/debug/bitset libstdc++-v3/include/debug/bitset
378 --- libstdc++-v3.orig/include/debug/bitset      2005-05-09 14:57:24.000000000 +0200
379 +++ libstdc++-v3/include/debug/bitset   2005-05-17 11:28:29.000000000 +0200
380 @@ -31,6 +31,8 @@
381  #ifndef _GLIBCXX_DEBUG_BITSET
382  #define _GLIBCXX_DEBUG_BITSET
383  
384 +#pragma GCC visibility push(default)
385 +
386  #include <bitset>
387  #include <debug/safe_sequence.h>
388  #include <debug/safe_iterator.h>
389 @@ -318,4 +320,6 @@
390      { return __os << __x._M_base(); }
391  } // namespace __gnu_debug_def
392  
393 +#pragma GCC visibility pop
394 +
395  #endif
396 diff -uNr libstdc++-v3.orig/include/debug/deque libstdc++-v3/include/debug/deque
397 --- libstdc++-v3.orig/include/debug/deque       2004-04-16 21:04:04.000000000 +0200
398 +++ libstdc++-v3/include/debug/deque    2005-05-17 11:23:06.000000000 +0200
399 @@ -31,6 +31,8 @@
400  #ifndef _GLIBCXX_DEBUG_DEQUE
401  #define _GLIBCXX_DEBUG_DEQUE 1
402  
403 +#pragma GCC visibility push(default)
404 +
405  #include <deque>
406  #include <debug/safe_sequence.h>
407  #include <debug/safe_iterator.h>
408 @@ -383,4 +385,6 @@
409      { __lhs.swap(__rhs); }
410  } // namespace __gnu_debug_def
411  
412 +#pragma GCC visibility pop
413 +
414  #endif
415 diff -uNr libstdc++-v3.orig/include/debug/hash_map libstdc++-v3/include/debug/hash_map
416 --- libstdc++-v3.orig/include/debug/hash_map    2003-11-11 21:09:09.000000000 +0100
417 +++ libstdc++-v3/include/debug/hash_map 2005-05-17 11:23:06.000000000 +0200
418  #ifndef _GLIBCXX_DEBUG_HASH_MAP
419  #define _GLIBCXX_DEBUG_HASH_MAP 1
420  
421 +#pragma GCC visibility push(default)
422 +
423  #include <hash_map>
424  #include <debug/dbg_hash_map.h>
425  #include <debug/dbg_hash_multimap.h>
426  
427 +#pragma GCC visibility pop
428 +
429  #endif
430 diff -uNr libstdc++-v3.orig/include/debug/hash_set libstdc++-v3/include/debug/hash_set
431 --- libstdc++-v3.orig/include/debug/hash_set    2003-12-09 05:26:28.000000000 +0100
432 +++ libstdc++-v3/include/debug/hash_set 2005-05-17 11:23:06.000000000 +0200
433 @@ -31,8 +31,12 @@
434  #ifndef _GLIBCXX_DEBUG_HASH_SET
435  #define _GLIBCXX_DEBUG_HASH_SET 1
436  
437 +#pragma GCC visibility push(default)
438 +
439  #include <ext/hash_set>
440  #include <debug/hash_set.h>
441  #include <debug/hash_multiset.h>
442  
443 +#pragma GCC visibility pop
444 +
445  #endif
446 diff -uNr libstdc++-v3.orig/include/debug/list libstdc++-v3/include/debug/list
447 --- libstdc++-v3.orig/include/debug/list        2004-04-16 21:04:04.000000000 +0200
448 +++ libstdc++-v3/include/debug/list     2005-05-17 11:23:06.000000000 +0200
449 @@ -31,6 +31,8 @@
450  #ifndef _GLIBCXX_DEBUG_LIST
451  #define _GLIBCXX_DEBUG_LIST 1
452  
453 +#pragma GCC visibility push(default)
454 +
455  #include <list>
456  #include <bits/stl_algo.h>
457  #include <debug/safe_sequence.h>
458 @@ -502,4 +504,6 @@
459      { __lhs.swap(__rhs); }
460  } // namespace __gnu_debug_def
461  
462 +#pragma GCC visibility pop
463 +
464  #endif
465 diff -uNr libstdc++-v3.orig/include/debug/map libstdc++-v3/include/debug/map
466 --- libstdc++-v3.orig/include/debug/map 2003-11-11 21:09:09.000000000 +0100
467 +++ libstdc++-v3/include/debug/map      2005-05-17 11:23:06.000000000 +0200
468 @@ -31,8 +31,12 @@
469  #ifndef _GLIBCXX_DEBUG_MAP
470  #define _GLIBCXX_DEBUG_MAP 1
471  
472 +#pragma GCC visibility push(default)
473 +
474  #include <map>
475  #include <debug/map.h>
476  #include <debug/multimap.h>
477  
478 +#pragma GCC visibility pop
479 +
480  #endif
481 diff -uNr libstdc++-v3.orig/include/debug/set libstdc++-v3/include/debug/set
482 --- libstdc++-v3.orig/include/debug/set 2003-11-11 21:09:09.000000000 +0100
483 +++ libstdc++-v3/include/debug/set      2005-05-17 11:23:06.000000000 +0200
484 @@ -31,8 +31,12 @@
485  #ifndef _GLIBCXX_DEBUG_SET
486  #define _GLIBCXX_DEBUG_SET 1
487  
488 +#pragma GCC visibility push(default)
489 +
490  #include <set>
491  #include <debug/set.h>
492  #include <debug/multiset.h>
493  
494 +#pragma GCC visibility pop
495 +
496  #endif
497 diff -uNr libstdc++-v3.orig/include/debug/string libstdc++-v3/include/debug/string
498 --- libstdc++-v3.orig/include/debug/string      2003-12-09 05:26:28.000000000 +0100
499 +++ libstdc++-v3/include/debug/string   2005-05-17 11:23:06.000000000 +0200
500 @@ -31,6 +31,8 @@
501  #ifndef _GLIBCXX_DEBUG_STRING
502  #define _GLIBCXX_DEBUG_STRING 1
503  
504 +#pragma GCC visibility push(default)
505 +
506  #include <string>
507  #include <debug/safe_sequence.h>
508  #include <debug/safe_iterator.h>
509 @@ -998,4 +1000,6 @@
510      }
511  } // namespace __gnu_debug
512  
513 +#pragma GCC visibility pop
514 +
515  #endif
516 diff -uNr libstdc++-v3.orig/include/debug/vector libstdc++-v3/include/debug/vector
517 --- libstdc++-v3.orig/include/debug/vector      2004-04-16 21:04:04.000000000 +0200
518 +++ libstdc++-v3/include/debug/vector   2005-05-17 11:23:06.000000000 +0200
519 @@ -31,6 +31,8 @@
520  #ifndef _GLIBCXX_DEBUG_VECTOR
521  #define _GLIBCXX_DEBUG_VECTOR 1
522  
523 +#pragma GCC visibility push(default)
524 +
525  #include <vector>
526  #include <debug/safe_sequence.h>
527  #include <debug/safe_iterator.h>
528 @@ -409,4 +411,6 @@
529      { __lhs.swap(__rhs); }
530  } // namespace __gnu_debug_def
531  
532 +#pragma GCC visibility pop
533 +
534  #endif
535 diff -uNr libstdc++-v3.orig/include/ext/algorithm libstdc++-v3/include/ext/algorithm
536 --- libstdc++-v3.orig/include/ext/algorithm     2004-11-24 05:11:11.000000000 +0100
537 +++ libstdc++-v3/include/ext/algorithm  2005-05-17 11:23:06.000000000 +0200
538 @@ -62,6 +62,7 @@
539  #define _EXT_ALGORITHM 1
540  
541  #pragma GCC system_header
542 +#pragma GCC visibility push(default)
543  
544  #include <algorithm>
545  
546 @@ -523,4 +524,6 @@
547      }
548  } // namespace __gnu_cxx
549  
550 +#pragma GCC visibility pop
551 +
552  #endif /* _EXT_ALGORITHM */
553 diff -uNr libstdc++-v3.orig/include/ext/array_allocator.h libstdc++-v3/include/ext/array_allocator.h
554 --- libstdc++-v3.orig/include/ext/array_allocator.h     2005-01-19 22:59:55.000000000 +0100
555 +++ libstdc++-v3/include/ext/array_allocator.h  2005-05-17 11:23:06.000000000 +0200
556 @@ -34,6 +34,8 @@
557  #ifndef _ARRAY_ALLOCATOR_H
558  #define _ARRAY_ALLOCATOR_H 1
559  
560 +#pragma GCC visibility push(default)
561 +
562  #include <cstddef>
563  #include <new>
564  #include <bits/functexcept.h>
565 @@ -142,4 +144,6 @@
566      { return false; }
567  } // namespace __gnu_cxx
568  
569 +#pragma GCC visibility pop
570 +
571  #endif
572 diff -uNr libstdc++-v3.orig/include/ext/bitmap_allocator.h libstdc++-v3/include/ext/bitmap_allocator.h
573 --- libstdc++-v3.orig/include/ext/bitmap_allocator.h    2005-04-15 06:06:50.000000000 +0200
574 +++ libstdc++-v3/include/ext/bitmap_allocator.h 2005-05-17 11:23:06.000000000 +0200
575 @@ -34,6 +34,8 @@
576  #ifndef _BITMAP_ALLOCATOR_H
577  #define _BITMAP_ALLOCATOR_H 1
578  
579 +#pragma GCC visibility push(default)
580 +
581  // For std::size_t, and ptrdiff_t.
582  #include <cstddef>
583  
584 @@ -1287,6 +1289,8 @@
585  
586  }
587  
588 +#pragma GCC visibility pop
589 +
590  #endif 
591  
592  //  LocalWords:  namespace GTHREADS bool const gthread endif Mutex mutex
593 diff -uNr libstdc++-v3.orig/include/ext/debug_allocator.h libstdc++-v3/include/ext/debug_allocator.h
594 --- libstdc++-v3.orig/include/ext/debug_allocator.h     2004-11-05 20:58:02.000000000 +0100
595 +++ libstdc++-v3/include/ext/debug_allocator.h  2005-05-17 11:23:06.000000000 +0200
596 @@ -48,6 +48,8 @@
597  #ifndef _DEBUG_ALLOCATOR_H
598  #define _DEBUG_ALLOCATOR_H 1
599  
600 +#pragma GCC visibility push(default)
601 +
602  #include <stdexcept>
603  
604  namespace __gnu_cxx
605 @@ -122,4 +124,6 @@
606      };
607  } // namespace __gnu_cxx
608  
609 +#pragma GCC visibility pop
610 +
611  #endif
612 diff -uNr libstdc++-v3.orig/include/ext/functional libstdc++-v3/include/ext/functional
613 --- libstdc++-v3.orig/include/ext/functional    2004-11-24 05:11:11.000000000 +0100
614 +++ libstdc++-v3/include/ext/functional 2005-05-17 11:23:06.000000000 +0200
615 @@ -62,6 +62,7 @@
616  #define _EXT_FUNCTIONAL 1
617  
618  #pragma GCC system_header
619 +#pragma GCC visibility push(default)
620  
621  #include <functional>
622  
623 @@ -421,5 +422,8 @@
624      mem_fun1_ref(_Ret (_Tp::*__f)(_Arg) const)
625      { return const_mem_fun1_ref_t<_Ret, _Tp, _Arg>(__f); }
626  } // namespace __gnu_cxx
627 +
628 +#pragma GCC visibility pop
629 +
630  #endif
631  
632 diff -uNr libstdc++-v3.orig/include/ext/hash_map libstdc++-v3/include/ext/hash_map
633 --- libstdc++-v3.orig/include/ext/hash_map      2004-11-24 05:11:11.000000000 +0100
634 +++ libstdc++-v3/include/ext/hash_map   2005-05-17 11:23:06.000000000 +0200
635 @@ -61,6 +61,8 @@
636  #ifndef _HASH_MAP
637  #define _HASH_MAP 1
638  
639 +#pragma GCC visibility push(default)
640 +
641  #include <ext/hashtable.h>
642  #include <bits/concept_check.h>
643  
644 @@ -622,4 +624,6 @@
645  # include <debug/hash_map>
646  #endif
647  
648 +#pragma GCC visibility push(default)
649 +
650  #endif
651 diff -uNr libstdc++-v3.orig/include/ext/hash_set libstdc++-v3/include/ext/hash_set
652 --- libstdc++-v3.orig/include/ext/hash_set      2004-11-24 05:11:11.000000000 +0100
653 +++ libstdc++-v3/include/ext/hash_set   2005-05-17 11:23:06.000000000 +0200
654 @@ -61,6 +61,8 @@
655  #ifndef _HASH_SET
656  #define _HASH_SET 1
657  
658 +#pragma GCC visibility push(default)
659 +
660  #include <ext/hashtable.h>
661  #include <bits/concept_check.h>
662  
663 @@ -588,4 +590,6 @@
664  # include <debug/hash_set>
665  #endif
666  
667 +#pragma GCC visibility pop
668 +
669  #endif
670 diff -uNr libstdc++-v3.orig/include/ext/iterator libstdc++-v3/include/ext/iterator
671 --- libstdc++-v3.orig/include/ext/iterator      2004-11-24 05:11:13.000000000 +0100
672 +++ libstdc++-v3/include/ext/iterator   2005-05-17 11:23:06.000000000 +0200
673 @@ -62,6 +62,7 @@
674  #define _EXT_ITERATOR 1
675  
676  #pragma GCC system_header
677 +#pragma GCC visibility push(default)
678  
679  #include <bits/concept_check.h>
680  #include <iterator>
681 @@ -113,5 +114,7 @@
682      }
683  } // namespace __gnu_cxx
684  
685 +#pragma GCC visibility pop
686 +
687  #endif
688  
689 diff -uNr libstdc++-v3.orig/include/ext/malloc_allocator.h libstdc++-v3/include/ext/malloc_allocator.h
690 --- libstdc++-v3.orig/include/ext/malloc_allocator.h    2004-12-05 01:25:18.000000000 +0100
691 +++ libstdc++-v3/include/ext/malloc_allocator.h 2005-05-17 11:23:06.000000000 +0200
692 @@ -34,6 +35,8 @@
693  #ifndef _MALLOC_ALLOCATOR_H
694  #define _MALLOC_ALLOCATOR_H 1
695  
696 +#pragma GCC visibility push(default)
697 +
698  #include <cstdlib>
699  #include <new>
700  #include <bits/functexcept.h>
701 @@ -122,4 +125,6 @@
702      { return false; }
703  } // namespace __gnu_cxx
704  
705 +#pragma GCC visibility pop
706 +
707  #endif
708 diff -uNr libstdc++-v3.orig/include/ext/memory libstdc++-v3/include/ext/memory
709 --- libstdc++-v3.orig/include/ext/memory        2004-11-24 05:11:13.000000000 +0100
710 +++ libstdc++-v3/include/ext/memory     2005-05-17 11:23:06.000000000 +0200
711 @@ -62,6 +62,7 @@
712  #define _EXT_MEMORY 1
713  
714  #pragma GCC system_header
715 +#pragma GCC visibility push(default)
716  
717  #include <memory>
718  #include <bits/stl_tempbuf.h>
719 @@ -194,5 +195,7 @@
720      };
721  } // namespace __gnu_cxx
722  
723 +#pragma GCC visibility pop
724 +
725  #endif
726  
727 diff -uNr libstdc++-v3.orig/include/ext/mt_allocator.h libstdc++-v3/include/ext/mt_allocator.h
728 --- libstdc++-v3.orig/include/ext/mt_allocator.h        2005-04-28 10:01:32.000000000 +0200
729 +++ libstdc++-v3/include/ext/mt_allocator.h     2005-05-17 11:23:06.000000000 +0200
730 @@ -34,6 +34,8 @@
731  #ifndef _MT_ALLOCATOR_H
732  #define _MT_ALLOCATOR_H 1
733  
734 +#pragma GCC visibility push(default)
735 +
736  #include <new>
737  #include <cstdlib>
738  #include <bits/functexcept.h>
739 @@ -760,4 +762,6 @@
740  #undef __thread_default
741  } // namespace __gnu_cxx
742  
743 +#pragma GCC visibility pop
744 +
745  #endif
746 diff -uNr libstdc++-v3.orig/include/ext/new_allocator.h libstdc++-v3/include/ext/new_allocator.h
747 --- libstdc++-v3.orig/include/ext/new_allocator.h       2004-11-24 05:11:13.000000000 +0100
748 +++ libstdc++-v3/include/ext/new_allocator.h    2005-05-17 11:23:06.000000000 +0200
749 @@ -34,6 +34,8 @@
750  #ifndef _NEW_ALLOCATOR_H
751  #define _NEW_ALLOCATOR_H 1
752  
753 +#pragma GCC visibility push(default)
754 +
755  #include <new>
756  #include <bits/functexcept.h>
757  
758 @@ -118,4 +120,6 @@
759      { return false; }
760  } // namespace __gnu_cxx
761  
762 +#pragma GCC visibility pop
763 +
764  #endif
765 diff -uNr libstdc++-v3.orig/include/ext/numeric libstdc++-v3/include/ext/numeric
766 --- libstdc++-v3.orig/include/ext/numeric       2004-11-24 05:11:13.000000000 +0100
767 +++ libstdc++-v3/include/ext/numeric    2005-05-17 11:23:06.000000000 +0200
768 @@ -62,6 +62,7 @@
769  #define _EXT_NUMERIC 1
770  
771  #pragma GCC system_header
772 +#pragma GCC visibility push(default)
773  
774  #include <bits/concept_check.h>
775  #include <numeric>
776 @@ -146,5 +147,7 @@
777      }
778  } // namespace __gnu_cxx
779  
780 +#pragma GCC visibility pop
781 +
782  #endif
783  
784 diff -uNr libstdc++-v3.orig/include/ext/pod_char_traits.h libstdc++-v3/include/ext/pod_char_traits.h
785 --- libstdc++-v3.orig/include/ext/pod_char_traits.h     2005-05-09 20:39:03.000000000 +0200
786 +++ libstdc++-v3/include/ext/pod_char_traits.h  2005-05-17 11:28:29.000000000 +0200
787 @@ -37,6 +37,8 @@
788  #ifndef _POD_CHAR_TRAITS_H
789  #define _POD_CHAR_TRAITS_H 1
790  
791 +#pragma GCC visibility push(default)
792 +
793  #include <string>
794  
795  namespace __gnu_cxx
796 @@ -182,4 +184,6 @@
797      };
798  }
799  
800 +#pragma GCC visibility pop
801 +
802  #endif
803 diff -uNr libstdc++-v3.orig/include/ext/pool_allocator.h libstdc++-v3/include/ext/pool_allocator.h
804 --- libstdc++-v3.orig/include/ext/pool_allocator.h      2005-04-28 10:01:33.000000000 +0200
805 +++ libstdc++-v3/include/ext/pool_allocator.h   2005-05-17 11:23:06.000000000 +0200
806 @@ -47,6 +47,8 @@
807  #ifndef _POOL_ALLOCATOR_H
808  #define _POOL_ALLOCATOR_H 1
809  
810 +#pragma GCC visibility push(default)
811 +
812  #include <bits/c++config.h>
813  #include <cstdlib>
814  #include <new>
815 @@ -252,4 +254,6 @@
816      }
817  } // namespace __gnu_cxx
818  
819 +#pragma GCC visibility pop
820 +
821  #endif
822 diff -uNr libstdc++-v3.orig/include/ext/rb_tree libstdc++-v3/include/ext/rb_tree
823 --- libstdc++-v3.orig/include/ext/rb_tree       2004-11-24 05:11:13.000000000 +0100
824 +++ libstdc++-v3/include/ext/rb_tree    2005-05-17 11:23:06.000000000 +0200
825 @@ -62,6 +62,7 @@
826  #define _RB_TREE 1
827  
828  #pragma GCC system_header
829 +#pragma GCC visibility push(default)
830  
831  #include <bits/stl_tree.h>
832  
833 @@ -94,4 +95,6 @@
834      };
835  } // namespace __gnu_cxx
836  
837 +#pragma GCC visibility pop
838 +
839  #endif
840 diff -uNr libstdc++-v3.orig/include/ext/rope libstdc++-v3/include/ext/rope
841 --- libstdc++-v3.orig/include/ext/rope  2005-04-28 10:01:33.000000000 +0200
842 +++ libstdc++-v3/include/ext/rope       2005-05-17 11:23:06.000000000 +0200
843 @@ -48,6 +48,8 @@
844  #ifndef _ROPE
845  #define _ROPE 1
846  
847 +#pragma GCC visibility push(default)
848 +
849  #include <bits/stl_algobase.h>
850  #include <bits/stl_construct.h>
851  #include <bits/stl_uninitialized.h>
852 @@ -2898,4 +2900,6 @@
853  
854  # include <ext/ropeimpl.h>
855  
856 +#pragma GCC visibility pop
857 +
858  #endif
859 diff -uNr libstdc++-v3.orig/include/ext/slist libstdc++-v3/include/ext/slist
860 --- libstdc++-v3.orig/include/ext/slist 2005-01-31 17:21:50.000000000 +0100
861 +++ libstdc++-v3/include/ext/slist      2005-05-17 11:23:06.000000000 +0200
862 @@ -49,6 +49,8 @@
863  #ifndef _SLIST
864  #define _SLIST 1
865  
866 +#pragma GCC visibility push(default)
867 +
868  #include <bits/stl_algobase.h>
869  #include <bits/allocator.h>
870  #include <bits/stl_construct.h>
871 @@ -1069,4 +1071,7 @@
872  };
873  
874  } // namespace std
875 +
876 +#pragma GCC visibility pop
877 +
878  #endif
879 diff -uNr libstdc++-v3.orig/include/ext/stdio_filebuf.h libstdc++-v3/include/ext/stdio_filebuf.h
880 --- libstdc++-v3.orig/include/ext/stdio_filebuf.h       2004-11-23 10:18:39.000000000 +0100
881 +++ libstdc++-v3/include/ext/stdio_filebuf.h    2005-05-17 11:23:06.000000000 +0200
882 @@ -35,6 +35,7 @@
883  #define _STDIO_FILEBUF_H 1
884  
885  #pragma GCC system_header
886 +#pragma GCC visibility push(default)
887  
888  #include <fstream>
889  
890 @@ -158,4 +159,6 @@
891      }
892  } // namespace __gnu_cxx
893  
894 +#pragma GCC visibility pop
895 +
896  #endif
897 diff -uNr libstdc++-v3.orig/include/ext/stdio_sync_filebuf.h libstdc++-v3/include/ext/stdio_sync_filebuf.h
898 --- libstdc++-v3.orig/include/ext/stdio_sync_filebuf.h  2004-11-23 10:18:39.000000000 +0100
899 +++ libstdc++-v3/include/ext/stdio_sync_filebuf.h       2005-05-17 11:23:06.000000000 +0200
900 @@ -35,6 +35,7 @@
901  #define _STDIO_SYNC_FILEBUF_H 1
902  
903  #pragma GCC system_header
904 +#pragma GCC visibility push(default)
905  
906  #include <streambuf>
907  #include <unistd.h>
908 @@ -279,4 +280,6 @@
909  #endif
910  } // namespace __gnu_cxx
911  
912 +#pragma GCC visibility pop
913 +
914  #endif
915 diff -uNr libstdc++-v3.orig/include/std/std_algorithm.h libstdc++-v3/include/std/std_algorithm.h
916 --- libstdc++-v3.orig/include/std/std_algorithm.h       2004-11-24 05:11:14.000000000 +0100
917 +++ libstdc++-v3/include/std/std_algorithm.h    2005-05-17 11:23:06.000000000 +0200
918 @@ -61,10 +61,13 @@
919  #define _GLIBCXX_ALGORITHM 1
920  
921  #pragma GCC system_header
922 +#pragma GCC visibility push(default)
923  
924  #include <bits/stl_algobase.h>
925  #include <bits/stl_construct.h>
926  #include <bits/stl_uninitialized.h>
927  #include <bits/stl_algo.h>
928  
929 +#pragma GCC visibility pop
930 +
931  #endif /* _GLIBCXX_ALGORITHM */
932 diff -uNr libstdc++-v3.orig/include/std/std_bitset.h libstdc++-v3/include/std/std_bitset.h
933 --- libstdc++-v3.orig/include/std/std_bitset.h  2005-05-10 04:15:36.000000000 +0200
934 +++ libstdc++-v3/include/std/std_bitset.h       2005-05-17 11:28:29.000000000 +0200
935 @@ -48,6 +48,7 @@
936  #define _GLIBCXX_BITSET 1
937  
938  #pragma GCC system_header
939 +#pragma GCC visibility push(default)
940  
941  #include <cstddef>     // For size_t
942  #include <cstring>     // For memset
943 @@ -1300,4 +1301,6 @@
944  # include <debug/bitset>
945  #endif
946  
947 +#pragma GCC visibility pop
948 +
949  #endif /* _GLIBCXX_BITSET */
950 diff -uNr libstdc++-v3.orig/include/std/std_complex.h libstdc++-v3/include/std/std_complex.h
951 --- libstdc++-v3.orig/include/std/std_complex.h 2005-03-21 13:57:36.000000000 +0100
952 +++ libstdc++-v3/include/std/std_complex.h      2005-05-17 11:23:06.000000000 +0200
953 @@ -43,6 +43,7 @@
954  #define _GLIBCXX_COMPLEX 1
955  
956  #pragma GCC system_header
957 +#pragma GCC visibility push(default)
958  
959  #include <bits/c++config.h>
960  #include <bits/cpp_type_traits.h>
961 @@ -1483,4 +1484,6 @@
962    : _M_value(__z.__rep()) { }
963  } // namespace std
964  
965 +#pragma GCC visibility pop
966 +
967  #endif /* _GLIBCXX_COMPLEX */
968 diff -uNr libstdc++-v3.orig/include/std/std_deque.h libstdc++-v3/include/std/std_deque.h
969 --- libstdc++-v3.orig/include/std/std_deque.h   2004-11-24 05:11:15.000000000 +0100
970 +++ libstdc++-v3/include/std/std_deque.h        2005-05-17 11:23:06.000000000 +0200
971 @@ -61,6 +61,7 @@
972  #define _GLIBCXX_DEQUE 1
973  
974  #pragma GCC system_header
975 +#pragma GCC visibility push(default)
976  
977  #include <bits/functexcept.h>
978  #include <bits/stl_algobase.h>
979 @@ -77,4 +78,6 @@
980  # include <debug/deque>
981  #endif
982  
983 +#pragma GCC visibility pop
984 +
985  #endif /* _GLIBCXX_DEQUE */
986 diff -uNr libstdc++-v3.orig/include/std/std_fstream.h libstdc++-v3/include/std/std_fstream.h
987 --- libstdc++-v3.orig/include/std/std_fstream.h 2005-03-08 19:24:17.000000000 +0100
988 +++ libstdc++-v3/include/std/std_fstream.h      2005-05-17 11:23:06.000000000 +0200
989 @@ -40,6 +40,7 @@
990  #define _GLIBCXX_FSTREAM 1
991  
992  #pragma GCC system_header
993 +#pragma GCC visibility push(default)
994  
995  #include <istream>
996  #include <ostream>
997 @@ -782,4 +783,6 @@
998  # include <bits/fstream.tcc>
999  #endif
1000  
1001 +#pragma GCC visibility pop
1002 +
1003  #endif /* _GLIBCXX_FSTREAM */
1004 diff -uNr libstdc++-v3.orig/include/std/std_functional.h libstdc++-v3/include/std/std_functional.h
1005 --- libstdc++-v3.orig/include/std/std_functional.h      2004-11-24 05:11:15.000000000 +0100
1006 +++ libstdc++-v3/include/std/std_functional.h   2005-05-17 11:23:06.000000000 +0200
1007 @@ -49,9 +49,12 @@
1008  #define _GLIBCXX_FUNCTIONAL 1
1009  
1010  #pragma GCC system_header
1011 +#pragma GCC visibility push(default)
1012  
1013  #include <bits/c++config.h>
1014  #include <cstddef>
1015  #include <bits/stl_function.h>
1016  
1017 +#pragma GCC visibility pop
1018 +
1019  #endif /* _GLIBCXX_FUNCTIONAL */
1020 diff -uNr libstdc++-v3.orig/include/std/std_iomanip.h libstdc++-v3/include/std/std_iomanip.h
1021 --- libstdc++-v3.orig/include/std/std_iomanip.h 2004-11-24 05:11:15.000000000 +0100
1022 +++ libstdc++-v3/include/std/std_iomanip.h      2005-05-17 11:23:06.000000000 +0200
1023 @@ -40,6 +40,7 @@
1024  #define _GLIBCXX_IOMANIP 1
1025  
1026  #pragma GCC system_header
1027 +#pragma GCC visibility push(default)
1028  
1029  #include <bits/c++config.h>
1030  #include <istream>
1031 @@ -296,4 +297,6 @@
1032  #endif
1033  } // namespace std
1034  
1035 +#pragma GCC visibility pop
1036 +
1037  #endif /* _GLIBCXX_IOMANIP */
1038 diff -uNr libstdc++-v3.orig/include/std/std_iosfwd.h libstdc++-v3/include/std/std_iosfwd.h
1039 --- libstdc++-v3.orig/include/std/std_iosfwd.h  2004-11-24 05:11:15.000000000 +0100
1040 +++ libstdc++-v3/include/std/std_iosfwd.h       2005-05-17 11:23:06.000000000 +0200
1041 @@ -40,6 +40,7 @@
1042  #define _GLIBCXX_IOSFWD 1
1043  
1044  #pragma GCC system_header
1045 +#pragma GCC visibility push(default)
1046  
1047  #include <bits/c++config.h>
1048  #include <bits/c++locale.h> 
1049 @@ -164,4 +165,6 @@
1050    /** @}  */
1051  } // namespace std
1052  
1053 +#pragma GCC visibility pop
1054 +
1055  #endif /* _GLIBCXX_IOSFWD */
1056 diff -uNr libstdc++-v3.orig/include/std/std_ios.h libstdc++-v3/include/std/std_ios.h
1057 --- libstdc++-v3.orig/include/std/std_ios.h     2004-11-24 05:11:15.000000000 +0100
1058 +++ libstdc++-v3/include/std/std_ios.h  2005-05-17 11:23:06.000000000 +0200
1059 @@ -39,6 +40,7 @@
1060  #define _GLIBCXX_IOS 1
1061  
1062  #pragma GCC system_header
1063 +#pragma GCC visibility push(default)
1064  
1065  #include <iosfwd>
1066  #include <exception>           // For ios_base::failure
1067 @@ -49,4 +51,6 @@
1068  #include <streambuf> 
1069  #include <bits/basic_ios.h>
1070  
1071 +#pragma GCC visibility pop
1072 +
1073  #endif /* _GLIBCXX_IOS */
1074 diff -uNr libstdc++-v3.orig/include/std/std_iostream.h libstdc++-v3/include/std/std_iostream.h
1075 --- libstdc++-v3.orig/include/std/std_iostream.h        2004-11-24 05:11:15.000000000 +0100
1076 +++ libstdc++-v3/include/std/std_iostream.h     2005-05-17 11:23:06.000000000 +0200
1077 @@ -39,6 +40,7 @@
1078  #define _GLIBCXX_IOSTREAM 1
1079  
1080  #pragma GCC system_header
1081 +#pragma GCC visibility push(default)
1082  
1083  #include <bits/c++config.h>
1084  #include <ostream>
1085 @@ -76,4 +78,6 @@
1086    static ios_base::Init __ioinit;
1087  } // namespace std
1088  
1089 +#pragma GCC visibility pop
1090 +
1091  #endif /* _GLIBCXX_IOSTREAM */
1092 diff -uNr libstdc++-v3.orig/include/std/std_istream.h libstdc++-v3/include/std/std_istream.h
1093 --- libstdc++-v3.orig/include/std/std_istream.h 2004-11-24 05:11:15.000000000 +0100
1094 +++ libstdc++-v3/include/std/std_istream.h      2005-05-17 11:23:06.000000000 +0200
1095 @@ -40,6 +40,7 @@
1096  #define _GLIBCXX_ISTREAM 1
1097  
1098  #pragma GCC system_header
1099 +#pragma GCC visibility push(default)
1100  
1101  #include <ios>
1102  #include <limits> // For numeric_limits
1103 @@ -814,4 +815,6 @@
1104  # include <bits/istream.tcc>
1105  #endif
1106  
1107 +#pragma GCC visibility pop
1108 +
1109  #endif /* _GLIBCXX_ISTREAM */
1110 diff -uNr libstdc++-v3.orig/include/std/std_iterator.h libstdc++-v3/include/std/std_iterator.h
1111 --- libstdc++-v3.orig/include/std/std_iterator.h        2004-11-24 05:11:15.000000000 +0100
1112 +++ libstdc++-v3/include/std/std_iterator.h     2005-05-17 11:23:06.000000000 +0200
1113 @@ -61,6 +61,7 @@
1114  #define _GLIBCXX_ITERATOR 1
1115  
1116  #pragma GCC system_header
1117 +#pragma GCC visibility push(default)
1118  
1119  #include <bits/c++config.h>
1120  #include <cstddef>
1121 @@ -72,4 +73,6 @@
1122  #include <bits/stream_iterator.h>
1123  #include <bits/streambuf_iterator.h>
1124  
1125 +#pragma GCC visibility pop
1126 +
1127  #endif /* _GLIBCXX_ITERATOR */
1128 diff -uNr libstdc++-v3.orig/include/std/std_limits.h libstdc++-v3/include/std/std_limits.h
1129 --- libstdc++-v3.orig/include/std/std_limits.h  2005-02-01 02:00:39.000000000 +0100
1130 +++ libstdc++-v3/include/std/std_limits.h       2005-05-17 11:23:06.000000000 +0200
1131 @@ -43,6 +44,7 @@
1132  #define _GLIBCXX_NUMERIC_LIMITS 1
1133  
1134  #pragma GCC system_header
1135 +#pragma GCC visibility push(default)
1136  
1137  #include <bits/c++config.h>
1138  
1139 @@ -1156,4 +1158,6 @@
1140  #undef __glibcxx_digits
1141  #undef __glibcxx_digits10
1142  
1143 +#pragma GCC visibility pop
1144 +
1145  #endif // _GLIBCXX_NUMERIC_LIMITS
1146 diff -uNr libstdc++-v3.orig/include/std/std_list.h libstdc++-v3/include/std/std_list.h
1147 --- libstdc++-v3.orig/include/std/std_list.h    2004-11-24 05:11:16.000000000 +0100
1148 +++ libstdc++-v3/include/std/std_list.h 2005-05-17 11:23:06.000000000 +0200
1149 @@ -61,6 +61,7 @@
1150  #define _GLIBCXX_LIST 1
1151  
1152  #pragma GCC system_header
1153 +#pragma GCC visibility push(default)
1154  
1155  #include <bits/functexcept.h>
1156  #include <bits/stl_algobase.h>
1157 @@ -77,5 +78,7 @@
1158  # include <debug/list>
1159  #endif
1160  
1161 +#pragma GCC visibility pop
1162 +
1163  #endif /* _GLIBCXX_LIST */
1164  
1165 diff -uNr libstdc++-v3.orig/include/std/std_locale.h libstdc++-v3/include/std/std_locale.h
1166 --- libstdc++-v3.orig/include/std/std_locale.h  2004-11-24 05:11:16.000000000 +0100
1167 +++ libstdc++-v3/include/std/std_locale.h       2005-05-17 11:23:06.000000000 +0200
1168 @@ -39,10 +40,13 @@
1169  #define _GLIBCXX_LOCALE        1
1170  
1171  #pragma GCC system_header
1172 +#pragma GCC visibility push(default)
1173  
1174  #include <bits/localefwd.h>
1175  #include <bits/locale_classes.h>
1176  #include <bits/locale_facets.h>
1177  #include <bits/locale_facets.tcc>
1178  
1179 +#pragma GCC visibility pop
1180 +
1181  #endif /* _GLIBCXX_LOCALE */
1182 diff -uNr libstdc++-v3.orig/include/std/std_map.h libstdc++-v3/include/std/std_map.h
1183 --- libstdc++-v3.orig/include/std/std_map.h     2004-11-24 05:11:16.000000000 +0100
1184 +++ libstdc++-v3/include/std/std_map.h  2005-05-17 11:23:06.000000000 +0200
1185 @@ -61,6 +61,7 @@
1186  #define _GLIBCXX_MAP 1
1187  
1188  #pragma GCC system_header
1189 +#pragma GCC visibility push(default)
1190  
1191  #include <bits/stl_tree.h>
1192  #include <bits/stl_map.h>
1193 @@ -70,4 +71,6 @@
1194  # include <debug/map>
1195  #endif
1196  
1197 +#pragma GCC visibility pop
1198 +
1199  #endif /* _GLIBCXX_MAP */
1200 diff -uNr libstdc++-v3.orig/include/std/std_memory.h libstdc++-v3/include/std/std_memory.h
1201 --- libstdc++-v3.orig/include/std/std_memory.h  2004-11-24 05:11:16.000000000 +0100
1202 +++ libstdc++-v3/include/std/std_memory.h       2005-05-17 11:23:06.000000000 +0200
1203 @@ -49,6 +49,7 @@
1204  #define _GLIBCXX_MEMORY 1
1205  
1206  #pragma GCC system_header
1207 +#pragma GCC visibility push(default)
1208  
1209  #include <bits/stl_algobase.h>
1210  #include <bits/allocator.h>
1211 @@ -370,4 +371,6 @@
1212    };
1213  } // namespace std
1214  
1215 +#pragma GCC visibility pop
1216 +
1217  #endif /* _GLIBCXX_MEMORY */
1218 diff -uNr libstdc++-v3.orig/include/std/std_numeric.h libstdc++-v3/include/std/std_numeric.h
1219 --- libstdc++-v3.orig/include/std/std_numeric.h 2004-11-24 05:11:21.000000000 +0100
1220 +++ libstdc++-v3/include/std/std_numeric.h      2005-05-17 11:23:06.000000000 +0200
1221 @@ -61,6 +61,7 @@
1222  #define _GLIBCXX_NUMERIC 1
1223  
1224  #pragma GCC system_header
1225 +#pragma GCC visibility push(default)
1226  
1227  #include <bits/c++config.h>
1228  #include <cstddef>
1229 @@ -68,4 +69,6 @@
1230  #include <bits/stl_function.h>
1231  #include <bits/stl_numeric.h>
1232  
1233 +#pragma GCC visibility pop
1234 +
1235  #endif /* _GLIBCXX_NUMERIC */
1236 diff -uNr libstdc++-v3.orig/include/std/std_ostream.h libstdc++-v3/include/std/std_ostream.h
1237 --- libstdc++-v3.orig/include/std/std_ostream.h 2004-11-24 05:11:21.000000000 +0100
1238 +++ libstdc++-v3/include/std/std_ostream.h      2005-05-17 11:23:06.000000000 +0200
1239 @@ -40,6 +40,7 @@
1240  #define _GLIBCXX_OSTREAM 1
1241  
1242  #pragma GCC system_header
1243 +#pragma GCC visibility push(default)
1244  
1245  #include <ios>
1246  
1247 @@ -544,4 +545,6 @@
1248  # include <bits/ostream.tcc>
1249  #endif
1250  
1251 +#pragma GCC visibility pop
1252 +
1253  #endif /* _GLIBCXX_OSTREAM */
1254 diff -uNr libstdc++-v3.orig/include/std/std_queue.h libstdc++-v3/include/std/std_queue.h
1255 --- libstdc++-v3.orig/include/std/std_queue.h   2004-11-24 05:11:21.000000000 +0100
1256 +++ libstdc++-v3/include/std/std_queue.h        2005-05-17 11:23:06.000000000 +0200
1257 @@ -61,6 +61,7 @@
1258  #define _GLIBCXX_QUEUE 1
1259  
1260  #pragma GCC system_header
1261 +#pragma GCC visibility push(default)
1262  
1263  #include <bits/c++config.h>
1264  #include <bits/functexcept.h>
1265 @@ -74,4 +75,6 @@
1266  #include <vector>
1267  #include <bits/stl_queue.h>
1268  
1269 +#pragma GCC visibility pop
1270 +
1271  #endif /* _GLIBCXX_QUEUE */
1272 diff -uNr libstdc++-v3.orig/include/std/std_set.h libstdc++-v3/include/std/std_set.h
1273 --- libstdc++-v3.orig/include/std/std_set.h     2004-11-24 05:11:21.000000000 +0100
1274 +++ libstdc++-v3/include/std/std_set.h  2005-05-17 11:23:06.000000000 +0200
1275 @@ -61,7 +61,8 @@
1276  #define _GLIBCXX_SET 1
1277  
1278  #pragma GCC system_header
1279 -
1280 +#pragma GCC visibility push(default)
1281
1282  #include <bits/stl_tree.h>
1283  #include <bits/stl_set.h>
1284  #include <bits/stl_multiset.h>
1285 @@ -70,4 +71,6 @@
1286  # include <debug/set>
1287  #endif
1288  
1289 +#pragma GCC visibility pop
1290 +
1291  #endif /* _GLIBCXX_SET */
1292 diff -uNr libstdc++-v3.orig/include/std/std_sstream.h libstdc++-v3/include/std/std_sstream.h
1293 --- libstdc++-v3.orig/include/std/std_sstream.h 2004-11-24 05:11:21.000000000 +0100
1294 +++ libstdc++-v3/include/std/std_sstream.h      2005-05-17 11:23:06.000000000 +0200
1295 @@ -40,6 +40,7 @@
1296  #define _GLIBCXX_SSTREAM 1
1297  
1298  #pragma GCC system_header
1299 +#pragma GCC visibility push(default)
1300  
1301  #include <istream>
1302  #include <ostream>
1303 @@ -602,4 +603,6 @@
1304  # include <bits/sstream.tcc>
1305  #endif
1306  
1307 +#pragma GCC visibility pop
1308 +
1309  #endif /* _GLIBCXX_SSTREAM */
1310 diff -uNr libstdc++-v3.orig/include/std/std_stack.h libstdc++-v3/include/std/std_stack.h
1311 --- libstdc++-v3.orig/include/std/std_stack.h   2004-11-24 05:11:21.000000000 +0100
1312 +++ libstdc++-v3/include/std/std_stack.h        2005-05-17 11:23:06.000000000 +0200
1313 @@ -61,6 +61,7 @@
1314  #define _GLIBCXX_STACK 1
1315  
1316  #pragma GCC system_header
1317 +#pragma GCC visibility push(default)
1318  
1319  #include <bits/stl_algobase.h>
1320  #include <bits/allocator.h>
1321 @@ -69,4 +70,6 @@
1322  #include <deque>
1323  #include <bits/stl_stack.h>
1324  
1325 +#pragma GCC visibility pop
1326 +
1327  #endif /* _GLIBCXX_STACK */
1328 diff -uNr libstdc++-v3.orig/include/std/std_stdexcept.h libstdc++-v3/include/std/std_stdexcept.h
1329 --- libstdc++-v3.orig/include/std/std_stdexcept.h       2004-11-24 05:11:21.000000000 +0100
1330 +++ libstdc++-v3/include/std/std_stdexcept.h    2005-05-17 11:23:06.000000000 +0200
1331 @@ -39,6 +39,7 @@
1332  #define _GLIBCXX_STDEXCEPT 1
1333  
1334  #pragma GCC system_header
1335 +#pragma GCC visibility push(default)
1336  
1337  #include <exception>
1338  #include <string>
1339 @@ -144,4 +145,6 @@
1340    };
1341  } // namespace std
1342  
1343 +#pragma GCC visibility pop
1344 +
1345  #endif /* _GLIBCXX_STDEXCEPT */
1346 diff -uNr libstdc++-v3.orig/include/std/std_streambuf.h libstdc++-v3/include/std/std_streambuf.h
1347 --- libstdc++-v3.orig/include/std/std_streambuf.h       2004-11-24 05:11:21.000000000 +0100
1348 +++ libstdc++-v3/include/std/std_streambuf.h    2005-05-17 11:23:06.000000000 +0200
1349 @@ -40,6 +40,7 @@
1350  #define _GLIBXX_STREAMBUF 1
1351  
1352  #pragma GCC system_header
1353 +#pragma GCC visibility push(default)
1354  
1355  #include <bits/c++config.h>
1356  #include <iosfwd>
1357 @@ -797,4 +798,6 @@
1358  # include <bits/streambuf.tcc>
1359  #endif
1360  
1361 +#pragma GCC visibility pop
1362 +
1363  #endif /* _GLIBCXX_STREAMBUF */
1364 diff -uNr libstdc++-v3.orig/include/std/std_string.h libstdc++-v3/include/std/std_string.h
1365 --- libstdc++-v3.orig/include/std/std_string.h  2005-01-31 17:21:52.000000000 +0100
1366 +++ libstdc++-v3/include/std/std_string.h       2005-05-17 11:23:06.000000000 +0200
1367 @@ -40,6 +40,7 @@
1368  #define _GLIBCXX_STRING        1
1369  
1370  #pragma GCC system_header
1371 +#pragma GCC visibility push(default)
1372  
1373  #include <bits/c++config.h>
1374  #include <bits/stringfwd.h>
1375 @@ -56,4 +57,6 @@
1376  # include <bits/basic_string.tcc> 
1377  #endif
1378  
1379 +#pragma GCC visibility pop
1380 +
1381  #endif /* _GLIBCXX_STRING */
1382 diff -uNr libstdc++-v3.orig/include/std/std_utility.h libstdc++-v3/include/std/std_utility.h
1383 --- libstdc++-v3.orig/include/std/std_utility.h 2004-11-24 05:11:21.000000000 +0100
1384 +++ libstdc++-v3/include/std/std_utility.h      2005-05-17 11:23:06.000000000 +0200
1385 @@ -61,9 +61,12 @@
1386  #define _GLIBCXX_UTILITY 1
1387  
1388  #pragma GCC system_header
1389 +#pragma GCC visibility push(default)
1390  
1391  #include <bits/c++config.h>
1392  #include <bits/stl_relops.h>
1393  #include <bits/stl_pair.h>
1394  
1395 +#pragma GCC visibility pop
1396 +
1397  #endif /* _GLIBCXX_UTILITY */
1398 diff -uNr libstdc++-v3.orig/include/std/std_valarray.h libstdc++-v3/include/std/std_valarray.h
1399 --- libstdc++-v3.orig/include/std/std_valarray.h        2004-11-24 05:11:21.000000000 +0100
1400 +++ libstdc++-v3/include/std/std_valarray.h     2005-05-17 11:23:06.000000000 +0200
1401 @@ -38,6 +38,7 @@
1402  #define _GLIBCXX_VALARRAY 1
1403  
1404  #pragma GCC system_header
1405 +#pragma GCC visibility push(default)
1406  
1407  #include <bits/c++config.h>
1408  #include <cstddef>
1409 @@ -1007,4 +1008,6 @@
1410  
1411  } // namespace std
1412  
1413 +#pragma GCC visibility pop
1414 +
1415  #endif /* _GLIBCXX_VALARRAY */
1416 diff -uNr libstdc++-v3.orig/include/std/std_vector.h libstdc++-v3/include/std/std_vector.h
1417 --- libstdc++-v3.orig/include/std/std_vector.h  2004-11-24 05:11:22.000000000 +0100
1418 +++ libstdc++-v3/include/std/std_vector.h       2005-05-17 11:23:06.000000000 +0200
1419 @@ -61,6 +61,7 @@
1420  #define _GLIBCXX_VECTOR 1
1421  
1422  #pragma GCC system_header
1423 +#pragma GCC visibility push(default)
1424  
1425  #include <bits/functexcept.h>
1426  #include <bits/stl_algobase.h>
1427 @@ -78,5 +79,7 @@
1428  # include <debug/vector>
1429  #endif
1430  
1431 +#pragma GCC visibility pop
1432 +
1433  #endif /* _GLIBCXX_VECTOR */
1434  
1435 diff -uNr libstdc++-v3.orig/include/tr1/array libstdc++-v3/include/tr1/array
1436 --- libstdc++-v3.orig/include/tr1/array 2004-11-23 10:18:41.000000000 +0100
1437 +++ libstdc++-v3/include/tr1/array      2005-05-17 11:23:06.000000000 +0200
1438 @@ -34,6 +34,8 @@
1439  #ifndef _ARRAY
1440  #define _ARRAY 1
1441  
1442 +#pragma GCC visibility push(default)
1443 +
1444  #include <new>
1445  #include <iterator>
1446  #include <algorithm>
1447 @@ -202,4 +204,6 @@
1448  } // namespace std::tr1
1449  }
1450  
1451 +#pragma GCC visibility pop
1452 +
1453  #endif
1454 diff -uNr libstdc++-v3.orig/include/tr1/functional libstdc++-v3/include/tr1/functional
1455 --- libstdc++-v3.orig/include/tr1/functional    2005-04-02 05:08:33.000000000 +0200
1456 +++ libstdc++-v3/include/tr1/functional 2005-05-17 11:28:29.000000000 +0200
1457 @@ -34,6 +34,8 @@
1458  #ifndef _TR1_FUNCTIONAL
1459  #define _TR1_FUNCTIONAL 1
1460  
1461 +#pragma GCC visibility push(default)
1462 +
1463  #include "../functional"
1464  #include <typeinfo>
1465  #include <tr1/type_traits>
1466 @@ -1161,4 +1163,6 @@
1467  }
1468  }
1469  
1470 +#pragma GCC visibility pop
1471 +
1472  #endif
1473 diff -uNr libstdc++-v3.orig/include/tr1/memory libstdc++-v3/include/tr1/memory
1474 --- libstdc++-v3.orig/include/tr1/memory        2005-04-05 13:09:38.000000000 +0200
1475 +++ libstdc++-v3/include/tr1/memory     2005-05-20 13:24:11.000000000 +0200
1476 @@ -30,6 +30,8 @@
1477  #ifndef _TR1_MEMORY
1478  #define _TR1_MEMORY 1
1479  
1480 +#pragma GCC visibility push(default)
1481 +
1482  #include "../memory"
1483  #include <functional>       // std::less
1484  #include <exception>        // std::exception
1485 @@ -48,4 +50,6 @@
1486  
1487  #include <tr1/boost_shared_ptr.h>
1488  
1489 +#pragma GCC visibility pop
1490 +
1491  #endif
1492 diff -uNr libstdc++-v3.orig/include/tr1/tuple libstdc++-v3/include/tr1/tuple
1493 --- libstdc++-v3.orig/include/tr1/tuple 2005-04-01 06:24:32.000000000 +0200
1494 +++ libstdc++-v3/include/tr1/tuple      2005-05-17 11:28:29.000000000 +0200
1495 @@ -36,6 +36,8 @@
1496  #ifndef _TUPLE
1497  #define _TUPLE 1
1498  
1499 +#pragma GCC visibility push(default)
1500 +
1501  #include <tr1/utility>
1502  #include <tr1/ref_fwd.h>
1503  
1504 @@ -272,4 +274,6 @@
1505  
1506  #include <tr1/functional>
1507  
1508 +#pragma GCC visibility pop
1509 +
1510  #endif
1511 diff -uNr libstdc++-v3.orig/include/tr1/type_traits libstdc++-v3/include/tr1/type_traits
1512 --- libstdc++-v3.orig/include/tr1/type_traits   2005-04-29 00:40:43.000000000 +0200
1513 +++ libstdc++-v3/include/tr1/type_traits        2005-05-17 11:23:06.000000000 +0200
1514 @@ -34,6 +34,8 @@
1515  #ifndef _TYPE_TRAITS
1516  #define _TYPE_TRAITS 1
1517  
1518 +#pragma GCC visibility push(default)
1519 +
1520  #include <bits/c++config.h>
1521  #include <tr1/type_traits_fwd.h>
1522  
1523 @@ -703,4 +705,6 @@
1524  }
1525  }
1526  
1527 +#pragma GCC visibility pop
1528 +
1529  #endif
1530 diff -uNr libstdc++-v3.orig/include/tr1/unordered_map libstdc++-v3/include/tr1/unordered_map
1531 --- libstdc++-v3.orig/include/tr1/unordered_map 2005-02-22 18:07:07.000000000 +0100
1532 +++ libstdc++-v3/include/tr1/unordered_map      2005-05-20 13:24:35.000000000 +0200
1533 @@ -34,6 +34,8 @@
1534  #ifndef GNU_LIBSTDCXX_TR1_UNORDERED_MAP_
1535  #define GNU_LIBSTDCXX_TR1_UNORDERED_MAP_
1536  
1537 +#pragma GCC visibility push(default)
1538 +
1539  #include <tr1/hashtable>
1540  #include <tr1/functional>
1541  #include <tr1/functional>
1542 @@ -163,4 +165,6 @@
1543  
1544  } }
1545  
1546 +#pragma GCC visibility pop
1547 +
1548  #endif /* GNU_LIBSTDCXX_TR1_UNORDERED_MAP_ */
1549 diff -uNr libstdc++-v3.orig/include/tr1/unordered_set libstdc++-v3/include/tr1/unordered_set
1550 --- libstdc++-v3.orig/include/tr1/unordered_set 2005-02-22 18:07:07.000000000 +0100
1551 +++ libstdc++-v3/include/tr1/unordered_set      2005-05-20 13:24:52.000000000 +0200
1552 @@ -34,6 +34,8 @@
1553  #ifndef GNU_LIBSTDCXX_TR1_UNORDERED_SET_
1554  #define GNU_LIBSTDCXX_TR1_UNORDERED_SET_
1555  
1556 +#pragma GCC visibility push(default)
1557 +
1558  #include <tr1/hashtable>
1559  #include <tr1/functional>
1560  #include <memory>
1561 @@ -157,4 +159,6 @@
1562  
1563  } }
1564  
1565 +#pragma GCC visibility pop
1566 +
1567  #endif /* GNU_LIBSTDCXX_TR1_UNORDERED_SET_ */
1568 diff -uNr libstdc++-v3.orig/include/tr1/utility libstdc++-v3/include/tr1/utility
1569 --- libstdc++-v3.orig/include/tr1/utility       2005-02-22 18:07:07.000000000 +0100
1570 +++ libstdc++-v3/include/tr1/utility    2005-05-17 11:23:06.000000000 +0200
1571 @@ -34,6 +34,8 @@
1572  #ifndef _TR1_UTILITY
1573  #define _TR1_UTILITY 1
1574  
1575 +#pragma GCC visibility push(default)
1576 +
1577  #include "../utility"
1578  
1579  namespace std
1580 @@ -93,6 +95,8 @@
1581       get(const pair<_Tp1, _Tp2>& __in)
1582       { return __pair_get<_Int>::__const_get(__in); }
1583  }
1584 -} 
1585 +}
1586 +
1587 +#pragma GCC visibility pop
1588  
1589  #endif
This page took 1.840914 seconds and 3 git commands to generate.