diff options
34 files changed, 0 insertions, 2999 deletions
diff --git a/meta/conf/distro/include/tclibc-glibc.inc b/meta/conf/distro/include/tclibc-glibc.inc deleted file mode 100644 index 823195c2ad..0000000000 --- a/meta/conf/distro/include/tclibc-glibc.inc +++ /dev/null | |||
@@ -1,32 +0,0 @@ | |||
1 | # | ||
2 | # glibc specific configuration | ||
3 | # | ||
4 | |||
5 | LIBCEXTENSION = "${@['', '-gnu'][(d.getVar('ABIEXTENSION', True) or '') != '']}" | ||
6 | |||
7 | # Add glibc to the overrides. | ||
8 | OVERRIDES =. "libc-glibc:" | ||
9 | |||
10 | PREFERRED_PROVIDER_virtual/libiconv ?= "glibc" | ||
11 | PREFERRED_PROVIDER_virtual/libiconv-nativesdk ?= "glibc-nativesdk" | ||
12 | PREFERRED_PROVIDER_virtual/libintl ?= "glibc" | ||
13 | PREFERRED_PROVIDER_virtual/libc ?= "glibc" | ||
14 | PREFERRED_PROVIDER_virtual/libc-nativesdk ?= "glibc-nativesdk" | ||
15 | PREFERRED_PROVIDER_virtual/libc-locale ?= "glibc-locale" | ||
16 | |||
17 | CXXFLAGS += "-fvisibility-inlines-hidden" | ||
18 | |||
19 | LIBC_DEPENDENCIES = "\ | ||
20 | libsegfault \ | ||
21 | glibc \ | ||
22 | glibc-dbg \ | ||
23 | glibc-dev \ | ||
24 | glibc-utils \ | ||
25 | glibc-thread-db \ | ||
26 | glibc-localedata-i18n \ | ||
27 | glibc-gconv-ibm850 \ | ||
28 | glibc-gconv-cp1252 \ | ||
29 | glibc-gconv-iso8859-1 \ | ||
30 | glibc-gconv-iso8859-15 \ | ||
31 | locale-base-en-gb \ | ||
32 | " | ||
diff --git a/meta/conf/distro/include/tcmode-default.inc b/meta/conf/distro/include/tcmode-default.inc index 86538f129d..dce76dbaf5 100644 --- a/meta/conf/distro/include/tcmode-default.inc +++ b/meta/conf/distro/include/tcmode-default.inc | |||
@@ -49,11 +49,6 @@ PREFERRED_VERSION_binutils-crosssdk ?= "${BINUVERSION}" | |||
49 | PREFERRED_VERSION_binutils-cross-canadian ?= "${BINUVERSION}" | 49 | PREFERRED_VERSION_binutils-cross-canadian ?= "${BINUVERSION}" |
50 | PREFERRED_VERSION_linux-libc-headers ?= "${LINUXLIBCVERSION}" | 50 | PREFERRED_VERSION_linux-libc-headers ?= "${LINUXLIBCVERSION}" |
51 | PREFERRED_VERSION_linux-libc-headers-nativesdk ?= "${LINUXLIBCVERSION}" | 51 | PREFERRED_VERSION_linux-libc-headers-nativesdk ?= "${LINUXLIBCVERSION}" |
52 | PREFERRED_VERSION_glibc ?= "${GLIBCVERSION}" | ||
53 | PREFERRED_VERSION_glibc-locale ?= "${GLIBCVERSION}" | ||
54 | PREFERRED_VERSION_glibc-nativesdk ?= "${GLIBCVERSION}" | ||
55 | PREFERRED_VERSION_glibc-initial ?= "${GLIBCVERSION}" | ||
56 | PREFERRED_VERSION_glibc-initial-nativesdk ?= "${GLIBCVERSION}" | ||
57 | PREFERRED_VERSION_eglibc ?= "${EGLIBCVERSION}" | 52 | PREFERRED_VERSION_eglibc ?= "${EGLIBCVERSION}" |
58 | PREFERRED_VERSION_eglibc-locale ?= "${EGLIBCVERSION}" | 53 | PREFERRED_VERSION_eglibc-locale ?= "${EGLIBCVERSION}" |
59 | PREFERRED_VERSION_eglibc-nativesdk ?= "${EGLIBCVERSION}" | 54 | PREFERRED_VERSION_eglibc-nativesdk ?= "${EGLIBCVERSION}" |
diff --git a/meta/recipes-core/glibc/glibc-2.10.1/arm-longlong.patch b/meta/recipes-core/glibc/glibc-2.10.1/arm-longlong.patch deleted file mode 100644 index ce67d7e0a8..0000000000 --- a/meta/recipes-core/glibc/glibc-2.10.1/arm-longlong.patch +++ /dev/null | |||
@@ -1,60 +0,0 @@ | |||
1 | Upstream-Status: Inappropriate [not used] | ||
2 | |||
3 | --- glibc-2.4/stdlib/longlong.h.ark 2006-03-11 22:49:27.000000000 +0100 | ||
4 | +++ glibc-2.4/stdlib/longlong.h 2006-03-11 22:55:12.000000000 +0100 | ||
5 | @@ -206,6 +206,14 @@ | ||
6 | "rI" ((USItype) (bh)), \ | ||
7 | "r" ((USItype) (al)), \ | ||
8 | "rI" ((USItype) (bl)) __CLOBBER_CC) | ||
9 | +/* v3m and all higher arches have long multiply support. */ | ||
10 | +#if !defined(__ARM_ARCH_2__) && !defined(__ARM_ARCH_3__) | ||
11 | +#define umul_ppmm(xh, xl, a, b) \ | ||
12 | + __asm__ ("umull %0,%1,%2,%3" : "=&r" (xl), "=&r" (xh) : "r" (a), "r" (b)) | ||
13 | +#define UMUL_TIME 5 | ||
14 | +#define smul_ppmm(xh, xl, a, b) \ | ||
15 | + __asm__ ("smull %0,%1,%2,%3" : "=&r" (xl), "=&r" (xh) : "r" (a), "r" (b)) | ||
16 | +#else | ||
17 | #define umul_ppmm(xh, xl, a, b) \ | ||
18 | {register USItype __t0, __t1, __t2; \ | ||
19 | __asm__ ("%@ Inlined umul_ppmm\n" \ | ||
20 | @@ -227,7 +235,13 @@ | ||
21 | : "r" ((USItype) (a)), \ | ||
22 | "r" ((USItype) (b)) __CLOBBER_CC );} | ||
23 | #define UMUL_TIME 20 | ||
24 | +#endif | ||
25 | #define UDIV_TIME 100 | ||
26 | +#if defined(__ARM_ARCH_5__) || defined(__ARM_ARCH_5T__) || defined(__ARM_ARCH_5TE__) | ||
27 | +#define count_leading_zeros(COUNT,X) ((COUNT) = __builtin_clz (X)) | ||
28 | +#define COUNT_LEADING_ZEROS_0 32 | ||
29 | +#endif | ||
30 | + | ||
31 | #endif /* __arm__ */ | ||
32 | |||
33 | #if defined (__hppa) && W_TYPE_SIZE == 32 | ||
34 | --- glibc-2.4/ports/sysdeps/arm/mp_clz_tab.c.ark 2006-03-11 22:56:43.000000000 +0100 | ||
35 | +++ glibc-2.4/ports/sysdeps/arm/mp_clz_tab.c 2006-03-11 22:58:19.000000000 +0100 | ||
36 | @@ -0,0 +1,24 @@ | ||
37 | +/* __clz_tab -- support for longlong.h | ||
38 | + Copyright (C) 2004 Free Software Foundation, Inc. | ||
39 | + This file is part of the GNU C Library. | ||
40 | + | ||
41 | + The GNU C Library is free software; you can redistribute it and/or | ||
42 | + modify it under the terms of the GNU Lesser General Public | ||
43 | + License as published by the Free Software Foundation; either | ||
44 | + version 2.1 of the License, or (at your option) any later version. | ||
45 | + | ||
46 | + The GNU C Library is distributed in the hope that it will be useful, | ||
47 | + but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
48 | + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
49 | + Lesser General Public License for more details. | ||
50 | + | ||
51 | + You should have received a copy of the GNU Lesser General Public | ||
52 | + License along with the GNU C Library; if not, write to the Free | ||
53 | + Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA | ||
54 | + 02111-1307 USA. */ | ||
55 | + | ||
56 | +#if defined(__ARM_ARCH_5__) || defined(__ARM_ARCH_5T__) || defined(__ARM_ARCH_5TE__) | ||
57 | +/* Nothing required. */ | ||
58 | +#else | ||
59 | +#include <stdlib/mp_clz_tab.c> | ||
60 | +#endif | ||
diff --git a/meta/recipes-core/glibc/glibc-2.10.1/arm-memcpy.patch b/meta/recipes-core/glibc/glibc-2.10.1/arm-memcpy.patch deleted file mode 100644 index f50d481aff..0000000000 --- a/meta/recipes-core/glibc/glibc-2.10.1/arm-memcpy.patch +++ /dev/null | |||
@@ -1,760 +0,0 @@ | |||
1 | Upstream-Status: Inappropriate [not used] | ||
2 | |||
3 | --- /dev/null 2004-02-02 20:32:13.000000000 +0000 | ||
4 | +++ sysdeps/arm/memmove.S 2004-03-20 18:37:23.000000000 +0000 | ||
5 | @@ -0,0 +1,251 @@ | ||
6 | +/* | ||
7 | + * Optimized memmove implementation for ARM processors | ||
8 | + * | ||
9 | + * Author: Nicolas Pitre | ||
10 | + * Created: Dec 23, 2003 | ||
11 | + * Copyright: (C) MontaVista Software, Inc. | ||
12 | + * | ||
13 | + * This file is free software; you can redistribute it and/or | ||
14 | + * modify it under the terms of the GNU Lesser General Public | ||
15 | + * License as published by the Free Software Foundation; either | ||
16 | + * version 2.1 of the License, or (at your option) any later version. | ||
17 | + * | ||
18 | + * This file is distributed in the hope that it will be useful, | ||
19 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
20 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
21 | + * Lesser General Public License for more details. | ||
22 | + */ | ||
23 | + | ||
24 | +#include <sysdep.h> | ||
25 | + | ||
26 | + | ||
27 | +/* | ||
28 | + * Endian independent macros for shifting bytes within registers. | ||
29 | + */ | ||
30 | +#ifndef __ARMEB__ | ||
31 | +#define pull lsr | ||
32 | +#define push lsl | ||
33 | +#else | ||
34 | +#define pull lsl | ||
35 | +#define push lsr | ||
36 | +#endif | ||
37 | + | ||
38 | +/* | ||
39 | + * Enable data preload for architectures that support it (ARMv5 and above) | ||
40 | + */ | ||
41 | +#if defined(__ARM_ARCH_5__) || \ | ||
42 | + defined(__ARM_ARCH_5T__) || \ | ||
43 | + defined(__ARM_ARCH_5TE__) | ||
44 | +#define PLD(code...) code | ||
45 | +#else | ||
46 | +#define PLD(code...) | ||
47 | +#endif | ||
48 | + | ||
49 | + | ||
50 | +/* char * memmove (char *dst, const char *src) */ | ||
51 | +ENTRY(memmove) | ||
52 | + subs ip, r0, r1 | ||
53 | + cmphi r2, ip | ||
54 | + bls memcpy(PLT) | ||
55 | + | ||
56 | + stmfd sp!, {r0, r4, lr} | ||
57 | + add r1, r1, r2 | ||
58 | + add r0, r0, r2 | ||
59 | + subs r2, r2, #4 | ||
60 | + blt 25f | ||
61 | + ands ip, r0, #3 | ||
62 | + PLD( pld [r1, #-4] ) | ||
63 | + bne 26f | ||
64 | + ands ip, r1, #3 | ||
65 | + bne 27f | ||
66 | + | ||
67 | +19: subs r2, r2, #4 | ||
68 | + blt 24f | ||
69 | + subs r2, r2, #8 | ||
70 | + blt 23f | ||
71 | + subs r2, r2, #16 | ||
72 | + blt 22f | ||
73 | + | ||
74 | + PLD( pld [r1, #-32] ) | ||
75 | + PLD( subs r2, r2, #96 ) | ||
76 | + stmfd sp!, {r5 - r8} | ||
77 | + PLD( blt 21f ) | ||
78 | + | ||
79 | + PLD( @ cache alignment ) | ||
80 | + PLD( ands ip, r1, #31 ) | ||
81 | + PLD( pld [r1, #-64] ) | ||
82 | + PLD( beq 20f ) | ||
83 | + PLD( cmp r2, ip ) | ||
84 | + PLD( pld [r1, #-96] ) | ||
85 | + PLD( blt 20f ) | ||
86 | + PLD( cmp ip, #16 ) | ||
87 | + PLD( sub r2, r2, ip ) | ||
88 | + PLD( ldmgedb r1!, {r3 - r6} ) | ||
89 | + PLD( stmgedb r0!, {r3 - r6} ) | ||
90 | + PLD( beq 20f ) | ||
91 | + PLD( and ip, ip, #15 ) | ||
92 | + PLD( cmp ip, #8 ) | ||
93 | + PLD( ldr r3, [r1, #-4]! ) | ||
94 | + PLD( ldrge r4, [r1, #-4]! ) | ||
95 | + PLD( ldrgt r5, [r1, #-4]! ) | ||
96 | + PLD( str r3, [r0, #-4]! ) | ||
97 | + PLD( strge r4, [r0, #-4]! ) | ||
98 | + PLD( strgt r5, [r0, #-4]! ) | ||
99 | + | ||
100 | +20: PLD( pld [r1, #-96] ) | ||
101 | + PLD( pld [r1, #-128] ) | ||
102 | +21: ldmdb r1!, {r3, r4, ip, lr} | ||
103 | + subs r2, r2, #32 | ||
104 | + stmdb r0!, {r3, r4, ip, lr} | ||
105 | + ldmdb r1!, {r3, r4, ip, lr} | ||
106 | + stmgedb r0!, {r3, r4, ip, lr} | ||
107 | + ldmgedb r1!, {r3, r4, ip, lr} | ||
108 | + stmgedb r0!, {r3, r4, ip, lr} | ||
109 | + ldmgedb r1!, {r3, r4, ip, lr} | ||
110 | + subges r2, r2, #32 | ||
111 | + stmdb r0!, {r3, r4, ip, lr} | ||
112 | + bge 20b | ||
113 | + PLD( cmn r2, #96 ) | ||
114 | + PLD( bge 21b ) | ||
115 | + PLD( add r2, r2, #96 ) | ||
116 | + tst r2, #31 | ||
117 | + ldmfd sp!, {r5 - r8} | ||
118 | + ldmeqfd sp!, {r0, r4, pc} | ||
119 | + | ||
120 | + tst r2, #16 | ||
121 | +22: ldmnedb r1!, {r3, r4, ip, lr} | ||
122 | + stmnedb r0!, {r3, r4, ip, lr} | ||
123 | + | ||
124 | + tst r2, #8 | ||
125 | +23: ldmnedb r1!, {r3, r4} | ||
126 | + stmnedb r0!, {r3, r4} | ||
127 | + | ||
128 | + tst r2, #4 | ||
129 | +24: ldrne r3, [r1, #-4]! | ||
130 | + strne r3, [r0, #-4]! | ||
131 | + | ||
132 | +25: ands r2, r2, #3 | ||
133 | + ldmeqfd sp!, {r0, r4, pc} | ||
134 | + | ||
135 | + cmp r2, #2 | ||
136 | + ldrb r3, [r1, #-1] | ||
137 | + ldrgeb r4, [r1, #-2] | ||
138 | + ldrgtb ip, [r1, #-3] | ||
139 | + strb r3, [r0, #-1] | ||
140 | + strgeb r4, [r0, #-2] | ||
141 | + strgtb ip, [r0, #-3] | ||
142 | + ldmfd sp!, {r0, r4, pc} | ||
143 | + | ||
144 | +26: cmp ip, #2 | ||
145 | + ldrb r3, [r1, #-1]! | ||
146 | + ldrgeb r4, [r1, #-1]! | ||
147 | + ldrgtb lr, [r1, #-1]! | ||
148 | + strb r3, [r0, #-1]! | ||
149 | + strgeb r4, [r0, #-1]! | ||
150 | + strgtb lr, [r0, #-1]! | ||
151 | + subs r2, r2, ip | ||
152 | + blt 25b | ||
153 | + ands ip, r1, #3 | ||
154 | + beq 19b | ||
155 | + | ||
156 | +27: bic r1, r1, #3 | ||
157 | + cmp ip, #2 | ||
158 | + ldr r3, [r1] | ||
159 | + beq 35f | ||
160 | + blt 36f | ||
161 | + | ||
162 | + | ||
163 | + .macro backward_copy_shift push pull | ||
164 | + | ||
165 | + cmp r2, #12 | ||
166 | + PLD( pld [r1, #-4] ) | ||
167 | + blt 33f | ||
168 | + subs r2, r2, #28 | ||
169 | + stmfd sp!, {r5 - r9} | ||
170 | + blt 31f | ||
171 | + | ||
172 | + PLD( subs r2, r2, #96 ) | ||
173 | + PLD( pld [r1, #-32] ) | ||
174 | + PLD( blt 30f ) | ||
175 | + PLD( pld [r1, #-64] ) | ||
176 | + | ||
177 | + PLD( @ cache alignment ) | ||
178 | + PLD( ands ip, r1, #31 ) | ||
179 | + PLD( pld [r1, #-96] ) | ||
180 | + PLD( beq 29f ) | ||
181 | + PLD( cmp r2, ip ) | ||
182 | + PLD( pld [r1, #-128] ) | ||
183 | + PLD( blt 29f ) | ||
184 | + PLD( sub r2, r2, ip ) | ||
185 | +28: PLD( mov r4, r3, push #\push ) | ||
186 | + PLD( ldr r3, [r1, #-4]! ) | ||
187 | + PLD( subs ip, ip, #4 ) | ||
188 | + PLD( orr r4, r4, r3, pull #\pull ) | ||
189 | + PLD( str r4, [r0, #-4]! ) | ||
190 | + PLD( bgt 28b ) | ||
191 | + | ||
192 | +29: PLD( pld [r1, #-128] ) | ||
193 | +30: mov lr, r3, push #\push | ||
194 | + ldmdb r1!, {r3 - r9, ip} | ||
195 | + subs r2, r2, #32 | ||
196 | + orr lr, lr, ip, pull #\pull | ||
197 | + mov ip, ip, push #\push | ||
198 | + orr ip, ip, r9, pull #\pull | ||
199 | + mov r9, r9, push #\push | ||
200 | + orr r9, r9, r8, pull #\pull | ||
201 | + mov r8, r8, push #\push | ||
202 | + orr r8, r8, r7, pull #\pull | ||
203 | + mov r7, r7, push #\push | ||
204 | + orr r7, r7, r6, pull #\pull | ||
205 | + mov r6, r6, push #\push | ||
206 | + orr r6, r6, r5, pull #\pull | ||
207 | + mov r5, r5, push #\push | ||
208 | + orr r5, r5, r4, pull #\pull | ||
209 | + mov r4, r4, push #\push | ||
210 | + orr r4, r4, r3, pull #\pull | ||
211 | + stmdb r0!, {r4 - r9, ip, lr} | ||
212 | + bge 29b | ||
213 | + PLD( cmn r2, #96 ) | ||
214 | + PLD( bge 30b ) | ||
215 | + PLD( add r2, r2, #96 ) | ||
216 | + cmn r2, #16 | ||
217 | + blt 32f | ||
218 | +31: mov r7, r3, push #\push | ||
219 | + ldmdb r1!, {r3 - r6} | ||
220 | + sub r2, r2, #16 | ||
221 | + orr r7, r7, r6, pull #\pull | ||
222 | + mov r6, r6, push #\push | ||
223 | + orr r6, r6, r5, pull #\pull | ||
224 | + mov r5, r5, push #\push | ||
225 | + orr r5, r5, r4, pull #\pull | ||
226 | + mov r4, r4, push #\push | ||
227 | + orr r4, r4, r3, pull #\pull | ||
228 | + stmdb r0!, {r4 - r7} | ||
229 | +32: adds r2, r2, #28 | ||
230 | + ldmfd sp!, {r5 - r9} | ||
231 | + blt 34f | ||
232 | +33: mov r4, r3, push #\push | ||
233 | + ldr r3, [r1, #-4]! | ||
234 | + subs r2, r2, #4 | ||
235 | + orr r4, r4, r3, pull #\pull | ||
236 | + str r4, [r0, #-4]! | ||
237 | + bge 33b | ||
238 | +34: | ||
239 | + .endm | ||
240 | + | ||
241 | + | ||
242 | + backward_copy_shift push=8 pull=24 | ||
243 | + add r1, r1, #3 | ||
244 | + b 25b | ||
245 | + | ||
246 | +35: backward_copy_shift push=16 pull=16 | ||
247 | + add r1, r1, #2 | ||
248 | + b 25b | ||
249 | + | ||
250 | +36: backward_copy_shift push=24 pull=8 | ||
251 | + add r1, r1, #1 | ||
252 | + b 25b | ||
253 | + | ||
254 | + .size memmove, . - memmove | ||
255 | +END(memmove) | ||
256 | +libc_hidden_builtin_def (memmove) | ||
257 | --- /dev/null 2004-02-02 20:32:13.000000000 +0000 | ||
258 | +++ sysdeps/arm/bcopy.S 2004-03-20 18:37:48.000000000 +0000 | ||
259 | @@ -0,0 +1,255 @@ | ||
260 | +/* | ||
261 | + * Optimized memmove implementation for ARM processors | ||
262 | + * | ||
263 | + * Author: Nicolas Pitre | ||
264 | + * Created: Dec 23, 2003 | ||
265 | + * Copyright: (C) MontaVista Software, Inc. | ||
266 | + * | ||
267 | + * This file is free software; you can redistribute it and/or | ||
268 | + * modify it under the terms of the GNU Lesser General Public | ||
269 | + * License as published by the Free Software Foundation; either | ||
270 | + * version 2.1 of the License, or (at your option) any later version. | ||
271 | + * | ||
272 | + * This file is distributed in the hope that it will be useful, | ||
273 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
274 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
275 | + * Lesser General Public License for more details. | ||
276 | + */ | ||
277 | + | ||
278 | +#include <sysdep.h> | ||
279 | + | ||
280 | + | ||
281 | +/* | ||
282 | + * Endian independent macros for shifting bytes within registers. | ||
283 | + */ | ||
284 | +#ifndef __ARMEB__ | ||
285 | +#define pull lsr | ||
286 | +#define push lsl | ||
287 | +#else | ||
288 | +#define pull lsl | ||
289 | +#define push lsr | ||
290 | +#endif | ||
291 | + | ||
292 | +/* | ||
293 | + * Enable data preload for architectures that support it (ARMv5 and above) | ||
294 | + */ | ||
295 | +#if defined(__ARM_ARCH_5__) || \ | ||
296 | + defined(__ARM_ARCH_5T__) || \ | ||
297 | + defined(__ARM_ARCH_5TE__) | ||
298 | +#define PLD(code...) code | ||
299 | +#else | ||
300 | +#define PLD(code...) | ||
301 | +#endif | ||
302 | + | ||
303 | +dst .req r1 | ||
304 | +src .req r0 | ||
305 | + | ||
306 | +/* void *bcopy (const char *src, char *dst, size_t size) */ | ||
307 | +ENTRY(bcopy) | ||
308 | + subs ip, dst, src | ||
309 | + cmphi r2, ip | ||
310 | + movls r3, r0 | ||
311 | + movls r0, r1 | ||
312 | + movls r1, r3 | ||
313 | + bls memcpy(PLT) | ||
314 | + | ||
315 | + stmfd sp!, {r4, lr} | ||
316 | + add src, src, r2 | ||
317 | + add dst, dst, r2 | ||
318 | + subs r2, r2, #4 | ||
319 | + blt 25f | ||
320 | + ands ip, dst, #3 | ||
321 | + PLD( pld [src, #-4] ) | ||
322 | + bne 26f | ||
323 | + ands ip, src, #3 | ||
324 | + bne 27f | ||
325 | + | ||
326 | +19: subs r2, r2, #4 | ||
327 | + blt 24f | ||
328 | + subs r2, r2, #8 | ||
329 | + blt 23f | ||
330 | + subs r2, r2, #16 | ||
331 | + blt 22f | ||
332 | + | ||
333 | + PLD( pld [src, #-32] ) | ||
334 | + PLD( subs r2, r2, #96 ) | ||
335 | + stmfd sp!, {r5 - r8} | ||
336 | + PLD( blt 21f ) | ||
337 | + | ||
338 | + PLD( @ cache alignment ) | ||
339 | + PLD( ands ip, src, #31 ) | ||
340 | + PLD( pld [src, #-64] ) | ||
341 | + PLD( beq 20f ) | ||
342 | + PLD( cmp r2, ip ) | ||
343 | + PLD( pld [src, #-96] ) | ||
344 | + PLD( blt 20f ) | ||
345 | + PLD( cmp ip, #16 ) | ||
346 | + PLD( sub r2, r2, ip ) | ||
347 | + PLD( ldmgedb src!, {r3 - r6} ) | ||
348 | + PLD( stmgedb dst!, {r3 - r6} ) | ||
349 | + PLD( beq 20f ) | ||
350 | + PLD( and ip, ip, #15 ) | ||
351 | + PLD( cmp ip, #8 ) | ||
352 | + PLD( ldr r3, [src, #-4]! ) | ||
353 | + PLD( ldrge r4, [src, #-4]! ) | ||
354 | + PLD( ldrgt r5, [src, #-4]! ) | ||
355 | + PLD( str r3, [dst, #-4]! ) | ||
356 | + PLD( strge r4, [dst, #-4]! ) | ||
357 | + PLD( strgt r5, [dst, #-4]! ) | ||
358 | + | ||
359 | +20: PLD( pld [src, #-96] ) | ||
360 | + PLD( pld [src, #-128] ) | ||
361 | +21: ldmdb src!, {r3, r4, ip, lr} | ||
362 | + subs r2, r2, #32 | ||
363 | + stmdb dst!, {r3, r4, ip, lr} | ||
364 | + ldmdb src!, {r3, r4, ip, lr} | ||
365 | + stmgedb dst!, {r3, r4, ip, lr} | ||
366 | + ldmgedb src!, {r3, r4, ip, lr} | ||
367 | + stmgedb dst!, {r3, r4, ip, lr} | ||
368 | + ldmgedb src!, {r3, r4, ip, lr} | ||
369 | + subges r2, r2, #32 | ||
370 | + stmdb dst!, {r3, r4, ip, lr} | ||
371 | + bge 20b | ||
372 | + PLD( cmn r2, #96 ) | ||
373 | + PLD( bge 21b ) | ||
374 | + PLD( add r2, r2, #96 ) | ||
375 | + tst r2, #31 | ||
376 | + ldmfd sp!, {r5 - r8} | ||
377 | + ldmeqfd sp!, {r4, pc} | ||
378 | + | ||
379 | + tst r2, #16 | ||
380 | +22: ldmnedb src!, {r3, r4, ip, lr} | ||
381 | + stmnedb dst!, {r3, r4, ip, lr} | ||
382 | + | ||
383 | + tst r2, #8 | ||
384 | +23: ldmnedb src!, {r3, r4} | ||
385 | + stmnedb dst!, {r3, r4} | ||
386 | + | ||
387 | + tst r2, #4 | ||
388 | +24: ldrne r3, [src, #-4]! | ||
389 | + strne r3, [dst, #-4]! | ||
390 | + | ||
391 | +25: ands r2, r2, #3 | ||
392 | + ldmeqfd sp!, {dst, r4, pc} | ||
393 | + | ||
394 | + cmp r2, #2 | ||
395 | + ldrb r3, [src, #-1] | ||
396 | + ldrgeb r4, [src, #-2] | ||
397 | + ldrgtb ip, [src, #-3] | ||
398 | + strb r3, [dst, #-1] | ||
399 | + strgeb r4, [dst, #-2] | ||
400 | + strgtb ip, [dst, #-3] | ||
401 | + ldmfd sp!, {dst, r4, pc} | ||
402 | + | ||
403 | +26: cmp ip, #2 | ||
404 | + ldrb r3, [src, #-1]! | ||
405 | + ldrgeb r4, [src, #-1]! | ||
406 | + ldrgtb lr, [src, #-1]! | ||
407 | + strb r3, [dst, #-1]! | ||
408 | + strgeb r4, [dst, #-1]! | ||
409 | + strgtb lr, [dst, #-1]! | ||
410 | + subs r2, r2, ip | ||
411 | + blt 25b | ||
412 | + ands ip, src, #3 | ||
413 | + beq 19b | ||
414 | + | ||
415 | +27: bic src, src, #3 | ||
416 | + cmp ip, #2 | ||
417 | + ldr r3, [src] | ||
418 | + beq 35f | ||
419 | + blt 36f | ||
420 | + | ||
421 | + | ||
422 | + .macro backward_copy_shift push pull | ||
423 | + | ||
424 | + cmp r2, #12 | ||
425 | + PLD( pld [src, #-4] ) | ||
426 | + blt 33f | ||
427 | + subs r2, r2, #28 | ||
428 | + stmfd sp!, {r5 - r9} | ||
429 | + blt 31f | ||
430 | + | ||
431 | + PLD( subs r2, r2, #96 ) | ||
432 | + PLD( pld [src, #-32] ) | ||
433 | + PLD( blt 30f ) | ||
434 | + PLD( pld [src, #-64] ) | ||
435 | + | ||
436 | + PLD( @ cache alignment ) | ||
437 | + PLD( ands ip, src, #31 ) | ||
438 | + PLD( pld [src, #-96] ) | ||
439 | + PLD( beq 29f ) | ||
440 | + PLD( cmp r2, ip ) | ||
441 | + PLD( pld [src, #-128] ) | ||
442 | + PLD( blt 29f ) | ||
443 | + PLD( sub r2, r2, ip ) | ||
444 | +28: PLD( mov r4, r3, push #\push ) | ||
445 | + PLD( ldr r3, [src, #-4]! ) | ||
446 | + PLD( subs ip, ip, #4 ) | ||
447 | + PLD( orr r4, r4, r3, pull #\pull ) | ||
448 | + PLD( str r4, [dst, #-4]! ) | ||
449 | + PLD( bgt 28b ) | ||
450 | + | ||
451 | +29: PLD( pld [src, #-128] ) | ||
452 | +30: mov lr, r3, push #\push | ||
453 | + ldmdb src!, {r3 - r9, ip} | ||
454 | + subs r2, r2, #32 | ||
455 | + orr lr, lr, ip, pull #\pull | ||
456 | + mov ip, ip, push #\push | ||
457 | + orr ip, ip, r9, pull #\pull | ||
458 | + mov r9, r9, push #\push | ||
459 | + orr r9, r9, r8, pull #\pull | ||
460 | + mov r8, r8, push #\push | ||
461 | + orr r8, r8, r7, pull #\pull | ||
462 | + mov r7, r7, push #\push | ||
463 | + orr r7, r7, r6, pull #\pull | ||
464 | + mov r6, r6, push #\push | ||
465 | + orr r6, r6, r5, pull #\pull | ||
466 | + mov r5, r5, push #\push | ||
467 | + orr r5, r5, r4, pull #\pull | ||
468 | + mov r4, r4, push #\push | ||
469 | + orr r4, r4, r3, pull #\pull | ||
470 | + stmdb dst!, {r4 - r9, ip, lr} | ||
471 | + bge 29b | ||
472 | + PLD( cmn r2, #96 ) | ||
473 | + PLD( bge 30b ) | ||
474 | + PLD( add r2, r2, #96 ) | ||
475 | + cmn r2, #16 | ||
476 | + blt 32f | ||
477 | +31: mov r7, r3, push #\push | ||
478 | + ldmdb src!, {r3 - r6} | ||
479 | + sub r2, r2, #16 | ||
480 | + orr r7, r7, r6, pull #\pull | ||
481 | + mov r6, r6, push #\push | ||
482 | + orr r6, r6, r5, pull #\pull | ||
483 | + mov r5, r5, push #\push | ||
484 | + orr r5, r5, r4, pull #\pull | ||
485 | + mov r4, r4, push #\push | ||
486 | + orr r4, r4, r3, pull #\pull | ||
487 | + stmdb dst!, {r4 - r7} | ||
488 | +32: adds r2, r2, #28 | ||
489 | + ldmfd sp!, {r5 - r9} | ||
490 | + blt 34f | ||
491 | +33: mov r4, r3, push #\push | ||
492 | + ldr r3, [src, #-4]! | ||
493 | + subs r2, r2, #4 | ||
494 | + orr r4, r4, r3, pull #\pull | ||
495 | + str r4, [dst, #-4]! | ||
496 | + bge 33b | ||
497 | +34: | ||
498 | + .endm | ||
499 | + | ||
500 | + | ||
501 | + backward_copy_shift push=8 pull=24 | ||
502 | + add src, src, #3 | ||
503 | + b 25b | ||
504 | + | ||
505 | +35: backward_copy_shift push=16 pull=16 | ||
506 | + add src, src, #2 | ||
507 | + b 25b | ||
508 | + | ||
509 | +36: backward_copy_shift push=24 pull=8 | ||
510 | + add src, src, #1 | ||
511 | + b 25b | ||
512 | + | ||
513 | + .size bcopy, . - bcopy | ||
514 | +END(bcopy) | ||
515 | |||
516 | --- /dev/null 2004-02-02 20:32:13.000000000 +0000 | ||
517 | +++ sysdeps/arm/memcpy.S 2004-05-02 14:33:22.000000000 +0100 | ||
518 | @@ -0,0 +1,242 @@ | ||
519 | +/* | ||
520 | + * Optimized memcpy implementation for ARM processors | ||
521 | + * | ||
522 | + * Author: Nicolas Pitre | ||
523 | + * Created: Dec 23, 2003 | ||
524 | + * Copyright: (C) MontaVista Software, Inc. | ||
525 | + * | ||
526 | + * This file is free software; you can redistribute it and/or | ||
527 | + * modify it under the terms of the GNU Lesser General Public | ||
528 | + * License as published by the Free Software Foundation; either | ||
529 | + * version 2.1 of the License, or (at your option) any later version. | ||
530 | + * | ||
531 | + * This file is distributed in the hope that it will be useful, | ||
532 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
533 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
534 | + * Lesser General Public License for more details. | ||
535 | + */ | ||
536 | + | ||
537 | +#include <sysdep.h> | ||
538 | + | ||
539 | + | ||
540 | +/* | ||
541 | + * Endian independent macros for shifting bytes within registers. | ||
542 | + */ | ||
543 | +#ifndef __ARMEB__ | ||
544 | +#define pull lsr | ||
545 | +#define push lsl | ||
546 | +#else | ||
547 | +#define pull lsl | ||
548 | +#define push lsr | ||
549 | +#endif | ||
550 | + | ||
551 | +/* | ||
552 | + * Enable data preload for architectures that support it (ARMv5 and above) | ||
553 | + */ | ||
554 | +#if defined(__ARM_ARCH_5__) || \ | ||
555 | + defined(__ARM_ARCH_5T__) || \ | ||
556 | + defined(__ARM_ARCH_5TE__) | ||
557 | +#define PLD(code...) code | ||
558 | +#else | ||
559 | +#define PLD(code...) | ||
560 | +#endif | ||
561 | + | ||
562 | + | ||
563 | +/* char * memcpy (char *dst, const char *src) */ | ||
564 | + | ||
565 | +ENTRY(memcpy) | ||
566 | + subs r2, r2, #4 | ||
567 | + stmfd sp!, {r0, r4, lr} | ||
568 | + blt 7f | ||
569 | + ands ip, r0, #3 | ||
570 | + PLD( pld [r1, #0] ) | ||
571 | + bne 8f | ||
572 | + ands ip, r1, #3 | ||
573 | + bne 9f | ||
574 | + | ||
575 | +1: subs r2, r2, #4 | ||
576 | + blt 6f | ||
577 | + subs r2, r2, #8 | ||
578 | + blt 5f | ||
579 | + subs r2, r2, #16 | ||
580 | + blt 4f | ||
581 | + | ||
582 | + PLD( subs r2, r2, #65 ) | ||
583 | + stmfd sp!, {r5 - r8} | ||
584 | + PLD( blt 3f ) | ||
585 | + PLD( pld [r1, #32] ) | ||
586 | + | ||
587 | + PLD( @ cache alignment ) | ||
588 | + PLD( ands ip, r1, #31 ) | ||
589 | + PLD( pld [r1, #64] ) | ||
590 | + PLD( beq 2f ) | ||
591 | + PLD( rsb ip, ip, #32 ) | ||
592 | + PLD( cmp r2, ip ) | ||
593 | + PLD( pld [r1, #96] ) | ||
594 | + PLD( blt 2f ) | ||
595 | + PLD( cmp ip, #16 ) | ||
596 | + PLD( sub r2, r2, ip ) | ||
597 | + PLD( ldmgeia r1!, {r3 - r6} ) | ||
598 | + PLD( stmgeia r0!, {r3 - r6} ) | ||
599 | + PLD( beq 2f ) | ||
600 | + PLD( and ip, ip, #15 ) | ||
601 | + PLD( cmp ip, #8 ) | ||
602 | + PLD( ldr r3, [r1], #4 ) | ||
603 | + PLD( ldrge r4, [r1], #4 ) | ||
604 | + PLD( ldrgt r5, [r1], #4 ) | ||
605 | + PLD( str r3, [r0], #4 ) | ||
606 | + PLD( strge r4, [r0], #4 ) | ||
607 | + PLD( strgt r5, [r0], #4 ) | ||
608 | + | ||
609 | +2: PLD( pld [r1, #96] ) | ||
610 | +3: ldmia r1!, {r3 - r8, ip, lr} | ||
611 | + subs r2, r2, #32 | ||
612 | + stmia r0!, {r3 - r8, ip, lr} | ||
613 | + bge 2b | ||
614 | + PLD( cmn r2, #65 ) | ||
615 | + PLD( bge 3b ) | ||
616 | + PLD( add r2, r2, #65 ) | ||
617 | + tst r2, #31 | ||
618 | + ldmfd sp!, {r5 - r8} | ||
619 | + ldmeqfd sp!, {r0, r4, pc} | ||
620 | + | ||
621 | + tst r2, #16 | ||
622 | +4: ldmneia r1!, {r3, r4, ip, lr} | ||
623 | + stmneia r0!, {r3, r4, ip, lr} | ||
624 | + | ||
625 | + tst r2, #8 | ||
626 | +5: ldmneia r1!, {r3, r4} | ||
627 | + stmneia r0!, {r3, r4} | ||
628 | + | ||
629 | + tst r2, #4 | ||
630 | +6: ldrne r3, [r1], #4 | ||
631 | + strne r3, [r0], #4 | ||
632 | + | ||
633 | +7: ands r2, r2, #3 | ||
634 | + ldmeqfd sp!, {r0, r4, pc} | ||
635 | + | ||
636 | + cmp r2, #2 | ||
637 | + ldrb r3, [r1], #1 | ||
638 | + ldrgeb r4, [r1], #1 | ||
639 | + ldrgtb ip, [r1] | ||
640 | + strb r3, [r0], #1 | ||
641 | + strgeb r4, [r0], #1 | ||
642 | + strgtb ip, [r0] | ||
643 | + ldmfd sp!, {r0, r4, pc} | ||
644 | + | ||
645 | +8: rsb ip, ip, #4 | ||
646 | + cmp ip, #2 | ||
647 | + ldrb r3, [r1], #1 | ||
648 | + ldrgeb r4, [r1], #1 | ||
649 | + ldrgtb lr, [r1], #1 | ||
650 | + strb r3, [r0], #1 | ||
651 | + strgeb r4, [r0], #1 | ||
652 | + strgtb lr, [r0], #1 | ||
653 | + subs r2, r2, ip | ||
654 | + blt 7b | ||
655 | + ands ip, r1, #3 | ||
656 | + beq 1b | ||
657 | + | ||
658 | +9: bic r1, r1, #3 | ||
659 | + cmp ip, #2 | ||
660 | + ldr lr, [r1], #4 | ||
661 | + beq 17f | ||
662 | + bgt 18f | ||
663 | + | ||
664 | + | ||
665 | + .macro forward_copy_shift pull push | ||
666 | + | ||
667 | + cmp r2, #12 | ||
668 | + PLD( pld [r1, #0] ) | ||
669 | + blt 15f | ||
670 | + subs r2, r2, #28 | ||
671 | + stmfd sp!, {r5 - r9} | ||
672 | + blt 13f | ||
673 | + | ||
674 | + PLD( subs r2, r2, #97 ) | ||
675 | + PLD( blt 12f ) | ||
676 | + PLD( pld [r1, #32] ) | ||
677 | + | ||
678 | + PLD( @ cache alignment ) | ||
679 | + PLD( rsb ip, r1, #36 ) | ||
680 | + PLD( pld [r1, #64] ) | ||
681 | + PLD( ands ip, ip, #31 ) | ||
682 | + PLD( pld [r1, #96] ) | ||
683 | + PLD( beq 11f ) | ||
684 | + PLD( cmp r2, ip ) | ||
685 | + PLD( pld [r1, #128] ) | ||
686 | + PLD( blt 11f ) | ||
687 | + PLD( sub r2, r2, ip ) | ||
688 | +10: PLD( mov r3, lr, pull #\pull ) | ||
689 | + PLD( ldr lr, [r1], #4 ) | ||
690 | + PLD( subs ip, ip, #4 ) | ||
691 | + PLD( orr r3, r3, lr, push #\push ) | ||
692 | + PLD( str r3, [r0], #4 ) | ||
693 | + PLD( bgt 10b ) | ||
694 | + | ||
695 | +11: PLD( pld [r1, #128] ) | ||
696 | +12: mov r3, lr, pull #\pull | ||
697 | + ldmia r1!, {r4 - r9, ip, lr} | ||
698 | + subs r2, r2, #32 | ||
699 | + orr r3, r3, r4, push #\push | ||
700 | + mov r4, r4, pull #\pull | ||
701 | + orr r4, r4, r5, push #\push | ||
702 | + mov r5, r5, pull #\pull | ||
703 | + orr r5, r5, r6, push #\push | ||
704 | + mov r6, r6, pull #\pull | ||
705 | + orr r6, r6, r7, push #\push | ||
706 | + mov r7, r7, pull #\pull | ||
707 | + orr r7, r7, r8, push #\push | ||
708 | + mov r8, r8, pull #\pull | ||
709 | + orr r8, r8, r9, push #\push | ||
710 | + mov r9, r9, pull #\pull | ||
711 | + orr r9, r9, ip, push #\push | ||
712 | + mov ip, ip, pull #\pull | ||
713 | + orr ip, ip, lr, push #\push | ||
714 | + stmia r0!, {r3 - r9, ip} | ||
715 | + bge 11b | ||
716 | + PLD( cmn r2, #97 ) | ||
717 | + PLD( bge 12b ) | ||
718 | + PLD( add r2, r2, #97 ) | ||
719 | + cmn r2, #16 | ||
720 | + blt 14f | ||
721 | +13: mov r3, lr, pull #\pull | ||
722 | + ldmia r1!, {r4 - r6, lr} | ||
723 | + sub r2, r2, #16 | ||
724 | + orr r3, r3, r4, push #\push | ||
725 | + mov r4, r4, pull #\pull | ||
726 | + orr r4, r4, r5, push #\push | ||
727 | + mov r5, r5, pull #\pull | ||
728 | + orr r5, r5, r6, push #\push | ||
729 | + mov r6, r6, pull #\pull | ||
730 | + orr r6, r6, lr, push #\push | ||
731 | + stmia r0!, {r3 - r6} | ||
732 | +14: adds r2, r2, #28 | ||
733 | + ldmfd sp!, {r5 - r9} | ||
734 | + blt 16f | ||
735 | +15: mov r3, lr, pull #\pull | ||
736 | + ldr lr, [r1], #4 | ||
737 | + subs r2, r2, #4 | ||
738 | + orr r3, r3, lr, push #\push | ||
739 | + str r3, [r0], #4 | ||
740 | + bge 15b | ||
741 | +16: | ||
742 | + .endm | ||
743 | + | ||
744 | + | ||
745 | + forward_copy_shift pull=8 push=24 | ||
746 | + sub r1, r1, #3 | ||
747 | + b 7b | ||
748 | + | ||
749 | +17: forward_copy_shift pull=16 push=16 | ||
750 | + sub r1, r1, #2 | ||
751 | + b 7b | ||
752 | + | ||
753 | +18: forward_copy_shift pull=24 push=8 | ||
754 | + sub r1, r1, #1 | ||
755 | + b 7b | ||
756 | + | ||
757 | + .size memcpy, . - memcpy | ||
758 | +END(memcpy) | ||
759 | +libc_hidden_builtin_def (memcpy) | ||
760 | + | ||
diff --git a/meta/recipes-core/glibc/glibc-2.10.1/dl-cache-libcmp.patch b/meta/recipes-core/glibc/glibc-2.10.1/dl-cache-libcmp.patch deleted file mode 100644 index 199aaa6a05..0000000000 --- a/meta/recipes-core/glibc/glibc-2.10.1/dl-cache-libcmp.patch +++ /dev/null | |||
@@ -1,12 +0,0 @@ | |||
1 | Upstream-Status: Inappropriate [not used] | ||
2 | |||
3 | --- glibc-2.4/elf/Versions.ark 2006-03-11 23:30:09.000000000 +0100 | ||
4 | +++ glibc-2.4/elf/Versions 2006-03-11 23:31:44.000000000 +0100 | ||
5 | @@ -63,5 +63,7 @@ | ||
6 | _dl_debug_state; | ||
7 | # Pointer protection. | ||
8 | __pointer_chk_guard; | ||
9 | + # for ldconfig | ||
10 | + _dl_cache_libcmp; | ||
11 | } | ||
12 | } | ||
diff --git a/meta/recipes-core/glibc/glibc-2.10.1/etc/ld.so.conf b/meta/recipes-core/glibc/glibc-2.10.1/etc/ld.so.conf deleted file mode 100644 index ddd777db2a..0000000000 --- a/meta/recipes-core/glibc/glibc-2.10.1/etc/ld.so.conf +++ /dev/null | |||
@@ -1,2 +0,0 @@ | |||
1 | /usr/local/lib | ||
2 | include /etc/ld.so.conf.d/* | ||
diff --git a/meta/recipes-core/glibc/glibc-2.10.1/fhs-linux-paths.patch b/meta/recipes-core/glibc/glibc-2.10.1/fhs-linux-paths.patch deleted file mode 100644 index 91c6781e12..0000000000 --- a/meta/recipes-core/glibc/glibc-2.10.1/fhs-linux-paths.patch +++ /dev/null | |||
@@ -1,13 +0,0 @@ | |||
1 | Upstream-Status: Inappropriate [not used] | ||
2 | |||
3 | --- glibc-2.1.1/sysdeps/unix/sysv/linux/paths.h~ Thu May 27 13:16:33 1999 | ||
4 | +++ glibc-2.1.1/sysdeps/unix/sysv/linux/paths.h Thu May 27 13:17:55 1999 | ||
5 | @@ -71,7 +71,7 @@ | ||
6 | /* Provide trailing slash, since mostly used for building pathnames. */ | ||
7 | #define _PATH_DEV "/dev/" | ||
8 | #define _PATH_TMP "/tmp/" | ||
9 | -#define _PATH_VARDB "/var/db/" | ||
10 | +#define _PATH_VARDB "/var/lib/misc/" | ||
11 | #define _PATH_VARRUN "/var/run/" | ||
12 | #define _PATH_VARTMP "/var/tmp/" | ||
13 | |||
diff --git a/meta/recipes-core/glibc/glibc-2.10.1/generate-supported.mk b/meta/recipes-core/glibc/glibc-2.10.1/generate-supported.mk deleted file mode 100644 index d2a28c2dc6..0000000000 --- a/meta/recipes-core/glibc/glibc-2.10.1/generate-supported.mk +++ /dev/null | |||
@@ -1,11 +0,0 @@ | |||
1 | #!/usr/bin/make | ||
2 | |||
3 | include $(IN) | ||
4 | |||
5 | all: | ||
6 | rm -f $(OUT) | ||
7 | touch $(OUT) | ||
8 | for locale in $(SUPPORTED-LOCALES); do \ | ||
9 | [ $$locale = true ] && continue; \ | ||
10 | echo $$locale | sed 's,/, ,' >> $(OUT); \ | ||
11 | done | ||
diff --git a/meta/recipes-core/glibc/glibc-2.10.1/generic-bits_select.h b/meta/recipes-core/glibc/glibc-2.10.1/generic-bits_select.h deleted file mode 100644 index 47e7dedc30..0000000000 --- a/meta/recipes-core/glibc/glibc-2.10.1/generic-bits_select.h +++ /dev/null | |||
@@ -1,35 +0,0 @@ | |||
1 | /* Copyright (C) 1997, 1998, 2001 Free Software Foundation, Inc. | ||
2 | This file is part of the GNU C Library. | ||
3 | |||
4 | The GNU C Library is free software; you can redistribute it and/or | ||
5 | modify it under the terms of the GNU Lesser General Public | ||
6 | License as published by the Free Software Foundation; either | ||
7 | version 2.1 of the License, or (at your option) any later version. | ||
8 | |||
9 | The GNU C Library is distributed in the hope that it will be useful, | ||
10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
12 | Lesser General Public License for more details. | ||
13 | |||
14 | You should have received a copy of the GNU Lesser General Public | ||
15 | License along with the GNU C Library; if not, write to the Free | ||
16 | Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA | ||
17 | 02111-1307 USA. */ | ||
18 | |||
19 | #ifndef _SYS_SELECT_H | ||
20 | # error "Never use <bits/select.h> directly; include <sys/select.h> instead." | ||
21 | #endif | ||
22 | |||
23 | |||
24 | /* We don't use `memset' because this would require a prototype and | ||
25 | the array isn't too big. */ | ||
26 | #define __FD_ZERO(s) \ | ||
27 | do { \ | ||
28 | unsigned int __i; \ | ||
29 | fd_set *__arr = (s); \ | ||
30 | for (__i = 0; __i < sizeof (fd_set) / sizeof (__fd_mask); ++__i) \ | ||
31 | __FDS_BITS (__arr)[__i] = 0; \ | ||
32 | } while (0) | ||
33 | #define __FD_SET(d, s) (__FDS_BITS (s)[__FDELT(d)] |= __FDMASK(d)) | ||
34 | #define __FD_CLR(d, s) (__FDS_BITS (s)[__FDELT(d)] &= ~__FDMASK(d)) | ||
35 | #define __FD_ISSET(d, s) ((__FDS_BITS (s)[__FDELT(d)] & __FDMASK(d)) != 0) | ||
diff --git a/meta/recipes-core/glibc/glibc-2.10.1/generic-bits_time.h b/meta/recipes-core/glibc/glibc-2.10.1/generic-bits_time.h deleted file mode 100644 index b3184d1de9..0000000000 --- a/meta/recipes-core/glibc/glibc-2.10.1/generic-bits_time.h +++ /dev/null | |||
@@ -1,75 +0,0 @@ | |||
1 | /* System-dependent timing definitions. Generic version. | ||
2 | Copyright (C) 1996,1997,1999-2002,2003 Free Software Foundation, Inc. | ||
3 | This file is part of the GNU C Library. | ||
4 | |||
5 | The GNU C Library is free software; you can redistribute it and/or | ||
6 | modify it under the terms of the GNU Lesser General Public | ||
7 | License as published by the Free Software Foundation; either | ||
8 | version 2.1 of the License, or (at your option) any later version. | ||
9 | |||
10 | The GNU C Library is distributed in the hope that it will be useful, | ||
11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
13 | Lesser General Public License for more details. | ||
14 | |||
15 | You should have received a copy of the GNU Lesser General Public | ||
16 | License along with the GNU C Library; if not, write to the Free | ||
17 | Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA | ||
18 | 02111-1307 USA. */ | ||
19 | |||
20 | /* | ||
21 | * Never include this file directly; use <time.h> instead. | ||
22 | */ | ||
23 | |||
24 | #ifndef __need_timeval | ||
25 | # ifndef _BITS_TIME_H | ||
26 | # define _BITS_TIME_H 1 | ||
27 | |||
28 | /* ISO/IEC 9899:1990 7.12.1: <time.h> | ||
29 | The macro `CLOCKS_PER_SEC' is the number per second of the value | ||
30 | returned by the `clock' function. */ | ||
31 | /* CAE XSH, Issue 4, Version 2: <time.h> | ||
32 | The value of CLOCKS_PER_SEC is required to be 1 million on all | ||
33 | XSI-conformant systems. */ | ||
34 | # define CLOCKS_PER_SEC 1000000l | ||
35 | |||
36 | # if !defined __STRICT_ANSI__ && !defined __USE_XOPEN2K | ||
37 | /* Even though CLOCKS_PER_SEC has such a strange value CLK_TCK | ||
38 | presents the real value for clock ticks per second for the system. */ | ||
39 | # include <bits/types.h> | ||
40 | extern long int __sysconf (int); | ||
41 | # define CLK_TCK ((__clock_t) __sysconf (2)) /* 2 is _SC_CLK_TCK */ | ||
42 | # endif | ||
43 | |||
44 | # ifdef __USE_POSIX199309 | ||
45 | /* Identifier for system-wide realtime clock. */ | ||
46 | # define CLOCK_REALTIME 0 | ||
47 | /* Monotonic system-wide clock. */ | ||
48 | # define CLOCK_MONOTONIC 1 | ||
49 | /* High-resolution timer from the CPU. */ | ||
50 | # define CLOCK_PROCESS_CPUTIME_ID 2 | ||
51 | /* Thread-specific CPU-time clock. */ | ||
52 | # define CLOCK_THREAD_CPUTIME_ID 3 | ||
53 | |||
54 | /* Flag to indicate time is absolute. */ | ||
55 | # define TIMER_ABSTIME 1 | ||
56 | # endif | ||
57 | |||
58 | # endif /* bits/time.h */ | ||
59 | #endif | ||
60 | |||
61 | #ifdef __need_timeval | ||
62 | # undef __need_timeval | ||
63 | # ifndef _STRUCT_TIMEVAL | ||
64 | # define _STRUCT_TIMEVAL 1 | ||
65 | # include <bits/types.h> | ||
66 | |||
67 | /* A time value that is accurate to the nearest | ||
68 | microsecond but also has a range of years. */ | ||
69 | struct timeval | ||
70 | { | ||
71 | __time_t tv_sec; /* Seconds. */ | ||
72 | __suseconds_t tv_usec; /* Microseconds. */ | ||
73 | }; | ||
74 | # endif /* struct timeval */ | ||
75 | #endif /* need timeval */ | ||
diff --git a/meta/recipes-core/glibc/glibc-2.10.1/generic-bits_types.h b/meta/recipes-core/glibc/glibc-2.10.1/generic-bits_types.h deleted file mode 100644 index 65c8a9fe90..0000000000 --- a/meta/recipes-core/glibc/glibc-2.10.1/generic-bits_types.h +++ /dev/null | |||
@@ -1,200 +0,0 @@ | |||
1 | /* bits/types.h -- definitions of __*_t types underlying *_t types. | ||
2 | Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc. | ||
3 | This file is part of the GNU C Library. | ||
4 | |||
5 | The GNU C Library is free software; you can redistribute it and/or | ||
6 | modify it under the terms of the GNU Lesser General Public | ||
7 | License as published by the Free Software Foundation; either | ||
8 | version 2.1 of the License, or (at your option) any later version. | ||
9 | |||
10 | The GNU C Library is distributed in the hope that it will be useful, | ||
11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
13 | Lesser General Public License for more details. | ||
14 | |||
15 | You should have received a copy of the GNU Lesser General Public | ||
16 | License along with the GNU C Library; if not, write to the Free | ||
17 | Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA | ||
18 | 02111-1307 USA. */ | ||
19 | |||
20 | /* | ||
21 | * Never include this file directly; use <sys/types.h> instead. | ||
22 | */ | ||
23 | |||
24 | #ifndef _BITS_TYPES_H | ||
25 | #define _BITS_TYPES_H 1 | ||
26 | |||
27 | #include <features.h> | ||
28 | #include <bits/wordsize.h> | ||
29 | |||
30 | #define __need_size_t | ||
31 | #include <stddef.h> | ||
32 | |||
33 | /* Convenience types. */ | ||
34 | typedef unsigned char __u_char; | ||
35 | typedef unsigned short int __u_short; | ||
36 | typedef unsigned int __u_int; | ||
37 | typedef unsigned long int __u_long; | ||
38 | |||
39 | /* Fixed-size types, underlying types depend on word size and compiler. */ | ||
40 | typedef signed char __int8_t; | ||
41 | typedef unsigned char __uint8_t; | ||
42 | typedef signed short int __int16_t; | ||
43 | typedef unsigned short int __uint16_t; | ||
44 | typedef signed int __int32_t; | ||
45 | typedef unsigned int __uint32_t; | ||
46 | #if __WORDSIZE == 64 | ||
47 | typedef signed long int __int64_t; | ||
48 | typedef unsigned long int __uint64_t; | ||
49 | #elif defined __GLIBC_HAVE_LONG_LONG | ||
50 | __extension__ typedef signed long long int __int64_t; | ||
51 | __extension__ typedef unsigned long long int __uint64_t; | ||
52 | #endif | ||
53 | |||
54 | /* quad_t is also 64 bits. */ | ||
55 | #if __WORDSIZE == 64 | ||
56 | typedef long int __quad_t; | ||
57 | typedef unsigned long int __u_quad_t; | ||
58 | #elif defined __GLIBC_HAVE_LONG_LONG | ||
59 | __extension__ typedef long long int __quad_t; | ||
60 | __extension__ typedef unsigned long long int __u_quad_t; | ||
61 | #else | ||
62 | typedef struct | ||
63 | { | ||
64 | long __val[2]; | ||
65 | } __quad_t; | ||
66 | typedef struct | ||
67 | { | ||
68 | __u_long __val[2]; | ||
69 | } __u_quad_t; | ||
70 | #endif | ||
71 | |||
72 | |||
73 | /* The machine-dependent file <bits/typesizes.h> defines __*_T_TYPE | ||
74 | macros for each of the OS types we define below. The definitions | ||
75 | of those macros must use the following macros for underlying types. | ||
76 | We define __S<SIZE>_TYPE and __U<SIZE>_TYPE for the signed and unsigned | ||
77 | variants of each of the following integer types on this machine. | ||
78 | |||
79 | 16 -- "natural" 16-bit type (always short) | ||
80 | 32 -- "natural" 32-bit type (always int) | ||
81 | 64 -- "natural" 64-bit type (long or long long) | ||
82 | LONG32 -- 32-bit type, traditionally long | ||
83 | QUAD -- 64-bit type, always long long | ||
84 | WORD -- natural type of __WORDSIZE bits (int or long) | ||
85 | LONGWORD -- type of __WORDSIZE bits, traditionally long | ||
86 | |||
87 | We distinguish WORD/LONGWORD, 32/LONG32, and 64/QUAD so that the | ||
88 | conventional uses of `long' or `long long' type modifiers match the | ||
89 | types we define, even when a less-adorned type would be the same size. | ||
90 | This matters for (somewhat) portably writing printf/scanf formats for | ||
91 | these types, where using the appropriate l or ll format modifiers can | ||
92 | make the typedefs and the formats match up across all GNU platforms. If | ||
93 | we used `long' when it's 64 bits where `long long' is expected, then the | ||
94 | compiler would warn about the formats not matching the argument types, | ||
95 | and the programmer changing them to shut up the compiler would break the | ||
96 | program's portability. | ||
97 | |||
98 | Here we assume what is presently the case in all the GCC configurations | ||
99 | we support: long long is always 64 bits, long is always word/address size, | ||
100 | and int is always 32 bits. */ | ||
101 | |||
102 | #define __S16_TYPE short int | ||
103 | #define __U16_TYPE unsigned short int | ||
104 | #define __S32_TYPE int | ||
105 | #define __U32_TYPE unsigned int | ||
106 | #define __SLONGWORD_TYPE long int | ||
107 | #define __ULONGWORD_TYPE unsigned long int | ||
108 | #if __WORDSIZE == 32 | ||
109 | # define __SQUAD_TYPE __quad_t | ||
110 | # define __UQUAD_TYPE __u_quad_t | ||
111 | # define __SWORD_TYPE int | ||
112 | # define __UWORD_TYPE unsigned int | ||
113 | # define __SLONG32_TYPE long int | ||
114 | # define __ULONG32_TYPE unsigned long int | ||
115 | # define __S64_TYPE __quad_t | ||
116 | # define __U64_TYPE __u_quad_t | ||
117 | /* We want __extension__ before typedef's that use nonstandard base types | ||
118 | such as `long long' in C89 mode. */ | ||
119 | # define __STD_TYPE __extension__ typedef | ||
120 | #elif __WORDSIZE == 64 | ||
121 | # define __SQUAD_TYPE long int | ||
122 | # define __UQUAD_TYPE unsigned long int | ||
123 | # define __SWORD_TYPE long int | ||
124 | # define __UWORD_TYPE unsigned long int | ||
125 | # define __SLONG32_TYPE int | ||
126 | # define __ULONG32_TYPE unsigned int | ||
127 | # define __S64_TYPE long int | ||
128 | # define __U64_TYPE unsigned long int | ||
129 | /* No need to mark the typedef with __extension__. */ | ||
130 | # define __STD_TYPE typedef | ||
131 | #else | ||
132 | # error | ||
133 | #endif | ||
134 | #include <bits/typesizes.h> /* Defines __*_T_TYPE macros. */ | ||
135 | |||
136 | |||
137 | __STD_TYPE __DEV_T_TYPE __dev_t; /* Type of device numbers. */ | ||
138 | __STD_TYPE __UID_T_TYPE __uid_t; /* Type of user identifications. */ | ||
139 | __STD_TYPE __GID_T_TYPE __gid_t; /* Type of group identifications. */ | ||
140 | __STD_TYPE __INO_T_TYPE __ino_t; /* Type of file serial numbers. */ | ||
141 | __STD_TYPE __INO64_T_TYPE __ino64_t; /* Type of file serial numbers (LFS).*/ | ||
142 | __STD_TYPE __MODE_T_TYPE __mode_t; /* Type of file attribute bitmasks. */ | ||
143 | __STD_TYPE __NLINK_T_TYPE __nlink_t; /* Type of file link counts. */ | ||
144 | __STD_TYPE __OFF_T_TYPE __off_t; /* Type of file sizes and offsets. */ | ||
145 | __STD_TYPE __OFF64_T_TYPE __off64_t; /* Type of file sizes and offsets (LFS). */ | ||
146 | __STD_TYPE __PID_T_TYPE __pid_t; /* Type of process identifications. */ | ||
147 | __STD_TYPE __FSID_T_TYPE __fsid_t; /* Type of file system IDs. */ | ||
148 | __STD_TYPE __CLOCK_T_TYPE __clock_t; /* Type of CPU usage counts. */ | ||
149 | __STD_TYPE __RLIM_T_TYPE __rlim_t; /* Type for resource measurement. */ | ||
150 | __STD_TYPE __RLIM64_T_TYPE __rlim64_t; /* Type for resource measurement (LFS). */ | ||
151 | __STD_TYPE __ID_T_TYPE __id_t; /* General type for IDs. */ | ||
152 | __STD_TYPE __TIME_T_TYPE __time_t; /* Seconds since the Epoch. */ | ||
153 | __STD_TYPE __USECONDS_T_TYPE __useconds_t; /* Count of microseconds. */ | ||
154 | __STD_TYPE __SUSECONDS_T_TYPE __suseconds_t; /* Signed count of microseconds. */ | ||
155 | |||
156 | __STD_TYPE __DADDR_T_TYPE __daddr_t; /* The type of a disk address. */ | ||
157 | __STD_TYPE __SWBLK_T_TYPE __swblk_t; /* Type of a swap block maybe? */ | ||
158 | __STD_TYPE __KEY_T_TYPE __key_t; /* Type of an IPC key. */ | ||
159 | |||
160 | /* Clock ID used in clock and timer functions. */ | ||
161 | __STD_TYPE __CLOCKID_T_TYPE __clockid_t; | ||
162 | |||
163 | /* Timer ID returned by `timer_create'. */ | ||
164 | __STD_TYPE __TIMER_T_TYPE __timer_t; | ||
165 | |||
166 | /* Type to represent block size. */ | ||
167 | __STD_TYPE __BLKSIZE_T_TYPE __blksize_t; | ||
168 | |||
169 | /* Types from the Large File Support interface. */ | ||
170 | |||
171 | /* Type to count number of disk blocks. */ | ||
172 | __STD_TYPE __BLKCNT_T_TYPE __blkcnt_t; | ||
173 | __STD_TYPE __BLKCNT64_T_TYPE __blkcnt64_t; | ||
174 | |||
175 | /* Type to count file system blocks. */ | ||
176 | __STD_TYPE __FSBLKCNT_T_TYPE __fsblkcnt_t; | ||
177 | __STD_TYPE __FSBLKCNT64_T_TYPE __fsblkcnt64_t; | ||
178 | |||
179 | /* Type to count file system nodes. */ | ||
180 | __STD_TYPE __FSFILCNT_T_TYPE __fsfilcnt_t; | ||
181 | __STD_TYPE __FSFILCNT64_T_TYPE __fsfilcnt64_t; | ||
182 | |||
183 | __STD_TYPE __SSIZE_T_TYPE __ssize_t; /* Type of a byte count, or error. */ | ||
184 | |||
185 | /* These few don't really vary by system, they always correspond | ||
186 | to one of the other defined types. */ | ||
187 | typedef __off64_t __loff_t; /* Type of file sizes and offsets (LFS). */ | ||
188 | typedef __quad_t *__qaddr_t; | ||
189 | typedef char *__caddr_t; | ||
190 | |||
191 | /* Duplicates info from stdint.h but this is used in unistd.h. */ | ||
192 | __STD_TYPE __SWORD_TYPE __intptr_t; | ||
193 | |||
194 | /* Duplicate info from sys/socket.h. */ | ||
195 | __STD_TYPE __U32_TYPE __socklen_t; | ||
196 | |||
197 | |||
198 | #undef __STD_TYPE | ||
199 | |||
200 | #endif /* bits/types.h */ | ||
diff --git a/meta/recipes-core/glibc/glibc-2.10.1/generic-bits_typesizes.h b/meta/recipes-core/glibc/glibc-2.10.1/generic-bits_typesizes.h deleted file mode 100644 index e9226c4174..0000000000 --- a/meta/recipes-core/glibc/glibc-2.10.1/generic-bits_typesizes.h +++ /dev/null | |||
@@ -1,66 +0,0 @@ | |||
1 | /* bits/typesizes.h -- underlying types for *_t. Generic version. | ||
2 | Copyright (C) 2002, 2003 Free Software Foundation, Inc. | ||
3 | This file is part of the GNU C Library. | ||
4 | |||
5 | The GNU C Library is free software; you can redistribute it and/or | ||
6 | modify it under the terms of the GNU Lesser General Public | ||
7 | License as published by the Free Software Foundation; either | ||
8 | version 2.1 of the License, or (at your option) any later version. | ||
9 | |||
10 | The GNU C Library is distributed in the hope that it will be useful, | ||
11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
13 | Lesser General Public License for more details. | ||
14 | |||
15 | You should have received a copy of the GNU Lesser General Public | ||
16 | License along with the GNU C Library; if not, write to the Free | ||
17 | Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA | ||
18 | 02111-1307 USA. */ | ||
19 | |||
20 | #ifndef _BITS_TYPES_H | ||
21 | # error "Never include <bits/typesizes.h> directly; use <sys/types.h> instead." | ||
22 | #endif | ||
23 | |||
24 | #ifndef _BITS_TYPESIZES_H | ||
25 | #define _BITS_TYPESIZES_H 1 | ||
26 | |||
27 | /* See <bits/types.h> for the meaning of these macros. This file exists so | ||
28 | that <bits/types.h> need not vary across different GNU platforms. */ | ||
29 | |||
30 | #define __DEV_T_TYPE __UQUAD_TYPE | ||
31 | #define __UID_T_TYPE __U32_TYPE | ||
32 | #define __GID_T_TYPE __U32_TYPE | ||
33 | #define __INO_T_TYPE __ULONGWORD_TYPE | ||
34 | #define __INO64_T_TYPE __UQUAD_TYPE | ||
35 | #define __MODE_T_TYPE __U32_TYPE | ||
36 | #define __NLINK_T_TYPE __UWORD_TYPE | ||
37 | #define __OFF_T_TYPE __SLONGWORD_TYPE | ||
38 | #define __OFF64_T_TYPE __SQUAD_TYPE | ||
39 | #define __PID_T_TYPE __S32_TYPE | ||
40 | #define __RLIM_T_TYPE __ULONGWORD_TYPE | ||
41 | #define __RLIM64_T_TYPE __UQUAD_TYPE | ||
42 | #define __BLKCNT_T_TYPE __SLONGWORD_TYPE | ||
43 | #define __BLKCNT64_T_TYPE __SQUAD_TYPE | ||
44 | #define __FSBLKCNT_T_TYPE __ULONGWORD_TYPE | ||
45 | #define __FSBLKCNT64_T_TYPE __UQUAD_TYPE | ||
46 | #define __FSFILCNT_T_TYPE __ULONGWORD_TYPE | ||
47 | #define __FSFILCNT64_T_TYPE __UQUAD_TYPE | ||
48 | #define __ID_T_TYPE __U32_TYPE | ||
49 | #define __CLOCK_T_TYPE __SLONGWORD_TYPE | ||
50 | #define __TIME_T_TYPE __SLONGWORD_TYPE | ||
51 | #define __USECONDS_T_TYPE __U32_TYPE | ||
52 | #define __SUSECONDS_T_TYPE __SLONGWORD_TYPE | ||
53 | #define __DADDR_T_TYPE __S32_TYPE | ||
54 | #define __SWBLK_T_TYPE __SLONGWORD_TYPE | ||
55 | #define __KEY_T_TYPE __S32_TYPE | ||
56 | #define __CLOCKID_T_TYPE __S32_TYPE | ||
57 | #define __TIMER_T_TYPE void * | ||
58 | #define __BLKSIZE_T_TYPE __SLONGWORD_TYPE | ||
59 | #define __FSID_T_TYPE struct { int __val[2]; } | ||
60 | #define __SSIZE_T_TYPE __SWORD_TYPE | ||
61 | |||
62 | /* Number of descriptors that can fit in an `fd_set'. */ | ||
63 | #define __FD_SETSIZE 1024 | ||
64 | |||
65 | |||
66 | #endif /* bits/typesizes.h */ | ||
diff --git a/meta/recipes-core/glibc/glibc-2.10.1/glibc-2.9-enable-binutils-2.2.patch b/meta/recipes-core/glibc/glibc-2.10.1/glibc-2.9-enable-binutils-2.2.patch deleted file mode 100644 index 07e4758601..0000000000 --- a/meta/recipes-core/glibc/glibc-2.10.1/glibc-2.9-enable-binutils-2.2.patch +++ /dev/null | |||
@@ -1,37 +0,0 @@ | |||
1 | Upstream-Status: Inappropriate [configuration] | ||
2 | |||
3 | --- glibc-2.9.orig/configure.in 2009-10-22 15:38:13.000000000 +0200 | ||
4 | +++ glibc-2.9/configure.in 2009-10-22 15:37:33.000000000 +0200 | ||
5 | @@ -844,10 +844,10 @@ | ||
6 | # Accept binutils 2.13 or newer. | ||
7 | AC_CHECK_PROG_VER(AS, $AS, --version, | ||
8 | [GNU assembler.* \([0-9]*\.[0-9.]*\)], | ||
9 | - [2.1[3-9]*], AS=: critic_missing="$critic_missing as") | ||
10 | + [2.1[3-9]* | 2.2* ], AS=: critic_missing="$critic_missing as") | ||
11 | AC_CHECK_PROG_VER(LD, $LD, --version, | ||
12 | [GNU ld.* \([0-9][0-9]*\.[0-9.]*\)], | ||
13 | - [2.1[3-9]*], LD=: critic_missing="$critic_missing ld") | ||
14 | + [2.1[3-9]* | 2.2* ], LD=: critic_missing="$critic_missing ld") | ||
15 | |||
16 | # We need the physical current working directory. We cannot use the | ||
17 | # "pwd -P" shell builtin since that's not portable. Instead we try to | ||
18 | --- glibc-2.9.orig/configure 2009-02-26 22:28:17.000000000 +0100 | ||
19 | +++ glibc-2.9/configure 2009-10-22 15:43:11.000000000 +0200 | ||
20 | @@ -4531,7 +4531,7 @@ | ||
21 | ac_prog_version=`$AS --version 2>&1 | sed -n 's/^.*GNU assembler.* \([0-9]*\.[0-9.]*\).*$/\1/p'` | ||
22 | case $ac_prog_version in | ||
23 | '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;; | ||
24 | - 2.1[3-9]*) | ||
25 | + 2.1[3-9]* | 2.2*) | ||
26 | ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;; | ||
27 | *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;; | ||
28 | |||
29 | @@ -4594,7 +4594,7 @@ | ||
30 | ac_prog_version=`$LD --version 2>&1 | sed -n 's/^.*GNU ld.* \([0-9][0-9]*\.[0-9.]*\).*$/\1/p'` | ||
31 | case $ac_prog_version in | ||
32 | '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;; | ||
33 | - 2.1[3-9]*) | ||
34 | + 2.1[3-9]* | 2.2*) | ||
35 | ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;; | ||
36 | *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;; | ||
37 | |||
diff --git a/meta/recipes-core/glibc/glibc-2.10.1/glibc-arm-IO-acquire-lock-fix.diff b/meta/recipes-core/glibc/glibc-2.10.1/glibc-arm-IO-acquire-lock-fix.diff deleted file mode 100644 index 843c5e8b17..0000000000 --- a/meta/recipes-core/glibc/glibc-2.10.1/glibc-arm-IO-acquire-lock-fix.diff +++ /dev/null | |||
@@ -1,15 +0,0 @@ | |||
1 | Arm needs a similar fix as http://sourceware.org/ml/libc-ports/2007-12/msg00000.html | ||
2 | |||
3 | Upstream-Status: Inappropriate [not used] | ||
4 | |||
5 | --- /tmp/stdio-lock.h 2008-03-04 18:51:15.555038993 +0100 | ||
6 | +++ glibc-2.7/ports/sysdeps/unix/sysv/linux/arm/bits/stdio-lock.h 2008-03-04 18:51:28.445035052 +0100 | ||
7 | @@ -50,6 +50,8 @@ | ||
8 | _IO_cleanup_region_start ((void (*) (void *)) _IO_funlockfile, (_fp)); \ | ||
9 | _IO_flockfile (_fp) | ||
10 | |||
11 | +# define _IO_acquire_lock_clear_flags2(_fp) _IO_acquire_lock (_fp) | ||
12 | + | ||
13 | # define _IO_release_lock(_fp) \ | ||
14 | _IO_funlockfile (_fp); \ | ||
15 | _IO_cleanup_region_end (0) | ||
diff --git a/meta/recipes-core/glibc/glibc-2.10.1/glibc-arm-no-asm-page.patch b/meta/recipes-core/glibc/glibc-2.10.1/glibc-arm-no-asm-page.patch deleted file mode 100644 index 9dba9d295e..0000000000 --- a/meta/recipes-core/glibc/glibc-2.10.1/glibc-arm-no-asm-page.patch +++ /dev/null | |||
@@ -1,17 +0,0 @@ | |||
1 | http://sourceware.org/ml/libc-ports/2008-04/msg00005.html | ||
2 | |||
3 | Upstream-Status: Inappropriate [not used] | ||
4 | |||
5 | |||
6 | Index: glibc-2.6.1/ports/sysdeps/unix/sysv/linux/arm/ioperm.c | ||
7 | =================================================================== | ||
8 | --- glibc-2.6.1.orig/ports/sysdeps/unix/sysv/linux/arm/ioperm.c 2008-09-12 18:08:18.000000000 -0700 | ||
9 | +++ glibc-2.6.1/ports/sysdeps/unix/sysv/linux/arm/ioperm.c 2008-09-12 18:08:28.000000000 -0700 | ||
10 | @@ -45,7 +45,6 @@ | ||
11 | #include <sys/mman.h> | ||
12 | |||
13 | #include <linux/version.h> | ||
14 | -#include <asm/page.h> | ||
15 | #include <sys/sysctl.h> | ||
16 | |||
17 | #define PATH_ARM_SYSTYPE "/etc/arm_systype" | ||
diff --git a/meta/recipes-core/glibc/glibc-2.10.1/glibc-check_pf.patch b/meta/recipes-core/glibc/glibc-2.10.1/glibc-check_pf.patch deleted file mode 100644 index a0e55bfaec..0000000000 --- a/meta/recipes-core/glibc/glibc-2.10.1/glibc-check_pf.patch +++ /dev/null | |||
@@ -1,345 +0,0 @@ | |||
1 | From libc-ports-return-550-listarch-libc-ports=sources dot redhat dot com at sourceware dot org Tue Oct 31 17:37:21 2006 | ||
2 | Return-Path: <libc-ports-return-550-listarch-libc-ports=sources dot redhat dot com at sourceware dot org> | ||
3 | Delivered-To: listarch-libc-ports at sources dot redhat dot com | ||
4 | Received: (qmail 17273 invoked by alias); 31 Oct 2006 17:37:20 -0000 | ||
5 | Received: (qmail 17262 invoked by uid 22791); 31 Oct 2006 17:37:19 -0000 | ||
6 | X-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,TW_CP | ||
7 | X-Spam-Check-By: sourceware.org | ||
8 | Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Tue, 31 Oct 2006 17:37:11 +0000 | ||
9 | Received: from drow by nevyn.them.org with local (Exim 4.54) id 1GexXw-0007Dj-30; Tue, 31 Oct 2006 12:37:08 -0500 | ||
10 | Date: Tue, 31 Oct 2006 12:37:08 -0500 | ||
11 | From: Daniel Jacobowitz <drow at false dot org> | ||
12 | To: Mike Frysinger <vapier at gentoo dot org> | ||
13 | Cc: libc-ports at sourceware dot org, Philip Balister <philip dot balister at gmail dot com> | ||
14 | Subject: Re: Problem with glibc-2.5 on ARM | ||
15 | Message-ID: <20061031173708.GJ20468@nevyn.them.org> | ||
16 | References: <499146270610241149ibe030e0nd9d6b177a95b346e@mail.gmail.com> <499146270610241254u7cadf63ej2edf05cedbc5266f@mail.gmail.com> <20061024195837.GA20181@nevyn.them.org> <200610291954.27022.vapier@gentoo.org> | ||
17 | MIME-Version: 1.0 | ||
18 | Content-Type: text/plain; charset=us-ascii | ||
19 | Content-Disposition: inline | ||
20 | In-Reply-To: <200610291954 dot 27022 dot vapier at gentoo dot org> | ||
21 | User-Agent: Mutt/1.5.13 (2006-08-11) | ||
22 | X-IsSubscribed: yes | ||
23 | Mailing-List: contact libc-ports-help at sourceware dot org; run by ezmlm | ||
24 | Precedence: bulk | ||
25 | List-Subscribe: <mailto:libc-ports-subscribe at sourceware dot org> | ||
26 | List-Post: <mailto:libc-ports at sourceware dot org> | ||
27 | List-Help: <mailto:libc-ports-help at sourceware dot org>, <http://sourceware dot org/lists dot html#faqs> | ||
28 | Sender: libc-ports-owner at sourceware dot org | ||
29 | Delivered-To: mailing list libc-ports at sourceware dot org | ||
30 | |||
31 | On Sun, Oct 29, 2006 at 07:54:25PM -0500, Mike Frysinger wrote: | ||
32 | > On Tuesday 24 October 2006 15:58, Daniel Jacobowitz wrote: | ||
33 | > > ARM is going to need a slightly different version of that file, I | ||
34 | > > guess. | ||
35 | > | ||
36 | > would declaring req with attribute packed not help ? | ||
37 | > -mike | ||
38 | |||
39 | Nope. "struct rtgenmsg" would still have size 4. | ||
40 | |||
41 | Philip, are you still at all interested in this for the old ABI? | ||
42 | I don't have time to test this patch right now, but I think it | ||
43 | will work. | ||
44 | |||
45 | -- | ||
46 | Daniel Jacobowitz | ||
47 | CodeSourcery | ||
48 | |||
49 | 2006-10-31 Daniel Jacobowitz <dan@codesourcery.com> | ||
50 | |||
51 | * sysdeps/unix/sysv/linux/arm/check_pf.c: New file. | ||
52 | * sysdeps/unix/sysv/linux/arm/eabi/check_pf.c: New file. | ||
53 | |||
54 | Upstream-Status: Inappropriate [not used] | ||
55 | |||
56 | Index: sysdeps/unix/sysv/linux/arm/check_pf.c | ||
57 | =================================================================== | ||
58 | RCS file: sysdeps/unix/sysv/linux/arm/check_pf.c | ||
59 | diff -N sysdeps/unix/sysv/linux/arm/check_pf.c | ||
60 | --- /dev/null 1 Jan 1970 00:00:00 -0000 | ||
61 | +++ sysdeps/unix/sysv/linux/arm/check_pf.c 31 Oct 2006 17:29:58 -0000 | ||
62 | @@ -0,0 +1,274 @@ | ||
63 | +/* Determine protocol families for which interfaces exist. ARM Linux version. | ||
64 | + Copyright (C) 2003, 2006 Free Software Foundation, Inc. | ||
65 | + This file is part of the GNU C Library. | ||
66 | + | ||
67 | + The GNU C Library is free software; you can redistribute it and/or | ||
68 | + modify it under the terms of the GNU Lesser General Public | ||
69 | + License as published by the Free Software Foundation; either | ||
70 | + version 2.1 of the License, or (at your option) any later version. | ||
71 | + | ||
72 | + The GNU C Library is distributed in the hope that it will be useful, | ||
73 | + but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
74 | + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
75 | + Lesser General Public License for more details. | ||
76 | + | ||
77 | + You should have received a copy of the GNU Lesser General Public | ||
78 | + License along with the GNU C Library; if not, write to the Free | ||
79 | + Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA | ||
80 | + 02111-1307 USA. */ | ||
81 | + | ||
82 | +#include <assert.h> | ||
83 | +#include <errno.h> | ||
84 | +#include <ifaddrs.h> | ||
85 | +#include <netdb.h> | ||
86 | +#include <stddef.h> | ||
87 | +#include <string.h> | ||
88 | +#include <time.h> | ||
89 | +#include <unistd.h> | ||
90 | +#include <sys/socket.h> | ||
91 | + | ||
92 | +#include <asm/types.h> | ||
93 | +#include <linux/netlink.h> | ||
94 | +#include <linux/rtnetlink.h> | ||
95 | + | ||
96 | +#include <not-cancel.h> | ||
97 | +#include <kernel-features.h> | ||
98 | + | ||
99 | + | ||
100 | +#ifndef IFA_F_TEMPORARY | ||
101 | +# define IFA_F_TEMPORARY IFA_F_SECONDARY | ||
102 | +#endif | ||
103 | +#ifndef IFA_F_HOMEADDRESS | ||
104 | +# define IFA_F_HOMEADDRESS 0 | ||
105 | +#endif | ||
106 | + | ||
107 | + | ||
108 | +static int | ||
109 | +make_request (int fd, pid_t pid, bool *seen_ipv4, bool *seen_ipv6, | ||
110 | + struct in6addrinfo **in6ai, size_t *in6ailen) | ||
111 | +{ | ||
112 | + struct req | ||
113 | + { | ||
114 | + struct nlmsghdr nlh; | ||
115 | + struct rtgenmsg g; | ||
116 | + } req; | ||
117 | + struct sockaddr_nl nladdr; | ||
118 | + | ||
119 | + /* struct rtgenmsg consists of a single byte but the ARM ABI rounds | ||
120 | + it up to a word. Clear the padding explicitly here. */ | ||
121 | + assert (sizeof (req.g) == 4); | ||
122 | + memset (&req.g, '\0', sizeof (req.g)); | ||
123 | + | ||
124 | + req.nlh.nlmsg_len = sizeof (req); | ||
125 | + req.nlh.nlmsg_type = RTM_GETADDR; | ||
126 | + req.nlh.nlmsg_flags = NLM_F_ROOT | NLM_F_MATCH | NLM_F_REQUEST; | ||
127 | + req.nlh.nlmsg_pid = 0; | ||
128 | + req.nlh.nlmsg_seq = time (NULL); | ||
129 | + req.g.rtgen_family = AF_UNSPEC; | ||
130 | + | ||
131 | + memset (&nladdr, '\0', sizeof (nladdr)); | ||
132 | + nladdr.nl_family = AF_NETLINK; | ||
133 | + | ||
134 | + if (TEMP_FAILURE_RETRY (__sendto (fd, (void *) &req, sizeof (req), 0, | ||
135 | + (struct sockaddr *) &nladdr, | ||
136 | + sizeof (nladdr))) < 0) | ||
137 | + return -1; | ||
138 | + | ||
139 | + *seen_ipv4 = false; | ||
140 | + *seen_ipv6 = false; | ||
141 | + | ||
142 | + bool done = false; | ||
143 | + char buf[4096]; | ||
144 | + struct iovec iov = { buf, sizeof (buf) }; | ||
145 | + struct in6ailist | ||
146 | + { | ||
147 | + struct in6addrinfo info; | ||
148 | + struct in6ailist *next; | ||
149 | + } *in6ailist = NULL; | ||
150 | + size_t in6ailistlen = 0; | ||
151 | + | ||
152 | + do | ||
153 | + { | ||
154 | + struct msghdr msg = | ||
155 | + { | ||
156 | + (void *) &nladdr, sizeof (nladdr), | ||
157 | + &iov, 1, | ||
158 | + NULL, 0, | ||
159 | + 0 | ||
160 | + }; | ||
161 | + | ||
162 | + ssize_t read_len = TEMP_FAILURE_RETRY (__recvmsg (fd, &msg, 0)); | ||
163 | + if (read_len < 0) | ||
164 | + return -1; | ||
165 | + | ||
166 | + if (msg.msg_flags & MSG_TRUNC) | ||
167 | + return -1; | ||
168 | + | ||
169 | + struct nlmsghdr *nlmh; | ||
170 | + for (nlmh = (struct nlmsghdr *) buf; | ||
171 | + NLMSG_OK (nlmh, (size_t) read_len); | ||
172 | + nlmh = (struct nlmsghdr *) NLMSG_NEXT (nlmh, read_len)) | ||
173 | + { | ||
174 | + if (nladdr.nl_pid != 0 || (pid_t) nlmh->nlmsg_pid != pid | ||
175 | + || nlmh->nlmsg_seq != req.nlh.nlmsg_seq) | ||
176 | + continue; | ||
177 | + | ||
178 | + if (nlmh->nlmsg_type == RTM_NEWADDR) | ||
179 | + { | ||
180 | + struct ifaddrmsg *ifam = (struct ifaddrmsg *) NLMSG_DATA (nlmh); | ||
181 | + | ||
182 | + switch (ifam->ifa_family) | ||
183 | + { | ||
184 | + case AF_INET: | ||
185 | + *seen_ipv4 = true; | ||
186 | + break; | ||
187 | + case AF_INET6: | ||
188 | + *seen_ipv6 = true; | ||
189 | + | ||
190 | + if (ifam->ifa_flags & (IFA_F_DEPRECATED | ||
191 | + | IFA_F_TEMPORARY | ||
192 | + | IFA_F_HOMEADDRESS)) | ||
193 | + { | ||
194 | + struct rtattr *rta = IFA_RTA (ifam); | ||
195 | + size_t len = (nlmh->nlmsg_len | ||
196 | + - NLMSG_LENGTH (sizeof (*ifam))); | ||
197 | + void *local = NULL; | ||
198 | + void *address = NULL; | ||
199 | + while (RTA_OK (rta, len)) | ||
200 | + { | ||
201 | + switch (rta->rta_type) | ||
202 | + { | ||
203 | + case IFA_LOCAL: | ||
204 | + local = RTA_DATA (rta); | ||
205 | + break; | ||
206 | + | ||
207 | + case IFA_ADDRESS: | ||
208 | + address = RTA_DATA (rta); | ||
209 | + break; | ||
210 | + } | ||
211 | + | ||
212 | + rta = RTA_NEXT (rta, len); | ||
213 | + } | ||
214 | + | ||
215 | + struct in6ailist *newp = alloca (sizeof (*newp)); | ||
216 | + newp->info.flags = (((ifam->ifa_flags & IFA_F_DEPRECATED) | ||
217 | + ? in6ai_deprecated : 0) | ||
218 | + | ((ifam->ifa_flags | ||
219 | + & IFA_F_TEMPORARY) | ||
220 | + ? in6ai_temporary : 0) | ||
221 | + | ((ifam->ifa_flags | ||
222 | + & IFA_F_HOMEADDRESS) | ||
223 | + ? in6ai_homeaddress : 0)); | ||
224 | + memcpy (newp->info.addr, address ?: local, | ||
225 | + sizeof (newp->info.addr)); | ||
226 | + newp->next = in6ailist; | ||
227 | + in6ailist = newp; | ||
228 | + ++in6ailistlen; | ||
229 | + } | ||
230 | + break; | ||
231 | + default: | ||
232 | + /* Ignore. */ | ||
233 | + break; | ||
234 | + } | ||
235 | + } | ||
236 | + else if (nlmh->nlmsg_type == NLMSG_DONE) | ||
237 | + /* We found the end, leave the loop. */ | ||
238 | + done = true; | ||
239 | + } | ||
240 | + } | ||
241 | + while (! done); | ||
242 | + | ||
243 | + close_not_cancel_no_status (fd); | ||
244 | + | ||
245 | + if (in6ailist != NULL) | ||
246 | + { | ||
247 | + *in6ai = malloc (in6ailistlen * sizeof (**in6ai)); | ||
248 | + if (*in6ai == NULL) | ||
249 | + return -1; | ||
250 | + | ||
251 | + *in6ailen = in6ailistlen; | ||
252 | + | ||
253 | + do | ||
254 | + { | ||
255 | + (*in6ai)[--in6ailistlen] = in6ailist->info; | ||
256 | + in6ailist = in6ailist->next; | ||
257 | + } | ||
258 | + while (in6ailist != NULL); | ||
259 | + } | ||
260 | + | ||
261 | + return 0; | ||
262 | +} | ||
263 | + | ||
264 | + | ||
265 | +/* We don't know if we have NETLINK support compiled in in our | ||
266 | + Kernel. */ | ||
267 | +#if __ASSUME_NETLINK_SUPPORT == 0 | ||
268 | +/* Define in ifaddrs.h. */ | ||
269 | +extern int __no_netlink_support attribute_hidden; | ||
270 | +#else | ||
271 | +# define __no_netlink_support 0 | ||
272 | +#endif | ||
273 | + | ||
274 | + | ||
275 | +void | ||
276 | +attribute_hidden | ||
277 | +__check_pf (bool *seen_ipv4, bool *seen_ipv6, | ||
278 | + struct in6addrinfo **in6ai, size_t *in6ailen) | ||
279 | +{ | ||
280 | + *in6ai = NULL; | ||
281 | + *in6ailen = 0; | ||
282 | + | ||
283 | + if (! __no_netlink_support) | ||
284 | + { | ||
285 | + int fd = __socket (PF_NETLINK, SOCK_RAW, NETLINK_ROUTE); | ||
286 | + | ||
287 | + struct sockaddr_nl nladdr; | ||
288 | + memset (&nladdr, '\0', sizeof (nladdr)); | ||
289 | + nladdr.nl_family = AF_NETLINK; | ||
290 | + | ||
291 | + socklen_t addr_len = sizeof (nladdr); | ||
292 | + | ||
293 | + if (fd >= 0 | ||
294 | + && __bind (fd, (struct sockaddr *) &nladdr, sizeof (nladdr)) == 0 | ||
295 | + && __getsockname (fd, (struct sockaddr *) &nladdr, &addr_len) == 0 | ||
296 | + && make_request (fd, nladdr.nl_pid, seen_ipv4, seen_ipv6, | ||
297 | + in6ai, in6ailen) == 0) | ||
298 | + /* It worked. */ | ||
299 | + return; | ||
300 | + | ||
301 | + if (fd >= 0) | ||
302 | + __close (fd); | ||
303 | + | ||
304 | +#if __ASSUME_NETLINK_SUPPORT == 0 | ||
305 | + /* Remember that there is no netlink support. */ | ||
306 | + __no_netlink_support = 1; | ||
307 | +#else | ||
308 | + /* We cannot determine what interfaces are available. Be | ||
309 | + pessimistic. */ | ||
310 | + *seen_ipv4 = true; | ||
311 | + *seen_ipv6 = true; | ||
312 | +#endif | ||
313 | + } | ||
314 | + | ||
315 | +#if __ASSUME_NETLINK_SUPPORT == 0 | ||
316 | + /* No netlink. Get the interface list via getifaddrs. */ | ||
317 | + struct ifaddrs *ifa = NULL; | ||
318 | + if (getifaddrs (&ifa) != 0) | ||
319 | + { | ||
320 | + /* We cannot determine what interfaces are available. Be | ||
321 | + pessimistic. */ | ||
322 | + *seen_ipv4 = true; | ||
323 | + *seen_ipv6 = true; | ||
324 | + return; | ||
325 | + } | ||
326 | + | ||
327 | + struct ifaddrs *runp; | ||
328 | + for (runp = ifa; runp != NULL; runp = runp->ifa_next) | ||
329 | + if (runp->ifa_addr->sa_family == PF_INET) | ||
330 | + *seen_ipv4 = true; | ||
331 | + else if (runp->ifa_addr->sa_family == PF_INET6) | ||
332 | + *seen_ipv6 = true; | ||
333 | + | ||
334 | + (void) freeifaddrs (ifa); | ||
335 | +#endif | ||
336 | +} | ||
337 | Index: sysdeps/unix/sysv/linux/arm/eabi/check_pf.c | ||
338 | =================================================================== | ||
339 | RCS file: sysdeps/unix/sysv/linux/arm/eabi/check_pf.c | ||
340 | diff -N sysdeps/unix/sysv/linux/arm/eabi/check_pf.c | ||
341 | --- /dev/null 1 Jan 1970 00:00:00 -0000 | ||
342 | +++ sysdeps/unix/sysv/linux/arm/eabi/check_pf.c 31 Oct 2006 17:29:58 -0000 | ||
343 | @@ -0,0 +1 @@ | ||
344 | +#include <sysdeps/unix/sysv/linux/check_pf.c> | ||
345 | |||
diff --git a/meta/recipes-core/glibc/glibc-2.10.1/ldd-unbash.patch b/meta/recipes-core/glibc/glibc-2.10.1/ldd-unbash.patch deleted file mode 100644 index 1601310796..0000000000 --- a/meta/recipes-core/glibc/glibc-2.10.1/ldd-unbash.patch +++ /dev/null | |||
@@ -1,13 +0,0 @@ | |||
1 | Upstream-Status: Inappropriate [not used] | ||
2 | |||
3 | --- glibc-2.5/elf/ldd.bash.in.org 2006-04-30 16:06:20.000000000 +0000 | ||
4 | +++ glibc-2.5/elf/ldd.bash.in 2007-03-30 19:18:57.000000000 +0000 | ||
5 | @@ -110,7 +110,7 @@ | ||
6 | # environments where the executed program might not have permissions | ||
7 | # to write to the console/tty. But only bash 3.x supports the pipefail | ||
8 | # option, and we don't bother to handle the case for older bash versions. | ||
9 | -if set -o pipefail 2> /dev/null; then | ||
10 | +if false; then | ||
11 | try_trace() { | ||
12 | eval $add_env '"$@"' | cat | ||
13 | } | ||
diff --git a/meta/recipes-core/glibc/glibc-2.10.1/ldsocache-varrun.patch b/meta/recipes-core/glibc/glibc-2.10.1/ldsocache-varrun.patch deleted file mode 100644 index c303c64dff..0000000000 --- a/meta/recipes-core/glibc/glibc-2.10.1/ldsocache-varrun.patch +++ /dev/null | |||
@@ -1,20 +0,0 @@ | |||
1 | This patch moves ld.so.cache from /etc to /var/run. This is for devices | ||
2 | where /etc is JFFS2 or CRAMFS but /var is a ramdisk. | ||
3 | |||
4 | # | ||
5 | # Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher | ||
6 | # | ||
7 | |||
8 | Upstream-Status: Inappropriate [not used] | ||
9 | |||
10 | --- libc/sysdeps/generic/dl-cache.h~ldsocache-varrun | ||
11 | +++ libc/sysdeps/generic/dl-cache.h | ||
12 | @@ -29,7 +29,7 @@ | ||
13 | #endif | ||
14 | |||
15 | #ifndef LD_SO_CACHE | ||
16 | -# define LD_SO_CACHE SYSCONFDIR "/ld.so.cache" | ||
17 | +# define LD_SO_CACHE "/var/run/ld.so.cache" | ||
18 | #endif | ||
19 | |||
20 | #ifndef add_system_dir | ||
diff --git a/meta/recipes-core/glibc/glibc-2.10.1/march-i686.patch b/meta/recipes-core/glibc/glibc-2.10.1/march-i686.patch deleted file mode 100644 index 687235cfce..0000000000 --- a/meta/recipes-core/glibc/glibc-2.10.1/march-i686.patch +++ /dev/null | |||
@@ -1,39 +0,0 @@ | |||
1 | 2007-02-15 Khem Raj <kraj@xxxxxxxxxx> | ||
2 | |||
3 | * sysdeps/unix/sysv/linux/i386/sysdep.h: Re-define __i686. | ||
4 | * nptl/sysdeps/pthread/pt-initfini.c: Ditto. | ||
5 | |||
6 | |||
7 | Upstream-Status: Inappropriate [not used] | ||
8 | |||
9 | Index: sysdeps/unix/sysv/linux/i386/sysdep.h | ||
10 | =================================================================== | ||
11 | --- sysdeps/unix/sysv/linux/i386/sysdep.h (revision 1469) | ||
12 | +++ sysdeps/unix/sysv/linux/i386/sysdep.h (working copy) | ||
13 | @@ -29,6 +29,10 @@ | ||
14 | #include <dl-sysdep.h> | ||
15 | #include <tls.h> | ||
16 | |||
17 | +#if defined __i686 && defined __ASSEMBLER__ | ||
18 | +#undef __i686 | ||
19 | +#define __i686 __i686 | ||
20 | +#endif | ||
21 | |||
22 | /* For Linux we can use the system call table in the header file | ||
23 | /usr/include/asm/unistd.h | ||
24 | Index: nptl/sysdeps/pthread/pt-initfini.c | ||
25 | =================================================================== | ||
26 | --- nptl/sysdeps/pthread/pt-initfini.c (revision 1469) | ||
27 | +++ nptl/sysdeps/pthread/pt-initfini.c (working copy) | ||
28 | @@ -45,6 +45,11 @@ | ||
29 | /* Embed an #include to pull in the alignment and .end directives. */ | ||
30 | asm ("\n#include \"defs.h\""); | ||
31 | |||
32 | +asm ("\n#if defined __i686 && defined __ASSEMBLER__"); | ||
33 | +asm ("\n#undef __i686"); | ||
34 | +asm ("\n#define __i686 __i686"); | ||
35 | +asm ("\n#endif"); | ||
36 | + | ||
37 | /* The initial common code ends here. */ | ||
38 | asm ("\n/*@HEADER_ENDS*/"); | ||
39 | |||
diff --git a/meta/recipes-core/glibc/glibc-2.10.1/mips-rld-map-check.patch b/meta/recipes-core/glibc/glibc-2.10.1/mips-rld-map-check.patch deleted file mode 100644 index 2599e16fb3..0000000000 --- a/meta/recipes-core/glibc/glibc-2.10.1/mips-rld-map-check.patch +++ /dev/null | |||
@@ -1,23 +0,0 @@ | |||
1 | On mips target, binutils currently sets DT_MIPS_RLD_MAP to 0 in dynamic | ||
2 | section if a --version-script sets _RLD_MAP to local. This is apparently | ||
3 | a binutils bug, but libc shouldn't segfault in this case. | ||
4 | |||
5 | see also: http://sourceware.org/bugilla/show_bug.cgi?id=11615 | ||
6 | |||
7 | Upstream-Status: Inappropriate [not used] | ||
8 | |||
9 | 9/19/2010 - added by Qing He <qing.he@intel.com> | ||
10 | --- | ||
11 | diff -ru glibc-2.10.1.orig/ports/sysdeps/mips/dl-machine.h glibc-2.10.1/ports/sysdeps/mips/dl-machine.h | ||
12 | --- glibc-2.10.1.orig/ports/sysdeps/mips/dl-machine.h 2009-05-16 16:36:20.000000000 +0800 | ||
13 | +++ glibc-2.10.1/ports/sysdeps/mips/dl-machine.h 2010-09-19 09:11:53.000000000 +0800 | ||
14 | @@ -70,7 +70,8 @@ | ||
15 | /* If there is a DT_MIPS_RLD_MAP entry in the dynamic section, fill it in | ||
16 | with the run-time address of the r_debug structure */ | ||
17 | #define ELF_MACHINE_DEBUG_SETUP(l,r) \ | ||
18 | -do { if ((l)->l_info[DT_MIPS (RLD_MAP)]) \ | ||
19 | +do { if ((l)->l_info[DT_MIPS (RLD_MAP)] && \ | ||
20 | + (l)->l_info[DT_MIPS (RLD_MAP)]->d_un.d_ptr) \ | ||
21 | *(ElfW(Addr) *)((l)->l_info[DT_MIPS (RLD_MAP)]->d_un.d_ptr) = \ | ||
22 | (ElfW(Addr)) (r); \ | ||
23 | } while (0) | ||
diff --git a/meta/recipes-core/glibc/glibc-2.10.1/nptl-crosscompile.patch b/meta/recipes-core/glibc/glibc-2.10.1/nptl-crosscompile.patch deleted file mode 100644 index 7e3d9bb759..0000000000 --- a/meta/recipes-core/glibc/glibc-2.10.1/nptl-crosscompile.patch +++ /dev/null | |||
@@ -1,28 +0,0 @@ | |||
1 | Upstream-Status: Inappropriate [not used] | ||
2 | |||
3 | --- glibc-2.4/nptl/sysdeps/pthread/configure.in.ark 2006-03-12 00:41:40.000000000 +0100 | ||
4 | +++ glibc-2.4/nptl/sysdeps/pthread/configure.in 2006-03-12 00:44:08.000000000 +0100 | ||
5 | @@ -45,5 +45,6 @@ | ||
6 | AC_MSG_ERROR([the compiler must support C cleanup handling]) | ||
7 | fi | ||
8 | else | ||
9 | - AC_MSG_ERROR(forced unwind support is required) | ||
10 | + AC_MSG_WARN([forced unwind support is required, can't be verified while crosscompiling]) | ||
11 | + AC_DEFINE(HAVE_FORCED_UNWIND) | ||
12 | fi | ||
13 | --- glibc-2.4/nptl/sysdeps/pthread/configure.ark 2006-03-12 00:42:47.000000000 +0100 | ||
14 | +++ glibc-2.4/nptl/sysdeps/pthread/configure 2006-03-12 00:44:08.000000000 +0100 | ||
15 | @@ -153,7 +153,10 @@ | ||
16 | { (exit 1); exit 1; }; } | ||
17 | fi | ||
18 | else | ||
19 | - { { echo "$as_me:$LINENO: error: forced unwind support is required" >&5 | ||
20 | -echo "$as_me: error: forced unwind support is required" >&2;} | ||
21 | - { (exit 1); exit 1; }; } | ||
22 | + { echo "$as_me:$LINENO: WARNING: forced unwind support is required, can't be verified while crosscompiling" >&5 | ||
23 | +echo "$as_me: WARNING: forced unwind support is required, can't be verified while crosscompiling" >&2;} | ||
24 | + cat >>confdefs.h <<\_ACEOF | ||
25 | +#define HAVE_FORCED_UNWIND 1 | ||
26 | +_ACEOF | ||
27 | + | ||
28 | fi | ||
diff --git a/meta/recipes-core/glibc/glibc-2.10.1/nscd-init.patch b/meta/recipes-core/glibc/glibc-2.10.1/nscd-init.patch deleted file mode 100644 index 8017e49575..0000000000 --- a/meta/recipes-core/glibc/glibc-2.10.1/nscd-init.patch +++ /dev/null | |||
@@ -1,41 +0,0 @@ | |||
1 | Upstream-Status: Inappropriate [not used] | ||
2 | |||
3 | --- nscd/nscd.init | ||
4 | +++ nscd/nscd.init | ||
5 | @@ -48,9 +48,8 @@ | ||
6 | |||
7 | start () { | ||
8 | [ -d /var/run/nscd ] || mkdir /var/run/nscd | ||
9 | - [ -d /var/db/nscd ] || mkdir /var/db/nscd | ||
10 | echo -n $"Starting $prog: " | ||
11 | - daemon /usr/sbin/nscd | ||
12 | + /usr/sbin/nscd | ||
13 | RETVAL=$? | ||
14 | echo | ||
15 | [ $RETVAL -eq 0 ] && touch /var/lock/subsys/nscd | ||
16 | @@ -67,12 +66,10 @@ | ||
17 | # a non-privileged user | ||
18 | rm -f /var/run/nscd/nscd.pid | ||
19 | rm -f /var/run/nscd/socket | ||
20 | - success $"$prog shutdown" | ||
21 | - else | ||
22 | - failure $"$prog shutdown" | ||
23 | fi | ||
24 | - echo | ||
25 | - return $RETVAL | ||
26 | + echo "Done." | ||
27 | + # If nscd did not run, return 0 according to LSB. | ||
28 | + return 0 | ||
29 | } | ||
30 | |||
31 | restart() { | ||
32 | @@ -104,7 +101,8 @@ | ||
33 | ;; | ||
34 | force-reload | reload) | ||
35 | echo -n $"Reloading $prog: " | ||
36 | - killproc /usr/sbin/nscd -HUP | ||
37 | + # Use killall, initscripts-1.0-r115 don't support -HUP yet. | ||
38 | + killall -HUP /usr/sbin/nscd | ||
39 | RETVAL=$? | ||
40 | echo | ||
41 | ;; | ||
diff --git a/meta/recipes-core/glibc/glibc-2.10.1/powerpc-sqrt-hack.diff b/meta/recipes-core/glibc/glibc-2.10.1/powerpc-sqrt-hack.diff deleted file mode 100644 index bbc75d126b..0000000000 --- a/meta/recipes-core/glibc/glibc-2.10.1/powerpc-sqrt-hack.diff +++ /dev/null | |||
@@ -1,27 +0,0 @@ | |||
1 | Upstream-Status: Inappropriate [not used] | ||
2 | |||
3 | diff -Nurd ../glibc-initial-2.5-r4/glibc-2.5/sysdeps/powerpc/fpu/e_sqrt.c glibc-2.5/sysdeps/powerpc/fpu/e_sqrt.c | ||
4 | --- ../glibc-initial-2.5-r4/glibc-2.5/sysdeps/powerpc/fpu/e_sqrt.c 2006-04-14 07:44:30.000000000 +0200 | ||
5 | +++ glibc-2.5/sysdeps/powerpc/fpu/e_sqrt.c 2006-12-08 12:53:32.202227000 +0100 | ||
6 | @@ -25,6 +25,9 @@ | ||
7 | #include <sysdep.h> | ||
8 | #include <ldsodefs.h> | ||
9 | |||
10 | +#define __CPU_HAS_FSQRT ((GLRO(dl_hwcap) & PPC_FEATURE_64) != 0) | ||
11 | + | ||
12 | + | ||
13 | static const double almost_half = 0.5000000000000001; /* 0.5 + 2^-53 */ | ||
14 | static const ieee_float_shape_type a_nan = {.word = 0x7fc00000 }; | ||
15 | static const ieee_float_shape_type a_inf = {.word = 0x7f800000 }; | ||
16 | diff -Nurd ../glibc-initial-2.5-r4/glibc-2.5/sysdeps/powerpc/fpu/e_sqrtf.c glibc-2.5/sysdeps/powerpc/fpu/e_sqrtf.c | ||
17 | --- ../glibc-initial-2.5-r4/glibc-2.5/sysdeps/powerpc/fpu/e_sqrtf.c 2006-04-14 07:44:30.000000000 +0200 | ||
18 | +++ glibc-2.5/sysdeps/powerpc/fpu/e_sqrtf.c 2006-12-08 12:53:36.992227000 +0100 | ||
19 | @@ -25,6 +25,8 @@ | ||
20 | #include <sysdep.h> | ||
21 | #include <ldsodefs.h> | ||
22 | |||
23 | +#define __CPU_HAS_FSQRT ((GLRO(dl_hwcap) & PPC_FEATURE_64) != 0) | ||
24 | + | ||
25 | static const float almost_half = 0.50000006; /* 0.5 + 2^-24 */ | ||
26 | static const ieee_float_shape_type a_nan = {.word = 0x7fc00000 }; | ||
27 | static const ieee_float_shape_type a_inf = {.word = 0x7f800000 }; | ||
diff --git a/meta/recipes-core/glibc/glibc-2.10.1/rulesfix.patch b/meta/recipes-core/glibc/glibc-2.10.1/rulesfix.patch deleted file mode 100644 index 585bb625b2..0000000000 --- a/meta/recipes-core/glibc/glibc-2.10.1/rulesfix.patch +++ /dev/null | |||
@@ -1,15 +0,0 @@ | |||
1 | Upstream-Status: Inappropriate [not used] | ||
2 | |||
3 | Index: glibc-2.9/Makerules | ||
4 | =================================================================== | ||
5 | --- glibc-2.9.orig/Makerules 2009-09-14 16:39:21.000000000 +0100 | ||
6 | +++ glibc-2.9/Makerules 2009-09-14 16:39:50.000000000 +0100 | ||
7 | @@ -173,6 +173,8 @@ | ||
8 | # it's used in sysd-rules, below. | ||
9 | $(common-objpfx)%.h $(common-objpfx)%.h.d: $(..)scripts/gen-as-const.awk \ | ||
10 | %.sym $(common-before-compile) | ||
11 | + rm -f $(@:.h=.h.d) | ||
12 | + rm -f $(@:.h.d=.h) | ||
13 | $(AWK) -f $< $(filter %.sym,$^) \ | ||
14 | | $(CC) -S -o $(@:.h.d=.h)T3 $(CFLAGS) $(CPPFLAGS) -x c - \ | ||
15 | -MD -MP -MF $(@:.h=.h.d)T -MT '$(@:.h=.h.d) $(@:.h.d=.h)' | ||
diff --git a/meta/recipes-core/glibc/glibc-initial.inc b/meta/recipes-core/glibc/glibc-initial.inc deleted file mode 100644 index 3745955f60..0000000000 --- a/meta/recipes-core/glibc/glibc-initial.inc +++ /dev/null | |||
@@ -1,67 +0,0 @@ | |||
1 | SECTION = "libs" | ||
2 | DEPENDS = "virtual/${TARGET_PREFIX}gcc-initial linux-libc-headers" | ||
3 | PROVIDES = "virtual/${TARGET_PREFIX}libc-initial" | ||
4 | FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/glibc-${PV}', '${FILE_DIRNAME}/glibc-2.4', '${FILE_DIRNAME}/glibc', '${FILE_DIRNAME}/files', '${FILE_DIRNAME}' ], d)}" | ||
5 | |||
6 | PACKAGES = "" | ||
7 | PACKAGES_DYNAMIC = "" | ||
8 | |||
9 | STAGINGCC = "gcc-cross-initial" | ||
10 | STAGINGCC_virtclass-nativesdk = "gcc-crosssdk-initial" | ||
11 | |||
12 | do_configure () { | ||
13 | sed -ie 's,{ (exit 1); exit 1; }; },{ (exit 0); }; },g' ${S}/configure | ||
14 | chmod +x ${S}/configure | ||
15 | find ${S} -name "configure" | xargs touch | ||
16 | ${S}/configure --host=${TARGET_SYS} --build=${BUILD_SYS} \ | ||
17 | --without-cvs --disable-sanity-checks \ | ||
18 | --with-headers=${STAGING_DIR_TARGET}${includedir} \ | ||
19 | --enable-hacker-mode | ||
20 | if grep -q GLIBC_2.3 ${S}/ChangeLog; then | ||
21 | # glibc-2.3.x passes cross options to $(CC) when generating errlist-compat.c, which fails without a real cross-compiler. | ||
22 | # Fortunately, we don't need errlist-compat.c, since we just need .h files, | ||
23 | # so work around this by creating a fake errlist-compat.c and satisfying its dependencies. | ||
24 | # Another workaround might be to tell configure to not use any cross options to $(CC). | ||
25 | # The real fix would be to get install-headers to not generate errlist-compat.c. | ||
26 | make sysdeps/gnu/errlist.c | ||
27 | mkdir -p stdio-common | ||
28 | touch stdio-common/errlist-compat.c | ||
29 | fi | ||
30 | } | ||
31 | |||
32 | do_compile () { | ||
33 | : | ||
34 | } | ||
35 | |||
36 | do_install () { | ||
37 | oe_runmake cross-compiling=yes install_root=${D} \ | ||
38 | includedir='${includedir}' prefix='${prefix}' \ | ||
39 | install-bootstrap-headers=yes install-headers | ||
40 | |||
41 | oe_runmake csu/subdir_lib | ||
42 | # Two headers -- stubs.h and features.h -- aren't installed by install-headers, | ||
43 | # so do them by hand. We can tolerate an empty stubs.h for the moment. | ||
44 | # See e.g. http://gcc.gnu.org/ml/gcc/2002-01/msg00900.html | ||
45 | mkdir -p ${D}${includedir}/gnu/ | ||
46 | touch ${D}${includedir}/gnu/stubs.h | ||
47 | cp ${S}/include/features.h ${D}${includedir}/features.h | ||
48 | |||
49 | if [ -e ${B}/bits/stdio_lim.h ]; then | ||
50 | cp ${B}/bits/stdio_lim.h ${D}${includedir}/bits/ | ||
51 | fi | ||
52 | mkdir -p ${D}${libdir}/ | ||
53 | install -m 644 csu/crt[1in].o ${D}${libdir} | ||
54 | ${CC} -nostdlib -nostartfiles -shared -x c /dev/null \ | ||
55 | -o ${D}${libdir}/libc.so | ||
56 | |||
57 | # add links to linux-libc-headers: gcc-{cross,crossdk}-intermediate need this. | ||
58 | for t in linux asm asm-generic; do | ||
59 | ln -s ${STAGING_DIR_TARGET}${includedir}/$t ${D}${includedir}/ | ||
60 | done | ||
61 | } | ||
62 | |||
63 | do_siteconfig () { | ||
64 | : | ||
65 | } | ||
66 | |||
67 | do_populate_sysroot[sstate-outputdirs] = "${STAGING_DIR_TCBOOTSTRAP}" | ||
diff --git a/meta/recipes-core/glibc/glibc-initial_2.10.1.bb b/meta/recipes-core/glibc/glibc-initial_2.10.1.bb deleted file mode 100644 index bc3d7e4192..0000000000 --- a/meta/recipes-core/glibc/glibc-initial_2.10.1.bb +++ /dev/null | |||
@@ -1,10 +0,0 @@ | |||
1 | require glibc_${PV}.bb | ||
2 | require glibc-initial.inc | ||
3 | |||
4 | do_install_locale() { | ||
5 | : | ||
6 | } | ||
7 | |||
8 | do_configure_prepend () { | ||
9 | unset CFLAGS | ||
10 | } | ||
diff --git a/meta/recipes-core/glibc/glibc-locale_2.10.1.bb b/meta/recipes-core/glibc/glibc-locale_2.10.1.bb deleted file mode 100644 index 1ddc40e228..0000000000 --- a/meta/recipes-core/glibc/glibc-locale_2.10.1.bb +++ /dev/null | |||
@@ -1,63 +0,0 @@ | |||
1 | INHIBIT_DEFAULT_DEPS = "1" | ||
2 | LICENSE = "LGPL" | ||
3 | |||
4 | BPN = "glibc" | ||
5 | |||
6 | do_fetch[noexec] = "1" | ||
7 | do_unpack[noexec] = "1" | ||
8 | do_patch[noexec] = "1" | ||
9 | do_configure[noexec] = "1" | ||
10 | do_compile[noexec] = "1" | ||
11 | |||
12 | # Binary locales are generated at build time if ENABLE_BINARY_LOCALE_GENERATION | ||
13 | # is set. The idea is to avoid running localedef on the target (at first boot) | ||
14 | # to decrease initial boot time and avoid localedef being killed by the OOM | ||
15 | # killer which used to effectively break i18n on machines with < 128MB RAM. | ||
16 | |||
17 | # default to disabled | ||
18 | ENABLE_BINARY_LOCALE_GENERATION ?= "0" | ||
19 | ENABLE_BINARY_LOCALE_GENERATION_pn-glibc-locale-nativesdk = "0" | ||
20 | |||
21 | #enable locale generation on these arches | ||
22 | # BINARY_LOCALE_ARCHES is a space separated list of regular expressions | ||
23 | BINARY_LOCALE_ARCHES ?= "arm.* i[3-6]86 x86_64 powerpc mips" | ||
24 | |||
25 | # set "1" to use cross-localedef for locale generation | ||
26 | # set "0" for qemu emulation of native localedef for locale generation | ||
27 | LOCALE_GENERATION_WITH_CROSS-LOCALEDEF = "1" | ||
28 | |||
29 | PR = "r1" | ||
30 | |||
31 | PKGSUFFIX = "" | ||
32 | PKGSUFFIX_virtclass-nativesdk = "-nativesdk" | ||
33 | |||
34 | PROVIDES = "virtual/libc-locale${PKGSUFFIX}" | ||
35 | |||
36 | PACKAGES = "localedef${PKGSUFFIX} ${PN}-dbg" | ||
37 | |||
38 | PACKAGES_DYNAMIC = "locale-base-* \ | ||
39 | glibc-gconv-*${PKGSUFFIX} glibc-charmap-* glibc-localedata-* glibc-binary-localedata-*" | ||
40 | |||
41 | |||
42 | DESCRIPTION_localedef = "glibc: compile locale definition files" | ||
43 | |||
44 | FILES_${PN}-dbg += "${libdir}/gconv/.debug/*" | ||
45 | FILES_localedef${PKGSUFFIX} = "${bindir}/localedef" | ||
46 | |||
47 | LOCALETREESRC = "${STAGING_INCDIR}/glibc-locale-internal-${MULTIMACH_TARGET_SYS}" | ||
48 | |||
49 | do_install () { | ||
50 | mkdir -p ${D}${bindir} ${D}${datadir} ${D}${libdir} | ||
51 | cp -fpPR ${LOCALETREESRC}/${bindir}/* ${D}${bindir} | ||
52 | cp -fpPR ${LOCALETREESRC}/${libdir}/locale ${D}${libdir} | ||
53 | cp -fpPR ${LOCALETREESRC}/${libdir}/gconv ${D}${libdir} | ||
54 | cp -fpPR ${LOCALETREESRC}/${datadir}/i18n ${D}${datadir} | ||
55 | cp -fpPR ${LOCALETREESRC}/${datadir}/locale ${D}${datadir} | ||
56 | cp -fpPR ${LOCALETREESRC}/SUPPORTED ${WORKDIR} | ||
57 | } | ||
58 | |||
59 | inherit libc-package | ||
60 | |||
61 | do_install[depends] += "virtual/libc${PKGSUFFIX}:do_populate_sysroot" | ||
62 | |||
63 | BBCLASSEXTEND = "nativesdk" | ||
diff --git a/meta/recipes-core/glibc/glibc-package.inc b/meta/recipes-core/glibc/glibc-package.inc deleted file mode 100644 index c1c38534b7..0000000000 --- a/meta/recipes-core/glibc/glibc-package.inc +++ /dev/null | |||
@@ -1,96 +0,0 @@ | |||
1 | # | ||
2 | # For now, we will skip building of a gcc package if it is a uclibc one | ||
3 | # and our build is not a uclibc one, and we skip a glibc one if our build | ||
4 | # is a uclibc build. | ||
5 | # | ||
6 | # See the note in gcc/gcc_3.4.0.oe | ||
7 | # | ||
8 | |||
9 | python __anonymous () { | ||
10 | import bb, re | ||
11 | uc_os = (re.match('.*uclibc*', bb.data.getVar('TARGET_OS', d, 1)) != None) | ||
12 | if uc_os: | ||
13 | raise bb.parse.SkipPackage("incompatible with target %s" % | ||
14 | bb.data.getVar('TARGET_OS', d, 1)) | ||
15 | } | ||
16 | |||
17 | PKGSUFFIX = "" | ||
18 | PKGSUFFIX_virtclass-nativesdk = "-nativesdk" | ||
19 | |||
20 | PACKAGES = "${PN}-dbg ${PN} catchsegv${PKGSUFFIX} sln${PKGSUFFIX} nscd${PKGSUFFIX} \ | ||
21 | ldd${PKGSUFFIX} ${PN}-utils ${PN}-dev ${PN}-doc \ | ||
22 | libsegfault${PKGSUFFIX} ${PN}-extra-nss ${PN}-thread-db \ | ||
23 | ${PN}-pcprofile" | ||
24 | |||
25 | libc_baselibs = "${base_libdir}/libc* ${base_libdir}/libm* ${base_libdir}/ld* \ | ||
26 | ${base_libdir}/libpthread* ${base_libdir}/libresolv* ${base_libdir}/librt* \ | ||
27 | ${base_libdir}/libutil* ${base_libdir}/libnsl* ${base_libdir}/libnss_files* \ | ||
28 | ${base_libdir}/libnss_compat* ${base_libdir}/libnss_dns* ${base_libdir}/libdl* \ | ||
29 | ${base_libdir}/libanl* ${base_libdir}/libBrokenLocale*" | ||
30 | |||
31 | # The problem is that if PN = "glibc", FILES_${PN} will overwrite FILES_glibc | ||
32 | # Solution: Make them both the same thing, then it doesn't matter | ||
33 | |||
34 | glibcfiles = "${sysconfdir} ${libc_baselibs} ${base_sbindir}/ldconfig \ | ||
35 | ${libexecdir}/* ${datadir}/zoneinfo" | ||
36 | glibcdbgfiles = "${bindir}/.debug ${sbindir}/.debug ${libdir}/.debug \ | ||
37 | ${base_bindir}/.debug ${base_sbindir}/.debug ${base_libdir}/.debug \ | ||
38 | ${libdir}/gconv/.debug ${libexecdir}/*/.debug" | ||
39 | glibcdevfiles = "${bindir}/rpcgen ${includedir} ${libdir}/lib*${SOLIBSDEV} ${libdir}/*.la \ | ||
40 | ${libdir}/*.a ${libdir}/*.o ${libdir}/pkgconfig \ | ||
41 | ${base_libdir}/*.a ${base_libdir}/*.o ${datadir}/aclocal" | ||
42 | |||
43 | FILES_glibc = "${glibcfiles}" | ||
44 | FILES_${PN} = "${glibcfiles}" | ||
45 | FILES_ldd${PKGSUFFIX} = "${bindir}/ldd" | ||
46 | FILES_libsegfault${PKGSUFFIX} = "${base_libdir}/libSegFault*" | ||
47 | FILES_glibc-extra-nss = "${base_libdir}/libnss*" | ||
48 | FILES_sln = "${base_sbindir}/sln" | ||
49 | FILES_glibc-dev = "${glibcdevfiles}" | ||
50 | FILES_${PN}-dev = "${glibcdevfiles}" | ||
51 | FILES_glibc-dbg = "${glibcdbgfiles}" | ||
52 | FILES_${PN}-dbg = "${glibcdbgfiles}" | ||
53 | FILES_nscd${PKGSUFFIX} = "${sbindir}/nscd* ${sysconfdir}/nscd* ${sysconfdir}/init.d/nscd*" | ||
54 | FILES_glibc-utils = "${bindir}/* ${sbindir}/*" | ||
55 | FILES_glibc-gconv = "${libdir}/gconv/*" | ||
56 | FILES_catchsegv${PKGSUFFIX} = "${bindir}/catchsegv" | ||
57 | RDEPENDS_catchsegv${PKGSUFFIX} = "libsegfault" | ||
58 | FILES_glibc-pcprofile = "${base_libdir}/libpcprofile.so" | ||
59 | FILES_glibc-thread-db = "${base_libdir}/libthread_db*" | ||
60 | RPROVIDES_glibc-dev += "libc-dev" | ||
61 | |||
62 | SUMMARY_sln = "The static ln." | ||
63 | DESCRIPTION_sln = "Similar to the 'ln' utility, but statically linked. sln is useful to make symbolic links to dynamic libraries if the dynamic linking system, for some reason, is not functional." | ||
64 | SUMMARY_nscd = "Name service cache daemon" | ||
65 | DESCRIPTION_nscd = "nscd, name service cache daemon, caches name service lookups for the passwd, group and hosts information. It can damatically improvide performance with remote, such as NIS or NIS+, name services." | ||
66 | SUMMARY_glibc-extra-nss = "hesiod, NIS and NIS+ nss libraries" | ||
67 | DESCRIPTION_glibc-extra-nss = "glibc: nis, nisplus and hesiod search services. | ||
68 | SUMMARY_ldd = "print shared library dependencies" | ||
69 | DESCRIPTION_ldd = "/usr/bin/ldd prints shared library dependencies for each program or shared library specified on the command line." | ||
70 | SUMMARY_glibc-utils = "Miscellaneous utilities provided by glibc" | ||
71 | DESCRIPTION_glibc-utils = "Miscellaneous utilities including getconf, iconf, locale, gencat, tzselect, zic, rpcinfo, ..." | ||
72 | |||
73 | EXTRA_OEMAKE += "rootsbindir=${base_sbindir}" | ||
74 | |||
75 | inherit libc-common | ||
76 | |||
77 | do_install_locale () { | ||
78 | dest=${D}/${includedir}/glibc-locale-internal-${MULTIMACH_TARGET_SYS} | ||
79 | install -d ${dest}${base_libdir} ${dest}${bindir} ${dest}${libdir} ${dest}${datadir} | ||
80 | cp -fpPR ${D}${base_libdir}/* ${dest}${base_libdir} | ||
81 | cp -fpP ${D}${bindir}/localedef ${dest}${bindir} | ||
82 | mv ${D}${libdir}/gconv ${dest}${libdir} | ||
83 | cp -fpPR ${D}${libdir}/* ${dest}${libdir} | ||
84 | mv ${D}${datadir}/i18n ${dest}${datadir} | ||
85 | cp -fpPR ${D}${datadir}/* ${dest}${datadir} | ||
86 | cp -fpPR ${WORKDIR}/SUPPORTED ${dest} | ||
87 | } | ||
88 | |||
89 | addtask do_install_locale after do_install before do_populate_sysroot | ||
90 | |||
91 | PACKAGE_PREPROCESS_FUNCS += "glibc_package_preprocess" | ||
92 | |||
93 | glibc_package_preprocess () { | ||
94 | rm -rf ${PKGD}/${includedir}/eglibc-locale-internal-${MULTIMACH_TARGET_SYS} | ||
95 | } | ||
96 | |||
diff --git a/meta/recipes-core/glibc/glibc-stage.inc b/meta/recipes-core/glibc/glibc-stage.inc deleted file mode 100644 index e69de29bb2..0000000000 --- a/meta/recipes-core/glibc/glibc-stage.inc +++ /dev/null | |||
diff --git a/meta/recipes-core/glibc/glibc.inc b/meta/recipes-core/glibc/glibc.inc deleted file mode 100644 index 57d693c803..0000000000 --- a/meta/recipes-core/glibc/glibc.inc +++ /dev/null | |||
@@ -1,60 +0,0 @@ | |||
1 | DESCRIPTION = "GNU C Library" | ||
2 | HOMEPAGE = "http://www.gnu.org/software/libc/libc.html" | ||
3 | BUGTRACKER = "http://sources.redhat.com/bugzilla/" | ||
4 | SECTION = "libs" | ||
5 | LICENSE = "LGPLv2.1+ & GPLv2+" | ||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833 \ | ||
7 | file://elf/cache.c;beginline=1;endline=17;md5=926aac25497b1de7d630b4749005d208 \ | ||
8 | file://COPYING.LIB;md5=bbb461211a33b134d42ed5ee802b37ff \ | ||
9 | file://bits/types.h;beginline=1;endline=18;md5=267938e7c0538e76f734551ec6ea908d" | ||
10 | # nptl needs unwind support in gcc, which can't be built without glibc. | ||
11 | DEPENDS = "virtual/${TARGET_PREFIX}gcc-intermediate linux-libc-headers" | ||
12 | RDEPENDS_${PN}-dev = "linux-libc-headers-dev" | ||
13 | #this leads to circular deps, so lets not add it yet | ||
14 | #RDEPENDS_ldd += " bash" | ||
15 | #RDEPENDS_${PN} += "${@['','libgcc']['nptl' in '${GLIBC_ADDONS}']}" | ||
16 | PROVIDES = "virtual/libc virtual/${TARGET_PREFIX}libc-for-gcc" | ||
17 | PROVIDES += "virtual/libintl virtual/libiconv" | ||
18 | |||
19 | STAGINGCC = "gcc-cross-intermediate" | ||
20 | STAGINGCC_virtclass-nativesdk = "gcc-crosssdk-intermediate" | ||
21 | PATH_prepend = "${STAGING_BINDIR_TOOLCHAIN}.${STAGINGCC}:" | ||
22 | |||
23 | TOOLCHAIN_OPTIONS = " --sysroot=${STAGING_DIR_TCBOOTSTRAP}" | ||
24 | |||
25 | # siteconfig.bbclass runs configure which needs a working compiler | ||
26 | # For the compiler to work we need a working libc yet libc isn't | ||
27 | # in the sysroots directory at this point. This means the libc.so | ||
28 | # linker script won't work as the --sysroot setting isn't correct. | ||
29 | # Here we create a hacked up libc linker script and pass in the right | ||
30 | # flags to let configure work. Ugly. | ||
31 | EXTRASITECONFIG = "CFLAGS='${CFLAGS} -Wl,-L${WORKDIR}/site_config_libc -L${WORKDIR}/site_config_libc -L${SYSROOT_DESTDIR}${libdir} -L${SYSROOT_DESTDIR}${base_libdir} -Wl,-L${SYSROOT_DESTDIR}${libdir} -Wl,-L${SYSROOT_DESTDIR}${base_libdir}'" | ||
32 | siteconfig_do_siteconfig_gencache_prepend = " \ | ||
33 | mkdir -p ${WORKDIR}/site_config_libc; \ | ||
34 | cp ${SYSROOT_DESTDIR}${libdir}/libc.so ${WORKDIR}/site_config_libc; \ | ||
35 | sed -i -e 's# ${base_libdir}# ${SYSROOT_DESTDIR}${base_libdir}#g' -e 's# ${libdir}# ${SYSROOT_DESTDIR}${libdir}#g' ${WORKDIR}/site_config_libc/libc.so; \ | ||
36 | " | ||
37 | |||
38 | inherit autotools | ||
39 | |||
40 | GLIBC_EXTRA_OECONF ?= "" | ||
41 | INHIBIT_DEFAULT_DEPS = "1" | ||
42 | |||
43 | do_rig_locales() { | ||
44 | # If indicated, only build a limited selection of locales | ||
45 | if [ "x${LIMIT_BUILT_LOCALES}" != "x" ]; then | ||
46 | INFILE="${S}/localedata/SUPPORTED" | ||
47 | OUTFILE="${S}/localedata/SUPPORTED.tmp" | ||
48 | head -n 3 $INFILE > $OUTFILE | ||
49 | for i in ${LIMIT_BUILT_LOCALES}; do | ||
50 | echo | ||
51 | grep $i $INFILE >> $OUTFILE || true | ||
52 | done | ||
53 | head --lines=-1 $OUTFILE > $INFILE | ||
54 | tail --lines=1 $OUTFILE | sed 's#\\##' >> $INFILE | ||
55 | fi | ||
56 | } | ||
57 | |||
58 | addtask rig_locales before do_compile after do_configure | ||
59 | |||
60 | ARM_INSTRUCTION_SET = "arm" | ||
diff --git a/meta/recipes-core/glibc/glibc_2.10.1.bb b/meta/recipes-core/glibc/glibc_2.10.1.bb deleted file mode 100644 index e76f3c0194..0000000000 --- a/meta/recipes-core/glibc/glibc_2.10.1.bb +++ /dev/null | |||
@@ -1,161 +0,0 @@ | |||
1 | require glibc.inc | ||
2 | |||
3 | ARM_INSTRUCTION_SET = "arm" | ||
4 | |||
5 | PACKAGES_DYNAMIC = "libc6*" | ||
6 | RPROVIDES_${PN}-dev = "libc6-dev virtual-libc-dev" | ||
7 | |||
8 | PR = "r7" | ||
9 | |||
10 | # the -isystem in bitbake.conf screws up glibc do_stage | ||
11 | BUILD_CPPFLAGS = "-I${STAGING_INCDIR_NATIVE}" | ||
12 | TARGET_CPPFLAGS = "-I${STAGING_DIR_TARGET}${includedir}" | ||
13 | |||
14 | GLIBC_ADDONS ?= "ports,nptl,libidn" | ||
15 | |||
16 | GLIBC_BROKEN_LOCALES = " _ER _ET so_ET yn_ER sid_ET tr_TR mn_MN gez_ET gez_ER bn_BD te_IN" | ||
17 | |||
18 | FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/glibc-${PV}', '${FILE_DIRNAME}/glibc-2.4', '${FILE_DIRNAME}/glibc', '${FILE_DIRNAME}/files', '${FILE_DIRNAME}' ], d)}" | ||
19 | |||
20 | # | ||
21 | # For now, we will skip building of a gcc package if it is a uclibc one | ||
22 | # and our build is not a uclibc one, and we skip a glibc one if our build | ||
23 | # is a uclibc build. | ||
24 | # | ||
25 | # See the note in gcc/gcc_3.4.0.oe | ||
26 | # | ||
27 | |||
28 | python __anonymous () { | ||
29 | import bb, re | ||
30 | uc_os = (re.match('.*uclibc$', bb.data.getVar('TARGET_OS', d, 1)) != None) | ||
31 | if uc_os: | ||
32 | raise bb.parse.SkipPackage("incompatible with target %s" % | ||
33 | bb.data.getVar('TARGET_OS', d, 1)) | ||
34 | } | ||
35 | |||
36 | RDEPENDS_${PN}-dev = "linux-libc-headers-dev" | ||
37 | |||
38 | # file://noinfo.patch;patch=1 | ||
39 | # file://ldconfig.patch;patch=1;pnum=0 | ||
40 | # file://arm-machine-gmon.patch;patch=1;pnum=0 | ||
41 | # file://arm-ioperm.patch;patch=1;pnum=0 | ||
42 | # file://ldd.patch;patch=1;pnum=0 | ||
43 | SRC_URI = "${GNU_MIRROR}/glibc/glibc-${PV}.tar.bz2 \ | ||
44 | ${GNU_MIRROR}/glibc/glibc-ports-${PV}.tar.bz2 \ | ||
45 | ${GNU_MIRROR}/glibc/glibc-libidn-${PV}.tar.bz2 \ | ||
46 | file://nscd-init.patch;striplevel=0 \ | ||
47 | file://arm-memcpy.patch \ | ||
48 | file://arm-longlong.patch \ | ||
49 | file://fhs-linux-paths.patch \ | ||
50 | file://dl-cache-libcmp.patch \ | ||
51 | file://ldsocache-varrun.patch \ | ||
52 | file://nptl-crosscompile.patch \ | ||
53 | file://glibc-check_pf.patch;striplevel=0 \ | ||
54 | file://ldd-unbash.patch \ | ||
55 | file://glibc-arm-IO-acquire-lock-fix.diff \ | ||
56 | file://mips-rld-map-check.patch \ | ||
57 | file://generic-bits_select.h \ | ||
58 | file://generic-bits_types.h \ | ||
59 | file://generic-bits_typesizes.h \ | ||
60 | file://generic-bits_time.h \ | ||
61 | file://etc/ld.so.conf \ | ||
62 | file://generate-supported.mk \ | ||
63 | file://march-i686.patch;striplevel=0 \ | ||
64 | file://rulesfix.patch \ | ||
65 | file://glibc-2.9-enable-binutils-2.2.patch" | ||
66 | |||
67 | # Build fails on sh3 and sh4 without additional patches | ||
68 | SRC_URI_append_sh3 = " file://no-z-defs.patch" | ||
69 | SRC_URI_append_sh4 = " file://no-z-defs.patch" | ||
70 | |||
71 | #powerpc patches to add support for soft-float | ||
72 | SRC_URI_append_powerpc= " file://powerpc-sqrt-hack.diff" | ||
73 | |||
74 | S = "${WORKDIR}/glibc-${PV}" | ||
75 | B = "${WORKDIR}/build-${TARGET_SYS}" | ||
76 | |||
77 | # We need this for nativesdk | ||
78 | export libc_cv_slibdir = "${base_libdir}" | ||
79 | |||
80 | EXTRA_OECONF = "--enable-kernel=${OLDEST_KERNEL} \ | ||
81 | --without-cvs --disable-profile --disable-debug --without-gd \ | ||
82 | --enable-clocale=gnu \ | ||
83 | --enable-add-ons=${GLIBC_ADDONS} \ | ||
84 | --with-headers=${STAGING_INCDIR} \ | ||
85 | --without-selinux \ | ||
86 | ${GLIBC_EXTRA_OECONF}" | ||
87 | |||
88 | EXTRA_OECONF += "${@get_libc_fpu_setting(bb, d)}" | ||
89 | |||
90 | do_munge() { | ||
91 | # Integrate ports and libidn into tree | ||
92 | mv ${WORKDIR}/glibc-ports-${PV} ${S}/ports | ||
93 | mv ${WORKDIR}/glibc-libidn-${PV} ${S}/libidn | ||
94 | |||
95 | # Ports isn't really working... Fix it | ||
96 | # Some of this is rather dirty, but it seems to be the only | ||
97 | # quick way to get this cruft to compile | ||
98 | rm -rf ${S}/ports/sysdeps/unix/sysv/linux/arm/linuxthreads | ||
99 | ln -s nptl ${S}/ports/sysdeps/unix/sysv/linux/arm/linuxthreads | ||
100 | cp ${S}/nptl/sysdeps/pthread/bits/sigthread.h ${S}/ports/sysdeps/unix/sysv/linux/arm/bits/ | ||
101 | cp ${S}/sysdeps/unix/sysv/linux/i386/bits/wchar.h ${S}/ports/sysdeps/unix/sysv/linux/arm/bits/ | ||
102 | cp ${S}/sysdeps/wordsize-32/bits/wordsize.h ${S}/ports/sysdeps/unix/sysv/linux/arm/bits/ | ||
103 | cp ${WORKDIR}/generic-bits_select.h ${S}/ports/sysdeps/unix/sysv/linux/arm/bits/select.h | ||
104 | cp ${WORKDIR}/generic-bits_types.h ${S}/ports/sysdeps/unix/sysv/linux/arm/bits/types.h | ||
105 | cp ${WORKDIR}/generic-bits_typesizes.h ${S}/ports/sysdeps/unix/sysv/linux/arm/bits/typesizes.h | ||
106 | cp ${WORKDIR}/generic-bits_time.h ${S}/ports/sysdeps/unix/sysv/linux/arm/bits/time.h | ||
107 | # Copy in generic stuff for not yet implemented headers | ||
108 | for i in ${S}/bits/*.h; do | ||
109 | F=`basename $i` | ||
110 | [ "$F" = "local_lim.h" ] && continue | ||
111 | [ "$F" = "errno.h" ] && continue | ||
112 | test -e ${S}/ports/sysdeps/unix/sysv/linux/arm/bits/$F || test -e ${S}/ports/sysdeps/arm/bits/$F || test -e ${S}/sysdeps/unix/sysv/linux/bits/$F || test -e ${S}/sysdeps/ieee754/bits/$F || cp $i ${S}/ports/sysdeps/unix/sysv/linux/arm/bits/ | ||
113 | done | ||
114 | # This is harmful; we need to get the one from nptl/sysdeps/pthreads | ||
115 | rm -f ${S}/ports/sysdeps/unix/sysv/linux/arm/bits/libc-lock.h | ||
116 | # Obsoleted by sysdeps/arm/{fpu,eabi}/bits/fenv.h | ||
117 | rm -f ${S}/ports/sysdeps/unix/sysv/linux/arm/bits/fenv.h | ||
118 | # Obsoleted by sysdeps/gnu/bits/utmp.h | ||
119 | rm -f ${S}/ports/sysdeps/unix/sysv/linux/arm/bits/utmp.h | ||
120 | } | ||
121 | |||
122 | addtask munge before do_patch after do_unpack | ||
123 | |||
124 | |||
125 | do_configure () { | ||
126 | # /var/db was not included to FHS | ||
127 | sed -i s:/var/db/nscd:/var/run/nscd: ${S}/nscd/nscd.h | ||
128 | # override this function to avoid the autoconf/automake/aclocal/autoheader | ||
129 | # calls for now | ||
130 | # don't pass CPPFLAGS into configure, since it upsets the kernel-headers | ||
131 | # version check and doesn't really help with anything | ||
132 | if [ -z "`which rpcgen`" ]; then | ||
133 | echo "rpcgen not found. Install glibc-devel." | ||
134 | exit 1 | ||
135 | fi | ||
136 | (cd ${S} && gnu-configize) || die "failure in running gnu-configize" | ||
137 | CPPFLAGS="" oe_runconf | ||
138 | } | ||
139 | |||
140 | rpcsvc = "bootparam_prot.x nlm_prot.x rstat.x \ | ||
141 | yppasswd.x klm_prot.x rex.x sm_inter.x mount.x \ | ||
142 | rusers.x spray.x nfs_prot.x rquota.x key_prot.x" | ||
143 | |||
144 | do_compile () { | ||
145 | # -Wl,-rpath-link <staging>/lib in LDFLAGS can cause breakage if another glibc is in staging | ||
146 | unset LDFLAGS | ||
147 | base_do_compile | ||
148 | ( | ||
149 | cd ${S}/sunrpc/rpcsvc | ||
150 | for r in ${rpcsvc}; do | ||
151 | h=`echo $r|sed -e's,\.x$,.h,'` | ||
152 | rpcgen -h $r -o $h || bbwarn "unable to generate header for $r" | ||
153 | done | ||
154 | ) | ||
155 | } | ||
156 | |||
157 | require glibc-stage.inc | ||
158 | |||
159 | require glibc-package.inc | ||
160 | |||
161 | BBCLASSEXTEND = "nativesdk" | ||
diff --git a/meta/recipes-core/glibc/site_config/funcs b/meta/recipes-core/glibc/site_config/funcs deleted file mode 100644 index ccc85392d7..0000000000 --- a/meta/recipes-core/glibc/site_config/funcs +++ /dev/null | |||
@@ -1,474 +0,0 @@ | |||
1 | a64l | ||
2 | abs | ||
3 | access | ||
4 | __adjtimex | ||
5 | alarm | ||
6 | alphasort | ||
7 | argz_append | ||
8 | __argz_count | ||
9 | argz_create_sep | ||
10 | argz_insert | ||
11 | __argz_next | ||
12 | argz_next | ||
13 | __argz_stringify | ||
14 | argz_stringify | ||
15 | asprintf | ||
16 | atexit | ||
17 | atof | ||
18 | atoi | ||
19 | bcmp | ||
20 | bcopy | ||
21 | bindresvport | ||
22 | bind_textdomain_codeset | ||
23 | btowc | ||
24 | bzero | ||
25 | calloc | ||
26 | canonicalize_file_name | ||
27 | catgets | ||
28 | cfgetospeed | ||
29 | cfsetispeed | ||
30 | cfsetspeed | ||
31 | chmod | ||
32 | chown | ||
33 | chroot | ||
34 | clock | ||
35 | close | ||
36 | closedir | ||
37 | closelog | ||
38 | confstr | ||
39 | connect | ||
40 | daemon | ||
41 | dcgettext | ||
42 | difftime | ||
43 | dirfd | ||
44 | dirname | ||
45 | dngettext | ||
46 | dup2 | ||
47 | ecvt | ||
48 | endgrent | ||
49 | endmntent | ||
50 | endpwent | ||
51 | endutent | ||
52 | endutxent | ||
53 | epoll_ctl | ||
54 | err | ||
55 | ether_hostton | ||
56 | ether_ntohost | ||
57 | euidaccess | ||
58 | execv | ||
59 | fchdir | ||
60 | fchmod | ||
61 | fchmodat | ||
62 | fchown | ||
63 | fchownat | ||
64 | fcntl | ||
65 | fcvt | ||
66 | fdatasync | ||
67 | fdopendir | ||
68 | feof_unlocked | ||
69 | fgets_unlocked | ||
70 | fgetxattr | ||
71 | finite | ||
72 | flistxattr | ||
73 | flock | ||
74 | flockfile | ||
75 | fnmatch | ||
76 | fork | ||
77 | fpathconf | ||
78 | __fpending | ||
79 | fprintf | ||
80 | free | ||
81 | freeaddrinfo | ||
82 | freeifaddrs | ||
83 | fseeko | ||
84 | __fsetlocking | ||
85 | fsetxattr | ||
86 | fstat64 | ||
87 | fstat | ||
88 | fstatfs | ||
89 | fsync | ||
90 | ftello | ||
91 | ftime | ||
92 | ftruncate | ||
93 | funlockfile | ||
94 | futimes | ||
95 | futimesat | ||
96 | gai_strerror | ||
97 | gcvt | ||
98 | getaddrinfo | ||
99 | getc_unlocked | ||
100 | getcwd | ||
101 | getdelim | ||
102 | getdomainname | ||
103 | getdtablesize | ||
104 | getegid | ||
105 | getenv | ||
106 | geteuid | ||
107 | getgid | ||
108 | getgrent | ||
109 | getgrent_r | ||
110 | getgrgid_r | ||
111 | getgrnam | ||
112 | getgrnam_r | ||
113 | getgrouplist | ||
114 | getgroups | ||
115 | gethostbyaddr_r | ||
116 | gethostbyname2 | ||
117 | gethostbyname | ||
118 | gethostbyname_r | ||
119 | gethostent | ||
120 | gethostid | ||
121 | gethostname | ||
122 | getifaddrs | ||
123 | getline | ||
124 | getloadavg | ||
125 | getmntent | ||
126 | getmsg | ||
127 | getnameinfo | ||
128 | getnetbyaddr_r | ||
129 | getnetgrent_r | ||
130 | getopt | ||
131 | getopt_long | ||
132 | getopt_long_only | ||
133 | getpagesize | ||
134 | getpass | ||
135 | getpeername | ||
136 | getpgrp | ||
137 | getpid | ||
138 | getppid | ||
139 | getprotoent_r | ||
140 | getpwent | ||
141 | getpwent_r | ||
142 | getpwnam | ||
143 | getpwnam_r | ||
144 | getpwuid | ||
145 | getpwuid_r | ||
146 | getresuid | ||
147 | getrlimit | ||
148 | getrusage | ||
149 | getservbyname | ||
150 | getservbyname_r | ||
151 | getservbyport_r | ||
152 | getservent | ||
153 | getservent_r | ||
154 | getspnam | ||
155 | getspnam_r | ||
156 | gettimeofday | ||
157 | getttyent | ||
158 | getttynam | ||
159 | getuid | ||
160 | getusershell | ||
161 | getutent | ||
162 | getutid | ||
163 | getutline | ||
164 | getutmp | ||
165 | getutmpx | ||
166 | getutxent | ||
167 | getutxid | ||
168 | getutxline | ||
169 | getwd | ||
170 | getxattr | ||
171 | glob | ||
172 | gmtime | ||
173 | gmtime_r | ||
174 | grantpt | ||
175 | group_member | ||
176 | herror | ||
177 | hstrerror | ||
178 | iconv | ||
179 | iconv_open | ||
180 | if_freenameindex | ||
181 | if_indextoname | ||
182 | if_nameindex | ||
183 | if_nametoindex | ||
184 | index | ||
185 | inet_addr | ||
186 | inet_aton | ||
187 | inet_ntoa | ||
188 | inet_ntop | ||
189 | inet_pton | ||
190 | initgroups | ||
191 | innetgr | ||
192 | iruserok | ||
193 | isascii | ||
194 | isatty | ||
195 | isblank | ||
196 | isgraph | ||
197 | isinf | ||
198 | isnan | ||
199 | isprint | ||
200 | isspace | ||
201 | iswalnum | ||
202 | iswcntrl | ||
203 | iswctype | ||
204 | iswprint | ||
205 | iswspace | ||
206 | iswupper | ||
207 | isxdigit | ||
208 | kill | ||
209 | killpg | ||
210 | lchown | ||
211 | lckpwdf | ||
212 | lgetxattr | ||
213 | link | ||
214 | listxattr | ||
215 | llistxattr | ||
216 | localtime | ||
217 | localtime_r | ||
218 | lockf | ||
219 | lrand48 | ||
220 | lsearch | ||
221 | lseek64 | ||
222 | lsetxattr | ||
223 | lstat | ||
224 | mallinfo | ||
225 | malloc | ||
226 | mblen | ||
227 | mbrlen | ||
228 | mbrtowc | ||
229 | mbsinit | ||
230 | mbsrtowcs | ||
231 | mbtowc | ||
232 | memalign | ||
233 | memchr | ||
234 | memcmp | ||
235 | memcpy | ||
236 | memmove | ||
237 | mempcpy | ||
238 | memrchr | ||
239 | memset | ||
240 | mkdir | ||
241 | mkdirat | ||
242 | mkdtemp | ||
243 | mkfifo | ||
244 | mknod | ||
245 | mkstemp64 | ||
246 | mkstemp | ||
247 | mktime | ||
248 | mlock | ||
249 | mmap | ||
250 | mtrace | ||
251 | munlock | ||
252 | munmap | ||
253 | nanosleep | ||
254 | nice | ||
255 | nl_langinfo | ||
256 | ntp_adjtime | ||
257 | ntp_gettime | ||
258 | _obstack_free | ||
259 | on_exit | ||
260 | open64 | ||
261 | open | ||
262 | openat | ||
263 | opendir | ||
264 | openlog | ||
265 | pathconf | ||
266 | pipe | ||
267 | poll | ||
268 | popen | ||
269 | posix_memalign | ||
270 | prctl | ||
271 | pread | ||
272 | printf | ||
273 | __progname | ||
274 | pselect | ||
275 | pthread_mutex_lock | ||
276 | ptsname | ||
277 | putenv | ||
278 | putgrent | ||
279 | putpwent | ||
280 | putspent | ||
281 | pututline | ||
282 | pututxline | ||
283 | putwc | ||
284 | pwrite | ||
285 | qsort | ||
286 | raise | ||
287 | rand | ||
288 | random | ||
289 | rand_r | ||
290 | read | ||
291 | readdir | ||
292 | readdir_r | ||
293 | readlink | ||
294 | realloc | ||
295 | realpath | ||
296 | re_comp | ||
297 | recvmsg | ||
298 | re_exec | ||
299 | regcomp | ||
300 | regexec | ||
301 | remove | ||
302 | rename | ||
303 | re_search | ||
304 | rmdir | ||
305 | rpmatch | ||
306 | rresvport_af | ||
307 | ruserok | ||
308 | ruserok_af | ||
309 | sbrk | ||
310 | scandir | ||
311 | sched_setscheduler | ||
312 | sched_yield | ||
313 | __secure_getenv | ||
314 | select | ||
315 | semctl | ||
316 | semget | ||
317 | sendmsg | ||
318 | setbuf | ||
319 | setbuffer | ||
320 | setegid | ||
321 | setenv | ||
322 | seteuid | ||
323 | setgid | ||
324 | setgroups | ||
325 | sethostname | ||
326 | setitimer | ||
327 | _setjmp | ||
328 | setjmp | ||
329 | setlinebuf | ||
330 | setlocale | ||
331 | setmntent | ||
332 | setpgid | ||
333 | setpgrp | ||
334 | setpriority | ||
335 | setregid | ||
336 | setresgid | ||
337 | setresuid | ||
338 | setreuid | ||
339 | setrlimit | ||
340 | setsid | ||
341 | setsockopt | ||
342 | settimeofday | ||
343 | setuid | ||
344 | setutent | ||
345 | setutxent | ||
346 | setvbuf | ||
347 | setxattr | ||
348 | sgetspent | ||
349 | shmat | ||
350 | shmctl | ||
351 | shmdt | ||
352 | shmget | ||
353 | shutdown | ||
354 | sigaction | ||
355 | sigaddset | ||
356 | sigaltstack | ||
357 | sigblock | ||
358 | sigemptyset | ||
359 | sighold | ||
360 | siginterrupt | ||
361 | signal | ||
362 | sigprocmask | ||
363 | sigset | ||
364 | sigsetmask | ||
365 | sigstack | ||
366 | sigsuspend | ||
367 | sigvec | ||
368 | snprintf | ||
369 | socket | ||
370 | socketpair | ||
371 | sprintf | ||
372 | srand48 | ||
373 | srand | ||
374 | srandom | ||
375 | sscanf | ||
376 | stat | ||
377 | statfs | ||
378 | statvfs | ||
379 | stime | ||
380 | stpcpy | ||
381 | strcasecmp | ||
382 | strcasestr | ||
383 | strchr | ||
384 | strchrnul | ||
385 | strcmp | ||
386 | strcspn | ||
387 | strdup | ||
388 | strerror | ||
389 | strerror_r | ||
390 | strftime | ||
391 | strlen | ||
392 | strncasecmp | ||
393 | strncmp | ||
394 | strndup | ||
395 | strnlen | ||
396 | strpbrk | ||
397 | strptime | ||
398 | strrchr | ||
399 | strsep | ||
400 | strsignal | ||
401 | strspn | ||
402 | strstr | ||
403 | strtod | ||
404 | strtoimax | ||
405 | strtok_r | ||
406 | strtol | ||
407 | strtoll | ||
408 | strtoul | ||
409 | strtoull | ||
410 | strtoumax | ||
411 | strverscmp | ||
412 | strxfrm | ||
413 | symlink | ||
414 | sync | ||
415 | sysconf | ||
416 | sysctl | ||
417 | sysinfo | ||
418 | syslog | ||
419 | _sys_siglist | ||
420 | sys_siglist | ||
421 | system | ||
422 | tcgetattr | ||
423 | tcgetpgrp | ||
424 | tcsetattr | ||
425 | tcsetpgrp | ||
426 | time | ||
427 | timegm | ||
428 | times | ||
429 | timezone | ||
430 | tmpnam | ||
431 | towlower | ||
432 | towupper | ||
433 | truncate | ||
434 | tsearch | ||
435 | ttyname | ||
436 | tzset | ||
437 | ulimit | ||
438 | umask | ||
439 | uname | ||
440 | unlink | ||
441 | unsetenv | ||
442 | unshare | ||
443 | updwtmp | ||
444 | updwtmpx | ||
445 | usleep | ||
446 | ustat | ||
447 | utime | ||
448 | utimes | ||
449 | utmpname | ||
450 | utmpxname | ||
451 | valloc | ||
452 | vasprintf | ||
453 | verrx | ||
454 | vfork | ||
455 | vfprintf | ||
456 | vfscanf | ||
457 | vhangup | ||
458 | vprintf | ||
459 | vsnprintf | ||
460 | vsprintf | ||
461 | wait3 | ||
462 | wait4 | ||
463 | waitpid | ||
464 | wcrtomb | ||
465 | wcscoll | ||
466 | wcsdup | ||
467 | wcslen | ||
468 | wctob | ||
469 | wctomb | ||
470 | wctype | ||
471 | wcwidth | ||
472 | wmemchr | ||
473 | wmemcpy | ||
474 | wmempcpy | ||
diff --git a/meta/recipes-core/glibc/site_config/headers b/meta/recipes-core/glibc/site_config/headers deleted file mode 100644 index 609ab53797..0000000000 --- a/meta/recipes-core/glibc/site_config/headers +++ /dev/null | |||
@@ -1,156 +0,0 @@ | |||
1 | aio.h | ||
2 | alloca.h | ||
3 | argz.h | ||
4 | arpa/inet.h | ||
5 | arpa/nameser.h | ||
6 | asm/byteorder.h | ||
7 | asm/ioctls.h | ||
8 | asm/page.h | ||
9 | asm/types.h | ||
10 | assert.h | ||
11 | byteswap.h | ||
12 | crypt.h | ||
13 | ctype.h | ||
14 | dirent.h | ||
15 | dlfcn.h | ||
16 | elf.h | ||
17 | endian.h | ||
18 | err.h | ||
19 | errno.h | ||
20 | execinfo.h | ||
21 | fcntl.h | ||
22 | features.h | ||
23 | float.h | ||
24 | fstab.h | ||
25 | ftw.h | ||
26 | getopt.h | ||
27 | glob.h | ||
28 | grp.h | ||
29 | iconv.h | ||
30 | ifaddrs.h | ||
31 | inttypes.h | ||
32 | langinfo.h | ||
33 | lastlog.h | ||
34 | libgen.h | ||
35 | libintl.h | ||
36 | limits.h | ||
37 | linux/capability.h | ||
38 | linux/fd.h | ||
39 | linux/fs.h | ||
40 | linux/hayesesp.h | ||
41 | linux/hdreg.h | ||
42 | linux/icmp.h | ||
43 | linux/in6.h | ||
44 | linux/joystick.h | ||
45 | linux/ptrace.h | ||
46 | linux/serial.h | ||
47 | linux/sonypi.h | ||
48 | linux/unistd.h | ||
49 | linux/utsname.h | ||
50 | linux/version.h | ||
51 | locale.h | ||
52 | malloc.h | ||
53 | math.h | ||
54 | mcheck.h | ||
55 | memory.h | ||
56 | mntent.h | ||
57 | mqueue.h | ||
58 | netdb.h | ||
59 | net/if.h | ||
60 | netinet/ether.h | ||
61 | netinet/in.h | ||
62 | netinet/ip6.h | ||
63 | netinet/ip.h | ||
64 | netinet/tcp.h | ||
65 | netinet/udp.h | ||
66 | netipx/ipx.h | ||
67 | net/route.h | ||
68 | paths.h | ||
69 | poll.h | ||
70 | pthread.h | ||
71 | pty.h | ||
72 | pwd.h | ||
73 | regex.h | ||
74 | resolv.h | ||
75 | rpc/rpc.h | ||
76 | rpc/types.h | ||
77 | sched.h | ||
78 | scsi/scsi.h | ||
79 | search.h | ||
80 | semaphore.h | ||
81 | setjmp.h | ||
82 | sgtty.h | ||
83 | shadow.h | ||
84 | signal.h | ||
85 | stdarg.h | ||
86 | stdbool.h | ||
87 | stdc | ||
88 | stddef.h | ||
89 | stdint.h | ||
90 | stdio.h | ||
91 | stdlib.h | ||
92 | string.h | ||
93 | strings.h | ||
94 | stropts.h | ||
95 | sys/bitypes.h | ||
96 | sys/cdefs.h | ||
97 | sys/dir.h | ||
98 | sys/epoll.h | ||
99 | sysexits.h | ||
100 | sys/fcntl.h | ||
101 | sys/file.h | ||
102 | sys/fsuid.h | ||
103 | sys/ioctl.h | ||
104 | sys/ipc.h | ||
105 | syslog.h | ||
106 | sys/mman.h | ||
107 | sys/mount.h | ||
108 | sys/mtio.h | ||
109 | sys/param.h | ||
110 | sys/poll.h | ||
111 | sys/prctl.h | ||
112 | sys/ptrace.h | ||
113 | sys/queue.h | ||
114 | sys/reg.h | ||
115 | sys/resource.h | ||
116 | sys/select.h | ||
117 | sys/sem.h | ||
118 | sys/shm.h | ||
119 | sys/signal.h | ||
120 | sys/socket.h | ||
121 | sys/socketvar.h | ||
122 | sys/soundcard.h | ||
123 | sys/statfs.h | ||
124 | sys/stat.h | ||
125 | sys/statvfs.h | ||
126 | sys/stropts.h | ||
127 | sys/swap.h | ||
128 | sys/sysctl.h | ||
129 | sys/sysinfo.h | ||
130 | sys/sysmacros.h | ||
131 | sys/termios.h | ||
132 | sys/timeb.h | ||
133 | sys/time.h | ||
134 | sys/times.h | ||
135 | sys/timex.h | ||
136 | sys/types.h | ||
137 | sys/uio.h | ||
138 | sys/un.h | ||
139 | sys/unistd.h | ||
140 | sys/user.h | ||
141 | sys/utsname.h | ||
142 | sys/vfs.h | ||
143 | sys/wait.h | ||
144 | termio.h | ||
145 | termios.h | ||
146 | time.h | ||
147 | ttyent.h | ||
148 | ulimit.h | ||
149 | unistd.h | ||
150 | ustat.h | ||
151 | utime.h | ||
152 | utmp.h | ||
153 | utmpx.h | ||
154 | values.h | ||
155 | wchar.h | ||
156 | wctype.h | ||
diff --git a/meta/recipes-core/glibc/site_config/types b/meta/recipes-core/glibc/site_config/types deleted file mode 100644 index 178bd85a00..0000000000 --- a/meta/recipes-core/glibc/site_config/types +++ /dev/null | |||
@@ -1,21 +0,0 @@ | |||
1 | char | ||
2 | char * | ||
3 | double | ||
4 | float | ||
5 | int | ||
6 | long | ||
7 | long double | ||
8 | long int | ||
9 | long long | ||
10 | long long int | ||
11 | short | ||
12 | short int | ||
13 | signed char | ||
14 | unsigned char | ||
15 | unsigned int | ||
16 | unsigned long | ||
17 | unsigned long int | ||
18 | unsigned long long int | ||
19 | unsigned short | ||
20 | unsigned short int | ||
21 | void * | ||