]> git.pld-linux.org Git - packages/gcc4.git/blob - gcc4-pr19664_gnu_internal.patch
- disable multilib
[packages/gcc4.git] / gcc4-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 *** 37,44 ****
169 --- 37,48 ----
170   
171   namespace __gnu_internal
172   {
173 + #pragma GCC visibility push(hidden)
174
175     // Mutex object for cache access
176     static __glibcxx_mutex_define_initialized(locale_cache_mutex);
177
178 + #pragma GCC visibility pop
179   }
180   
181   namespace std 
182 *** gcc/libstdc++-v3/src/locale_init.cc 9 Sep 2005 10:14:34 -0000       1.17
183 --- gcc/libstdc++-v3/src/locale_init.cc 28 Oct 2005 00:44:54 -0000
184 ***************
185 *** 37,42 ****
186 --- 37,44 ----
187   
188   namespace __gnu_internal
189   {
190 + #pragma GCC visibility push(hidden)
191
192     // Defined in globals.cc.
193     extern std::locale          c_locale;
194     extern std::locale::_Impl   c_locale_impl;
195 *************** namespace __gnu_internal
196 *** 91,96 ****
197 --- 93,100 ----
198   
199     // Mutex object for locale initialization.
200     static __glibcxx_mutex_define_initialized(locale_mutex);
201
202 + #pragma GCC visibility pop
203   } // namespace __gnu_internal
204   
205   namespace std 
206 *** gcc/libstdc++-v3/src/mt_allocator.cc        12 Sep 2005 04:49:10 -0000      1.13
207 --- gcc/libstdc++-v3/src/mt_allocator.cc        28 Oct 2005 00:44:54 -0000
208 ***************
209 *** 37,42 ****
210 --- 37,44 ----
211   
212   namespace __gnu_internal
213   {
214 + #pragma GCC visibility push(hidden)
215
216   #ifdef __GTHREADS
217     struct __freelist
218     {
219 *************** namespace __gnu_internal
220 *** 74,79 ****
221 --- 76,83 ----
222       freelist._M_thread_freelist = __tr;
223     }
224   #endif
225
226 + #pragma GCC visibility pop
227   }
228   
229   namespace __gnu_cxx
230 *** gcc/libstdc++-v3/src/pool_allocator.cc      9 Sep 2005 10:14:34 -0000       1.6
231 --- gcc/libstdc++-v3/src/pool_allocator.cc      28 Oct 2005 00:44:54 -0000
232 ***************
233 *** 37,43 ****
234 --- 37,47 ----
235   
236   namespace __gnu_internal
237   {
238 + #pragma GCC visibility push(hidden)
239
240     static __glibcxx_mutex_define_initialized(palloc_init_mutex);
241
242 + #pragma GCC visibility pop
243   }
244   
245   namespace __gnu_cxx
This page took 0.103197 seconds and 3 git commands to generate.