]> git.pld-linux.org Git - packages/gcc4.git/blob - gcc4-pr19664_gnu_internal.patch
- new version for gcc-4.2.
[packages/gcc4.git] / gcc4-pr19664_gnu_internal.patch
1 diff -uNr trunk/libstdc++-v3.orig/config/abi/compatibility.h trunk/libstdc++-v3/config/abi/compatibility.h
2 --- trunk/libstdc++-v3.orig/config/abi/compatibility.h  2005-11-30 11:40:19.000000000 +0100
3 +++ trunk/libstdc++-v3/config/abi/compatibility.h       2006-07-17 21:12:17.069452000 +0200
4 @@ -37,7 +37,7 @@
5  _ZNSt19istreambuf_iteratorIcSt11char_traitsIcEEppEv
6  _ZNSt19istreambuf_iteratorIwSt11char_traitsIwEEppEv
7   */
8 -namespace __gnu_internal
9 +namespace __gnu_internal __attribute__((visibility("hidden")))
10  {
11  _GLIBCXX_APPLY_SYMVER(_ZNSt21istreambuf_iteratorXXIcSt11char_traitsIcEEppEv,
12                       _ZNSt19istreambuf_iteratorIcSt11char_traitsIcEEppEv)
13 @@ -77,7 +77,7 @@
14  _ZNSt11char_traitsIcE2eqERKcS2_
15  _ZNSt11char_traitsIwE2eqERKwS2_
16   */
17 -namespace __gnu_internal
18 +namespace __gnu_internal __attribute__((visibility("hidden")))
19  {
20  _GLIBCXX_APPLY_SYMVER(_ZNSt11char_traitsIcE4eqXXERKcS2_,
21                       _ZNSt11char_traitsIcE2eqERKcS2_)
22 diff -uNr trunk/libstdc++-v3.orig/config/cpu/generic/atomicity_mutex/atomicity.h trunk/libstdc++-v3/config/cpu/generic/atomicity_mutex/atomicity.h
23 --- trunk/libstdc++-v3.orig/config/cpu/generic/atomicity_mutex/atomicity.h      2006-07-16 23:17:16.000000000 +0200
24 +++ trunk/libstdc++-v3/config/cpu/generic/atomicity_mutex/atomicity.h   2006-07-17 21:11:24.858189000 +0200
25 @@ -31,7 +31,7 @@
26  #include <bits/atomicity.h>
27  #include <bits/concurrence.h>
28  
29 -namespace __gnu_internal
30 +namespace __gnu_internal __attribute__((visibility("hidden")))
31  {
32    __glibcxx_mutex_define_initialized(atomic_mutex);
33  } // namespace __gnu_internal
34 diff -uNr trunk/libstdc++-v3.orig/config/cpu/sh/atomicity.h trunk/libstdc++-v3/config/cpu/sh/atomicity.h
35 --- trunk/libstdc++-v3.orig/config/cpu/sh/atomicity.h   2006-03-22 10:41:01.000000000 +0100
36 +++ trunk/libstdc++-v3/config/cpu/sh/atomicity.h        2006-07-17 21:09:51.844376000 +0200
37 @@ -77,7 +77,7 @@
38  #include <bits/atomicity.h>
39  #include <bits/concurrence.h>
40  
41 -namespace __gnu_internal
42 +namespace __gnu_internal __attribute__((visibility("hidden")))
43  {
44    __glibcxx_mutex_define_initialized(atomic_mutex);
45  } // namespace __gnu_internal
46 diff -uNr trunk/libstdc++-v3.orig/config/io/basic_file_stdio.cc trunk/libstdc++-v3/config/io/basic_file_stdio.cc
47 --- trunk/libstdc++-v3.orig/config/io/basic_file_stdio.cc       2006-03-22 10:41:01.000000000 +0100
48 +++ trunk/libstdc++-v3/config/io/basic_file_stdio.cc    2006-07-17 21:11:55.404098000 +0200
49 @@ -70,7 +70,7 @@
50  
51  #include <limits> // For <off_t>::max() and min() and <streamsize>::max()
52  
53 -namespace __gnu_internal
54 +namespace __gnu_internal __attribute__((visibility("hidden")))
55  {
56    // Map ios_base::openmode flags to a string for use in fopen().
57    // Table of valid combinations as given in [lib.filebuf.members]/2.
58 diff -uNr trunk/libstdc++-v3.orig/include/bits/cpp_type_traits.h trunk/libstdc++-v3/include/bits/cpp_type_traits.h
59 --- trunk/libstdc++-v3.orig/include/bits/cpp_type_traits.h      2006-03-22 10:40:54.000000000 +0100
60 +++ trunk/libstdc++-v3/include/bits/cpp_type_traits.h   2006-07-17 21:12:42.387034250 +0200
61 @@ -72,7 +72,7 @@
62  
63  // NB: g++ can not compile these if declared within the class
64  // __is_pod itself.
65 -namespace __gnu_internal
66 +namespace __gnu_internal __attribute__((visibility("hidden")))
67  {
68    typedef char __one;
69    typedef char __two[2];
70 diff -uNr trunk/libstdc++-v3.orig/include/tr1/cmath trunk/libstdc++-v3/include/tr1/cmath
71 --- trunk/libstdc++-v3.orig/include/tr1/cmath   2006-03-22 10:40:55.000000000 +0100
72 +++ trunk/libstdc++-v3/include/tr1/cmath        2006-07-17 21:14:00.131893000 +0200
73 @@ -147,7 +147,7 @@
74  #undef truncl
75  
76  // Workaround for c++/21682.
77 -namespace __gnu_internal
78 +namespace __gnu_internal __attribute__((visibility("hidden")))
79  {
80    template<typename _Tp, typename _Up>
81      inline typename
82 diff -uNr trunk/libstdc++-v3.orig/libsupc++/eh_globals.cc trunk/libstdc++-v3/libsupc++/eh_globals.cc
83 --- trunk/libstdc++-v3.orig/libsupc++/eh_globals.cc     2006-07-16 23:17:16.000000000 +0200
84 +++ trunk/libstdc++-v3/libsupc++/eh_globals.cc  2006-07-17 21:14:27.629611500 +0200
85 @@ -49,7 +49,7 @@
86  
87  #if _GLIBCXX_HAVE_TLS
88  
89 -namespace __gnu_internal
90 +namespace __gnu_internal __attribute__((visibility("hidden")))
91  {
92    using namespace abi;
93    using namespace std;
94 diff -uNr trunk/libstdc++-v3.orig/src/debug.cc trunk/libstdc++-v3/src/debug.cc
95 --- trunk/libstdc++-v3.orig/src/debug.cc        2006-03-22 10:40:57.000000000 +0100
96 +++ trunk/libstdc++-v3/src/debug.cc     2006-07-17 21:16:34.933567500 +0200
97 @@ -39,7 +39,7 @@
98  
99  using namespace std;
100  
101 -namespace __gnu_internal
102 +namespace __gnu_internal __attribute__((visibility("hidden")))
103  {
104    static __glibcxx_mutex_define_initialized(iterator_base_mutex);
105  } // namespace __gnu_internal
106 diff -uNr trunk/libstdc++-v3.orig/src/ext-inst.cc trunk/libstdc++-v3/src/ext-inst.cc
107 --- trunk/libstdc++-v3.orig/src/ext-inst.cc     2006-03-22 10:40:57.000000000 +0100
108 +++ trunk/libstdc++-v3/src/ext-inst.cc  2006-07-17 21:16:09.611985000 +0200
109 @@ -34,7 +34,7 @@
110  #include <ext/rope>
111  #include <ext/stdio_filebuf.h>
112  
113 -namespace __gnu_internal
114 +namespace __gnu_internal __attribute__((visibility("hidden")))
115  {
116    const int min_len = __gnu_cxx::_Rope_constants::_S_max_rope_depth + 1;
117  }
118 diff -uNr trunk/libstdc++-v3.orig/src/globals_io.cc trunk/libstdc++-v3/src/globals_io.cc
119 --- trunk/libstdc++-v3.orig/src/globals_io.cc   2006-03-22 10:40:57.000000000 +0100
120 +++ trunk/libstdc++-v3/src/globals_io.cc        2006-07-17 21:15:55.995134000 +0200
121 @@ -75,7 +75,7 @@
122  
123  _GLIBCXX_END_NAMESPACE
124  
125 -namespace __gnu_internal
126 +namespace __gnu_internal __attribute__((visibility("hidden")))
127  {
128    using namespace std;
129    using namespace __gnu_cxx;
130 diff -uNr trunk/libstdc++-v3.orig/src/globals_locale.cc trunk/libstdc++-v3/src/globals_locale.cc
131 --- trunk/libstdc++-v3.orig/src/globals_locale.cc       2005-11-30 11:38:29.000000000 +0100
132 +++ trunk/libstdc++-v3/src/globals_locale.cc    2006-07-17 21:14:48.446912500 +0200
133 @@ -43,7 +43,7 @@
134  // In macro form:
135  // _GLIBCXX_ASM_SYMVER(currentname, oldname, GLIBCXX_3.2)
136  
137 -namespace __gnu_internal
138 +namespace __gnu_internal __attribute__((visibility("hidden")))
139  {
140    using namespace std;
141  
142 diff -uNr trunk/libstdc++-v3.orig/src/ios_init.cc trunk/libstdc++-v3/src/ios_init.cc
143 --- trunk/libstdc++-v3.orig/src/ios_init.cc     2006-05-30 12:19:02.000000000 +0200
144 +++ trunk/libstdc++-v3/src/ios_init.cc  2006-07-17 21:16:21.916754000 +0200
145 @@ -40,7 +40,7 @@
146  #include <ext/stdio_filebuf.h>
147  #include <ext/stdio_sync_filebuf.h>
148  
149 -namespace __gnu_internal
150 +namespace __gnu_internal __attribute__((visibility("hidden")))
151  {
152    using namespace __gnu_cxx;
153  
154 diff -uNr trunk/libstdc++-v3.orig/src/locale.cc trunk/libstdc++-v3/src/locale.cc
155 --- trunk/libstdc++-v3.orig/src/locale.cc       2006-05-30 12:19:02.000000000 +0200
156 +++ trunk/libstdc++-v3/src/locale.cc    2006-07-17 21:15:26.933317750 +0200
157 @@ -35,7 +35,7 @@
158  #include <bits/atomicity.h>
159  #include <bits/concurrence.h>
160  
161 -namespace __gnu_internal
162 +namespace __gnu_internal __attribute__((visibility("hidden")))
163  {
164    // Mutex object for cache access
165    static __glibcxx_mutex_define_initialized(locale_cache_mutex);
166 diff -uNr trunk/libstdc++-v3.orig/src/locale_init.cc trunk/libstdc++-v3/src/locale_init.cc
167 --- trunk/libstdc++-v3.orig/src/locale_init.cc  2006-03-22 10:40:57.000000000 +0100
168 +++ trunk/libstdc++-v3/src/locale_init.cc       2006-07-17 21:15:23.845124750 +0200
169 @@ -35,7 +35,7 @@
170  #include <bits/atomicity.h>
171  #include <bits/concurrence.h>
172  
173 -namespace __gnu_internal
174 +namespace __gnu_internal __attribute__((visibility("hidden")))
175  {
176    // Defined in globals.cc.
177    extern std::locale           c_locale;
178 diff -uNr trunk/libstdc++-v3.orig/src/mt_allocator.cc trunk/libstdc++-v3/src/mt_allocator.cc
179 --- trunk/libstdc++-v3.orig/src/mt_allocator.cc 2006-03-22 10:40:57.000000000 +0100
180 +++ trunk/libstdc++-v3/src/mt_allocator.cc      2006-07-17 21:15:05.643987250 +0200
181 @@ -35,7 +35,7 @@
182  #include <bits/concurrence.h>
183  #include <ext/mt_allocator.h>
184  
185 -namespace __gnu_internal
186 +namespace __gnu_internal __attribute__((visibility("hidden")))
187  {
188  #ifdef __GTHREADS
189    struct __freelist
190 diff -uNr trunk/libstdc++-v3.orig/src/pool_allocator.cc trunk/libstdc++-v3/src/pool_allocator.cc
191 --- trunk/libstdc++-v3.orig/src/pool_allocator.cc       2006-03-22 10:40:57.000000000 +0100
192 +++ trunk/libstdc++-v3/src/pool_allocator.cc    2006-07-17 21:15:01.427723750 +0200
193 @@ -35,7 +35,7 @@
194  #include <cstdlib>
195  #include <ext/pool_allocator.h>
196  
197 -namespace __gnu_internal
198 +namespace __gnu_internal __attribute__((visibility("hidden")))
199  {
200    static __glibcxx_mutex_define_initialized(palloc_init_mutex);
201  }
This page took 0.084467 seconds and 4 git commands to generate.