1 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
4 and logl multiarch implementations.
5 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
6 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
7 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
8 multiarch logb for PPC64.
9 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
10 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
11 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
12 multiarch logb for PPC64.
13 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
14 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
15 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
16 multiarch logb for PPC64.
18 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
21 isinff multiarch implementation.
22 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
24 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
25 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
26 multiarch isinf for PPC64.
27 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
29 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
30 multiarch isinff for PPC64.
32 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
35 finitef multiarch implementation.
36 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
38 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
39 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
40 multiarch finite for PPC64.
41 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
43 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
44 multiarch finitef for PPC64.
46 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
49 lrint multiarch implementation.
50 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
52 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
53 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
54 multiarch llrint for PPC64.
55 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
56 multiarch lrint for PPC64.
58 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
61 copysignf multiarch implementation.
62 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
64 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
66 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
67 multiarch copysign for PPC64.
68 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
69 multiarch copysignf for PPC64.
71 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
73 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
74 multiarch implementation.
75 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
77 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
79 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
81 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
83 multiarch llround for PPC64.
84 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
85 multiarch trunc for PPC64.
86 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
87 multiarch truncf for PPC64.
89 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
91 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
92 multiarch implementation.
93 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
95 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
97 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
99 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
101 multiarch llround for PPC64.
102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
103 multiarch round for PPC64.
104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
105 multiarch roundf for PPC64.
107 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
109 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
110 multiarch implementation.
111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
119 multiarch llround for PPC64.
120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
121 multiarch floor for PPC64.
122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
123 multiarch floorf for PPC64.
125 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
127 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
128 multiarch implementation.
129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
133 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
137 multiarch llround for PPC64.
138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
139 multiarch ceil for PPC64.
140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
141 multiarch ceilf for PPC64.
143 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
145 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
146 multiarch implementation.
147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
149 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
154 multiarch llround for PPC64.
155 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
156 multiarch lround for PPC64.
158 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
160 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
161 multiarch implementation.
162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
164 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
168 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
169 multiarch isnan for PPC64.
170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
171 multiarch isnanf for PPC64.
173 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
175 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
176 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
177 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
178 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
179 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
182 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
184 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
185 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
186 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
187 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
189 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
191 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
192 multiarch implementations.
193 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
194 (__libc_ifunc_impl_list): Likewise.
195 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
196 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
197 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
198 multiarch stpcpy for PPC64.
200 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
202 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
203 multiarch implementations.
204 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
205 (__libc_ifunc_impl_list): Likewise.
206 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
207 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
208 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
209 multiarch strcpy for PPC64.
211 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
213 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
214 redefine function name.
215 (_wordcopy_fwd_dest_aligned): Likewise.
216 (_wordcopy_bwd_aligned): Likewise.
217 (_wordcopy_bwd_dest_aligned): Likewise.
218 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
219 multiarch implementations.
220 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
221 (__libc_ifunc_impl_list): Likewise.
222 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
223 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
224 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
225 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
226 multiarch wcscpy for PPC64.
228 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
230 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
231 multiarch implementations.
232 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
233 (__libc_ifunc_impl_list): Likewise.
234 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
235 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
236 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
237 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
238 multiarch wcscpy for PPC64.
240 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
242 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
243 multiarch implementations.
244 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
245 (__libc_ifunc_impl_list): Likewise.
246 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
247 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
248 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
249 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
250 multiarch wcsrchr for PPC64.
252 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
254 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
255 multiarch implementations.
256 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
257 (__libc_ifunc_impl_list): Likewise.
258 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
259 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
260 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
261 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
262 multiarch wcschr for PPC64.
264 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
266 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
267 multiarch implementations.
268 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
269 (__libc_ifunc_impl_list): Likewise.
270 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
271 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
272 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
273 multiarch strchrnul for PPC64.
275 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
277 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
279 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
280 (__libc_ifunc_impl_list): Likewise.
281 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
282 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
283 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
284 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
287 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
289 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
291 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
292 (__libc_ifunc_impl_list): Likewise.
293 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
294 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
295 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
296 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
299 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
301 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
302 multiarch implementations.
303 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
304 (__libc_ifunc_impl_list): Likewise.
305 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
306 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
307 strncasecmp for PPC64.
308 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
309 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
310 multiarch strncasecmp_l for PPC64.
312 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
314 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
315 multiarch implementations.
316 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
317 (__libc_ifunc_impl_list): Likewise.
318 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
319 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
320 multiarch strcasecmp for PPC64.
321 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
323 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
324 multiarch strcasecmp_l for PPC64.
326 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
328 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
330 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
331 (__libc_ifunc_impl_list): Likewise.
332 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
333 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
334 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
337 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
339 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
341 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
342 (__libc_ifunc_impl_list): Likewise.
343 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
344 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
345 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
348 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
350 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
352 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
353 (__libc_ifunc_impl_list): Likewise.
354 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
355 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
356 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
357 rawmemrchr for PPC64.
359 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
361 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
363 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
364 (__libc_ifunc_impl_list): Likewise.
365 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
366 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
367 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
370 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
372 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
374 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
375 (__libc_ifunc_impl_list): Likewise.
376 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
377 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
378 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
381 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
383 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
385 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
386 (__libc_ifunc_impl_list): Likewise.
387 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
388 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
389 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
392 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
394 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
395 avoid cretion of __bzero symbol.
396 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
398 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
400 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
402 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
403 multiarch implementations.
404 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
405 (__libc_ifunc_impl_list): Likewise.
406 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
407 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
408 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
409 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
411 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
412 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
413 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
414 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
415 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
417 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
419 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
421 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
422 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
424 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
425 (__libc_ifunc_impl_list): Likewise.
426 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
427 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
428 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
429 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
432 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
434 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
435 multiarch for POWER/PPC64.
436 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
437 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
438 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
439 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
440 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
441 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
442 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
443 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
444 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
447 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
450 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
451 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
452 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
453 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
454 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
455 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
456 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
457 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
458 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
459 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
460 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
461 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
462 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
463 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
472 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
474 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
476 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
478 * benchtests/Makefile (bench): Add exp2 and log2.
479 (LDLIBS-bench-exp2): Add -lm.
480 (LDLIBS-bench-log2): Likewise.
481 * benchtests/exp2-inputs: New inputs file.
482 * benchtests/log2-inputs: New inputs file.
483 * benchtests/log-inputs: Add new inputs.
484 * benchtests/tan-inputs: Likewise.
486 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
488 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
490 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
491 csloww1, csloww2): ... from here.
493 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
494 instead of structures.
495 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
496 (POLYNOMIAL): Likewise.
497 (TAYLOR_SLOW): Likewise.
512 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
514 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
515 (__malloc_assert, __libc_realloc, __libc_calloc,
516 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
518 * malloc/hooks.c (realloc_check): Likewise.
520 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
522 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
523 * malloc/arena.c: Remove PER_THREAD conditional.
524 [!PER_THREAD]: Remove code.
525 (ptmalloc_unlock_all2): Likewise.
526 (ptmalloc_init): Likewise.
527 (_int_new_arena): Likewise.
528 (arena_get2): Likewise.
529 * malloc/hooks.c (__malloc_get_state): Likewise.
530 (__malloc_set_state): Likewise.
531 * malloc/malloc.c: Likewise.
532 (struct malloc_state): Likewise.
533 (struct malloc_par): Likewise.
534 (__libc_realloc): Likewise.
535 (__libc_mallopt): Likewise.
537 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
539 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
541 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
543 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
544 macro to a function. Check for zero perturb_byte.
545 (_int_malloc, _int_free): Remove zero perturb_byte checks.
547 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
549 * malloc/malloc.c: (force_reg): Remove.
550 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
551 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
552 force_reg by atomic_forced_read.
553 * malloc/arena.c (ptmalloc_init): Likewise.
554 * malloc/hooks.c (top_check): Likewise.
556 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
558 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
560 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
562 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
564 2013-12-08 Joseph Myers <joseph@codesourcery.com>
566 * math/auto-libm-test-in: Add tests of lgamma.
567 * math/auto-libm-test-out: Regenerated.
568 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
569 (M_LOG_2_SQRT_PIl): Likewise.
570 (lgamma_test_data): Use AUTO_TESTS_f_f1.
571 * math/gen-auto-libm-tests.c (func_calc_method): Add value
573 (func_calc_desc): Add mpfr_f_f1 union field.
582 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
583 (test_functions): Add lgamma.
584 (calc_generic_results): Handle mpfr_f_f1.
585 * sysdeps/i386/fpu/libm-test-ulps: Update.
586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
588 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
590 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
591 __mpn_add_n for PowerPC64/POWER7.
592 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
593 __mpn_sub_n for PowerPC64/POWER7.
595 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
597 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
598 __mpn_addmul_1 for PowerPC64.
599 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
600 __mpn_submul_1 for PowerPC64.
601 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
603 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
606 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
609 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
611 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
613 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
615 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
617 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
618 add multiarch folders.
619 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
620 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
621 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
622 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
623 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
624 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
625 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
626 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
627 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
628 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
629 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
637 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
640 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
646 multiarch __ieee754_hypot for PowerPC32.
647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
652 multiarch __ieee754_hypotf for PowerPC32.
654 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
656 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
657 long_double_symbol only if __logbl is defined.
658 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
659 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
660 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
661 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
662 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
663 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
664 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
665 path for implementation.
666 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
667 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
669 logb, and logbl multiarch implementations for PowerPC32.
670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
675 multiarch logb for PowerPC32.
676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
681 multiarch logbf for PowerPC32.
682 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
686 multiarch logbl implementation for PowerPC32.
688 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
691 and modff multiarch implementations.
692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
697 multiarch modf for PowerPC32.
698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
703 multiarch modff for PowerPC32.
705 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
708 and lrintf multiarch implementations.
709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
714 multiarch lrint for PowerPC32.
715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
716 file: multiarch lrintf for PowerPC32.
718 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
721 and lroundf multiarch implementations.
722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
729 multiarch lround for PowerPC32.
730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
731 file: multiarch lroundf for PowerPC32.
733 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
736 copysign and copysignf multiarch implementations.
737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
742 file: multiarch copysign for PowerPC32.
743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
744 file: multiarch copysignf for PowerPC32.
746 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
749 and truncf multiarch implementations.
750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
755 multiarch trunc for PowerPC32.
756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
761 multiarch truncf for PowerPC32.
763 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
766 and roundf multiarch implementations.
767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
772 multiarch round for PowerPC32.
773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
778 multiarch roundf for PowerPC32.
780 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
783 and floorf multiarch implementations.
784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
789 multiarch floor for PowerPC32.
790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
795 multiarch floorf for PowerPC32.
797 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
800 and ceilf multiarch implementations.
801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
806 multiarch ceil for PowerPC32.
807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
811 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
812 multiarch ceilf for PowerPC32.
814 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
816 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
818 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
821 and finitef multiarch implementations.
822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
827 multiarch finite for PowerPC32.
828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
831 file: multiarch finitef for PowerPC32.
833 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
835 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
836 and isinff multiarch implementations.
837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
842 multiarch isinf for PowerPC32.
843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
846 multiarch isinff for PowerPC32.
848 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
850 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
851 alias when __isnan is defined.
852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
853 and isnanf multiarch implementations.
854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
863 multiarch isnan for PowerPC32.
864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
869 multiarch isnanf for PowerPC32.
871 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
874 and sqrtf multiarch implementations.
875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
880 multiarch sqrt for PowerPC32.
881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
886 multiarch sqrtf for PowerPC32.
888 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
891 and llroundf multiarch implementations.
892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
899 file: multiarch llround for PowerPC32.
900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
901 file: multiarch llroundf for PowerPC32.
903 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
906 multiarch PowerPC32 fpu implementations.
907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
912 multiarch llrint for PowerPC32.
913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
920 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
924 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
926 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
928 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
930 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
932 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
933 multiarch wordcopy for PPC32.
934 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
936 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
937 (__libc_ifunc_impl_list): Likewise.
938 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
939 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
940 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
941 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
942 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
943 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
945 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
947 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
948 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
950 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
952 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
954 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
955 multiarch wcscpy for PPC32.
956 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
958 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
959 (__libc_ifunc_impl_list): Likewise.
960 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
961 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
962 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
963 sysdeps/powerpc/power6/wcscpy.c.
965 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
967 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
968 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
970 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
972 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
974 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
975 multiarch wcsrchr for PPC32.
976 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
978 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
979 (__libc_ifunc_impl_list): Likewise.
980 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
981 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
982 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
983 sysdeps/powerpc/power6/wcsrchr.c.
985 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
987 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
989 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
991 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
992 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
993 multiarch wcschr for PPc32.
994 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
996 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
997 (__libc_ifunc_impl_list): Likewise.
998 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
999 * sysdeps/powerpc/power6/wcschr.c: ... to here.
1000 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
1001 sysdeps/powerpc/power6/wcschr.c.
1003 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1005 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
1006 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
1008 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
1009 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
1010 file: multiarch strchr for PPC32.
1011 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
1013 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1014 (__libc_ifunc_impl_list): Likewise.
1016 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1018 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
1020 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
1022 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
1024 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
1025 multiarch strchrnul for PPC32.
1026 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
1028 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1029 (__libc_ifunc_impl_list): Likewise.
1031 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1033 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
1035 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
1036 multiarch strncasecmp for PPC32.
1037 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
1039 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
1040 multiarch strncasecmp_l for PPC32.
1041 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
1042 strncasecmp multiarch objects.
1043 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1044 (__libc_ifunc_impl_list): Likewise.
1046 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1048 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
1050 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
1051 multiarch strncasecmp for PPC32.
1052 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1054 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
1055 multiarch strcasecmp_l for PPC32.
1056 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
1058 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1059 (__libc_ifunc_impl_list): Likewise.
1061 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1063 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
1065 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
1067 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
1068 multiarch strncmp for PPC32.
1069 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
1071 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1072 (__libc_ifunc_impl_list): Likewise.
1074 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1076 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
1077 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
1079 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
1080 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
1081 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
1083 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1084 (__libc_ifunc_impl_list): Likewise.
1086 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1088 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
1090 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
1092 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
1093 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
1095 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1096 (__libc_ifunc_impl_list): Likewise.
1098 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1100 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
1102 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
1104 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
1105 multiarch rawmemchr for PPC32.
1106 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
1108 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1109 (__libc_ifunc_impl_list): Likewise.
1111 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1113 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
1115 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
1117 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
1118 file: memrchr multiarch for PPC32.
1119 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
1121 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1122 (__libc_ifunc_impl_list): Likewise.
1124 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1126 * string/memchr.c (__memchr): Using macro to redefine symbol name.
1127 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
1129 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
1130 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
1131 multiarch memchr for PPC32.
1132 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
1134 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1135 (__libc_ifunc_impl_list): Likewise.
1137 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1139 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
1140 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
1142 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
1144 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
1145 file: multiarch mempcpy for PPC32.
1146 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
1148 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1149 (__libc_ifunc_impl_list): Likewise.
1151 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1153 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
1154 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
1155 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
1156 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
1157 multiarch bzero for PPC32.
1158 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
1160 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
1162 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
1163 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
1164 file: multiarch memset for PPC32.
1165 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
1166 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
1167 memset multiarch objects.
1168 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1169 (__libc_ifunc_impl_list): Likewise.
1171 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1173 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
1175 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
1176 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
1178 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
1179 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
1181 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1182 (__libc_ifunc_impl_list): Likewise.
1184 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1186 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
1187 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
1188 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
1190 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
1192 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
1194 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
1195 multiarch memcpy for PPC32.
1196 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
1198 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1199 (__libc_ifunc_impl_list): Likewise.
1201 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1203 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
1204 support multiarch for POWER/PPC32.
1205 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1207 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
1208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
1209 Implies file to make multiarch folder appers before the fpu and
1210 default folder for power4 configuration.
1212 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1214 * scripts/bench.pl: Append volatile keyword to type.
1216 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1218 * sysdeps/sh/sotruss-lib.c: New file.
1219 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
1221 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1223 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1225 2013-12-05 Joseph Myers <joseph@codesourcery.com>
1228 * math/w_tgamma.c: Include <errno.h>.
1229 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
1230 * math/w_tgammaf.c: Include <errno.h>.
1231 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
1232 * math/w_tgammal.c: Include <errno.h>.
1233 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
1234 * math/auto-libm-test-in: Do not allow missing errno on tgamma
1235 underflow. Add more tgamma tests.
1236 * math/auto-libm-test-out: Regenerated.
1237 * sysdeps/i386/fpu/libm-test-ulps: Update.
1238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1240 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
1241 sin, sinh, tan, tanh, tgamma, y0 and y1.
1242 * math/auto-libm-test-out: Regenerated.
1243 * math/libm-test.inc (TEST_COND_x86_64): New macro.
1244 (TEST_COND_x86): Likewise.
1245 (M_E2l): Remove macro.
1247 (M_2_SQRT_PIl): Likewise.
1248 (M_SQRT_PIl): Likewise.
1249 (M_1_DIV_El): Likewise.
1250 (log_test_data): Use AUTO_TESTS_f_f.
1251 (log10_test_data): Likewise.
1252 (log1p_test_data): Likewise.
1253 (log2_test_data): Likewise.
1254 (sin_test_data): Likewise.
1255 (sin_tonearest_test_data): Likewise.
1256 (sin_towardzero_test_data): Likewise.
1257 (sin_downward_test_data): Likewise.
1258 (sin_upward_test_data): Likewise.
1259 (sinh_test_data): Likewise.
1260 (sinh_tonearest_test_data): Likewise.
1261 (sinh_towardzero_test_data): Likewise.
1262 (sinh_downward_test_data): Likewise.
1263 (sinh_upward_test_data): Likewise.
1264 (tan_test_data): Likewise.
1265 (tan_tonearest_test_data): Likewise.
1266 (tan_towardzero_test_data): Likewise.
1267 (tan_downward_test_data): Likewise.
1268 (tan_upward_test_data): Likewise.
1269 (tanh_test_data): Likewise.
1270 (tgamma_test_data): Likewise.
1271 (y0_test_data): Likewise.
1272 (y1_test_data): Likewise.
1273 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
1274 (special_real_inputs): Add pi/4.
1275 * sysdeps/i386/fpu/libm-test-ulps: Update.
1276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1278 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1280 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
1281 "longjmp_target" static probes.
1282 (__longjmp): Rename to __longjmp_symbol.
1283 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1284 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
1285 on which longjmp to generate.
1286 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1287 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
1289 (__sigsetjmp): Rename to __sigsetjmp_symbol.
1290 (__sigjmp_save): Rename to __sigjmp_save_symbol.
1291 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1292 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
1293 and __sigjmp_save_symbol based on which sigsetjmp to generated.
1294 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
1295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
1296 __longjmp_symbol based on which __longjmp to generate.
1297 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
1299 (setjmp): Rename to setjmp_symbol.
1300 (__sigsetjmp): Rename to __sigsetjmp_symbol.
1301 (_setjmp): Rename to _setjmp_symbol.
1302 (__sigsetjmp): Rename to __sigsetjmp_symbol.
1303 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
1304 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
1305 which setjmp to generate.
1306 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
1307 "longjmp_target" static probes.
1309 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1311 * benchtests/README: Add note about output arguments.
1312 * benchtests/bench-sincos.c: Remove file.
1313 * benchtests/sincos-inputs: New file.
1314 * scripts/bench.pl: Identify output arguments and define
1315 static variables for them.
1317 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
1320 * Makefile (INSTALL): Add install-plain.texi as the primary
1322 * manual/install-plain.texi: New file.
1323 * manual/install.texi: Include node directive only for
1324 non-plaintext output.
1326 2013-12-04 Joseph Myers <joseph@codesourcery.com>
1328 * stdlib/longlong.h: Update from GCC.
1332 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
1333 * math/w_j0f.c (y0f): Likewise.
1334 * math/w_j0l.c (__y0l): Likewise.
1335 * math/w_j1.c (y1): Likewise.
1336 * math/w_j1f.c (y1f): Likewise.
1337 * math/w_j1l.c (__y1l): Likewise
1338 * math/w_jn.c (yn): Likewise.
1339 * math/w_jnf.c (ynf): Likewise.
1340 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
1341 Bessel function pole errors in _POSIX_ mode. Use NAN as return
1342 value for Bessel function domain errors outside _SVID_ mode.
1343 Adjust sign of return value for yn (negative integer, 0).
1344 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
1345 by zero in return for negative x and set sign appropriately for
1347 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
1348 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1349 * math/libm-test.inc (y0_test_data): Add more tests and adjust
1350 expectations in error cases.
1351 (y1_test_data): Likewise.
1352 (yn_test_data): Likewise.
1353 * sysdeps/i386/fpu/libm-test-ulps: Update.
1354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1356 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1358 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
1359 "64" to "64-v1". Add "64-v2".
1360 (abi-64-options): Rename to ...
1361 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
1362 (abi-64-condition): Rename to ...
1363 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
1364 (abi-64-ld-soname): Rename to ...
1365 (abi-64-v1-ld-soname): ... this.
1366 (abi-64-v2-options): Define.
1367 (abi-64-v2-condition): Likewise.
1368 (abi-64-v2-ld-soname): Likewise.
1369 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
1370 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
1371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
1372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
1373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
1375 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1376 Alan Modra <amodra@gmail.com>
1378 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
1379 New versions for use with the ELFv2 ABI.
1380 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
1381 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
1383 (struct La_ppc64v2_retval): Likewise.
1384 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
1385 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
1386 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
1387 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
1388 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
1389 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
1390 Do not save or restore CR.
1391 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
1392 (_dl_profile_resolve): Do no save or restore CR. Support extended
1393 return values for ELFv2 ABI. Fix location of FPR return registers.
1394 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
1395 updated values for _CALL_ELF == 2.
1396 (La_regs, La_retval, int_retval): Likewise.
1398 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1400 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
1401 (FRAME_MIN_SIZE_PARM): Likewise.
1402 (FRAME_BACKCHAIN): Likewise.
1403 (FRAME_CR_SAVE): Likewise.
1404 (FRAME_LR_SAVE): Likewise.
1405 (FRAME_TOC_SAVE): Likewise.
1406 (FRAME_PARM_SAVE): Likewise.
1407 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1408 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1409 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
1410 (call_mcount_parm_offset): New macro.
1411 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
1412 (PROF): Use symbolic stack frame offsets.
1413 (TAIL_CALL_SYSCALL_ERROR): Likewise.
1414 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
1415 Redefine in terms of FRAME_MIN_SIZE.
1416 (_dl_runtime_resolve): Use symbolic stack frame offsets.
1417 (_dl_profile_resolve): Likewise. Update comment.
1418 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
1419 symbols stack frame offsets.
1420 (__sigsetjmp): Likewise.
1421 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
1422 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
1423 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
1424 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
1426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
1427 (FRAME_BACKCHAIN): Remove.
1428 (FRAME_CR_SAVE): Likewise.
1429 (FRAME_LR_SAVE): Likewise.
1430 (FRAME_COMPILER_DW): Likewise.
1431 (FRAME_LINKER_DW): Likewise.
1432 (FRAME_TOC_SAVE): Likewise.
1433 (FRAME_PARM_SAVE): Likewise.
1434 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1435 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1436 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
1437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
1438 (CHECK_SP): Use symbolic stack frame offsets.
1439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
1440 zone" instead of caller's parameter save area for temp storage.
1441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1442 Likewise. Also, use symbolic stack frame offsets.
1443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
1444 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
1445 our own stack frame instead of the caller's.
1446 (__socket): Use symbolic stack frame offsets.
1448 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1449 Alan Modra <amodra@gmail.com>
1451 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
1453 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
1454 PPC64_LOCAL_ENTRY_OFFSET): Define.
1455 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
1457 (elf_machine_fixup_plt): Call it.
1458 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
1460 (elf_machine_rela): Update call to elf_machine_plt_conflict.
1461 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
1462 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
1463 r2 before calling target.
1465 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1466 Alan Modra <amodra@gmail.com>
1468 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
1469 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
1470 versions of macros to support ELFv2 ABI.
1471 (LOCALENTRY): New macro.
1472 (ENTRY, EALIGN): Use it.
1473 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
1474 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
1475 fall through into ENTRY entry point.
1476 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
1477 Only define if _CALL_ELF != 2.
1479 (elf_machine_matches_host): Verify ABI version matches.
1480 (RTLD_START): Use LOCALENTRY.
1481 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
1482 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
1483 (PLT_ENTRY_WORDS): New macro.
1484 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
1485 (elf_machine_runtime_setup): Support ELFv2 ABI.
1486 (elf_machine_fixup_plt): Likewise.
1487 (elf_machine_plt_conflict): Likewise.
1488 (resolve_ifunc): Likewise.
1489 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
1490 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
1492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
1493 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
1494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1495 (makecontext): Support ELFv2 ABI.
1496 * elf/elf.h (EF_PPC64_ABI): Define.
1498 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1500 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
1501 New assembler macro.
1502 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
1503 [ASSEMBLER] (ENTRY): ... but instead here ...
1504 [ASSEMBLER] (EALIGN): ... and here.
1505 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
1506 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
1507 [!ASSEMBLER] (ENTRY_2): Use it.
1508 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
1509 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
1510 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
1511 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
1512 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
1513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
1514 Use PPC64_LOAD_FUNCPTR.
1516 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1518 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
1520 2013-12-04 Alan Modra <amodra@gmail.com>
1522 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
1523 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
1524 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
1525 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
1527 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
1528 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
1529 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
1530 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
1531 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
1532 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
1534 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1537 (__makecontext): Fix incorrect CFI when backtracing out of
1538 context created via makecontext.
1539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
1540 (__setcontext): Fix incorrect CFI during switch to new context.
1541 (__novec_setcontext): Likewise.
1543 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
1546 * time/strptime_l.c (__strptime_internal): Allow modifiers
1548 * time/tst-strptime.c (day_tests): Add testcase.
1551 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1553 * scripts/bench.pl: Skip over blank lines.
1555 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
1558 * manual/time.texi (Calendar Time): Clarify what timezone functions
1561 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1563 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1565 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
1567 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
1569 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
1570 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
1571 * debug/memset_chk.c (__memset_chk): Likewise.
1572 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
1573 * debug/strncpy_chk.c: Likewise.
1575 2013-12-03 Joseph Myers <joseph@codesourcery.com>
1579 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
1580 (__ieee754_exp): For possibly underflowing results, check size of
1581 result and force underflow exception if required.
1582 * math/auto-libm-test-in: Add more tests of exp.
1583 * math/auto-libm-test-out: Regenerated.
1584 * sysdeps/i386/fpu/libm-test-ulps: Update.
1585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1588 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
1589 * math/w_exp2f.c (__exp2f): Likewise.
1590 * math/w_exp2l.c (__exp2l): Likewise.
1591 * math/auto-libm-test-in: Do not allow missing errno on exp2
1593 * math/auto-libm-test-out: Regenerated.
1595 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
1598 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
1599 handle filename validation.
1600 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
1603 2013-12-03 Joseph Myers <joseph@codesourcery.com>
1606 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
1607 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
1608 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
1610 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
1611 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
1612 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1613 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
1614 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1615 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
1616 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1617 * math/auto-libm-test-in: Don't allow missing errno from erfc.
1618 Add more erfc tests.
1619 * math/auto-libm-test-out: Regenerated.
1620 * sysdeps/i386/fpu/libm-test-ulps: Update.
1621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1623 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
1624 exp2, expm1, j0 and j1.
1625 * math/auto-libm-test-out: Regenerated.
1626 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
1627 (erfc_test_data): Likewise.
1628 (exp_test_data): Likewise.
1629 (exp_tonearest_test_data): Likewise.
1630 (exp_towardzero_test_data): Likewise.
1631 (exp_downward_test_data): Likewise.
1632 (exp_upward_test_data): Likewise.
1633 (exp10_test_data): Likewise.
1634 (exp2_test_data): Likewise.
1635 (expm1_test_data): Likewise.
1636 (j0_test_data): Likewise.
1637 (j1_test_data): Likewise.
1638 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
1639 (input_flag_type): Add flag_xfail_rounding.
1640 (input_flags): Add xfail-rounding.
1641 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
1642 (output_for_one_input_case): Handle flag_xfail_rounding.
1643 * sysdeps/i386/fpu/libm-test-ulps: Update.
1644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1646 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
1649 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
1652 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1655 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
1656 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
1657 (STAP_PROBE0): New macro.
1658 (STAP_PROBE1): Likewise.
1659 (STAP_PROBE2): Likewise.
1660 (STAP_PROBE3): Likewise.
1661 (STAP_PROBE4): Likewise.
1663 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
1665 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
1667 2013-12-02 Steve Ellcey <sellcey@mips.com>
1669 * benchtests/Makefile (bench): Add sqrt.
1670 (LDLIBS-bench-sqrt): New.
1671 * benchtests/sqrt-input: New.
1673 2013-12-02 Pavel Simerda <psimerda@redhat.com>
1675 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
1676 (GAIH_EAI): Likewise.
1677 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
1678 (gaih_inet): Likewise.
1679 (getaddrinfo): Don't use GAIH_EAI.
1681 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
1682 (struct gaih): Remove definition.
1684 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1686 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
1687 Use HERRNOP directly.
1689 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1691 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1693 2013-11-30 Joseph Myers <joseph@codesourcery.com>
1695 * math/gen-auto-libm-tests.c (test_functions): Add more
1696 single-argument functions.
1697 (special_fill_pi_2): New function.
1698 (special_fill_minus_pi_2): Likewise.
1699 (special_fill_pi_6): Likewise.
1700 (special_fill_minus_pi_6): Likewise.
1701 (special_fill_pi_3): Likewise.
1702 (special_fill_2pi_3): Likewise.
1703 (special_fill_e): Likewise.
1704 (special_fill_1_e): Likewise.
1705 (special_fill_e_minus_1): Likewise.
1706 (special_real_inputs): Add more special inputs.
1707 (output_for_one_input_case): Do not require ERANGE on underflow to
1708 zero if round-to-nearest result does not underflow to zero, unless
1709 exact results required.
1710 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
1711 atan, atanh, cbrt, cos and cosh.
1712 * math/auto-libm-test-out: Regenerated.
1713 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
1714 (acos_tonearest_test_data): Likewise.
1715 (acos_towardzero_test_data): Likewise.
1716 (acos_downward_test_data): Likewise.
1717 (acos_upward_test_data): Likewise.
1718 (acosh_test_data): Likewise.
1719 (asin_test_data): Likewise.
1720 (asin_tonearest_test_data): Likewise.
1721 (asin_towardzero_test_data): Likewise.
1722 (asin_upward_test_data): Likewise.
1723 (asinh_test_data): Likewise.
1724 (atan_test_data): Likewise.
1725 (atanh_test_data): Likewise.
1726 (cbrt_test_data): Likewise.
1727 (cos_test_data): Likewise.
1728 (cos_tonearest_test_data): Likewise.
1729 (cos_towardzero_test_data): Likewise.
1730 (cos_downward_test_data): Likewise.
1731 (cos_upward_test_data): Likewise.
1732 (cosh_test_data): Likewise.
1733 (cosh_tonearest_test_data): Likewise.
1734 (cosh_towardzero_test_data): Likewise.
1735 (cosh_downward_test_data): Likewise.
1736 (cosh_upward_test_data): Likewise.
1737 * sysdeps/i386/fpu/libm-test-ulps: Update.
1738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1740 2013-11-29 Joseph Myers <joseph@codesourcery.com>
1743 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
1744 * math/w_exp10f.c (__exp10f): Likewise.
1745 * math/w_exp10l.c (__exp10l): Likewise.
1746 * math/libm-test.inc (exp10_test_data): Add more tests and expect
1747 errno settings in existing tests.
1750 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
1751 precision control set to double precision.
1752 * sysdeps/i386/fpu/w_sqrt.c: New file.
1753 * math/auto-libm-test-in: Add more tests.
1754 * math/auto-libm-test-out: Update.
1756 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
1757 (sqrt_test_tonearest): New function.
1758 (sqrt_towardzero_test_data): New variable.
1759 (sqrt_test_towardzero): New function.
1760 (sqrt_downward_test_data): New variable.
1761 (sqrt_test_downward): New function.
1762 (sqrt_upward_test_data): New variable.
1763 (sqrt_test_upward): New function.
1764 (main): Call the new functions.
1766 * math/gen-auto-libm-tests.c: New file.
1767 * math/auto-libm-test-in: Likewise.
1768 * math/auto-libm-test-out: New generated file.
1769 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
1771 (%beautify): Add generated representations of zero.
1772 (top level): Set $auto_input and call parse_auto_input.
1773 (beautify): Remove trailing "f" from hex float constants.
1774 (parse_args): Handle XFAIL_TEST.
1775 (convert_condition): New function.
1776 (or_value): Likewise.
1777 (or_cond_value): Likewise.
1778 (generate_testfile): Handle AUTO_TESTS_* lines.
1779 (parse_auto_input): New function.
1780 * math/libm-test.inc (XFAIL_TEST): New macro.
1781 (ERRNO_UNCHANGED): Update value.
1782 (ERRNO_EDOM): Likewise.
1783 (ERRNO_ERANGE): Likewise.
1784 (IGNORE_RESULT): Likewise.
1785 (TEST_COND_flt_32): New macro.
1786 (TEST_COND_dbl_64): Likewise.
1787 (TEST_COND_ldbl_96_intel): Likewise.
1788 (TEST_COND_ldbl_96_m68k): Likewise.
1789 (TEST_COND_ldbl_128): Likewise.
1790 (TEST_COND_ldbl_128ibm): Likewise.
1791 (TEST_COND_long32): Likewise.
1792 (TEST_COND_long64): Likewise.
1793 (TEST_COND_before_rounding): Likewise.
1794 (TEST_COND_after_rounding): Likewise.
1795 (enable_test): Handle XFAIL_TEST flag.
1796 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
1797 with finite results.
1798 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
1801 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1802 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1805 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
1806 __tls_get_addr_internal instead of __tls_get_offset in order to
1807 avoid GOT pointer dependency. Make rtld export
1808 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
1809 __tls_get_addr since we are a __tls_get_offset platform.
1810 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
1811 GOT pointer being set up before.
1812 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
1814 2013-11-28 Joseph Myers <joseph@codesourcery.com>
1816 * manual/math.texi (Errors in Math Functions): Document accuracy
1820 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
1821 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
1822 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1823 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1824 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1825 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1826 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1827 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1828 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1829 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1830 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1831 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1832 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1833 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1834 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1835 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
1837 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
1838 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
1839 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
1840 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
1841 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
1843 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
1845 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
1847 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
1848 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
1849 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
1850 atomic-feupdateenv and flt-rounds.
1851 * sysdeps/powerpc/nofpu/Versions (libc): Add
1852 __atomic_feholdexcept, __atomic_feclearexcept,
1853 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
1854 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
1855 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
1856 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
1857 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
1859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1862 * manual/arith.texi (FP Exceptions): Document that exceptions may
1863 not be raised when matherr is used.
1864 (Math Error Reporting): Document overflow in directed rounding
1865 modes. Document that errno may not be set when finite values are
1866 returned on overflow. Document intent to set errno on underflow
1867 only for underflow to zero.
1870 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
1871 round-to-nearest then adjust result for other rounding modes.
1872 * include/fenv.h (fegetround): Use libm_hidden_proto.
1873 * math/fegetround.c (fegetround): Use libm_hidden_def.
1874 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
1875 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
1876 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
1877 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
1879 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
1880 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1881 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
1882 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
1884 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1887 * nss/Versions (libnss_files): Add
1888 _nss_files_gethostbyname3_r.
1889 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
1891 (HOST_DB_LOOKUP): Remove macro.
1892 (_nss_files_gethostbyname_r): Implement function without the
1893 HOST_DB_LOOKUP macro.
1894 (_nss_files_gethostbyname2_r): Likewise.
1896 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
1898 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
1900 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
1902 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
1903 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
1906 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1908 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
1909 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
1910 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
1911 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1912 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
1913 __fe_nomask_env_priv and attribute_hidden.
1914 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
1915 (libc_feupdateenv_test_ppc): Likewise.
1916 (libc_feresetround_ppc): Likewise.
1917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1918 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
1919 compat_symbol macro.
1920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1921 (__fe_nomask_env): Likewise.
1922 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
1924 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
1926 * string/Makefile: Remove ifunc tests.
1927 * string/test-string.h: Define TEST_IFUNC.
1928 * string/test-bcopy-ifunc.c: Remove.
1929 * string/test-bzero-ifunc.c: Likewise.
1930 * string/test-memccpy-ifunc.c: Likewise.
1931 * string/test-memchr-ifunc.c: Likewise.
1932 * string/test-memcmp-ifunc.c: Likewise.
1933 * string/test-memcpy-ifunc.c: Likewise.
1934 * string/test-memmem-ifunc.c: Likewise.
1935 * string/test-memmove-ifunc.c: Likewise.
1936 * string/test-mempcpy-ifunc.c: Likewise.
1937 * string/test-memrchr-ifunc.c: Likewise.
1938 * string/test-memset-ifunc.c: Likewise.
1939 * string/test-rawmemchr-ifunc.c: Likewise.
1940 * string/test-stpcpy-ifunc.c: Likewise.
1941 * string/test-stpncpy-ifunc.c: Likewise.
1942 * string/test-strcasecmp-ifunc.c: Likewise.
1943 * string/test-strcasestr-ifunc.c: Likewise.
1944 * string/test-strcat-ifunc.c: Likewise.
1945 * string/test-strchr-ifunc.c: Likewise.
1946 * string/test-strchrnul-ifunc.c: Likewise.
1947 * string/test-strcmp-ifunc.c: Likewise.
1948 * string/test-strcpy-ifunc.c: Likewise.
1949 * string/test-strcspn-ifunc.c: Likewise.
1950 * string/test-strlen-ifunc.c: Likewise.
1951 * string/test-strncasecmp-ifunc.c: Likewise.
1952 * string/test-strncat-ifunc.c: Likewise.
1953 * string/test-strncmp-ifunc.c: Likewise.
1954 * string/test-strncpy-ifunc.c: Likewise.
1955 * string/test-strnlen-ifunc.c: Likewise.
1956 * string/test-strpbrk-ifunc.c: Likewise.
1957 * string/test-strrchr-ifunc.c: Likewise.
1958 * string/test-strspn-ifunc.c: Likewise.
1959 * string/test-strstr-ifunc.c: Likewise.
1961 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
1963 * benchtests/Makefile: Remove ifunc tests.
1964 * benchtests/bench-string.h: Define TEST_IFUNC.
1965 * benchtests/bench-bcopy-ifunc.c: Remove.
1966 * benchtests/bench-bzero-ifunc.c: Likewise.
1967 * benchtests/bench-memccpy-ifunc.c: Likewise.
1968 * benchtests/bench-memchr-ifunc.c: Likewise.
1969 * benchtests/bench-memcmp-ifunc.c: Likewise.
1970 * benchtests/bench-memcpy-ifunc.c: Likewise.
1971 * benchtests/bench-memmem-ifunc.c: Likewise.
1972 * benchtests/bench-memmove-ifunc.c: Likewise.
1973 * benchtests/bench-mempcpy-ifunc.c: Likewise.
1974 * benchtests/bench-memrchr-ifunc.c: Likewise.
1975 * benchtests/bench-memset-ifunc.c: Likewise.
1976 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
1977 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
1978 * benchtests/bench-stpcpy-ifunc.c: Likewise.
1979 * benchtests/bench-stpncpy-ifunc.c: Likewise.
1980 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
1981 * benchtests/bench-strcasestr-ifunc.c: Likewise.
1982 * benchtests/bench-strcat-ifunc.c: Likewise.
1983 * benchtests/bench-strchr-ifunc.c: Likewise.
1984 * benchtests/bench-strchrnul-ifunc.c: Likewise.
1985 * benchtests/bench-strcmp-ifunc.c: Likewise.
1986 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
1987 * benchtests/bench-strcpy-ifunc.c: Likewise.
1988 * benchtests/bench-strcspn-ifunc.c: Likewise.
1989 * benchtests/bench-strlen-ifunc.c: Likewise.
1990 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
1991 * benchtests/bench-strncat-ifunc.c: Likewise.
1992 * benchtests/bench-strncmp-ifunc.c: Likewise.
1993 * benchtests/bench-strncpy-ifunc.c: Likewise.
1994 * benchtests/bench-strnlen-ifunc.c: Likewise.
1995 * benchtests/bench-strpbrk-ifunc.c: Likewise.
1996 * benchtests/bench-strrchr-ifunc.c: Likewise.
1997 * benchtests/bench-strsep-ifunc.c: Likewise.
1998 * benchtests/bench-strspn-ifunc.c: Likewise.
1999 * benchtests/bench-strstr-ifunc.c: Likewise.
2001 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
2003 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
2005 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
2007 * resolv/netdb.h: Use __glibc_reserved instead __unused.
2008 * rt/aio.h: Likewise.
2009 * sysdeps/gnu/bits/utmp.h: Likewise.
2010 * sysdeps/gnu/bits/utmpx.h: Likewise.
2011 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2012 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
2013 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
2014 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
2015 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
2016 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
2017 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
2018 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
2019 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
2020 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
2021 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
2022 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
2023 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
2024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
2025 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2026 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
2027 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
2028 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
2029 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
2030 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
2031 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
2032 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
2033 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
2034 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
2035 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
2036 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2037 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
2038 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
2039 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
2040 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
2041 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
2042 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
2043 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
2044 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2045 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
2046 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
2047 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
2048 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
2049 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
2050 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
2051 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
2052 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2054 2013-11-25 Carlos O'Donell <carlos@redhat.com>
2057 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
2058 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
2060 2013-11-25 Joseph Myers <joseph@codesourcery.com>
2062 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
2063 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2066 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2068 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
2069 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
2070 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
2071 (__fesetround): Remove define.
2072 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
2073 rounding and exceptions handling.
2074 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
2075 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
2076 (__fe_nomask_env): Likewise.
2077 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
2078 __fegetround instead of fegetround.
2079 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
2080 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
2082 2013-11-21 Roland McGrath <roland@hack.frob.com>
2084 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
2087 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
2089 2013-11-21 Meador Inge <meadori@codesourcery.com>
2092 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
2093 (encrypt_r): Likewise.
2094 * malloc/obstack.h (obstack_free): Likewise.
2095 * posix/unistd.h (encrypt): Likewise.
2097 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
2099 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
2100 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
2101 DL_CALL_DT_FINI() that call the functions directly.
2102 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
2103 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
2104 * elf/dl-fini.c: Likewise.
2106 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
2108 * malloc/hooks.c (memalign_check): Add alignment rounding.
2109 * malloc/malloc.c (_mid_memalign): New function.
2110 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
2111 Implement by calling _mid_memalign.
2112 * manual/probes.texi (Memory Allocation Probes): Remove
2113 memory_valloc_retry and memory_pvalloc_retry.
2115 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2117 * locale/programs/locarchive.c (open_archive): Add const
2118 qualifier to ARCHIVEFNAME and copy default fname to
2122 * libio/tst-widetext.input: Rename Oriya to Odia.
2123 * locale/iso-639.def: Likewise.
2125 * manual/probes.texi (Mathematical Function Probes): Add
2126 documentation for sin, cos, asin and acos probes.
2127 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
2128 (__sin32): Add slowasin probe.
2129 (__cos32): Add slowacos probe.
2130 (__mpsin): Add slowsin probe.
2131 (__mpcos): Add slowcos probe.
2133 2013-11-19 Joseph Myers <joseph@codesourcery.com>
2136 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
2137 thread-local __sim_exceptions_thread and global
2138 __sim_exceptions_global.
2139 (__sim_disabled_exceptions): Change to thread-local
2140 __sim_disabled_exceptions_thread and global
2141 __sim_disabled_exceptions_global.
2142 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2143 and global __sim_round_mode_global.
2144 (__simulate_exceptions): Use thread-local floating-point state and
2145 set global state from it as needed.
2146 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
2147 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
2148 __sim_round_mode_thread.
2149 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
2150 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
2151 and global __sim_exceptions_global.
2152 (__sim_disabled_exceptions): Change to thread-local
2153 __sim_disabled_exceptions_thread and global
2154 __sim_disabled_exceptions_global.
2155 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2156 and global __sim_round_mode_global.
2157 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
2158 (SIM_SET_GLOBAL): Likewise.
2159 * sysdeps/powerpc/soft-fp/sfp-machine.h
2160 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
2161 __sim_round_mode_thread.
2162 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
2163 __sim_disabled_exceptions_thread.
2164 (__sim_exceptions): Change to __sim_exceptions_thread.
2165 (__sim_disabled_exceptions): Change to
2166 __sim_disabled_exceptions_thread.
2167 (__sim_round_mode): Change to __sim_round_mode_thread.
2168 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
2169 thread-local floating-point state and set global state from it as
2171 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
2172 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
2173 (__sim_disabled_exceptions): Remove extern declaration.
2174 (feenableexcept): Use thread-local floating-point state and set
2175 global state from it as needed.
2176 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
2178 (__sim_disabled_exceptions): Likewise.
2179 (__sim_round_mode): Likewise.
2180 (__fegetenv): Use thread-local floating-point state.
2181 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
2182 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2183 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
2184 floating-point state and set global state from it as needed.
2185 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
2186 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2187 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
2189 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2190 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
2192 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
2193 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
2194 Use __sim_round_mode_thread.
2195 * math/test-fenv-tls.c: New file.
2196 * math/Makefile (tests): Add test-fenv-tls.
2197 ($(objpfx)test-fenv-tls): Depend on
2198 $(common-objpfx)nptl/libpthread.so.
2200 2013-11-19 Andreas Schwab <schwab@suse.de>
2202 * locale/programs/locale.c (show_info): Decode wordarray elements.
2203 * locale/categories.def (LC_MONETARY): Add element for
2204 _NL_MONETARY_CRNCYSTR.
2205 * locale/C-monetary.c (conversion_rate): New variable.
2206 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
2209 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
2211 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
2212 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
2214 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
2216 * elf/Makefile (tst-auxv): New test.
2217 * elf/tst-auxv.c: New
2218 * elf/rtld.c (dl_main): Adjust AT_EXECFN
2220 2013-11-18 Joseph Myers <joseph@codesourcery.com>
2222 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
2223 (hidden_proto): Caller changed.
2224 (hidden_tls_proto): New macro.
2225 (libc_hidden_tls_proto): Likewise.
2226 (rtld_hidden_tls_proto): Likewise.
2227 (libm_hidden_tls_proto): Likewise.
2228 (libresolv_hidden_tls_proto): Likewise.
2229 (librt_hidden_tls_proto): Likewise.
2230 (libdl_hidden_tls_proto): Likewise.
2231 (libnss_files_hidden_tls_proto): Likewise.
2232 (libnsl_hidden_tls_proto): Likewise.
2233 (libnss_nisplus_hidden_tls_proto): Likewise.
2234 (libutil_hidden_tls_proto): Likewise.
2236 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
2239 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
2240 (decompose_rpath): Defer expansion to fillin_rpath.
2241 (_dl_init_paths): Pass linkmap to fillin_rpath.
2243 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2245 * benchtests/Makefile: Add strsep.
2246 * benchtests/bench-strsep.c: New file: strsep benchtest.
2247 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
2249 2013-11-18 Andreas Schwab <schwab@suse.de>
2251 * locale/programs/locale.c (show_info) [case byte]: Check for
2252 '\377' instead of '\177'.
2253 * locale/C-monetary.c (not_available): Always use "\377".
2254 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
2255 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
2256 detect unavailable sign_posn locale elements.
2257 * locale/localeconv.c (__localeconv): For grouping and
2258 mon_grouping handle "\177" and "\377" like no grouping.
2259 (INT_ELEM): New macro. Use it to set all numeric members.
2260 * locale/programs/ld-monetary.c (monetary_read)
2261 <tok_mon_grouping>: Normalize single -1 to the empty string.
2262 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
2265 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
2268 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
2269 when we match (nil).
2270 * stdio-common/tst-sscanf.c (struct test): Add testcase.
2272 2013-11-16 Joseph Myers <joseph@codesourcery.com>
2274 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
2275 (NO_TEST_INLINE): Update value.
2276 (ERRNO_UNCHANGED): Likewise.
2277 (ERRNO_EDOM): Likewise.
2278 (ERRNO_ERANGE): Likewise.
2279 (IGNORE_RESULT): Likewise.
2280 (check_float_internal): Check signs of NaN results if
2282 (check_complex): Pass TEST_NAN_SIGN flag through to second
2283 check_float_internal call.
2284 (copysign_test_data): Add tests with quiet NaNs as second
2285 argument. Use TEST_NAN_SIGN.
2286 (fabs_test_data): Add test of negative quiet NaN argument. Use
2288 (signbit_test_data): Add tests of quiet NaN argument.
2289 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
2291 * math/gen-libm-test.pl (show_exceptions): Take extra argument
2293 (parse_args): Handle function results specified as IGNORE.
2294 * math/libm-test.inc (IGNORE_RESULT): New macro.
2295 (check_float_internal): Do not check numerical result if flag
2297 (check_complex): Pass through IGNORE_RESULT to second
2298 check_float_internal call.
2299 (check_int): Do not check numerical result if flag IGNORE_RESULT
2301 (check_long): Likewise.
2302 (check_bool): Likewise.
2303 (check_longlong): Likewise.
2304 (lrint_test_data): Add tests of infinite and NaN arguments.
2305 (lrint_tonearest_test_data): Likewise.
2306 (lrint_towardzero_test_data): Likewise.
2307 (lrint_downward_test_data): Likewise.
2308 (lrint_upward_test_data): Likewise.
2309 (llrint_test_data): Likewise.
2310 (llrint_tonearest_test_data): Likewise.
2311 (llrint_towardzero_test_data): Likewise.
2312 (llrint_downward_test_data): Likewise.
2313 (llrint_upward_test_data): Likewise.
2314 (lround_test_data): Likewise.
2315 (llround_test_data): Likewise.
2317 * math/libm-test.inc (NO_TEST_INLINE): New macro.
2318 (ERRNO_UNCHANGED): Update value.
2319 (ERRNO_EDOM): Likewise.
2320 (ERRNO_ERANGE): Likewise.
2321 (NO_TEST_INLINE_FLOAT): New macro.
2322 (NO_TEST_INLINE_DOUBLE): Likewise.
2323 (enable_test): New function.
2324 (RUN_TEST_f_f): Check enable_test before running test.
2325 (RUN_TEST_2_f): Likewise.
2326 (RUN_TEST_fff_f): Likewise.
2327 (RUN_TEST_c_f): Likewise.
2328 (RUN_TEST_f_f1): Likewise.
2329 (RUN_TEST_fF_f1): Likewise.
2330 (RUN_TEST_fI_f1): Likewise.
2331 (RUN_TEST_ffI_f1): Likewise.
2332 (RUN_TEST_c_c): Likewise.
2333 (RUN_TEST_cc_c): Likewise.
2334 (RUN_TEST_f_i): Likewise.
2335 (RUN_TEST_f_i_tg): Likewise.
2336 (RUN_TEST_ff_i_tg): Likewise.
2337 (RUN_TEST_f_b): Likewise.
2338 (RUN_TEST_f_b_tg): Likewise.
2339 (RUN_TEST_f_l): Likewise.
2340 (RUN_TEST_f_L): Likewise.
2341 (RUN_TEST_fFF_11): Likewise.
2342 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
2344 (cosh_test_data): Likewise.
2345 (exp_test_data): Likewise.
2346 (expm1_test_data): Likewise.
2347 (hypot_test_data): Likewise.
2348 (pow_test_data): Likewise.
2349 (sinh_test_data): Likewise.
2350 (tanh_test_data): Likewise.
2351 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
2354 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
2355 tests with quiet NaN input and output.
2356 (acosh_test_data): Likewise.
2357 (asin_test_data): Likewise.
2358 (asinh_test_data): Likewise.
2359 (atan_test_data): Likewise.
2360 (atanh_test_data): Likewise.
2361 (atan2_test_data): Likewise.
2362 (cbrt_test_data): Likewise.
2363 (cos_test_data): Likewise.
2364 (cosh_test_data): Likewise.
2365 (erf_test_data): Likewise.
2366 (erfc_test_data): Likewise.
2367 (exp_test_data): Likewise.
2368 (exp10_test_data): Likewise.
2369 (exp2_test_data): Likewise.
2370 (expm1_test_data): Likewise.
2371 (hypot_test_data): Likewise.
2372 (j0_test_data): Likewise.
2373 (j1_test_data): Likewise.
2374 (jn_test_data): Likewise.
2375 (lgamma_test_data): Likewise.
2376 (log_test_data): Likewise.
2377 (log10_test_data): Likewise.
2378 (log1p_test_data): Likewise.
2379 (log2_test_data): Likewise.
2380 (pow_test_data): Likewise.
2381 (scalb_test_data): Likewise.
2382 (sin_test_data): Likewise.
2383 (sincos_test_data): Likewise.
2384 (sinh_test_data): Likewise.
2385 (tan_test_data): Likewise.
2386 (tanh_test_data): Likewise.
2387 (tgamma_test_data): Likewise.
2388 (y0_test_data): Likewise.
2389 (y1_test_data): Likewise.
2390 (yn_test_data): Likewise.
2393 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
2394 argument being NaN and avoid computations with second argument in
2396 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2397 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2398 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2400 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
2402 * locale/iso-639.def: Add Chitwani Tharu (the).
2404 2013-11-14 Andreas Schwab <schwab@suse.de>
2406 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
2407 word instead of empty string.
2409 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2412 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
2413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2414 (__fe_nomask_env): Likewise.
2416 2013-11-13 Steve Ellcey <sellcey@mips.com>
2418 * benchtests/bench-timing.h: Include time.h.
2420 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
2423 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
2425 * sysdeps/unix/sysv/linux/configure: Regenerated.
2427 2013-11-13 Joseph Myers <joseph@codesourcery.com>
2430 * stdlib/strtod_l.c (round_and_return): Do not consider
2431 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
2432 exponent one less than half the least subnormal exponent.
2433 * stdlib/test-strtod-round-data: Add more tests.
2434 * stdlib/tst-strtod-round.c (tests): Regenerated.
2436 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2439 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
2440 (__fe_mask_env): Likewise.
2441 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
2442 libm_hidden_proto and add function prototype.
2443 (__fe_mask_env): Add function prototype.
2444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2445 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
2446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2447 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
2448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2449 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
2451 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2453 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
2454 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
2456 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2458 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
2459 of htab_find_slot().
2461 2013-11-11 David S. Miller <davem@davemloft.net>
2464 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
2465 symbol in the non-vis3 case in static builds.
2466 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
2467 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
2468 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
2469 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
2471 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2474 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
2477 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2479 * benchtests/Makefile: Add bench-strtod.
2480 * benchtests/bench-strtod.c: New file: strtod benchtest
2482 2013-11-11 Andreas Schwab <schwab@suse.de>
2485 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
2486 terminating NUL in key length.
2488 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2490 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2491 Add artificial ODP entry for vDSO symbol for PPC64.
2492 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
2493 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
2495 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
2498 * nss/getent.c (services_keys): Recognize services starting with digit.
2500 2013-11-06 David S. Miller <davem@davemloft.net>
2503 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
2504 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
2506 2013-11-06 Will Newton <will.newton@linaro.org>
2508 * manual/memory.texi (Malloc Examples): Remove register
2509 keyword from examples.
2511 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
2513 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
2515 2013-11-04 Joseph Myers <joseph@codesourcery.com>
2517 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
2518 depending on [__GCC_IEC_559 > 0].
2519 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
2520 depending on [__GCC_IEC_559_COMPLEX > 0].
2522 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
2524 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
2527 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
2529 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
2531 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
2534 * malloc/malloc (malloc_info): Do not handle first bin as
2537 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
2539 * locale/iso-639.def: Add Central Nahuatl (nhn).
2541 2013-11-01 Bruno Haible <bruno@clisp.org>
2544 * manual/math.texi (BSD Random): Specify range upper bound as
2547 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
2549 * locale/iso-639.def: Add Meadow Mari (mhr).
2551 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
2553 [BZ #14752], [BZ #15763]
2554 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
2556 * rt/tst_shm.c: Add test for escaping directory.
2558 2013-10-31 Andreas Schwab <schwab@suse.de>
2561 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
2562 followed by 'x' as part of digit sequence.
2563 * stdio-common/tst-sscanf.c (double_tests2): New tests.
2565 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2568 * configure.ac: allow GNU Make 4.0 and greater.
2569 * configure: Regenerated.
2571 2013-10-30 Will Newton <will.newton@linaro.org>
2574 * malloc/hooks.c (memalign_check): Limit alignment to the
2575 maximum representable power of two.
2576 * malloc/malloc.c (__libc_memalign): Likewise.
2577 * malloc/tst-memalign.c (do_test): Add test for very
2578 large alignment values.
2579 * malloc/tst-posix_memalign.c (do_test): Likewise.
2581 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
2584 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
2585 (munmap_chunk): Likewise.
2586 (mremap_chunk): Likewise.
2588 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
2591 * stdlib/div.c (div): Remove obsolete code.
2592 * stdlib/ldiv.c (ldiv): Likewise.
2593 * stdlib/lldiv.c (lldiv): Likewise.
2595 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2598 * nss/nss_files/files-XXX.c (get_contents_ret): New
2600 (get_contents): New function.
2601 (internal_getent): Use it. Expand size of LINEBUFLEN.
2603 2013-10-30 Mike Frysinger <vapier@gentoo.org>
2605 * configure.in: Moved to ...
2606 * configure.ac: ... here. Change reference to configure.in
2608 * sysdeps/arm/preconfigure.ac: ... here.
2609 configure.in to configure.ac.
2610 * sysdeps/gnu/configure.in: Moved to ...
2611 * sysdeps/gnu/configure.ac: ... here.
2612 * sysdeps/i386/configure.in: Moved to ...
2613 * sysdeps/i386/configure.ac: ... here.
2614 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
2615 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
2616 * sysdeps/mach/configure.in: Moved to ...
2617 * sysdeps/mach/configure.ac: ... here.
2618 * sysdeps/mach/hurd/configure.in: Moved to ...
2619 * sysdeps/mach/hurd/configure.ac: ... here.
2620 * sysdeps/powerpc/configure.in: Moved to ...
2621 * sysdeps/powerpc/configure.ac: ... here.
2622 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
2623 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
2624 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
2625 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
2626 * sysdeps/s390/s390-32/configure.in: Moved to ...
2627 * sysdeps/s390/s390-32/configure.ac: ... here.
2628 * sysdeps/s390/s390-64/configure.in: Moved to ...
2629 * sysdeps/s390/s390-64/configure.ac: ... here.
2630 * sysdeps/sh/configure.in: Moved to ...
2631 * sysdeps/sh/configure.ac: ... here.
2632 * sysdeps/sparc/configure.in: Moved to ...
2633 * sysdeps/sparc/configure.ac: ... here.
2634 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
2635 * sysdeps/unix/sysv/linux/configure.ac: ... here.
2636 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
2637 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
2638 * sysdeps/x86_64/configure.in: Moved to ...
2639 * sysdeps/x86_64/configure.ac: ... here.
2640 * sysdeps/x86_64/preconfigure.in: Moved to ...
2641 * sysdeps/x86_64/preconfigure.ac: ... here.
2642 * aclocal.m4: Change reference to configure.in to configure.ac.
2643 * config.h.in: Likewise.
2644 * manual/install.texi: Likewise.
2645 * manual/maint.texi: Likewise.
2646 * Makefile: Likewise.
2647 * malloc/Makefile: Likewise.
2648 * nscd/Makefile: Likewise.
2649 * Makeconfig: Change reference to configure.in and
2650 preconfigure.in to configure.ac and preconfigure.ac
2652 * INSTALL: Regenerated.
2653 * configure: Likewise.
2654 * sysdeps/gnu/configure: Likewise.
2655 * sysdeps/i386/configure: Likewise.
2656 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
2657 * sysdeps/mach/configure: Likewise.
2658 * sysdeps/mach/hurd/configure: Likewise.
2659 * sysdeps/powerpc/configure: Likewise.
2660 * sysdeps/powerpc/powerpc32/configure: Likewise.
2661 * sysdeps/powerpc/powerpc64/configure: Likewise.
2662 * sysdeps/s390/s390-32/configure: Likewise.
2663 * sysdeps/s390/s390-64/configure: Likewise.
2664 * sysdeps/sh/configure: Likewise.
2665 * sysdeps/sparc/configure: Likewise.
2666 * sysdeps/unix/sysv/linux/configure: Likewise.
2667 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
2668 * sysdeps/x86_64/configure: Likewise.
2669 * sysdeps/x86_64/preconfigure: Likewise.
2671 2013-10-29 Andreas Schwab <schwab@suse.de>
2673 * stdio-common/Makefile (tst-swscanf-ENV): Define.
2675 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2677 * benchtests/pow-inputs: Add new inputs.
2679 * benchtests/exp-inputs: Add new inputs.
2681 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
2682 conditional check for return value.
2683 (__cos32): Likewise.
2685 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2687 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
2688 to provide a boost for large inputs with word alignment.
2689 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
2690 implementation based on optimized PPC64 strcpy.
2691 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
2692 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
2693 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
2694 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
2696 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
2699 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
2701 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
2704 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
2705 * time/tst-strptime.c (day_tests): Add testcase.
2707 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
2710 * manual/pattern.texi: Acknowledge that fnmatch can fail.
2712 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
2715 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
2716 MAP_FAILED on error.
2718 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2721 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
2722 heap for large requests.
2724 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
2727 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
2728 result if the result has no associated interface.
2729 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
2730 interface for all 127.X.Y.Z addresses.
2732 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
2734 * locale/iso-639.def: Add Ligurian (lij)
2736 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
2739 * sunrpc/rpc_main.c: Document rpcgen -5.
2741 2013-10-19 Michael Stahl <mstahl@redhat.com>
2743 * elf/rtld.c (do_preload): Print the reason why preloading failed.
2745 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
2748 * posix/glob.c: Match only directories when trailing slash is present.
2749 * posix/tst-gnuglob.c (my_opendir): Do not open files.
2750 (main): Add testcase.
2752 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
2755 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
2757 2013-10-18 Carlos O'Donell <carlos@redhat.com>
2759 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
2760 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
2761 AUTH_DES and cindex for FIPS 140-2.
2762 (DES Encryption): Add cindex FIPS 46-3.
2764 * locale/locarchive.h (struct locarhandle): Add fname.
2765 * locale/programs/localedef.c (main): Pass ARGV[remaining]
2766 if an optional argument was specified to --list-archive,
2768 * locale/programs/locarchive.c (show_archive_content): Take new
2769 argument fname and pass it via ah.fname to open_archive.
2770 * locale/programs/localedef.h: Update decl.
2771 (open_archive): If AH->fname is non-null, open that file
2772 rather than the default file name, and don't ignore ENOENT.
2773 (create_archive): Set AH.fname to NULL.
2774 (delete_locales_from_archive): Likewise.
2775 (add_locales_to_archive): Likewise.
2776 * locale/programs/locfile.c (write_all_categories): Likewise.
2778 2013-10-18 Joseph Myers <joseph@codesourcery.com>
2779 Aldy Hernandez <aldyh@redhat.com>
2781 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
2782 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
2783 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
2784 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
2785 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
2786 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
2787 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
2788 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
2789 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
2790 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
2791 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
2792 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
2793 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
2794 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
2795 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
2797 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
2799 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
2801 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
2803 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
2804 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
2806 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
2807 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
2808 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
2809 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
2811 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
2812 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
2813 * sysdeps/powerpc/preconfigure: Likewise.
2814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
2816 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
2817 Replace contents of file by #include of <fenv_libc.h>.
2818 * sysdeps/powerpc/soft-fp/sfp-machine.h
2819 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
2821 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
2822 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
2823 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
2824 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
2825 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
2826 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
2827 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
2828 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
2829 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
2830 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
2831 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
2832 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
2833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2834 Allow copysignl PLT reference to be missing.
2836 2013-10-18 Richard Sandiford <richard@codesourcery.com>
2837 Joseph Myers <joseph@codesourcery.com
2840 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
2842 (add_to_tablewc): Assert sequence of wide characters is nonempty.
2844 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2846 * elf/tst-tls-dlinfo.c: Don't include tls.h.
2847 * elf/tst-tls1.c: Likewise.
2848 * elf/tst-tls10.h: Likewise.
2849 * elf/tst-tls14.c: Likewise.
2850 * elf/tst-tls2.c: Likewise.
2851 * elf/tst-tls3.c: Likewise.
2852 * elf/tst-tls4.c: Likewise.
2853 * elf/tst-tls5.c: Likewise.
2854 * elf/tst-tls6.c: Likewise.
2855 * elf/tst-tls7.c: Likewise.
2856 * elf/tst-tls8.c: Likewise.
2857 * elf/tst-tls9.c: Likewise.
2858 * elf/tst-tlsmod1.c: Likewise.
2859 * elf/tst-tlsmod13.c: Likewise.
2860 * elf/tst-tlsmod13a.c: Likewise.
2861 * elf/tst-tlsmod14a.c: Likewise.
2862 * elf/tst-tlsmod16a.c: Likewise.
2863 * elf/tst-tlsmod16b.c: Likewise.
2864 * elf/tst-tlsmod2.c: Likewise.
2865 * elf/tst-tlsmod3.c: Likewise.
2866 * elf/tst-tlsmod4.c: Likewise.
2867 * elf/tst-tlsmod5.c: Likewise.
2868 * elf/tst-tlsmod6.c: Likewise.
2870 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
2873 * malloc/malloc.c: remove checks for statistics.
2875 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
2878 * inet/inet_net.c (inet_network): Detect additional invalid strings.
2879 * inet/tst-network.c: Add testcase.
2881 2013-10-17 Andreas Schwab <schwab@suse.de>
2884 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
2885 to determine canonical name.
2887 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
2889 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
2890 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
2891 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2892 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2893 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2894 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2895 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2896 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2897 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
2898 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2899 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2900 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2901 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2902 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2903 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2904 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2905 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2906 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2907 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2908 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2909 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2910 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2911 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2912 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
2913 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
2914 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
2915 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
2916 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
2917 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
2918 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
2919 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2920 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2921 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2922 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2923 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2924 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2925 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2926 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2927 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2928 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2929 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2930 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2931 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
2932 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2933 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
2934 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2935 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2936 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
2937 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
2938 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2939 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
2940 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2941 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2942 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
2943 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2944 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
2945 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2946 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2948 2013-10-17 Joseph Myers <joseph@codesourcery.com>
2951 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
2952 make result into a quiet NaN.
2954 2013-10-16 Joseph Myers <joseph@codesourcery.com>
2956 * soft-fp/adddf3.c: Fix horizontal whitespace.
2957 * soft-fp/addsf3.c: Likewise.
2958 * soft-fp/addtf3.c: Likewise.
2959 * soft-fp/divdf3.c: Likewise.
2960 * soft-fp/divsf3.c: Likewise.
2961 * soft-fp/divtf3.c: Likewise.
2962 * soft-fp/double.h: Likewise.
2963 * soft-fp/eqdf2.c: Likewise.
2964 * soft-fp/eqsf2.c: Likewise.
2965 * soft-fp/eqtf2.c: Likewise.
2966 * soft-fp/extenddftf2.c: Likewise.
2967 * soft-fp/extended.h: Likewise.
2968 * soft-fp/extendsfdf2.c: Likewise.
2969 * soft-fp/extendsftf2.c: Likewise.
2970 * soft-fp/extendxftf2.c: Likewise.
2971 * soft-fp/fixdfdi.c: Likewise.
2972 * soft-fp/fixdfsi.c: Likewise.
2973 * soft-fp/fixdfti.c: Likewise.
2974 * soft-fp/fixsfdi.c: Likewise.
2975 * soft-fp/fixsfsi.c: Likewise.
2976 * soft-fp/fixsfti.c: Likewise.
2977 * soft-fp/fixtfdi.c: Likewise.
2978 * soft-fp/fixtfsi.c: Likewise.
2979 * soft-fp/fixtfti.c: Likewise.
2980 * soft-fp/fixunsdfdi.c: Likewise.
2981 * soft-fp/fixunsdfsi.c: Likewise.
2982 * soft-fp/fixunsdfti.c: Likewise.
2983 * soft-fp/fixunssfdi.c: Likewise.
2984 * soft-fp/fixunssfsi.c: Likewise.
2985 * soft-fp/fixunssfti.c: Likewise.
2986 * soft-fp/fixunstfdi.c: Likewise.
2987 * soft-fp/fixunstfsi.c: Likewise.
2988 * soft-fp/fixunstfti.c: Likewise.
2989 * soft-fp/floatdidf.c: Likewise.
2990 * soft-fp/floatdisf.c: Likewise.
2991 * soft-fp/floatditf.c: Likewise.
2992 * soft-fp/floatsidf.c: Likewise.
2993 * soft-fp/floatsisf.c: Likewise.
2994 * soft-fp/floatsitf.c: Likewise.
2995 * soft-fp/floattidf.c: Likewise.
2996 * soft-fp/floattisf.c: Likewise.
2997 * soft-fp/floattitf.c: Likewise.
2998 * soft-fp/floatundidf.c: Likewise.
2999 * soft-fp/floatundisf.c: Likewise.
3000 * soft-fp/floatunditf.c: Likewise.
3001 * soft-fp/floatunsidf.c: Likewise.
3002 * soft-fp/floatunsisf.c: Likewise.
3003 * soft-fp/floatunsitf.c: Likewise.
3004 * soft-fp/floatuntidf.c: Likewise.
3005 * soft-fp/floatuntisf.c: Likewise.
3006 * soft-fp/floatuntitf.c: Likewise.
3007 * soft-fp/fmadf4.c: Likewise.
3008 * soft-fp/fmasf4.c: Likewise.
3009 * soft-fp/fmatf4.c: Likewise.
3010 * soft-fp/gedf2.c: Likewise.
3011 * soft-fp/gesf2.c: Likewise.
3012 * soft-fp/getf2.c: Likewise.
3013 * soft-fp/ledf2.c: Likewise.
3014 * soft-fp/lesf2.c: Likewise.
3015 * soft-fp/letf2.c: Likewise.
3016 * soft-fp/muldf3.c: Likewise.
3017 * soft-fp/mulsf3.c: Likewise.
3018 * soft-fp/multf3.c: Likewise.
3019 * soft-fp/negdf2.c: Likewise.
3020 * soft-fp/negsf2.c: Likewise.
3021 * soft-fp/negtf2.c: Likewise.
3022 * soft-fp/op-1.h: Likewise.
3023 * soft-fp/op-2.h: Likewise.
3024 * soft-fp/op-4.h: Likewise.
3025 * soft-fp/op-8.h: Likewise.
3026 * soft-fp/op-common.h: Likewise.
3027 * soft-fp/quad.h: Likewise.
3028 * soft-fp/single.h: Likewise.
3029 * soft-fp/soft-fp.h: Likewise.
3030 * soft-fp/sqrtdf2.c: Likewise.
3031 * soft-fp/sqrtsf2.c: Likewise.
3032 * soft-fp/sqrttf2.c: Likewise.
3033 * soft-fp/subdf3.c: Likewise.
3034 * soft-fp/subsf3.c: Likewise.
3035 * soft-fp/subtf3.c: Likewise.
3036 * soft-fp/truncdfsf2.c: Likewise.
3037 * soft-fp/trunctfdf2.c: Likewise.
3038 * soft-fp/trunctfsf2.c: Likewise.
3039 * soft-fp/trunctfxf2.c: Likewise.
3040 * soft-fp/unorddf2.c: Likewise.
3041 * soft-fp/unordsf2.c: Likewise.
3042 * soft-fp/unordtf2.c: Likewise.
3044 2013-10-15 Joseph Myers <joseph@codesourcery.com>
3046 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
3047 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
3049 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
3051 * elf/dl-libc.c: Clear initfini list after freeing.
3053 2013-10-14 Joseph Myers <joseph@codesourcery.com>
3055 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
3056 * soft-fp/addsf3.c: Likewise.
3057 * soft-fp/addtf3.c: Likewise.
3058 * soft-fp/divdf3.c: Likewise.
3059 * soft-fp/divsf3.c: Likewise.
3060 * soft-fp/divtf3.c: Likewise.
3061 * soft-fp/double.h: Likewise.
3062 * soft-fp/eqdf2.c: Likewise.
3063 * soft-fp/eqsf2.c: Likewise.
3064 * soft-fp/eqtf2.c: Likewise.
3065 * soft-fp/extenddftf2.c: Likewise.
3066 * soft-fp/extended.h: Likewise.
3067 * soft-fp/extendsfdf2.c: Likewise.
3068 * soft-fp/extendsftf2.c: Likewise.
3069 * soft-fp/extendxftf2.c: Likewise.
3070 * soft-fp/fixdfdi.c: Likewise.
3071 * soft-fp/fixdfsi.c: Likewise.
3072 * soft-fp/fixdfti.c: Likewise.
3073 * soft-fp/fixsfdi.c: Likewise.
3074 * soft-fp/fixsfsi.c: Likewise.
3075 * soft-fp/fixsfti.c: Likewise.
3076 * soft-fp/fixtfdi.c: Likewise.
3077 * soft-fp/fixtfsi.c: Likewise.
3078 * soft-fp/fixtfti.c: Likewise.
3079 * soft-fp/fixunsdfdi.c: Likewise.
3080 * soft-fp/fixunsdfsi.c: Likewise.
3081 * soft-fp/fixunsdfti.c: Likewise.
3082 * soft-fp/fixunssfdi.c: Likewise.
3083 * soft-fp/fixunssfsi.c: Likewise.
3084 * soft-fp/fixunssfti.c: Likewise.
3085 * soft-fp/fixunstfdi.c: Likewise.
3086 * soft-fp/fixunstfsi.c: Likewise.
3087 * soft-fp/fixunstfti.c: Likewise.
3088 * soft-fp/floatdidf.c: Likewise.
3089 * soft-fp/floatdisf.c: Likewise.
3090 * soft-fp/floatditf.c: Likewise.
3091 * soft-fp/floatsidf.c: Likewise.
3092 * soft-fp/floatsisf.c: Likewise.
3093 * soft-fp/floatsitf.c: Likewise.
3094 * soft-fp/floattidf.c: Likewise.
3095 * soft-fp/floattisf.c: Likewise.
3096 * soft-fp/floattitf.c: Likewise.
3097 * soft-fp/floatundidf.c: Likewise.
3098 * soft-fp/floatundisf.c: Likewise.
3099 * soft-fp/floatunsidf.c: Likewise.
3100 * soft-fp/floatunsisf.c: Likewise.
3101 * soft-fp/floatuntidf.c: Likewise.
3102 * soft-fp/floatuntisf.c: Likewise.
3103 * soft-fp/floatuntitf.c: Likewise.
3104 * soft-fp/fmadf4.c: Likewise.
3105 * soft-fp/fmasf4.c: Likewise.
3106 * soft-fp/fmatf4.c: Likewise.
3107 * soft-fp/gedf2.c: Likewise.
3108 * soft-fp/gesf2.c: Likewise.
3109 * soft-fp/getf2.c: Likewise.
3110 * soft-fp/ledf2.c: Likewise.
3111 * soft-fp/lesf2.c: Likewise.
3112 * soft-fp/letf2.c: Likewise.
3113 * soft-fp/muldf3.c: Likewise.
3114 * soft-fp/mulsf3.c: Likewise.
3115 * soft-fp/multf3.c: Likewise.
3116 * soft-fp/negdf2.c: Likewise.
3117 * soft-fp/negsf2.c: Likewise.
3118 * soft-fp/negtf2.c: Likewise.
3119 * soft-fp/op-1.h: Likewise.
3120 * soft-fp/op-2.h: Likewise.
3121 * soft-fp/op-4.h: Likewise.
3122 * soft-fp/op-8.h: Likewise.
3123 * soft-fp/op-common.h: Likewise.
3124 * soft-fp/quad.h: Likewise.
3125 * soft-fp/single.h: Likewise.
3126 * soft-fp/soft-fp.h: Likewise.
3127 * soft-fp/sqrtdf2.c: Likewise.
3128 * soft-fp/sqrtsf2.c: Likewise.
3129 * soft-fp/sqrttf2.c: Likewise.
3130 * soft-fp/subdf3.c: Likewise.
3131 * soft-fp/subsf3.c: Likewise.
3132 * soft-fp/subtf3.c: Likewise.
3133 * soft-fp/truncdfsf2.c: Likewise.
3134 * soft-fp/trunctfdf2.c: Likewise.
3135 * soft-fp/trunctfsf2.c: Likewise.
3136 * soft-fp/trunctfxf2.c: Likewise.
3137 * soft-fp/unorddf2.c: Likewise.
3138 * soft-fp/unordsf2.c: Likewise.
3139 * soft-fp/unordtf2.c: Likewise.
3141 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
3144 * misc/error.c (error_tail): Fix possible buffer overflow.
3146 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
3149 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
3152 2013-10-14 P. J. McDermott <pj@pehjota.net>
3155 * elf/ldd.bash.in (try_trace): New function. Delete previous code
3156 testing pipefail option.
3158 2013-10-12 Joseph Myers <joseph@codesourcery.com>
3160 * soft-fp/double.h: Indent preprocessor directives inside #if.
3161 * soft-fp/extended.h: Likewise.
3162 * soft-fp/op-2.h: Likewise.
3163 * soft-fp/op-4.h: Likewise.
3164 * soft-fp/op-common.h: Likewise.
3165 * soft-fp/quad.h: Likewise.
3166 * soft-fp/single.h: Likewise.
3167 * soft-fp/soft-fp.h: Likewise.
3169 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
3171 * iconv/iconv_prog.c: Fix typos.
3172 * stdio-common/psiginfo-data.h: Likewise.
3174 2013-10-12 Reuben Thomas <rrt@sc3d.org>
3177 * locale/setlocale.c: Fix typo.
3179 2013-10-12 Joseph Myers <joseph@codesourcery.com>
3182 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
3183 signaling NaN arguments.
3184 * soft-fp/unordsf2.c (__unordsf2): Likewise.
3185 * soft-fp/unordtf2.c (__unordtf2): Likewise.
3188 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
3190 * soft-fp/gesf2.c (__gesf2): Likewise.
3191 * soft-fp/getf2.c (__getf2): Likewise.
3192 * soft-fp/ledf2.c (__ledf2): Likewise.
3193 * soft-fp/lesf2.c (__lesf2): Likewise.
3194 * soft-fp/letf2.c (__letf2): Likewise.
3196 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
3197 * soft-fp/eqsf2.c (__eqsf2): Likewise.
3198 * soft-fp/eqtf2.c (__eqtf2): Likewise.
3199 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
3200 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
3201 * soft-fp/fixdfti.c (__fixdfti): Likewise.
3202 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
3203 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
3204 * soft-fp/fixsfti.c (__fixsfti): Likewise.
3205 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
3206 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
3207 * soft-fp/fixtfti.c (__fixtfti): Likewise.
3208 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
3209 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
3210 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
3211 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
3212 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
3213 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
3214 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
3215 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
3216 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
3217 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
3218 * soft-fp/floatdisf.c (__floatdisf): Likewise.
3219 * soft-fp/floatsisf.c (__floatsisf): Likewise.
3220 * soft-fp/floattidf.c (__floattidf): Likewise.
3221 * soft-fp/floattisf.c (__floattisf): Likewise.
3222 * soft-fp/floattitf.c (__floattitf): Likewise.
3223 * soft-fp/floatundidf.c (__floatundidf): Likewise.
3224 * soft-fp/floatundisf.c (__floatundisf): Likewise.
3225 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
3226 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
3227 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
3228 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
3229 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
3230 * soft-fp/gesf2.c (__gesf2): Likewise.
3231 * soft-fp/getf2.c (__getf2): Likewise.
3232 * soft-fp/ledf2.c (__ledf2): Likewise.
3233 * soft-fp/lesf2.c (__lesf2): Likewise.
3234 * soft-fp/letf2.c (__letf2): Likewise.
3236 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
3237 Undefine and redefine.
3238 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
3239 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
3240 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
3241 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
3242 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3243 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
3244 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3245 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
3246 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3247 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
3248 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3249 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
3250 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3251 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
3252 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3255 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
3256 without decrementing exponent if mantissa >= that for the
3258 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
3259 denominator, not >. Decrement exponent in < case instead of
3260 incrementing in >= case.
3261 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
3262 without decrementing exponent if mantissa >= that for the
3265 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
3266 computing saturated result for unsigned overflow.
3268 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3269 Jeff Law <law@redhat.com>
3271 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
3272 (atan2Mp): Add systemtap probe marker.
3273 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
3274 (__ieee754_log): Add systemtap probe marker.
3275 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
3276 (atanMp): Add systemtap probe marker.
3277 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
3278 (tanMp): Add systemtap probe marker.
3279 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
3280 (__slowexp): Add systemtap probe marker.
3281 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
3282 (__slowpow): Add systemtap probe marker.
3283 * manual/probes.texi: Document probes.
3285 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
3288 * libio/fileops.c (_IO_new_file_write): Return count of bytes
3290 (_IO_new_file_xsputn): Don't return EOF if nothing has been
3292 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
3293 written to buffer but not flushed.
3294 * libio/iofwrite_u.c: Likewise.
3295 * libio/iopadn.c: Return bytes returned even if EOF was
3297 * libio/iowpadn.c: Likewise.
3298 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
3299 if _IO_padn does not write the whole buffer.
3300 [!COMPILE_WPRINTF] (PAD): Likewise.
3302 2013-10-10 David S. Miller <davem@davemloft.net>
3304 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
3307 2013-10-10 Joseph Myers <joseph@codesourcery.com>
3309 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
3310 instead of FSF address.
3311 * soft-fp/fixdfti.c: Likewise.
3312 * soft-fp/fixsfti.c: Likewise.
3313 * soft-fp/fixtfti.c: Likewise.
3314 * soft-fp/fixunsdfti.c: Likewise.
3315 * soft-fp/fixunssfti.c: Likewise.
3316 * soft-fp/fixunstfti.c: Likewise.
3317 * soft-fp/floattidf.c: Likewise.
3318 * soft-fp/floattisf.c: Likewise.
3319 * soft-fp/floattitf.c: Likewise.
3320 * soft-fp/floatuntidf.c: Likewise.
3321 * soft-fp/floatuntisf.c: Likewise.
3322 * soft-fp/floatuntitf.c: Likewise.
3323 * soft-fp/trunctfxf2.c: Likewise.
3325 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
3326 * soft-fp/fixdfti.c: Likewise.
3327 * soft-fp/fixsfti.c: Likewise.
3328 * soft-fp/fixtfti.c: Likewise.
3329 * soft-fp/fixunsdfti.c: Likewise.
3330 * soft-fp/fixunssfti.c: Likewise.
3331 * soft-fp/fixunstfti.c: Likewise.
3332 * soft-fp/floattidf.c: Likewise.
3333 * soft-fp/floattisf.c: Likewise.
3334 * soft-fp/floattitf.c: Likewise.
3335 * soft-fp/floatuntidf.c: Likewise.
3336 * soft-fp/floatuntisf.c: Likewise.
3337 * soft-fp/floatuntitf.c: Likewise.
3338 * soft-fp/trunctfxf2.c: Likewise.
3340 2013-10-10 David S. Miller <davem@davemloft.net>
3342 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3344 2013-10-10 Joseph Myers <joseph@codsourcery.com>
3346 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
3347 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
3348 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
3349 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
3350 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
3351 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
3352 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
3354 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
3355 for NaNs before doing comparisons on argument.
3356 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
3359 2013-10-10 Will Newton <will.newton@linaro.org>
3361 * malloc/hooks.c (memalign_check): Ensure the value of bytes
3362 passed to _int_memalign does not overflow.
3364 2013-10-10 Torvald Riegel <triegel@redhat.com>
3366 * scripts/bench.pl: Add include-sources directive.
3367 * benchtests/README: Update documentation.
3369 2013-10-10 Joseph Myers <joseph@codesourcery.com>
3371 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
3372 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
3373 instead of FP_INIT_ROUNDMODE.
3374 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
3375 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
3378 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
3379 copy class of input value.
3380 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
3381 not handle exceptions.
3382 * soft-fp/negsf2.c (__negsf2): Likewise.
3383 * soft-fp/negtf2.c (__negtf2): Likewise.
3384 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
3386 2013-10-09 Joseph Myers <joseph@codesourcery.com>
3388 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
3389 semicolon. From Linux kernel.
3391 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
3393 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
3395 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
3398 * manual/socket.texi: Added statement about buffer
3399 for gethostbyname2_r.
3401 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
3403 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
3404 Use .p2align directive instead, throughout.
3405 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3406 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3407 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
3408 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3409 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3410 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
3411 * sysdeps/x86_64/strchr.S: Likewise.
3412 * sysdeps/x86_64/strrchr.S: Likewise.
3414 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3416 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
3418 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
3420 * sysdeps/generic/math_private.h (__mpsin1): Remove
3422 (__mpcos1): Likewise.
3423 (__mpsin): New argument __range_reduce.
3424 (__mpcos): Likewise.
3425 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3426 (slow): Use __mpsin and __mpcos.
3433 (bsloww1): Likewise.
3434 (bsloww2): Likewise.
3437 (csloww1): Likewise.
3438 (csloww2): Likewise.
3439 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
3440 range_reduce. Merge in __mpsin1.
3441 (__mpcos): Likewise.
3443 (__mpcos1): Likewise.
3445 2013-10-07 Joseph Myers <joseph@codesourcery.com>
3447 * locale/loadlocale.c (_nl_intern_locale_data): Use
3449 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
3450 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
3451 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
3452 obstack data is appropriately aligned.
3453 (obstack_int32_grow_fast): Likewise.
3454 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
3455 * locale/programs/locfile.c (add_locale_uint32): Likewise.
3456 (add_locale_uint32_array): Likewise.
3458 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
3460 * benchtests/Makefile: Remove ARGLIST and RET variables.
3461 ($(objpfx)bench-%.c): Pass only function name to the script.
3462 * benchtests/README: Update documentation.
3463 * benchtests/acos-inputs: Add new directives.
3464 * benchtests/acosh-inputs: Likewise.
3465 * benchtests/asin-inputs: Likewise.
3466 * benchtests/asinh-inputs: Likewise.
3467 * benchtests/atan-inputs: Likewise.
3468 * benchtests/atanh-inputs: Likewise.
3469 * benchtests/cos-inputs: Likewise.
3470 * benchtests/cosh-inputs: Likewise.
3471 * benchtests/exp-inputs: Likewise.
3472 * benchtests/log-inputs: Likewise.
3473 * benchtests/pow-inputs: Likewise.
3474 * benchtests/rint-inputs: Likewise.
3475 * benchtests/sin-inputs: Likewise.
3476 * benchtests/sinh-inputs: Likewise.
3477 * benchtests/tan-inputs: Likewise.
3478 * benchtests/tanh-inputs: Likewise.
3479 * scripts/bench.pl: Add support for new directives.
3481 2013-10-07 Alan Modra <amodra@gmail.com>
3483 * README: Fix careless merge.
3485 2013-10-05 Alan Modra <amodra@gmail.com>
3487 * NEWS: Mention powerpc64le support and bugs fixed.
3488 * README: Both big-endian and little-endian powerpc64 supported.
3490 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
3492 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
3493 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
3494 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
3495 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
3497 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
3499 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
3502 2013-10-04 Joseph Myers <joseph@codesourcery.com>
3504 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
3505 Move -mhard-float appending from
3506 ports/sysdeps/powerpc/powerpc32/Makefile.
3507 [$(with-fp) = yes] (ASFLAGS): Likewise.
3508 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
3509 * sysdeps/powerpc/nofpu: Move directory from
3510 ports/sysdeps/powerpc/nofpu.
3511 * sysdeps/powerpc/soft-fp: Move directory from
3512 ports/sysdeps/powerpc/soft-fp.
3513 * sysdeps/powerpc/powerpc32/405: Move directory from
3514 ports/sysdeps/powerpc/powerpc32/405.
3515 * sysdeps/powerpc/powerpc32/440: Move directory from
3516 ports/sysdeps/powerpc/powerpc32/440.
3517 * sysdeps/powerpc/powerpc32/464: Move directory from
3518 ports/sysdeps/powerpc/powerpc32/464.
3519 * sysdeps/powerpc/powerpc32/476: Move directory from
3520 ports/sysdeps/powerpc/powerpc32/476.
3521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
3522 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
3523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
3524 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
3525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
3526 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
3527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
3528 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
3529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
3530 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
3531 * README: Update for powerpc-*-linux-gnu software floating point
3534 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
3535 case to powerpc/powerpc32*.
3536 * sysdeps/unix/sysv/linux/configure: Regenerated.
3538 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
3539 (_FPU_MASK_OM): Define as 0x04.
3540 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
3541 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
3543 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
3545 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
3547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
3548 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
3550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
3551 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
3553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
3554 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
3555 and setcontext_e500.
3557 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
3559 * locale/iso-3166.def: Update iso-1366.def and related occurrences
3561 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3563 * manual/threads.texi (Default Thread Attributes): Fix typo.
3565 2013-10-04 Will Newton <will.newton@linaro.org>
3567 * malloc/Makefile: Add tst-memalign.
3568 * malloc/tst-memalign.c: New file.
3570 * malloc/tst-posix_memalign.c: Add comments.
3571 (do_test): Add comments and call free on all potentially
3572 allocated pointers. Add space after cast.
3574 * malloc/tst-pvalloc.c: Add comments.
3575 (do_test): Add comments and call free on all potentially
3576 allocated pointers. Remove duplicate check for NULL pointer.
3577 Add space after cast.
3579 * malloc/tst-valloc.c: Add comments.
3580 (do_test): Add comments and call free on all potentially
3581 allocated pointers. Remove duplicate check for NULL pointer.
3582 Add space after cast.
3584 2013-10-04 Alan Modra <amodra@gmail.com>
3586 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3587 Use stdint types in rather than __attribute__((mode())).
3588 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3590 2013-10-04 Alan Modra <amodra@gmail.com>
3592 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3593 Correct handling of unaligned relocs for little-endian.
3594 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3596 2013-10-04 Alan Modra <amodra@gmail.com>
3598 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
3599 * configure: Regenerate.
3600 * nptl/shlib-versions: Powerpc*le starts at 2.18.
3601 * shlib-versions: Likewise.
3603 2013-10-04 Alan Modra <amodra@gmail.com>
3605 * string/tester.c (test_memrchr): Increment reported test cycle.
3607 2013-10-04 Alan Modra <amodra@gmail.com>
3609 * string/test-memcpy.c (do_one_test): When reporting errors, print
3610 string address and don't overrun end of string.
3612 2013-10-04 Alan Modra <amodra@gmail.com>
3614 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
3615 insrdi. Make better use of reg selection to speed exit slightly.
3616 Schedule entry path a little better. Remove useless "are we done"
3617 checks on entry to main loop. Handle wrapping around zero address.
3618 Correct main loop count. Handle single left-over word from main
3619 loop inline rather than by using loop_small. Remove extra word
3620 case in loop_small caused by wrong loop count. Add little-endian
3622 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3623 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
3625 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3626 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
3627 support. Avoid rlwimi.
3628 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
3630 2013-10-04 Alan Modra <amodra@gmail.com>
3632 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
3634 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
3635 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3636 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
3637 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
3638 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3639 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
3641 2013-10-04 Alan Modra <amodra@gmail.com>
3643 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
3644 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3645 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
3646 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
3647 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3648 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3649 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3650 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
3651 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
3652 use of regs. Use power7 mtocrf. Tidy function tails.
3654 2013-10-04 Alan Modra <amodra@gmail.com>
3656 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
3657 Formatting. Consistently use rXXX register defines or rN defines.
3658 Use early exit labels that avoid restoring unused non-volatile regs.
3659 Make cr field use more consistent with rWORDn compares. Rename
3660 regs used as shift registers for unaligned loop, using rN defines
3661 for short lifetime/multiple use regs.
3662 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3663 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
3664 addi 1,1,64 to pop stack frame. Simplify return value code.
3665 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3667 2013-10-04 Alan Modra <amodra@gmail.com>
3669 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
3670 support. Correct typos, formatting. Optimize tail. Use insrdi
3672 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
3673 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
3674 little-endian support. Correct typos.
3675 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
3677 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
3678 in loop and entry code to keep "and." results.
3679 (strchr): Add little-endian support. Comment. Move cntlzd
3681 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
3683 2013-10-04 Alan Modra <amodra@gmail.com>
3685 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
3686 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
3687 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
3688 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
3690 2013-10-04 Alan Modra <amodra@gmail.com>
3692 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
3693 (rTMP): Define as r11.
3694 (strcmp): Add little-endian support. Optimise tail.
3695 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
3696 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3697 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3698 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3699 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3700 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3701 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3703 2013-10-04 Alan Modra <amodra@gmail.com>
3705 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
3706 little-endian support. Remove unnecessary "are we done" tests.
3707 Handle "s" wrapping around zero and extremely large "size".
3708 Correct main loop count. Handle single left-over word from main
3709 loop inline rather than by using small_loop. Correct comments.
3710 Delete "zero" tail, use "end_max" instead.
3711 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
3713 2013-10-04 Alan Modra <amodra@gmail.com>
3715 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
3716 support. Don't branch over align.
3717 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
3718 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
3719 support. Rearrange tmp reg use to suit. Comment.
3720 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
3722 2013-10-04 Alan Modra <amodra@gmail.com>
3724 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
3726 2013-10-04 Alan Modra <amodra@gmail.com>
3728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
3729 conditional form of branch and link when obtaining pc.
3730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
3732 2013-10-04 Alan Modra <amodra@gmail.com>
3734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
3736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
3737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
3739 2013-10-04 Alan Modra <amodra@gmail.com>
3741 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
3742 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
3743 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
3744 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
3745 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3746 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3747 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
3748 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3749 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3750 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
3752 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
3753 Alistair Popple <alistair@ozlabs.au.ibm.com>
3754 Alan Modra <amodra@gmail.com>
3757 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
3758 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
3759 _dl_hwcap access for little-endian.
3760 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
3761 destroy vmx regs when saving unaligned.
3762 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
3763 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
3764 destroy vmx regs when saving unaligned.
3766 2013-10-04 Alan Modra <amodra@gmail.com>
3768 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
3769 Don't use a union to pack hi/low value.
3771 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
3773 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
3775 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3776 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
3777 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
3778 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3779 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3781 2013-10-04 Alan Modra <amodra@gmail.com>
3783 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
3784 constants to usual value for .cst8 section, and remove redundant
3786 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
3787 constant for 0x1p52. Load little-endian words of double from
3788 correct stack offsets.
3790 2013-10-04 Alan Modra <amodra@gmail.com>
3792 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
3793 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
3794 words of double from correct stack offsets.
3795 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
3796 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
3797 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
3798 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3799 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3800 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3801 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3802 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3803 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3804 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3805 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3806 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3807 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3808 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3809 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3810 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
3811 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3813 2013-10-04 Alan Modra <amodra@gmail.com>
3815 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
3816 64-bit int/double union.
3817 (_FPU_SETCW): Likewise.
3818 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
3819 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
3821 2013-10-04 Alan Modra <amodra@gmail.com>
3823 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
3824 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
3826 2013-10-04 Alan Modra <amodra@gmail.com>
3828 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
3829 use vector int constants.
3830 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
3832 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
3834 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
3835 array with long long.
3836 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
3837 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
3838 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
3839 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
3840 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
3841 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
3842 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
3843 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
3844 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
3845 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
3846 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
3847 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
3848 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
3850 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
3852 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
3853 (__signbit): Likewise. Correct for little-endian.
3854 (__signbitl): Call __signbit.
3855 (lrint): Correct for little-endian.
3856 (lrintf): Call lrint.
3858 2013-10-04 Alan Modra <amodra@gmail.com>
3860 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
3861 union 32-bit int array member with 64-bit int array.
3862 (t515, tm256): Double rather than long double.
3863 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
3865 2013-10-04 Alan Modra <amodra@gmail.com>
3867 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
3869 (IEEE854_LONG_DOUBLE_BIAS): Delete.
3870 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
3871 version of math_ldbl.h.
3873 2013-10-04 Alan Modra <amodra@gmail.com>
3875 [BZ #15734], [BZ #15735]
3876 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
3877 all uses of ieee875 long double macros and unions. Simplify test
3878 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
3879 ldbl_extract_mantissa value for ix,iy exponents. Properly
3880 normalize after ldbl_extract_mantissa, and don't add hidden bit
3881 already handled. Don't treat low word of ieee854 mantissa like
3882 low word of IBM long double and mask off bit when testing for
3884 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
3885 all uses of ieee875 long double macros and unions. Simplify tests
3886 for 0.0L and inf. Correct double adjustment of k. Delete dead code
3887 adjusting ha,hb. Simplify code setting kld. Delete two600 and
3888 two1022, instead use their values. Recognise that tests for large
3889 "a" and small "b" are mutually exclusive. Rename vars. Comment.
3890 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
3891 Rewrite all uses of ieee875 long double macros and unions. Simplify
3892 test for 0.0L and nan. Correct negation.
3893 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
3894 ieee875 long double macros and unions. Correct output for large
3895 magnitude x. Correct absolute value calculation.
3896 (__erfcl): Likewise.
3897 * math/libm-test.inc: Add tests for errors discovered in IBM long
3898 double versions of fmodl, remainderl, erfl and erfcl.
3900 2013-10-04 Alan Modra <amodra@gmail.com>
3902 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
3903 all uses of ieee854 long double macros and unions. Simplify tests
3904 for long doubles that are fully specified by the high double.
3905 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
3907 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
3908 Remove dead code too.
3909 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3910 (__ieee754_ynl): Likewise.
3911 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
3912 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
3913 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
3914 Remove dead code too.
3915 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
3916 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
3917 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
3918 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
3920 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
3922 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
3923 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
3924 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
3925 Comment on variable precision.
3926 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
3927 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3929 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3930 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
3931 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
3932 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
3933 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
3935 2013-10-04 Alan Modra <amodra@gmail.com>
3937 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
3938 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
3939 all uses of ieee854 long double macros and unions.
3940 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
3941 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3942 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
3943 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
3944 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
3945 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3947 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
3948 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3949 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
3950 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3951 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
3952 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
3953 Simplify sign and nan test too.
3954 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
3955 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
3956 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
3957 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
3959 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
3960 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
3962 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3963 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
3964 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
3965 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
3966 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
3967 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
3969 2013-10-04 Alan Modra <amodra@gmail.com>
3971 * stdio-common/printf_size.c (__printf_size): Don't use
3972 union ieee854_long_double in fpnum union.
3973 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
3974 signbit macro to retrieve sign from long double.
3975 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
3976 retrieve sign from long double.
3977 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
3978 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
3979 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
3980 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
3981 * math/test-misc.c (main): Don't use union ieee854_long_double.
3983 2013-10-04 Alan Modra <amodra@gmail.com>
3986 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
3987 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
3988 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
3989 calculation. Remove unnecessary test for denormal exponent.
3990 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
3991 Correct handling of denormals. Avoid undefined shift behaviour.
3992 Correct normalisation of low mantissa when low double is denormal.
3993 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
3994 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
3995 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
3996 Correct normalisation of low mantissa. Test for overflow of high
3997 mantissa and normalise.
3998 (ldbl_nearbyint): Use more readable constant for two52.
3999 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
4000 (__mpn_construct_long_double): Fix test for overflow of high
4001 mantissa and correct normalisation. Avoid undefined shift.
4003 2013-10-04 Alan Modra <amodra@gmail.com>
4005 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4006 (union ibm_extended_long_double): Define as an array of ieee754_double.
4007 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
4008 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
4009 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
4010 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4011 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4012 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
4013 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4014 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4015 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4016 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
4017 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4019 2013-10-03 Joseph Myers <joseph@codesourcery.com>
4021 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
4022 page size instead of calling getpagesize.
4024 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
4025 (LOCFILE_ALIGN_MASK): Likewise.
4026 (LOCFILE_ALIGN_UP): Likewise.
4027 (LOCFILE_ALIGNED_P): Likewise.
4028 * locale/programs/ld-collate.c (collate_output): Use the new
4029 macros instead of __alignof__ (int32_t).
4030 * locale/weight.h (findidx): Likewise.
4032 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
4035 * manual/string.texi: Fix strncat and wcsncat.
4037 2013-10-03 Brooks Moses <bmoses@google.com>
4040 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
4041 * Makerules: ...here, and adjust associated comments.
4043 2013-10-02 Will Newton <will.newton@linaro.org>
4045 * malloc/Makefile: Add tst-pvalloc.
4046 * malloc/tst-pvalloc.c: New file.
4048 2013-10-02 Will Newton <will.newton@linaro.org>
4050 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
4051 improve test coverage.
4053 2013-10-02 Will Newton <will.newton@linaro.org>
4055 * malloc/Makefile: Add tst-posix_memalign.
4056 * malloc/tst-posix_memalign.c: New file.
4058 2013-10-01 Eric Blake <eblake@redhat.com>
4060 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
4061 Use __THROWNL rather than __THROW on static functions.
4063 2013-09-30 Petr Machata <pmachata@redhat.com>
4065 * elf/elf.h (R_AARCH64_ABS16): New macro.
4066 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
4067 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
4068 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
4069 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
4070 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
4071 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
4072 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
4073 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
4074 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
4075 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
4076 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
4077 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
4078 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
4079 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
4080 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
4081 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
4082 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
4083 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
4084 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
4085 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
4086 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
4087 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
4088 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
4089 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
4090 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
4091 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
4092 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
4093 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
4094 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
4095 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
4096 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
4097 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
4098 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
4099 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
4100 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
4101 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
4102 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
4103 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
4104 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
4105 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
4106 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
4107 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
4108 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
4109 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
4110 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
4111 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
4112 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
4113 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
4114 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
4115 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
4116 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
4117 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
4118 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
4119 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
4120 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
4121 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
4122 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
4123 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
4124 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
4125 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
4126 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
4127 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
4128 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
4129 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
4130 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
4131 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
4132 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
4133 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
4134 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
4135 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
4136 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
4137 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
4138 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
4139 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
4140 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
4141 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
4142 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
4143 (R_AARCH64_TLSDESC_LDR): Likewise.
4144 (R_AARCH64_TLSDESC_ADD): Likewise.
4145 (R_AARCH64_TLSDESC_CALL): Likewise.
4147 2013-09-30 Andreas Schwab <schwab@suse.de>
4150 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
4151 the nss database lookup.
4152 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4153 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4155 2013-09-28 Mike Frysinger <vapier@gentoo.org>
4157 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
4159 2013-09-28 P. J. McDermott <pj@pehjota.net>
4161 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
4162 ${Bash-specific parameter/pattern/string} parameter expansion.
4163 * sysdeps/unix/make-syscalls.sh: Likewise.
4165 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4167 * sysdeps/sh/stackguard-macros.h: New file.
4169 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
4171 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
4172 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
4173 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
4174 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
4175 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4176 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
4178 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4180 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
4181 Fix thread ID register.
4183 2013-09-25 Joseph Myers <joseph@codesourcery.com>
4185 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
4186 [POSIX || UNIX98]: Require rather than permitting all symbols from
4188 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
4189 element of struct sched_param.
4190 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
4191 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
4192 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
4193 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
4196 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
4198 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
4199 argument calculation.
4201 2013-09-24 Joseph Myers <joseph@codesourcery.com>
4203 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
4205 [POSIX] (pthread_attr_t): Do not require type.
4206 [POSIX] (pthread_cond_t): Likewise.
4207 [POSIX] (pthread_condattr_t): Likewise.
4208 [POSIX] (pthread_key_t): Likewise.
4209 [POSIX] (pthread_mutex_t): Likewise.
4210 [POSIX] (pthread_mutexattr_t): Likewise.
4211 [POSIX] (pthread_once_t): Likewise.
4212 [POSIX] (pthread_t): Likewise.
4213 [POSIX-based standards] (pthread_atfork): Expect function.
4215 2013-09-24 Joseph Myers <joseph@codesourcery.com>
4216 Richard Sandiford <richard@codesourcery.com>
4218 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
4219 (swap_endianness_p): New extern variable.
4220 (set_big_endian): New inline function.
4221 (maybe_swap_uint32): Likewise.
4222 (maybe_swap_uint32_array): Likewise.
4223 (maybe_swap_uint32_obstack): Likewise.
4224 * locale/programs/locfile.c: Include <stdbool.h>.
4225 (swap_endianness_p): New variable.
4226 (add_locale_uint32): Call maybe_swap_uint32.
4227 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
4228 (write_locale_data): Call maybe_swap_uint32_array.
4229 * locale/programs/ld-collate.c (obstack_int32_grow): Call
4231 (obstack_int32_grow_fast): Likewise.
4232 (output_weightwc): Call maybe_swap_uint32_obstack.
4233 (collate_output): Likewise.
4234 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
4235 (OPT_LITTLE_ENDIAN): Likewise.
4236 (options): Add --little-endian and --big-endian options.
4237 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
4238 * locale/programs/locarchive.c: Include "locfile.h".
4242 (create_archive): Use the new macros to access fields of
4243 structures directly mapped from or written to locale archives.
4244 (oldlocrecentcmp): Likewise.
4245 (enlarge_archive): Likewise.
4246 (insert_name): Likewise.
4247 (add_alias): Likewise.
4248 (add_locale): Likewise.
4249 (delete_locales_from_archive): Likewise.
4250 (show_archive_content): Likewise.
4251 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
4254 2013-09-24 Roland McGrath <roland@hack.frob.com>
4256 * manual/freemanuals.texi: Updated from (newly) canonical copy at
4257 http://www.gnu.org/doc/freemanuals.texi.
4258 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
4260 2013-09-24 Will Newton <will.newton@linaro.org>
4262 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
4265 2013-09-23 Joseph Myers <joseph@codesourcery.com>
4267 * locale/hashval.h (compute_hashval): Interpret bytes of key as
4270 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
4272 * manual/threads.texi (POSIX Threads): Fix a typo.
4274 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4277 * string/tst-strcoll-overflow.c: New test case.
4278 * string/Makefile (xtests): Add tst-strcoll-overflow.
4279 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
4280 cache if string sizes may cause integer overflow.
4283 * string/strcoll_l.c (coll_seq): New members rule, idx,
4284 save_idx and back_us.
4285 (get_next_seq_nocache): New function.
4286 (do_compare_nocache): New function.
4287 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
4290 2013-09-23 Carlos O'Donell <carlos@redhat.com>
4293 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
4294 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
4295 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
4298 * elf/Makefile (tests): Add tst-ptrguard1.
4299 (tests-static): Add tst-ptrguard1-static.
4300 (tst-ptrguard1-ARGS): Define.
4301 (tst-ptrguard1-static-ARGS): Define.
4302 * elf/tst-ptrguard1.c: New file.
4303 * elf/tst-ptrguard1-static.c: New file.
4304 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
4305 * sysdeps/i386/stackguard-macros.h: Likewise.
4306 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4307 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4308 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4309 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4310 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4311 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4313 2013-09-23 Hector Marco <hecmargi@upv.es>
4314 Ismael Ripoll <iripoll@disca.upv.es>
4315 Carlos O'Donell <carlos@redhat.com>
4318 * sysdeps/generic/stackguard-macros.h: Define
4319 __pointer_chk_guard_local and POINTER_CHK_GUARD.
4320 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
4321 Define __pointer_chk_guard_local.
4322 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
4323 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
4325 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
4328 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
4330 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
4332 * include/string.h (__ffs): Declare as hidden.
4333 * string/ffs.c (__ffs): Define as hidden.
4334 * sysdeps/i386/ffs.c (__ffs): Likewise.
4335 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
4336 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
4337 * sysdeps/s390/ffs.c (__ffs): Likewise.
4338 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
4340 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
4342 * NEWS: Mention malloc probes.
4344 * malloc/arena.c (new_heap): New memory_heap_new probe.
4345 (grow_heap): New memory_heap_more probe.
4346 (shrink_heap): New memory_heap_less probe.
4347 (heap_trim): New memory_heap_free probe.
4348 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
4349 (systrim): New memory_sbrk_less probe.
4350 * manual/probes.texi: Document them.
4352 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
4353 * manual/probes.texi: Document it.
4355 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
4356 (__libc_realloc): Add memory_realloc_retry probe.
4357 (__libc_memalign): Add memory_memalign_retry probe.
4358 (__libc_valloc): Add memory_valloc_retry probe.
4359 (__libc_pvalloc): Add memory_pvalloc_retry probe.
4360 (__libc_calloc): Add memory_calloc_retry probe.
4361 * manual/probes.texi: Document them.
4363 * malloc/arena.c (get_free_list): Add probe
4364 memory_arena_reuse_free_list.
4365 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
4366 and memory_arena_reuse.
4367 (arena_get2) [!PER_THREAD]: Likewise.
4368 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
4369 memory_arena_reuse_realloc.
4370 * manual/probes.texi: Document them.
4372 * malloc/malloc.c (__libc_free): Add
4373 memory_mallopt_free_dyn_thresholds probe.
4374 (__libc_mallopt): Add multiple memory_mallopt probes.
4375 * manual/probes.texi: Document them.
4377 * malloc/malloc.c: Include stap-probe.h.
4378 (__libc_mallopt): Add memory_mallopt probe.
4379 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
4380 * manual/probes.texi: New.
4381 * manual/Makefile (chapters): Add probes.
4382 * manual/threads.texi: Set next node.
4384 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
4387 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
4388 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
4389 Add `Chinese' to `nan' entry name.
4391 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4393 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
4394 (POLYNOMIAL): Likewise.
4395 (TAYLOR_SINCOS): Likewise.
4396 (TAYLOR_SLOW): Likewise.
4397 (__sin): Use TAYLOR_SINCOS.
4399 (slow): Use TAYLOR_SLOW.
4404 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4406 * stdlib/strtod_l.c: Fix buffer overrun.
4408 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4410 * benchtests/Makefile (bench): Add sincos.
4411 * benchtests/bench-sincos.c: New file.
4413 * math/libm-test.inc (cos_test_data): New test inputs.
4414 (sin_test_data): Likewise.
4416 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
4424 (bsloww1): Likewise.
4425 (bsloww2): Likewise.
4427 (csloww1): Likewise.
4428 (csloww2): Likewise.
4430 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
4435 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
4439 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
4441 * config.h.in (HAVE_MIPS_NAN2008): New macro.
4442 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
4443 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
4444 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
4445 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
4446 * elf/cache.c (print_entry): Handle the new cache flags.
4448 2013-09-18 Joseph Myers <joseph@codesourcery.com>
4449 Aldy Hernandez <aldyh@redhat.com>
4451 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
4452 Change condition to [_SOFT_FLOAT].
4453 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
4454 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
4455 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
4456 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
4457 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
4458 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
4459 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
4460 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
4461 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
4462 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
4463 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
4464 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
4465 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
4466 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
4467 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
4468 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
4471 2013-09-18 Joseph Myers <joseph@codesourcery.com>
4473 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
4474 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
4475 (__longjmp): Use LOAD_GP to load saved GPRs.
4476 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
4477 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
4478 (__sigsetjmp): Use SAVE_GP to save GPRs.
4480 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
4481 Do not append -msoft-float.
4482 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
4484 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4486 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
4488 2013-09-17 Joseph Myers <joseph@codesourcery.com>
4491 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
4492 (_FPU_GETCW): Use initial "__" on variable and field names but not
4493 on macro parameter name.
4494 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
4495 parentheses around reference to macro parameter.
4497 2013-09-13 Richard Sandiford <richard@codesourcery.com>
4499 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
4501 (ctype_startup): Use uint32_t in cast and sizeof for
4504 2013-09-11 Jia Liu <proljc@gmail.com>
4506 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
4508 [__FreeBSD__]: Likewise.
4510 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
4512 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4513 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
4514 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
4515 (strchr): Remove __strchr_sse42 ifunc selection.
4516 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
4517 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
4519 2013-09-11 Will Newton <will.newton@linaro.org>
4521 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
4522 parameter to RES. Remove hardcoded 1000 value.
4523 * benchtests/bench-skeleton.c (main): Pass RES parameter
4524 to TIMING_INIT and multiply result by 1000.
4526 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4528 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4530 2013-09-11 Andreas Schwab <schwab@suse.de>
4532 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
4534 (O_TMPFILE) [__USE_GNU]: Define.
4535 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
4538 2013-09-11 Will Newton <will.newton@linaro.org>
4541 * malloc/malloc.c (__libc_memalign): Check the value of bytes
4544 2013-09-11 Will Newton <will.newton@linaro.org>
4547 * malloc/malloc.c (__libc_valloc): Check the value of bytes
4550 2013-09-11 Will Newton <will.newton@linaro.org>
4553 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
4556 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
4558 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
4559 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4560 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4561 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4562 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4564 2013-09-10 Allan McRae <allan@archlinux.org>
4567 * manual/arith.texi (Parsing of Floats): Clarify
4571 * manual/install.texi (Running make install): Mention
4573 * INSTALL: Regenerated.
4575 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4577 * csu/init-first.c (_init): Remove the !SHARED condition around
4578 FPU control word initialization.
4579 * elf/dl-support.c (_dl_fpu_control): New variable.
4580 (_dl_aux_init) <AT_FPUCW>: Initialize it.
4581 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
4582 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
4583 * math/test-fpucw-static.c: New file.
4584 * math/test-fpucw-ieee.c: New file.
4585 * math/test-fpucw-ieee-static.c: New file.
4586 * math/Makefile (tests): Add `test-fpucw-ieee' and
4588 (tests-static): New variable.
4589 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
4591 [($(build-shared),yes)]
4592 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4594 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
4597 2013-09-09 Allan McRae <allan@archlinux.org>
4600 * manual/string.texi (Collation Functions): Fix typo in
4602 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
4605 * stdlib/isomac.c (get_null_defines): Fix memory leak.
4608 * libio/memstream.c (open_memstream): Fix memory leak.
4609 * libio/wmemstream.c (open_wmemstream): Likewise.
4612 * nscd/netgroupcache.c: Fix nesting of ifdefs.
4614 2013-09-09 Will Newton <will.newton@linaro.org>
4616 * malloc/Makefile: Add tst-realloc to tests.
4617 * malloc/tst-realloc.c: New file.
4619 2013-09-09 Allan McRae <allan@archlinux.org>
4622 * COPYING: Update from GNU website to fix FSF address.
4623 * COPYING.LIB: Likewise.
4625 2013-09-06 David S. Miller <davem@davemloft.net>
4627 * po/zh_TW.po: Update Chinese (traditional) translation from
4628 translation project.
4630 2013-09-06 Richard Sandiford <richard@codesourcery.com>
4631 Joseph Myers <joseph@codesourcery.com>
4633 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
4635 (obstack_chunk_alloc): New macro.
4636 (obstack_chunk_free): Likewise.
4637 (record_offset): New function.
4638 (init_locale_data): Likewise.
4639 (align_locale_data): Likewise.
4640 (add_locale_empty): Likewise.
4641 (add_locale_raw_data): Likewise.
4642 (add_locale_raw_obstack): Likewise.
4643 (add_locale_string): Likewise.
4644 (add_locale_wstring): Likewise.
4645 (add_locale_uint32): Likewise.
4646 (add_locale_uint32_array): Likewise.
4647 (add_locale_char): Likewise.
4648 (start_locale_structure): Likewise.
4649 (end_locale_structure): Likewise.
4650 (start_locale_prelude): Likewise.
4651 (end_locale_prelude): Likewise.
4652 (write_locale_data): Take locale_file structure rather than an
4654 * locale/programs/locfile.h: Include "obstack.h".
4655 (struct locale_file): Change to store locale file contents instead
4657 (init_locale_data): New prototype.
4658 (align_locale_data): Likewise.
4659 (add_locale_empty): Likewise.
4660 (add_locale_raw_data): Likewise.
4661 (add_locale_raw_obstack): Likewise.
4662 (add_locale_string): Likewise.
4663 (add_locale_wstring): Likewise.
4664 (add_locale_uint32): Likewise.
4665 (add_locale_uint32_array): Likewise.
4666 (add_locale_char): Likewise.
4667 (start_locale_structure): Likewise.
4668 (end_locale_structure): Likewise.
4669 (start_locale_prelude): Likewise.
4670 (end_locale_prelude): Likewise.
4671 (write_locale_data): Update prototype.
4672 * locale/programs/3level.h (struct TABLE): Remove result field.
4673 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
4674 Use new locale_file interface.
4675 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
4676 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
4677 * locale/programs/ld-address.c (address_output): Use new
4678 locale_file interface.
4679 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
4681 (collate_finish): Don't call collseq_table_finalize.
4682 (collate_output): Use new locale_file interface.
4683 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
4685 (NO_FINALIZE): Change to NO_ADD_LOCALE.
4686 (TABLE): Move defines earlier in file.
4687 (ELEMENT): Likewise.
4688 (DEFAULT): Likewise.
4689 (wctrans_table_add): Move macro and inline function earlier in
4691 (struct wctype_table): Move type earlier in file.
4692 (add_locale_wctype_table): New static prototype.
4693 (struct locale_ctype_t): Use logical types instead of struct iovec
4694 pointers for members.
4695 (ctype_output): Use new locale_file interface.
4696 (wctype_table_finalize): Change to add_locale_wctype_table. Use
4697 new locale_file interface.
4698 (allocate_arrays): Update for use of new locale_file interface.
4699 * locale/programs/ld-identification.c (identification_output): Use
4700 new locale_file interface.
4701 * locale/programs/ld-measurement.c (measurement_output): Likewise.
4702 * locale/programs/ld-messages.c (messages_output): Likewise.
4703 * locale/programs/ld-monetary.c (monetary_output): Likewise.
4704 * locale/programs/ld-name.c (name_output): Likewise.
4705 * locale/programs/ld-numeric.c (numeric_output): Likewise.
4706 * locale/programs/ld-paper.c (paper_output): Likewise.
4707 * locale/programs/ld-telephone.c (telephone_output): Likewise.
4708 * locale/programs/ld-time.c (time_output): Likewise.
4710 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4712 * benchtests/Makefile: Add memrchr benchmark.
4713 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
4714 benchmark as memrchr.
4715 * benchtests/bench-memrchr-ifunc.c: New file.
4716 * benchtests/bench-memrchr.c: New file.
4718 2013-09-06 Will Newton <will.newton@linaro.org>
4720 * benchtests/Makefile (string-bench): Add memcpy.
4722 2013-09-05 Carlos O'Donell <carlos@redhat.com>
4723 Cong Wang <amwang@redhat.com>
4725 * sysdeps/unix/sysv/linux/bits/in.h
4726 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
4727 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
4728 before __USE_KERNEL_IPV6_DEFS uses.
4729 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
4731 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
4732 sockaddr_in6, or ipv6_mreq.
4734 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4736 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
4737 memory access for final bytes in some large inputs.
4738 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
4740 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4742 * string/test-memrchr.c: New file.
4743 * string/test-memrchr-ifunc.c: New file.
4744 * string/Makefile: Add new memrchr testcase.
4746 2013-09-05 Mike Frysinger <vapier@gentoo.org>
4748 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
4749 fanotify_init returns EPERM.
4751 2013-09-04 Joseph Myers <joseph@codesourcery.com>
4753 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
4755 (top level): Treat second token from macro or constant entries for
4756 allowed headers as allowed.
4757 * include/complex.h: Condition internal declarations on
4759 * include/fenv.h: Condition include of <stdbool.h> and internal
4760 declarations on [!_ISOMAC].
4762 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
4765 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
4767 2013-09-04 Joseph Myers <joseph@codesourcery.com>
4769 * configure.in (--enable-versioning): Remove configure option.
4770 (libc_cv_asm_symver_directive): Remove configure test.
4771 (libc_cv_ld_version_script_option): Likewise.
4772 (VERSIONING): Remove variable and AC_SUBST.
4773 (DO_VERSIONING): Remove AC_DEFINE.
4774 * configure: Regenerated.
4775 * config.h.in (DO_VERSIONING): Remove macro.
4776 * Makerules [$(versioning) = yes]: Change conditionals to
4777 [$(build-shared) = yes].
4778 * config.make.in (versioning): Remove variable.
4779 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
4780 [$(build-shared) = yes].
4781 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
4782 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
4783 * elf/Makefile [$(versioning) = yes]: Change conditionals to
4784 [$(build-shared) = yes].
4785 * extra-lib.mk [$(versioning) = yes]: Likewise.
4786 * hurd/Makefile [$(versioning) = yes]: Likewise.
4787 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
4789 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
4791 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
4792 [SHARED && !NO_HIDDEN].
4793 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
4795 [SHARED && DO_VERSIONING]: Likewise..
4796 * libio/Makefile [$(versioning) = yes]: Change conditionals to
4797 [$(build-shared) = yes].
4798 * manual/install.texi (--disable-versioning): Remove
4800 * INSTALL: Regenerated.
4801 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
4803 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
4804 [$(build-shared) = yes].
4805 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
4806 * sysdeps/i386/i686/multiarch/strstr-c.c
4807 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
4808 [SHARED && !NO_HIDDEN].
4809 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
4810 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
4811 * sysdeps/powerpc/powerpc32/dl-machine.c
4812 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
4813 * sysdeps/powerpc/powerpc32/sysdep.h
4814 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
4815 to [SHARED && PIC && !NO_HIDDEN].
4816 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
4817 conditional to [SHARED].
4819 2013-09-04 Will Newton <will.newton@linaro.org>
4821 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
4822 * benchtests/bench-string.h: Include bench-timing.h instead
4823 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
4824 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
4825 call to HP_TIMING_DIFF_INIT.
4826 * benchtests/bench-memccpy.c: Use bench-timing.h macros
4827 instead of hp-timing.h macros.
4828 * benchtests/bench-memchr.c: Likewise.
4829 * benchtests/bench-memcmp.c: Likewise.
4830 * benchtests/bench-memcpy.c: Likewise.
4831 * benchtests/bench-memmem.c: Likewise.
4832 * benchtests/bench-memmove.c: Likewise.
4833 * benchtests/bench-memset.c: Likewise.
4834 * benchtests/bench-rawmemchr.c: Likewise.
4835 * benchtests/bench-strcasecmp.c: Likewise.
4836 * benchtests/bench-strcasestr.c: Likewise.
4837 * benchtests/bench-strcat.c: Likewise.
4838 * benchtests/bench-strchr.c: Likewise.
4839 * benchtests/bench-strcmp.c: Likewise.
4840 * benchtests/bench-strcpy.c: Likewise.
4841 * benchtests/bench-strcpy_chk.c: Likewise.
4842 * benchtests/bench-strlen.c: Likewise.
4843 * benchtests/bench-strncasecmp.c: Likewise.
4844 * benchtests/bench-strncat.c: Likewise.
4845 * benchtests/bench-strncmp.c: Likewise.
4846 * benchtests/bench-strncpy.c: Likewise.
4847 * benchtests/bench-strnlen.c: Likewise.
4848 * benchtests/bench-strpbrk.c: Likewise.
4849 * benchtests/bench-strrchr.c: Likewise.
4850 * benchtests/bench-strspn.c: Likewise.
4851 * benchtests/bench-strstr.c: Likewise.
4853 2013-09-04 Will Newton <will.newton@linaro.org>
4855 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
4857 2013-09-03 Joseph Myers <joseph@codesourcery.com>
4860 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
4861 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
4862 * math/libm-test.inc (lgamma_test_data): Add more tests.
4863 * sysdeps/i386/fpu/libm-test-ulps: Update.
4864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4866 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
4868 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
4869 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4871 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4872 Add strcmp-sse2-unaligned
4873 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
4875 2013-09-02 Mike Frysinger <vapier@gentoo.org>
4877 * Versions.def (libc): Add GLIBC_2.19.
4879 2013-09-02 Mike Frysinger <vapier@gentoo.org>
4881 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
4882 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
4884 2013-09-02 Joseph Myers <joseph@codesourcery.com>
4887 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
4888 intermediate calculations in recurrence.
4889 (__ieee754_ynf): Likewise.
4890 * math/libm-test.inc (jn_test_data): Do not allow spurious
4891 underflow exception. Add more tests.
4892 (yn_test_data): Add more tests.
4893 * sysdeps/i386/fpu/libm-test-ulps: Update.
4894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4896 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
4898 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
4900 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
4902 * csu/init-first.c: Fix then/than typos.
4903 * locale/programs/ld-collate.c: Likewise.
4904 * locale/programs/linereader.h: Likewise.
4905 * manual/charset.texi: Likewise.
4906 * manual/filesys.texi: Likewise.
4907 * manual/stdio.texi: Likewise.
4908 * manual/string.texi: Likewise.
4909 * stdlib/fmtmsg.c: Likewise.
4910 * sysdeps/i386/stpncpy.S: Likewise.
4911 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4912 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4913 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4914 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4916 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
4918 * elf/dl-open.c: Fix typos.
4919 * iconvdata/gbbig5.c: Likewise.
4920 * iconvdata/iso-2022-jp.c: Likewise.
4921 * iconv/gconv_int.h: Likewise.
4922 * iconv/loop.c: Likewise.
4923 * nis/rpcsvc/nis.h: Likewise.
4924 * resolv/ns_name.c: Likewise.
4925 * stdio-common/vfscanf.c: Likewise.
4926 * streams/stropts.h: Likewise.
4927 * sunrpc/rpc_thread.c: Likewise.
4928 * sysdeps/i386/strpbrk.S: Likewise.
4929 * sysdeps/ieee754/k_standard.c: Likewise.
4930 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4931 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4932 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
4933 * sysdeps/mach/hurd/profil.c: Likewise.
4934 * sysdeps/s390/dl-procinfo.h: Likewise.
4935 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
4936 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
4937 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
4938 * sysdeps/x86_64/dl-trampoline.S: Likewise.
4939 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
4941 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
4943 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
4944 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
4946 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
4948 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
4950 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
4951 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
4952 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
4953 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
4954 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
4955 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
4956 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
4957 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
4959 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
4960 Roland McGrath <roland@hack.frob.com>
4962 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
4963 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
4965 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
4967 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
4968 __executable_start symbol instead of _start.
4970 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
4972 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
4973 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
4975 * sysdeps/gnu/ldsodefs.h: ... this new file.
4977 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
4978 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
4979 instead of ELFOSABI_LINUX.
4981 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
4982 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
4983 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
4984 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
4986 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
4987 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
4988 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
4990 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4991 (ibm_extended_long_double): Add ieee_nan member.
4992 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
4993 (do_test): New function.
4995 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
4997 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
4998 functions, renamed from truncdfsf_test, trunctfsf_test,
5000 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
5002 (do_test): Run all these.
5004 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
5006 * argp/argp-help.c: Fix typos.
5007 * argp/argp-parse.c: Likewise.
5008 * debug/backtracesyms.c: Likewise.
5009 * elf/elf.h: Likewise.
5010 * malloc/malloc.c: Likewise.
5011 * nis/nis_print.c: Likewise.
5012 * resolv/res_comp.c: Likewise.
5013 * stdlib/stdlib.h: Likewise.
5014 * sunrpc/clnt_tcp.c: Likewise.
5015 * sunrpc/clnt_udp.c: Likewise.
5016 * sunrpc/clnt_unix.c: Likewise.
5017 * sysdeps/unix/bsd/ptsname.c: Likewise.
5018 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
5019 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
5020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
5022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
5024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
5026 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5028 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5030 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
5031 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5033 2013-08-27 Mike Frysinger <vapier@gentoo.org>
5036 * dlfcn/Makefile (tests): Add bug-dl-leaf.
5037 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
5038 ($(objpfx)bug-dl-leaf): New rule.
5039 ($(objpfx)bug-dl-leaf.so): Likewise.
5040 ($(objpfx)bug-dl-leaf.out): Likewise.
5041 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
5042 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
5043 * dlfcn/bug-dl-leaf.c: New test.
5044 * dlfcn/bug-dl-leaf-lib.c: Likewise.
5045 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
5046 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
5047 (dlclose): Likewise.
5048 (dlmopen): Likewise.
5050 2013-08-27 Roland McGrath <roland@hack.frob.com>
5052 * include/netdb.h [!_ISOMAC]:
5053 Don't include <tls.h>.
5054 (h_errno, __libc_h_errno): Move declaration and macros out of
5057 * include/resolv.h [_RESOLV_H_]:
5058 Don't include <tls.h>.
5059 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
5060 * resolv/res_libc.c: Don't include <tls.h>.
5061 (_res): Use __attribute__ ((nocommon)) in place of
5062 __attribute__ ((section (".bss"))).
5064 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
5065 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
5067 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
5069 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
5070 only under [SIOCGIFCONF && SIOCGIFNETMASK].
5072 * resolv/res_mkquery.c: Include <sys/time.h>.
5074 * inet/ifreq.c: Moved to ...
5075 * sysdeps/unix/ifreq.c: ... here.
5076 * inet/ifreq.c: New file, true stub version.
5078 * socket/sa_len.c: New file.
5079 * socket/Makefile (aux): Add it.
5080 * sysdeps/unix/sysv/linux/Makefile
5081 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
5082 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
5083 and #include <socket/sa_len.c>.
5084 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
5085 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
5087 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
5088 * bits/socket.h: ... here.
5090 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
5091 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
5092 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
5094 2013-08-27 Andreas Schwab <schwab@suse.de>
5097 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
5098 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
5099 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
5100 * string/test-strcasecmp.c (test_main): Run tests in several
5102 * string/test-strncasecmp.c (test_main): Likewise.
5104 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
5105 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
5106 to __strcasecmp_nonascii and __strncasecmp_nonascii.
5107 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
5108 (__strncasecmp_ssse3) [PIC]: Likewise.
5110 2013-08-26 Roland McGrath <roland@hack.frob.com>
5112 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
5114 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
5115 instead of explicitly declaring xdecrypt.
5116 * nis/nss_nis/nis-publickey.c: Likewise.
5118 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5121 * nscd/aicache.c: Include res_hconf.h.
5122 (addhstaiX): Initialize res_hconf.
5124 2013-08-26 Andreas Schwab <schwab@suse.de>
5126 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
5127 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
5129 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5131 * nscd/aicache.c (addhstaiX): Fix indentation.
5133 2013-08-25 Mike Frysinger <vapier@gentoo.org>
5135 * configure.ac: Quote $build_pt_chown test.
5136 * configure: Regenerated.
5138 2013-08-23 Joseph Myers <joseph@codesourcery.com>
5141 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
5142 * math/s_cexpf.c (__cexpf): Likewise.
5143 * math/s_cexpl.c (__cexpl): Likewise.
5144 * math/libm-test.inc (cexp_test_data): Correct expected return
5145 value for NaN + i0. Add another test.
5147 2013-08-22 David S. Miller <davem@davemloft.net>
5149 * po/ca.po: Update Catalan translation from translation project.
5150 * po/uk.po: Add Ukrainian translations from translation project.
5152 2013-08-21 Joseph Myers <joseph@codesourcery.com>
5155 * math/s_fdim.c (__fdim): Check for infinite arguments if result
5156 is infinite, not alongside NaN test.
5157 * math/s_fdimf.c (__fdimf): Likewise.
5158 * math/s_fdiml.c (__fdiml): Likewise.
5159 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
5162 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
5164 * argp/argp-help.c: Fix typos.
5165 * crypt/speeds.c: Likewise.
5166 * csu/check_fds.c: Likewise.
5167 * elf/dl-load.c: Likewise.
5168 * elf/dl-open.c: Likewise.
5169 * elf/reldep3.c: Likewise.
5170 * elf/reldep.c: Likewise.
5171 * elf/sprof.c: Likewise.
5172 * iconv/iconv_charmap.c: Likewise.
5173 * iconv/skeleton.c: Likewise.
5174 * iconv/strtab.c: Likewise.
5175 * io/lockf64.c: Likewise.
5176 * libio/libioP.h: Likewise.
5177 * resolv/gai_notify.c: Likewise.
5178 * resolv/ns_name.c: Likewise.
5179 * resolv/ns_samedomain.c: Likewise.
5180 * resolv/res_send.c: Likewise.
5181 * stdlib/random.c: Likewise.
5182 * sunrpc/rpc/xdr.h: Likewise.
5183 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
5184 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5185 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5186 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5187 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5188 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5189 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5190 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5191 * sysdeps/mach/hurd/check_fds.c: Likewise.
5192 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
5193 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5194 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5195 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
5196 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5197 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
5198 * sysdeps/pthread/aio_notify.c: Likewise.
5199 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
5200 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
5201 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
5202 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5203 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
5205 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5207 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
5208 version if bit_Slow_SSE4_2 is set.
5209 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5210 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5212 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5215 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
5216 trampoline stack frame information.
5217 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
5218 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
5219 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
5220 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
5221 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
5222 * sysdeps/unix/sysv/linux/powerpc/init-first.c
5223 (_libc_vdso_platform_setup): Initialize the signal trampolines.
5224 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
5226 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
5227 interrupting a syscall and set with option SA_SIGINFO.
5229 2013-08-20 Joseph Myers <joseph@codesourcery.com>
5232 * math/s_cproj.c (__cproj): Only return an infinity if one part of
5233 argument is infinite.
5234 * math/s_cprojf.c (__cprojf): Likewise.
5235 * math/s_cprojl.c (__cprojl): Likewise.
5236 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
5237 * math/libm-test.inc (cproj_test_data): Add more tests.
5239 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
5241 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
5242 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
5243 size. Use __ffs to determine corresponding shift.
5245 2013-08-20 Joseph Myers <joseph@codesourcery.com>
5246 Roland McGrath <roland@hack.frob.com>
5248 * Makefile (INSTALL): Remove trailing blank lines from output of
5251 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5253 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
5254 Align 32 bit compat elf_greg to 8 bytes.
5256 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
5258 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
5260 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5262 * string/strcoll_l.c (coll_seq): New structure.
5263 (get_next_seq_cached): New function.
5264 (get_next_seq): New function.
5265 (do_compare): New function.
5266 (STRCOLL): Use GNU style definition. Simplify implementation
5267 by using get_next_seq, get_next_seq_cached and do_compare.
5269 2013-08-16 Florian Weimer <fweimer@redhat.com>
5273 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
5275 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
5277 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
5278 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
5279 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
5281 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
5282 GETDENTS_64BIT_ALIGNED.
5283 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5284 * manual/filesys.texi (Reading/Closing Directory): Document
5285 ENAMETOOLONG return value of readdir_r. Recommend readdir more
5287 * manual/conf.texi (Limits for Files): Add portability note to
5289 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
5291 2013-08-13 Andreas Schwab <schwab@suse.de>
5294 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
5296 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
5297 LDBL_MAX_EXP >= 16384]: Add tests for it.
5299 2013-08-12 David S. Miller <davem@davemloft.net>
5301 * version.h (RELEASE): Set to "development".
5302 (VERSION): Set to "2.18.90".
5303 * NEWS: Add 2.19 section.
5305 2013-08-03 David S. Miller <davem@davemloft.net>
5307 * po/ko.po: Update Korean translation from translation project.
5309 2013-08-01 David S. Miller <davem@davemloft.net>
5311 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
5312 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
5315 2013-07-30 David S. Miller <davem@davemloft.net>
5317 * po/fr.po: Update French translation from translation project.
5319 2013-07-28 David S. Miller <davem@davemloft.net>
5321 * po/cs.po: Update Czech translation from translation project.
5323 * po/sv.po: Update Swedish translation from translation project.
5325 2013-07-27 David S. Miller <davem@davemloft.net>
5327 * po/eo.po: Update Esperanto translation from translation project.
5329 * po/vi.po: Update Vietnamese translation from translation project.
5331 * po/de.po: Update German translation from translation project.
5333 2013-07-26 David S. Miller <davem@davemloft.net>
5335 * po/bg.po: Update Bulgarian translation from translation project.
5337 * po/nl.po: Update Dutch translation from translation project.
5338 * po/pl.po: Update Polish translation from translation project.
5339 * po/ru.po: Update Russian translation from translation project.
5341 2013-07-24 David S. Miller <davem@davemloft.net>
5343 * po/libc.pot: Update.
5345 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5347 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
5349 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
5350 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
5351 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
5353 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5355 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
5357 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5358 Andreas Schwab <schwab@suse.de>
5359 Roland McGrath <roland@hack.frob.com>
5360 Joseph Myers <joseph@codesourcery.com>
5361 Carlos O'Donell <carlos@redhat.com>
5364 * config.h.in: Define HAVE_PT_CHOWN.
5365 * config.make.in (build-pt-chown): New variable.
5366 * configure.in (--enable-pt_chown): New configure option.
5367 * configure: Regenerate.
5368 * login/Makefile: Include Makeconfig. Build pt_chown only if
5369 build-pt-chown is enabled.
5370 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
5371 pt_chown to fix pty ownership.
5372 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
5374 * manual/install.texi (Configuring and compiling): Mention
5375 --enable-pt_chown. Add @findex for grantpt.
5376 * INSTALL: Regenerate.
5378 2013-07-20 David S. Miller <davem@davemloft.net>
5380 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
5381 difference between 32-bit and 64-bit.
5383 2013-07-15 Carlos O'Donell <carlos@redhat.com>
5386 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
5387 Avoid system header dependency with -ffreestanding.
5388 ($(objpfx)bits/syscall%d): Likewise.
5390 2013-07-13 David S. Miller <davem@davemloft.net>
5392 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
5393 underflows from atanl/atan2l due to bug 15319.
5394 (casinh_test_data): Likewise.
5396 2013-07-07 David S. Miller <davem@davemloft.net>
5398 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
5400 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
5402 * sysdeps/i386/fpu/libm-test-ulps: Update.
5403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5405 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5407 * configure.in (--enable-lock-elision): Fix message text.
5408 * INSTALL: Regenerate.
5409 * configure: Regenerate.
5411 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5413 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5415 2013-07-03 Andreas Jaeger <aj@suse.de>
5417 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
5419 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
5420 (ptrace_peeksiginfo_args): Add.
5421 (__ptrace_peeksiginfo_flags): Add.
5422 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5423 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5424 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5426 2013-07-03 Allan McRae <allan@archlinux.org>
5428 * sysdeps/i386/fpu/libm-test-ulps: Update.
5430 2013-07-02 David S. Miller <davem@davemloft.net>
5432 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5434 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
5436 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5438 2013-07-02 Joseph Myers <joseph@codesourcery.com>
5440 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5443 2013-07-02 Andi Kleen <ak@linux.intel.com>
5445 * config.h.in (ENABLE_LOCK_ELISION): Add.
5446 * configure.in (--enable-lock-elision): Add option.
5447 * manual/install.texi: Document --enable lock elision.
5448 * configure: Regenerate
5449 * INSTALL: Regenerate.
5451 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
5453 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
5454 SSE4.2 strcasecmp for libc.a.
5455 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5457 2013-07-02 Joseph Myers <joseph@codesourcery.com>
5460 * soft-fp/op-common.h (_FP_FMA): New macro.
5461 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
5462 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
5463 (_FP_MUL_MEAT_1_imm): ... here.
5464 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
5465 (_FP_MUL_MEAT_1_wide): ... here.
5466 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
5467 (_FP_MUL_MEAT_1_hard): ... here.
5468 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
5469 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
5470 (_FP_MUL_MEAT_2_wide): ... here.
5471 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
5472 (_FP_MUL_MEAT_2_wide_3mul): ... here.
5473 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
5474 (_FP_MUL_MEAT_2_gmp): ... here.
5475 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
5476 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
5477 (_FP_MUL_MEAT_4_wide): ... here.
5478 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
5479 (_FP_MUL_MEAT_4_gmp): ... here.
5480 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
5481 (_FP_WFRACBITS_DW_S): Likewise.
5482 (_FP_WFRACXBITS_DW_S): Likewise.
5483 (_FP_HIGHBIT_DW_S): Likewise.
5484 (FP_FMA_S): Likewise.
5485 (_FP_FRAC_HIGH_DW_S): Likewise.
5486 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
5487 (_FP_WFRACBITS_DW_D): Likewise.
5488 (_FP_WFRACXBITS_DW_D): Likewise.
5489 (_FP_HIGHBIT_DW_D): Likewise.
5490 (FP_FMA_D): Likewise.
5491 (_FP_FRAC_HIGH_DW_D): Likewise.
5492 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
5493 (_FP_WFRACBITS_DW_E): Likewise.
5494 (_FP_WFRACXBITS_DW_E): Likewise.
5495 (_FP_HIGHBIT_DW_E): Likewise.
5496 (FP_FMA_E): Likewise.
5497 (_FP_FRAC_HIGH_DW_E): Likewise.
5498 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
5499 (_FP_WFRACBITS_DW_Q): Likewise.
5500 (_FP_WFRACXBITS_DW_Q): Likewise.
5501 (_FP_HIGHBIT_DW_Q): Likewise.
5502 (FP_FMA_Q): Likewise.
5503 (_FP_FRAC_HIGH_DW_Q): Likewise.
5504 * soft-fp/fmasf4.c: New file.
5505 * soft-fp/fmadf4.c: Likewise.
5506 * soft-fp/fmatf4.c: Likewise.
5508 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5510 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
5511 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
5513 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
5515 (index_Slow_SSE4_2): Likewise.
5516 (index_Prefer_PMINUB_for_stringop): Likewise.
5517 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
5518 bit_Slow_SSE4_2 is set.
5519 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5520 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5522 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5524 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
5525 rtld_global._dl_hwcap2.
5526 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
5528 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
5529 POWER8 feature descriptions defined in _dl_hwcap2.
5530 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
5531 string handling for POWER8 feature bits.
5532 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
5533 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
5534 _dl_powerpc_cap_flags.
5535 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
5536 * sysdeps/powerpc/rtld-global-offsets.sym
5537 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
5538 _dl_hwcap2 in the rtld_global_ro structure.
5540 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5542 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
5543 hardware capabilities in support of AT_HWCAP2.
5544 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
5545 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
5547 (_dl_show_auxv): Add support for calling _dl_procinfo to display
5548 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
5549 explicitly the unknown a_type display mechanism is used.
5550 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
5551 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
5553 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
5554 to macro prototype for AT_HWCAP2 support.
5555 * sysdeps/i386/dl-procinfo.h: Likewise.
5556 * sysdeps/s390/dl-procinfo.h: Likewise.
5557 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
5558 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
5559 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
5560 return -1 for unknown a_type display fallback.
5561 * sysdeps/sparc/dl-procinfo.h: Likewise.
5562 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
5563 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
5565 2013-06-28 Joseph Myers <joseph@codesourcery.com>
5567 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
5568 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
5570 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
5573 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
5574 mprotect making __stack_prot writable.
5576 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
5577 Joseph Myers <joseph@codesourcery.com>
5579 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
5580 as being properly aligned.
5582 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
5584 * dlfcn/modstatic5.c: New file.
5585 * dlfcn/tststatic5.c: New file.
5586 * dlfcn/Makefile (tests): Add tststatic5.
5587 (tests-static): Likewise.
5588 (modules-names): Add modstatic5.
5589 (tststatic5-ENV): New variable.
5590 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
5593 * elf/dl-support.c (_dl_main_map): New variable.
5594 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
5595 (_dl_nns, _dl_load_adds): Set to 1.
5596 (_dl_initial_searchlist): Refer to _dl_main_map.
5597 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
5598 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
5599 call to _dl_get_origin.
5600 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
5602 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
5603 * dlfcn/modstatic3.c: New file.
5604 * dlfcn/tststatic3.c: New file.
5605 * dlfcn/tststatic4.c: New file.
5606 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
5607 (tests-static): Likewise.
5608 (modules-names): Add modstatic3.
5609 (tststatic3-ENV, tststatic4-ENV): New variables.
5610 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
5611 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
5613 2013-06-26 Joseph Myers <joseph@codesourcery.com>
5615 * configure.in (CC): Require GCC version 4.4 or later.
5616 * configure: Regenerated.
5617 * manual/install.texi (Tools for Compilation): Update GCC version
5619 * INSTALL: Regenerated.
5621 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5624 * string/test-memcmp.c (check2): New.
5625 (main): Call check2.
5627 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
5629 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
5632 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
5634 (dl_open_worker) [!SHARED]: ... here.
5636 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5638 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
5640 2013-06-25 Richard Henderson <rth@redhat.com>
5642 * locale/programs/locarchive.c: Include <libc-internal.h>
5644 2013-06-25 Joseph Myers <joseph@codesourcery.com>
5646 * manual/texinfo.tex: Update to version 2013-06-21.17, with
5647 trailing whitespace removed.
5649 2013-06-24 Mike Frysinger <vapier@gentoo.org>
5652 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
5653 * locale/programs/locarchive.c: Include libc-mmap.h.
5654 (prepare_address_space): Take two new outputs (the mmap base and len).
5655 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
5657 (create_archive): Declare new mmap base and len values for
5658 prepare_address_space, and store the result in ah.
5659 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
5660 (enlarge_archive): If ah->mmap_base is not NULL, use that and
5661 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
5662 Declare new mmap base and len values for
5663 prepare_address_space, and store the result in new_ah.
5664 (open_archive): Declare new mmap base and len values for
5665 prepare_address_space, and store the result in ah.
5666 (close_archive): If ah->mmap_base is not NULL, use that and
5667 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
5668 * sysdeps/generic/libc-mmap.h: New file.
5670 2013-06-24 Mike Frysinger <vapier@gentoo.org>
5672 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
5673 (ALIGN_UP): Likewise.
5674 (PTR_ALIGN_DOWN): Likewise.
5675 (PTR_ALIGN_UP): Likewise.
5677 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5679 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
5680 entry mapped to PPC_PLATFORM_POWER8.
5681 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
5683 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
5684 (_dl_string_platform): Add case for exporting platform position for
5686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
5687 search path to sysdeps/powerpc/powerpc32/power8 directory.
5688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
5689 search path to sysdeps/powerpc/powerpc64/power8 directory.
5690 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
5692 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
5695 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5697 * INSTALL: Regenerate.
5699 * nscd/connections.c (nscd_init): Fix comment.
5701 2013-06-22 Joseph Myers <joseph@codesourcery.com>
5703 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
5706 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
5707 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
5709 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
5711 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
5713 (DL_DST_REQ_STATIC): Remove macro.
5715 2013-06-21 Joseph Myers <joseph@codesourcery.com>
5718 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
5719 with a shift of 0 bits.
5721 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
5723 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
5726 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5729 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
5731 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5733 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
5734 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
5735 accepts -fno-tree-loop-distribute-patterns.
5736 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
5737 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
5739 * string/memset.c (memset): Likewise.
5740 * string/test-memmove.c (simple_memmove): Disable loop transformation
5742 * string/test-memset.c (simple_memset): Likewise.
5743 * benchtests/bench-memmove.c (simple_memmove): Likewise.
5744 * benchtests/bench-memset.c (simple_memset): Likewise.
5745 * configure: Regenerated.
5747 2013-06-20 Joseph Myers <joseph@codesourcery.com>
5749 * math/test-misc.c (main): Ignore fesetround failure when failures
5750 of subsequent rounding tests would be ignored.
5753 * math/fedisblxcpt.c (fedisableexcept): Return 0.
5754 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
5755 * math/fegetenv.c (__fegetenv): Return 0.
5756 * math/fegetexcept.c (fegetexcept): Return 0.
5757 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
5759 * math/feholdexcpt.c (feholdexcept): Return 0.
5760 * math/fesetenv.c (__fesetenv): Return 0.
5761 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
5762 argument FE_TONEAREST.
5763 * math/feupdateenv.c (__feupdateenv): Return 0.
5764 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
5766 2013-06-18 Roland McGrath <roland@hack.frob.com>
5768 * elf/rtld-Rules (rtld-compile-command.S): New variable.
5769 (rtld-compile-command.s, rtld-compile-command.c): New variables.
5770 ($(objpfx)rtld-%.os rules): Use them.
5772 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5774 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
5777 2013-06-17 Roland McGrath <roland@hack.frob.com>
5779 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
5780 length of target pattern, then descending length of dependency pattern.
5781 * configure.in (AWK): Require gawk 3.1.2 or newer.
5782 * manual/install.texi (Tools for Compilation): Say that we do.
5783 * configure: Regenerated.
5785 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
5786 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
5787 * scripts/sysd-rules.awk: ... this new script.
5788 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
5789 than a glob-style pattern.
5791 2013-06-17 Joseph Myers <joseph@codesourcery.com>
5793 * math/test-misc.c (main): Do not treat incorrectly rounded
5794 conversions as failure unless ROUNDING_TESTS passes.
5796 2013-06-15 Joseph Myers <joseph@codesourcery.com>
5799 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
5800 restore exception state around main square root computation, then
5801 check for inexactness explicitly.
5803 * math/libm-test.inc (fma_test_data): Add another test.
5805 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5807 * manual/threads.texi (Non-POSIX Extensions): New document
5808 node. Document pthread_getattr_default_np and
5809 pthread_setattr_default_np.
5811 * Versions.def (libpthread): Add GLIBC_2.18.
5812 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
5813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5817 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5819 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5821 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
5823 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5825 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5827 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5829 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
5832 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5834 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5835 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
5837 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5838 H.J. Lu <hjl.tools@gmail.com>
5841 * sysdeps/x86_64/rtld-memset.c: Remove file.
5842 * sysdeps/x86_64/rtld-memset.S: New file.
5844 2013-06-14 Joseph Myers <joseph@codesourcery.com>
5846 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
5847 (test_in_one_mode): Take arguments for whether the rounding mode
5848 is supported for each floating-point type.
5849 (do_test): Pass new arguments to test_in_one_mode using
5852 2013-06-13 Roland McGrath <roland@hack.frob.com>
5854 * posix/tst-waitid.c (do_test): Distinguish different instances of
5855 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
5856 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
5857 before entering the kernel for waitpid.
5859 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5861 * NEWS: Fix note on clock function precision. Text by Roland
5864 2013-06-13 Roland McGrath <roland@hack.frob.com>
5866 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
5867 it into place only when and if the sanity check passes.
5869 2013-06-13 Joseph Myers <joseph@codesourcery.com>
5871 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
5872 output for whether conversion result is exact. Take argument
5873 indicating whether type is IBM long double.
5874 (round_for_all): Change need_exact field to ibm_ld.
5875 * stdlib/tst-strtod-round.c (struct exactness): New type.
5876 (struct test): Change bool ld_ok field to struct exactness exact.
5877 (TEST): Update all definitions for change to field.
5878 (tests): Regenerate array contents.
5879 (test_in_one_mode): Take pointer to new field instead of old ld_ok
5880 field value. Check for IBM long double here.
5881 (do_test): Update calls to test_in_one_mode.
5883 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5886 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
5887 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
5889 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5892 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
5893 generated by the compiler on loop optimizations.
5894 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
5895 general definitions.
5897 2013-06-12 Joseph Myers <joseph@codesourcery.com>
5899 * math/bug-nextafter.c: Include <math-tests.h>.
5900 (main): Only test for exceptions if EXCEPTION_TESTS is true for
5902 * math/bug-nexttoward.c: Include <math-tests.h>.
5903 (main): Only test for exceptions if EXCEPTION_TESTS is true for
5905 * math/test-misc.c: Include <math-tests.h>.
5906 (main): Only test for exceptions if EXCEPTION_TESTS is true for
5909 2013-06-12 Andreas Jaeger <aj@suse.de>
5911 * po/ia.po: Update Interlingua translation from translation
5914 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5916 * include/fenv.h: Include stdbool.h.
5917 (struct rm_ctx): New structure.
5918 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
5920 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
5921 (SET_RESTORE_ROUNDF): Likewise.
5922 (SET_RESTORE_ROUNDL): Likewise.
5923 (SET_RESTORE_ROUND_NOEX): Likewise.
5924 (SET_RESTORE_ROUND_NOEXF): Likewise.
5925 (SET_RESTORE_ROUND_NOEXL): Likewise.
5926 (SET_RESTORE_ROUND_53BIT): Likewise.
5927 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
5928 (libc_feresetround_noexf_ctx): Likewise.
5929 (libc_feresetround_noexl_ctx): Likewise.
5930 (libc_feholdsetround_53bit_ctx): Likewise.
5931 (libc_feresetround_53bit_ctx): Likewise.
5932 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
5933 (libc_feholdexcept_setround_sse_ctx): New function.
5934 (libc_fesetenv_sse_ctx): Likewise.
5935 (libc_feupdateenv_sse_ctx): Likewise.
5936 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
5937 (libc_feholdexcept_setround_387_ctx): Likewise.
5938 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
5939 (libc_feholdsetround_387_prec_ctx): Likewise.
5940 (libc_feholdsetround_387_ctx): Likewise.
5941 (libc_feholdsetround_387_53bit_ctx): Likewise.
5942 (libc_feholdsetround_sse_ctx): Likewise.
5943 (libc_feresetround_sse_ctx): Likewise.
5944 (libc_feresetround_387_ctx): Likewise.
5945 (libc_feupdateenv_387_ctx): Likewise.
5946 (libc_feholdexcept_setroundf_ctx): Define macro.
5947 (libc_fesetenvf_ctx): Likewise.
5948 (libc_feupdateenvf_ctx): Likewise.
5949 (libc_feholdsetroundf_ctx): Likewise.
5950 (libc_feresetroundf_ctx): Likewise.
5951 (libc_feholdexcept_setround_ctx): Likewise.
5952 (libc_fesetenv_ctx): Likewise.
5953 (libc_feupdateenv_ctx): Likewise.
5954 (libc_feholdsetround_ctx): Likewise.
5955 (libc_feresetround_ctx): Likewise.
5956 (libc_feholdexcept_setroundl_ctx): Likewise.
5957 (libc_feupdateenvl_ctx): Likewise.
5958 (libc_feholdsetroundl_ctx): Likewise.
5959 (libc_feresetroundl_ctx): Likewise.
5960 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
5961 (libc_feresetround_53bit_ctx): Likewise.
5963 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5965 * locale/iso-639.def: Convert to UTF-8.
5967 2013-06-11 Joseph Myers <joseph@codesourcery.com>
5969 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
5970 (EXCEPTION_TESTS_double): Likewise.
5971 (EXCEPTION_TESTS_long_double): Likewise.
5972 (EXCEPTION_TESTS): Likewise.
5973 * math/libm-test.inc (test_exceptions): Only test exceptions if
5974 EXCEPTION_TESTS (FLOAT).
5976 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5978 * benchtests/Makefile (string-bench): Add strcpy_chk and
5980 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
5981 * benchtests/bench-stpcpy_chk.c: New file.
5982 * benchtests/bench-strcpy_chk-ifunc.c: New file.
5983 * benchtests/bench-strcpy_chk.c: New file.
5984 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
5986 (do_test): Likewise.
5988 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5990 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
5991 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
5992 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
5993 with tabs where appropriate.
5994 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
5996 [PPC_PLATFORM_PPC440]: Likewise.
5997 [PPC_PLATFORM_PPC464]: Likewise.
5998 [PPC_PLATFORM_PPC476]: Likewise.
5999 (_dl_string_platform): Add support for detecting ppc405, ppc440,
6000 ppc464, and ppc476 platform strings merging from ports/
6003 2013-06-11 Andreas Schwab <schwab@suse.de>
6006 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
6007 (from_ucs4_idx): Regenerate.
6008 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
6009 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
6010 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
6011 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
6012 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
6013 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
6014 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
6015 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
6016 from FROM_LOOP and TO_LOOP specific macros.
6017 (BODY): Handle combining characters.
6018 * iconvdata/BIG5HKSCS.irreversible: Update.
6019 * iconvdata/BIG5HKSCS.precomposed: New file.
6020 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
6022 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
6024 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6026 * include/sys/time.h: Fix indentation and add copyright header.
6028 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
6029 (do_test): Likewise.
6030 * string/test-memchr.c (do_one_test): Likewise.
6031 (do_test): Likewise.
6032 * string/test-memcmp.c (do_one_test): Likewise.
6033 (do_test): Likewise.
6034 * string/test-memcpy.c (do_one_test): Likewise.
6035 (do_test): Likewise.
6036 * string/test-memmem.c (do_one_test): Likewise.
6037 (do_test): Likewise.
6038 (do_random_tests): Likewise.
6039 * string/test-memmove.c (do_one_test): Likewise.
6040 (do_test): Likewise.
6041 * string/test-memset.c (do_one_test): Likewise.
6042 (do_test): Likewise.
6043 * string/test-rawmemchr.c (do_one_test): Likewise.
6044 (do_test): Likewise.
6045 * string/test-strcasecmp.c (do_one_test): Likewise.
6046 (do_test): Likewise.
6047 * string/test-strcasestr.c (do_one_test): Likewise.
6048 (do_test): Likewise.
6049 * string/test-strcat.c (do_one_test): Likewise.
6050 (do_test): Likewise.
6051 * string/test-strchr.c (do_one_test): Likewise.
6052 (do_test): Likewise.
6053 * string/test-strcmp.c (do_one_test): Likewise.
6054 (do_test): Likewise.
6055 * string/test-strcpy.c (do_one_test): Likewise.
6056 (do_test): Likewise.
6057 * string/test-string.h: Likewise.
6058 (test_init): Likewise.
6059 * string/test-strlen.c (do_one_test): Likewise.
6060 (do_test): Likewise.
6061 * string/test-strncasecmp.c (do_one_test): Likewise.
6062 (do_test): Likewise.
6063 * string/test-strncat.c (do_one_test): Likewise.
6064 (do_test): Likewise.
6065 * string/test-strncmp.c (do_one_test): Likewise.
6066 (do_test_limit): Likewise.
6067 (do_test): Likewise.
6068 * string/test-strncpy.c (do_one_test): Likewise.
6069 (do_test): Likewise.
6070 * string/test-strnlen.c (do_one_test): Likewise.
6071 (do_test): Likewise.
6072 * string/test-strpbrk.c (do_one_test): Likewise.
6073 (do_test): Likewise.
6074 * string/test-strrchr.c (do_one_test): Likewise.
6075 (do_test): Likewise.
6076 * string/test-strspn.c (do_one_test): Likewise.
6077 (do_test): Likewise.
6078 * string/test-strstr.c (do_one_test): Likewise.
6079 (do_test): Likewise.
6081 * benchtests/Makefile (string-bench): Add string benchmarks.
6082 * benchtests/bench-bcopy-ifunc.c: New file.
6083 * benchtests/bench-bcopy.c: New file.
6084 * benchtests/bench-bzero-ifunc.c: New file.
6085 * benchtests/bench-bzero.c: New file.
6086 * benchtests/bench-memccpy-ifunc.c: New file.
6087 * benchtests/bench-memccpy.c: New file.
6088 * benchtests/bench-memchr-ifunc.c: New file.
6089 * benchtests/bench-memchr.c: New file.
6090 * benchtests/bench-memcmp-ifunc.c: New file.
6091 * benchtests/bench-memcmp.c: New file.
6092 * benchtests/bench-memmem-ifunc.c: New file.
6093 * benchtests/bench-memmem.c: New file.
6094 * benchtests/bench-memmove-ifunc.c: New file.
6095 * benchtests/bench-memmove.c: New file.
6096 * benchtests/bench-mempcpy-ifunc.c: New file.
6097 * benchtests/bench-mempcpy.c: New file.
6098 * benchtests/bench-memset-ifunc.c: New file.
6099 * benchtests/bench-memset.c: New file.
6100 * benchtests/bench-rawmemchr-ifunc.c: New file.
6101 * benchtests/bench-rawmemchr.c: New file.
6102 * benchtests/bench-stpcpy-ifunc.c: New file.
6103 * benchtests/bench-stpcpy.c: New file.
6104 * benchtests/bench-stpncpy-ifunc.c: New file.
6105 * benchtests/bench-stpncpy.c: New file.
6106 * benchtests/bench-strcasecmp-ifunc.c: New file.
6107 * benchtests/bench-strcasecmp.c: New file.
6108 * benchtests/bench-strcasestr-ifunc.c: New file.
6109 * benchtests/bench-strcasestr.c: New file.
6110 * benchtests/bench-strcat-ifunc.c: New file.
6111 * benchtests/bench-strcat.c: New file.
6112 * benchtests/bench-strchr-ifunc.c: New file.
6113 * benchtests/bench-strchr.c: New file.
6114 * benchtests/bench-strchrnul-ifunc.c: New file.
6115 * benchtests/bench-strchrnul.c: New file.
6116 * benchtests/bench-strcmp-ifunc.c: New file.
6117 * benchtests/bench-strcmp.c: New file.
6118 * benchtests/bench-strcpy-ifunc.c: New file.
6119 * benchtests/bench-strcpy.c: New file.
6120 * benchtests/bench-strcspn-ifunc.c: New file.
6121 * benchtests/bench-strcspn.c: New file.
6122 * benchtests/bench-strlen-ifunc.c: New file.
6123 * benchtests/bench-strlen.c: New file.
6124 * benchtests/bench-strncasecmp-ifunc.c: New file.
6125 * benchtests/bench-strncasecmp.c: New file.
6126 * benchtests/bench-strncat-ifunc.c: New file.
6127 * benchtests/bench-strncat.c: New file.
6128 * benchtests/bench-strncmp-ifunc.c: New file.
6129 * benchtests/bench-strncmp.c: New file.
6130 * benchtests/bench-strncpy-ifunc.c: New file.
6131 * benchtests/bench-strncpy.c: New file.
6132 * benchtests/bench-strnlen-ifunc.c: New file.
6133 * benchtests/bench-strnlen.c: New file.
6134 * benchtests/bench-strpbrk-ifunc.c: New file.
6135 * benchtests/bench-strpbrk.c: New file.
6136 * benchtests/bench-strrchr-ifunc.c: New file.
6137 * benchtests/bench-strrchr.c: New file.
6138 * benchtests/bench-strspn-ifunc.c: New file.
6139 * benchtests/bench-strspn.c: New file.
6140 * benchtests/bench-strstr-ifunc.c: New file.
6141 * benchtests/bench-strstr.c: New file.
6143 * benchtests/Makefile: Disable parallel execution of targets.
6144 (string-bench): Add memcpy.
6145 (benchset): New variable to store a list of benchmark sets.
6146 (bench-func): Renamed from bench.
6147 (bench-set): New target.
6148 (bench): Depend on bench-func and bench-set.
6149 * benchtests/README: Add section on benchmark sets.
6150 * benchtests/bench-memcpy-ifunc.c: New file.
6151 * benchtests/bench-memcpy.c: New file.
6152 * benchtests/bench-string.h: New file.
6154 2013-06-11 Andreas Schwab <schwab@suse.de>
6157 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
6158 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
6159 values in the triple.
6160 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
6161 terminator in the group key.
6163 2013-06-11 Andreas Jaeger <aj@suse.de>
6165 * po/zh_TW.po: Update Chinese (traditional) translation from
6166 translation project.
6168 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6170 * include/time.h (__clock_gettime): Add libc_hidden_proto.
6171 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
6172 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
6173 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6174 (clock_getcpuclockid): Likewise.
6175 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
6176 Add weak_alias and libc_hidden_def.
6177 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
6178 * rt/clock_gettime.c (clock_gettime): Rename to
6179 __clock_gettime. Add weak_alias and libc_hidden_def.
6180 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
6181 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
6182 __clock_nanosleep. Add weak_alias and libc_hidden_def.
6183 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
6184 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
6186 * rt/clock_settime.c (clock_settime): Rename to
6187 __clock_settime. Add weak_alias and libc_hidden_def.
6188 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
6190 2013-06-10 Joseph Myers <joseph@codesourcery.com>
6192 * mach/err_boot.sub: Remove trailing whitespace.
6193 * mach/err_ipc.sub: Likewise.
6194 * mach/err_mach.sub: Likewise.
6196 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
6197 (ROUNDING_TESTS_double): Likewise.
6198 (ROUNDING_TESTS_long_double): Likewise.
6199 (ROUNDING_TESTS): Likewise.
6200 * math/libm-test.inc: Include <math-tests.h>.
6201 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
6202 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6203 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6204 (IF_ROUND_INIT_FE_UPWARD): Likewise.
6206 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6208 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
6211 2013-06-08 Joseph Myers <joseph@codesourcery.com>
6213 * sysdeps/gnu/errlist.awk: Do not generate space at end of
6214 otherwise empty TRANS lines.
6215 * sysdeps/gnu/errlist.c: Regenerated.
6217 * catgets/gencat.c (error_print): Use (void) in function
6219 * crypt/crypt_util.c (__init_des): Likewise.
6220 * crypt/speeds.c (Stop): Likewise.
6222 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
6223 * inet/ruserpass.c (token): Likewise.
6224 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
6225 * intl/localealias.c (extend_alias_table): Likewise.
6226 * intl/plural-exp.c (init_germanic_plural): Likewise.
6227 * libio/fcloseall.c (__fcloseall): Likewise.
6228 * libio/genops.c (_IO_flush_all): Likewise.
6229 (_IO_flush_all_linebuffered): Likewise.
6230 (_IO_cleanup): Likewise.
6231 (_IO_iter_begin): Likewise.
6232 (_IO_iter_end): Likewise.
6233 (_IO_list_lock): Likewise.
6234 (_IO_list_unlock): Likewise.
6235 (_IO_list_resetlock): Likewise.
6236 * libio/getchar.c (getchar): Likewise.
6237 * libio/getchar_u.c (getchar_unlocked): Likewise.
6238 * libio/getwchar.c (getwchar): Likewise.
6239 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
6240 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
6241 * login/getpt.c (__getpt): Likewise.
6242 * login/tst-utmp.c (main): Likewise.
6243 * malloc/hooks.c (__malloc_check_init): Likewise.
6244 * malloc/malloc.c (__malloc_stats): Likewise.
6245 * malloc/mtrace.c (tr_break): Likewise.
6247 (muntrace): Likewise.
6248 * misc/fstab.c (endfsent): Likewise.
6249 * misc/getclktck.c (__getclktck): Likewise.
6250 * misc/getdtsz.c (__getdtablesize): Likewise.
6251 * misc/gethostid.c (gethostid): Likewise.
6252 * misc/getpagesize.c (__getpagesize): Likewise.
6253 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
6254 (__get_nprocs): Likewise.
6255 (__get_phys_pages): Likewise.
6256 (__get_avphys_pages): Likewise.
6257 * misc/getttyent.c (getttyent): Likewise.
6258 (setttyent): Likewise.
6259 (endttyent): Likewise.
6260 * misc/getusershell.c (getusershell): Likewise.
6261 (endusershell): Likewise.
6262 (setusershell): Likewise.
6263 (initshells): Likewise.
6264 * misc/hsearch.c (__hdestroy): Likewise.
6265 * misc/sync.c (sync): Likewise.
6266 * misc/syslog.c (closelog_internal): Likewise.
6267 (closelog): Likewise.
6268 * misc/ttyslot.c (ttyslot): Likewise.
6269 * misc/vhangup.c (vhangup): Likewise.
6270 * posix/fork.c (__fork): Likewise.
6271 * posix/getegid.c (__getegid): Likewise.
6272 * posix/geteuid.c (__geteuid): Likewise.
6273 * posix/getgid.c (__getgid): Likewise.
6274 * posix/getpid.c (__getpid): Likewise.
6275 * posix/getppid.c (__getppid): Likewise.
6276 * posix/getuid.c (__getuid): Likewise.
6277 * posix/pause.c (pause): Likewise.
6278 * posix/setpgrp.c (setpgrp): Likewise.
6279 * posix/setsid.c (__setsid): Likewise.
6280 * posix/test-vfork.c (noop): Likewise.
6281 * resolv/gethnamaddr.c (_endhtent): Likewise.
6282 (_gethtent): Likewise.
6283 (ht_endhostent): Likewise.
6284 (gethostent): Likewise.
6285 (dns_service): Likewise.
6286 * stdlib/drand48.c (drand48): Likewise.
6287 * stdlib/lrand48.c (lrand48): Likewise.
6288 * stdlib/mrand48.c (mrand48): Likewise.
6289 * stdlib/rand.c (rand): Likewise.
6290 * stdlib/random.c (__random): Likewise.
6291 * stdlib/setenv.c (clearenv): Likewise.
6292 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
6293 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
6294 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
6295 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
6296 (__get_nprocs): Likewise.
6297 (__get_phys_pages): Likewise.
6298 (__get_avphys_pages): Likewise.
6299 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
6300 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
6301 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
6302 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
6303 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
6304 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
6305 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
6306 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
6307 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
6308 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
6309 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
6310 * sysdeps/mach/hurd/sync.c (sync): Likewise.
6311 * sysdeps/posix/clock.c (clock): Likewise.
6312 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
6313 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
6314 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
6315 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
6316 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
6317 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
6318 (__get_nprocs_conf): Likewise.
6319 (__get_phys_pages): Likewise.
6320 (__get_avphys_pages): Likewise.
6321 * time/clock.c (clock): Likewise.
6322 * time/tzset.c (__tzname_max): Likewise.
6324 2013-06-07 Joseph Myers <joseph@codesourcery.com>
6326 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
6327 (__bswap_32): Do not use "register".
6328 * crypt/crypt.c (_ufc_doit_r): Likewise.
6329 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
6330 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
6331 * gmon/gmon.c (__monstartup): Likewise.
6332 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
6333 * hurd/hurdmalloc.c (more_memory): Likewise.
6336 (realloc): Likewise.
6337 (malloc_fork_prepare): Likewise.
6338 (malloc_fork_parent): Likewise.
6339 (malloc_fork_child): Likewise.
6340 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
6341 (_svcauth_des): Likewise.
6342 * inet/inet_lnaof.c (inet_lnaof): Likewise.
6343 * inet/inet_net.c (inet_network): Likewise.
6344 * inet/inet_netof.c (inet_netof): Likewise.
6345 * inet/rcmd.c (__validuser2_sa): Likewise.
6346 * io/fts.c (fts_open): Likewise.
6347 (fts_load): Likewise.
6348 (fts_close): Likewise.
6349 (fts_read): Likewise.
6350 (fts_children): Likewise.
6351 (fts_build): Likewise.
6352 (fts_stat): Likewise.
6353 (fts_sort): Likewise.
6354 (fts_alloc): Likewise.
6355 (fts_lfree): Likewise.
6356 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
6357 (_IO_file_xsgetn): Likewise.
6358 (_IO_file_xsgetn_mmap): Likewise.
6359 * libio/iofopncook.c (_IO_cookie_read): Likewise.
6360 (_IO_cookie_write): Likewise.
6361 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
6362 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
6363 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
6364 * malloc/obstack.c (_obstack_begin): Likewise.
6365 (_obstack_begin_1): Likewise.
6366 (_obstack_newchunk): Likewise.
6367 (_obstack_allocated_p): Likewise.
6368 (obstack_free): Likewise.
6369 (_obstack_memory_used): Likewise.
6370 * misc/getttyent.c (getttynam): Likewise.
6371 (getttyent): Likewise.
6374 * misc/getusershell.c (initshells): Likewise.
6375 * misc/syslog.c (__vsyslog_chk): Likewise.
6376 * misc/ttyslot.c (ttyslot): Likewise.
6377 * nis/nis_hash.c (__nis_hash): Likewise.
6378 * posix/fnmatch_loop.c (FCT): Likewise.
6379 * posix/getconf.c (print_all): Likewise.
6381 * posix/getopt.c (exchange): Likewise.
6382 * posix/glob.c (globfree): Likewise.
6383 (prefix_array): Likewise.
6384 (__glob_pattern_type): Likewise.
6385 * resolv/arpa/nameser.h (NS_GET16): Likewise.
6386 (NS_GET32): Likewise.
6387 (NS_PUT16): Likewise.
6388 (NS_PUT32): Likewise.
6389 * resolv/gethnamaddr.c (getanswer): Likewise.
6390 (gethostbyname2): Likewise.
6391 (gethostbyaddr): Likewise.
6392 (_gethtent): Likewise.
6393 (_gethtbyname2): Likewise.
6394 (_gethtbyaddr): Likewise.
6395 * resolv/ns_print.c (dst_s_get_int16): Likewise.
6396 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
6397 * resolv/res_init.c (__res_vinit): Likewise.
6398 (net_mask): Likewise.
6399 * resolv/res_mkquery.c (outchar): Likewise.
6401 * stdio-common/printf_fp.c (outchar): Likewise.
6403 * stdio-common/printf_fphex.c (outchar): Likewise.
6405 * stdio-common/printf_size.c (outchar): Likewise.
6407 * stdio-common/test_rdwr.c (main): Likewise.
6408 * stdio-common/tfformat.c (matches): Likewise.
6409 * stdio-common/vfprintf.c (outchar): Likewise.
6410 (printf_unknown): Likewise.
6411 (buffered_vfprintf): Likewise.
6412 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
6413 * stdio-common/xbug.c (AppendToBuffer): Likewise.
6414 (ReadFile): Likewise.
6415 * stdlib/qsort.c (SWAP): Likewise.
6416 (_quicksort): Likewise.
6417 * stdlib/setenv.c (__add_to_environ): Likewise.
6418 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6419 * stdlib/strtol_l.c (__strtol_l): Likewise.
6420 * stdlib/tst-strtod.c (main): Likewise.
6421 * stdlib/tst-strtol.c (main): Likewise.
6422 * stdlib/tst-strtoll.c (main): Likewise.
6423 * string/bits/string2.h (__strcmp_cc): Likewise.
6424 (__strcmp_cg): Likewise.
6425 (__strcspn_c1): Likewise.
6426 (__strcspn_c2): Likewise.
6427 (__strcspn_c3): Likewise.
6428 (__strspn_c1): Likewise.
6429 (__strspn_c2): Likewise.
6430 (__strspn_c3): Likewise.
6431 (__strsep_1c): Likewise.
6432 (__strsep_2c): Likewise.
6433 (__strsep_3c): Likewise.
6434 * string/memccpy.c (__memccpy): Likewise.
6435 * string/stpcpy.c (__stpcpy): Likewise.
6436 * string/strcmp.c (strcmp): Likewise.
6437 * string/strrchr.c (strrchr): Likewise.
6438 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
6440 * sysdeps/mach/hurd/getcwd.c
6441 (_hurd_canonicalize_directory_name_internal): Likewise.
6442 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
6443 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
6444 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
6445 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
6446 Likewise, in both definitions.
6447 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
6449 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
6450 64] (__bswap_64): Likewise.
6451 * time/test_time.c (main): Likewise.
6452 * time/tzfile.c (__tzfile_read): Likewise.
6453 (__tzfile_compute): Likewise.
6454 * time/tzset.c (__tzset_parse_tz): Likewise.
6455 (tzset_internal): Likewise.
6456 (compute_change): Likewise.
6457 * wcsmbs/wcscat.c (__wcscat): Likewise.
6458 * wcsmbs/wcschr.c (wcschr): Likewise.
6459 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
6460 * wcsmbs/wcscspn.c (wcscspn): Likewise.
6461 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
6462 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
6463 * wcsmbs/wcsspn.c (wcsspn): Likewise.
6464 * wcsmbs/wcsstr.c (wcsstr): Likewise.
6465 * wcsmbs/wmemchr.c (wmemchr): Likewise.
6466 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6467 * wcsmbs/wmemset.c (wmemset): Likewise.
6469 2013-06-06 Joseph Myers <joseph@codesourcery.com>
6471 * scripts/config.guess: Update to version 2013-05-16.
6472 * scripts/config.sub: Update to version 2013-04-24.
6473 * scripts/install-sh: Update to version 2011-11-20.07.
6474 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
6475 * scripts/move-if-change: Update to version 2012-01-06 07:23.
6477 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
6479 * debug/fgetws_u_chk.c: Fix leading whitespaces.
6480 * elf/sln.c: Likewise.
6481 * hurd/hurd/ioctl.h: Likewise.
6482 * hurd/hurdmalloc.c: Likewise.
6483 * hurd/xattr.c: Likewise.
6484 * include/shlib-compat.h: Likewise.
6485 * inet/ruserpass.c: Likewise.
6486 * libio/iofgets_u.c: Likewise.
6487 * libio/iofgetws_u.c: Likewise.
6488 * locale/programs/ld-identification.c: Likewise.
6489 * locale/programs/ld-time.c: Likewise.
6490 * mach/msg-destroy.c: Likewise.
6491 * nss/nss_files/files-netgrp.c: Likewise.
6492 * resolv/res_data.c: Likewise.
6493 * soft-fp/op-1.h: Likewise.
6494 * soft-fp/op-2.h: Likewise.
6495 * soft-fp/op-4.h: Likewise.
6496 * soft-fp/op-common.h: Likewise.
6497 * stdio-common/printf_fphex.c: Likewise.
6498 * stdlib/strtod_l.c: Likewise.
6499 * sunrpc/rpc/clnt.h: Likewise.
6500 * sysdeps/generic/framestate.c: Likewise.
6501 * sysdeps/i386/bsd-_setjmp.S: Likewise.
6502 * sysdeps/i386/bsd-setjmp.S: Likewise.
6503 * sysdeps/i386/__longjmp.S: Likewise.
6504 * sysdeps/i386/setjmp.S: Likewise.
6505 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6506 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6507 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6508 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6509 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6510 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6511 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6512 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6513 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6514 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
6515 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6516 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6517 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6518 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6519 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6520 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6521 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6522 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
6523 * sysdeps/ieee754/support.c: Likewise.
6524 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6525 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
6526 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
6527 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
6528 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
6529 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
6530 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
6531 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
6532 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
6533 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
6534 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
6535 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
6536 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
6537 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
6538 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
6539 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
6540 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6543 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
6545 * posix/transbug.c: Remove executable mode.
6547 2013-06-05 Joseph Myers <joseph@codesourcery.com>
6549 * crypt/speeds.c: Remove trailing whitespace.
6550 * dlfcn/default.c: Likewise.
6551 * elf/ifuncdep2.c: Likewise.
6552 * elf/ifuncmain1.c: Likewise.
6553 * elf/ifuncmain1vis.c: Likewise.
6554 * elf/testobj.h: Likewise.
6555 * elf/tst-stackguard1.c: Likewise.
6556 * gmon/sys/gmon.h: Likewise.
6557 * hurd/hurdmsg.c: Likewise.
6558 * hurd/new-fd.c: Likewise.
6559 * hurd/ports-get.c: Likewise.
6560 * iconvdata/ibm1008_420.c: Likewise.
6561 * inet/tst-getni1.c: Likewise.
6562 * inet/tst-getni2.c: Likewise.
6563 * libio/ioungetc.c: Likewise.
6564 * libio/wfiledoalloc.c: Likewise.
6565 * manual/libm-err-tab.pl: Likewise.
6566 * math/w_dremf.c: Likewise.
6567 * misc/ftruncate.c: Likewise.
6568 * posix/bug-glob2.c: Likewise.
6569 * posix/tst-pcre.c: Likewise.
6570 * posix/wait4.c: Likewise.
6571 * resolv/README: Likewise.
6572 * resolv/res_debug.h: Likewise.
6573 * resolv/tst-inet_ntop.c: Likewise.
6574 * setjmp/bug269-setjmp.c: Likewise.
6575 * soft-fp/extended.h: Likewise.
6576 * soft-fp/op-1.h: Likewise.
6577 * soft-fp/op-2.h: Likewise.
6578 * soft-fp/op-4.h: Likewise.
6579 * soft-fp/op-8.h: Likewise.
6580 * soft-fp/testit.c: Likewise.
6581 * stdio-common/bug16.c: Likewise.
6582 * stdlib/random.c: Likewise.
6583 * sunrpc/rpcsvc/rquota.x: Likewise.
6584 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
6585 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6586 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6587 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6588 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6589 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6590 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6591 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6592 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6593 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6594 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6595 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6596 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6597 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6598 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6599 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6600 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6601 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6602 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6603 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6604 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6605 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6606 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
6607 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6608 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6609 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6610 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6611 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6612 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6613 * sysdeps/ieee754/s_lib_version.c: Likewise.
6614 * sysdeps/mach/hurd/check_fds.c: Likewise.
6615 * sysdeps/mach/hurd/getsockname.c: Likewise.
6616 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
6617 * sysdeps/mach/hurd/recvfrom.c: Likewise.
6618 * sysdeps/powerpc/bits/link.h: Likewise.
6619 * sysdeps/powerpc/dl-procinfo.c: Likewise.
6620 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
6621 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
6622 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
6623 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
6624 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6625 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
6626 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
6627 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
6628 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
6629 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
6630 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
6631 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
6632 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
6633 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
6634 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
6635 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
6636 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
6637 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
6638 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6639 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6640 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
6641 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6642 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
6643 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
6644 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
6645 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
6646 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6647 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6648 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
6649 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
6650 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
6651 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6652 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6653 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
6654 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
6655 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
6656 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
6657 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
6658 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
6659 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
6660 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
6661 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
6662 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
6663 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
6664 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
6665 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
6666 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
6667 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
6668 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
6669 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6670 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6671 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6672 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6673 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
6674 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
6675 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
6676 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6677 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
6678 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
6679 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
6680 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
6681 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
6682 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6683 * sysdeps/powerpc/sysdep.h: Likewise.
6684 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6685 * sysdeps/s390/s390-64/sub_n.S: Likewise.
6686 * sysdeps/sh/dl-trampoline.S: Likewise.
6687 * sysdeps/sh/memset.S: Likewise.
6688 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
6689 * sysdeps/sh/strlen.S: Likewise.
6690 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
6691 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
6692 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
6693 * sysdeps/sparc/sparc32/rem.S: Likewise.
6694 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
6695 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
6696 * sysdeps/sparc/sparc32/strchr.S: Likewise.
6697 * sysdeps/sparc/sparc32/udiv.S: Likewise.
6698 * sysdeps/sparc/sparc32/urem.S: Likewise.
6699 * sysdeps/sparc/sparc64/add_n.S: Likewise.
6700 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6701 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
6702 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
6703 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
6704 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
6705 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
6706 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
6707 * sysdeps/unix/bsd/times.c: Likewise.
6708 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
6709 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
6710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
6711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
6712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
6713 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
6714 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
6715 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
6716 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
6717 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
6718 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
6719 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6720 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
6721 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
6722 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6723 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
6724 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6725 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
6726 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
6727 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
6728 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
6729 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
6730 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
6731 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
6732 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
6733 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
6734 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
6735 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6736 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
6737 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
6738 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
6739 * sysdeps/x86_64/strcspn.S: Likewise.
6741 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6743 * locale/C-translit.h: Revert #include <stdint.h> because this is a
6744 generated file. Regenerate properly from gen-translit.pl.
6745 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
6746 locale/C-translit.h.
6748 2013-06-05 Andreas Schwab <schwab@suse.de>
6751 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
6752 week as 6 instead of -1.
6753 * time/tst-strptime.c (day_tests): Add test case.
6755 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6757 * sysdeps/generic/math_private.h
6758 (libc_feholdexcept_setround_53bit): Replace with
6759 libc_feholdsetround_53bit.
6760 (libc_feupdateenv_53bit): Replace with
6761 libc_feresetround_53bit.
6762 (SET_RESTORE_ROUND_53BIT): Adjust.
6764 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6766 * string/test-strchrnul.c: Add copyright header.
6768 * posix/tst-getaddrinfo4.c: Increase test timeout.
6770 2013-06-03 Carlos O'Donell <carlos@redhat.com>
6773 * math/libm-test.inc (MAX_EXP): Remove
6775 (ulp): Use MIN_EXP - MANT_DIG.
6776 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
6778 2013-05-31 Carlos O'Donell <carlos@redhat.com>
6780 * po/be.po: Revert last change.
6781 * po/zh_CN.po: Likewise.
6782 * po/header.pot: Likewise.
6784 2013-05-31 Joseph Myers <joseph@codesourcery.com>
6786 * Makefile ($(common-objpfx)linkobj/libc.so): Define
6787 link-libc-deps to empty as target-specific variable.
6788 * Makerules (link-libc-args): New variable.
6789 (libc-for-link): Likewise.
6790 (link-libc-deps): Likewise.
6791 (lib%.so): Depend on $(link-libc-deps). Link with
6793 (build-module): Link with $(link-libc-args).
6794 (build-module-asneeded): Likewise.
6795 (build-module-helper-objlist): Filter out $(link-libc-deps) from
6797 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
6798 target-specific variable.
6799 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
6800 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
6801 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
6803 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
6805 ($(objpfx)libpcprofile.so): Likewise.
6806 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
6808 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
6809 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
6810 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
6812 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
6813 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
6814 * login/Makefile ($(objpfx)libutil.so): Likewise.
6815 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
6816 * math/Makefile ($(objpfx)libm.so): Likewise.
6817 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
6818 $(objpfx)libnsl.so): Define libc-for-link as target-specific
6819 variable instead of depending directly on libc.
6820 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
6821 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
6823 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
6825 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
6826 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
6827 ($(objpfx)libanl.so): Likewise.
6828 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
6830 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
6832 * sysdeps/i386/fpu/Makefile: Remove file.
6833 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
6834 ($(objpfx)libm.so): Remove dependency on ld.so.
6836 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
6839 * nis/yp_xdr.c (XDRMAXNAME): Define.
6840 (XDRMAXRECORD): Define.
6841 (xdr_domainname): Use XDRMAXNAME.
6842 (xdr_mapname): Likewise.
6843 (xdr_peername): Likewise.
6844 (xdr_keydat): Use XDRMAXRECORD.
6845 (xdr_valdat): Likewise.
6847 2013-05-30 Jeff Law <law@redhat.com>
6850 * manual/errno.texi (ESTALE): Update to account for more than
6851 just NFS file systems.
6852 * sysdeps/gnu/errlist.c: Regenerated.
6854 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6857 * elf/Makefile (tests): Add tst-null-argv.
6858 (modules-names): Add tst-null-argv-lib.
6859 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
6860 (tst-null-argv-ENV): Set environment for tst-null-argv.
6861 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
6862 (RTLD_PROGNAME): New macro.
6863 * elf/tst-null-argv.c: New test case.
6864 * elf/tst-null-argv-lib.c: Library for test case.
6865 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
6866 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
6867 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
6868 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
6869 * elf/dl-init.c (call_init): Likewise.
6870 (_dl_init): Likewise.
6871 * elf/dl-load.c (print_search_path): Likewise.
6872 (_dl_map_object): Likewise.
6873 * elf/dl-lookup.c (do_lookup_x): Likewise.
6874 (add_dependency): Likewise.
6875 (_dl_lookup_symbol_x): Likewise.
6876 (_dl_debug_bindings): Likewise.
6877 * elf/dl-open.c (_dl_show_scope): Likewise.
6878 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
6879 * elf/dl-version.c (match_symbol): Likewise.
6880 (_dl_check_map_versions): Likewise.
6881 * elf/rtld.c (dl_main): Likewise.
6882 (print_unresolved): Use RTLD_PROGNAME.
6883 (print_missing_version): Likewise.
6884 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
6885 (elf_machine_rela): Likewise.
6886 * sysdeps/powerpc/powerpc32/dl-machine.c
6887 (__process_machine_rela): Likewise.
6888 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6890 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6892 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
6894 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6895 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
6897 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
6899 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6901 2013-05-28 Carlos O'Donell <carlos@redhat.com>
6903 * po/be.po: Add descriptive title.
6904 * po/zh_CN.po: Likewise.
6905 * po/header.pot: Likewise.
6907 2013-05-28 Mike Frysinger <vapier@gentoo.org>
6909 * locale/programs/locarchive.c (create_archive): Inlucde fname in
6911 (enlarge_archive): Likewise.
6913 2013-05-28 Ben North <ben@redfrontdoor.org>
6915 * manual/arith.texi (frexp): It is the magnitude of the return
6916 value which lies in [0.5, 1), not the return value itself.
6918 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6920 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6922 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
6924 * stdio-common/bug26.c (main): Correct fscanf template.
6926 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
6927 declare _dl_skip_args.
6929 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
6932 * manual/platform.texi: Add missing @end deftypefun.
6934 2013-05-24 Joseph Myers <joseph@codesourcery.com>
6937 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
6938 bit of mantissa of 2^16382.
6939 * math/libm-test.inc (hypot_test_data): Add more tests.
6941 * math/libm-test.inc: Add drem and pow10 to list of tested
6943 (pow10_test): New function.
6944 (drem_test): Likewise.
6945 (drem_test_tonearest): Likewise.
6946 (drem_test_towardzero): Likewise.
6947 (drem_test_downward): Likewise.
6948 (drem_test_upward): Likewise.
6949 (main): Call the new functions.
6951 * math/libm-test.inc (finite_test_data): Remove.
6952 (finite_test): Run tests from isfinite_test_data.
6953 (gamma_test_data): Remove.
6954 (gamma_test): Run tests from lgamma_test_data.
6955 * sysdeps/i386/fpu/libm-test-ulps: Update.
6956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6958 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6960 * manual/platform.texi: Add PowerPC PPR function set documentation.
6961 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
6964 2013-05-24 Carlos O'Donell <carlos@redhat.com>
6966 * math/libm-test.inc (MAX_EXP): Define.
6968 (ulp): New function.
6969 (check_float_internal): Use ULPDIFF.
6970 (cpow_test): Disable failing test.
6971 (check_ulp): Test ulp() implemetnation.
6972 (main): Call check_ulp before starting tests.
6974 2013-05-24 Joseph Myers <joseph@codesourcery.com>
6976 * math/gen-libm-test.pl (generate_testfile): Do not handle
6977 START_DATA and END_DATA.
6978 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
6980 (acos_tonearest_test_data): Likewise.
6981 (acos_towardzero_test_data): Likewise.
6982 (acos_downward_test_data): Likewise.
6983 (acos_upward_test_data): Likewise.
6984 (acosh_test_data): Likewise.
6985 (asin_test_data): Likewise.
6986 (asin_tonearest_test_data): Likewise.
6987 (asin_towardzero_test_data): Likewise.
6988 (asin_downward_test_data): Likewise.
6989 (asin_upward_test_data): Likewise.
6990 (asinh_test_data): Likewise.
6991 (atan_test_data): Likewise.
6992 (atanh_test_data): Likewise.
6993 (atan2_test_data): Likewise.
6994 (cabs_test_data): Likewise.
6995 (cacos_test_data): Likewise.
6996 (cacosh_test_data): Likewise.
6997 (carg_test_data): Likewise.
6998 (casin_test_data): Likewise.
6999 (casinh_test_data): Likewise.
7000 (catan_test_data): Likewise.
7001 (catanh_test_data): Likewise.
7002 (cbrt_test_data): Likewise.
7003 (ccos_test_data): Likewise.
7004 (ccosh_test_data): Likewise.
7005 (ceil_test_data): Likewise.
7006 (cexp_test_data): Likewise.
7007 (cimag_test_data): Likewise.
7008 (clog_test_data): Likewise.
7009 (clog10_test_data): Likewise.
7010 (conj_test_data): Likewise.
7011 (copysign_test_data): Likewise.
7012 (cos_test_data): Likewise.
7013 (cos_tonearest_test_data): Likewise.
7014 (cos_towardzero_test_data): Likewise.
7015 (cos_downward_test_data): Likewise.
7016 (cos_upward_test_data): Likewise.
7017 (cosh_test_data): Likewise.
7018 (cosh_tonearest_test_data): Likewise.
7019 (cosh_towardzero_test_data): Likewise.
7020 (cosh_downward_test_data): Likewise.
7021 (cosh_upward_test_data): Likewise.
7022 (cpow_test_data): Likewise.
7023 (cproj_test_data): Likewise.
7024 (creal_test_data): Likewise.
7025 (csin_test_data): Likewise.
7026 (csinh_test_data): Likewise.
7027 (csqrt_test_data): Likewise.
7028 (ctan_test_data): Likewise.
7029 (ctan_tonearest_test_data): Likewise.
7030 (ctan_towardzero_test_data): Likewise.
7031 (ctan_downward_test_data): Likewise.
7032 (ctan_upward_test_data): Likewise.
7033 (ctanh_test_data): Likewise.
7034 (ctanh_tonearest_test_data): Likewise.
7035 (ctanh_towardzero_test_data): Likewise.
7036 (ctanh_downward_test_data): Likewise.
7037 (ctanh_upward_test_data): Likewise.
7038 (erf_test_data): Likewise.
7039 (erfc_test_data): Likewise.
7040 (exp_test_data): Likewise.
7041 (exp_tonearest_test_data): Likewise.
7042 (exp_towardzero_test_data): Likewise.
7043 (exp_downward_test_data): Likewise.
7044 (exp_upward_test_data): Likewise.
7045 (exp10_test_data): Likewise.
7046 (exp2_test_data): Likewise.
7047 (expm1_test_data): Likewise.
7048 (fabs_test_data): Likewise.
7049 (fdim_test_data): Likewise.
7050 (finite_test_data): Likewise.
7051 (floor_test_data): Likewise.
7052 (fma_test_data): Likewise.
7053 (fma_towardzero_test_data): Likewise.
7054 (fma_downward_test_data): Likewise.
7055 (fma_upward_test_data): Likewise.
7056 (fmax_test_data): Likewise.
7057 (fmin_test_data): Likewise.
7058 (fmod_test_data): Likewise.
7059 (fpclassify_test_data): Likewise.
7060 (frexp_test_data): Likewise.
7061 (gamma_test_data): Likewise.
7062 (hypot_test_data): Likewise.
7063 (ilogb_test_data): Likewise.
7064 (isfinite_test_data): Likewise.
7065 (isgreater_test_data): Likewise.
7066 (isgreaterequal_test_data): Likewise.
7067 (isinf_test_data): Likewise.
7068 (isless_test_data): Likewise.
7069 (islessequal_test_data): Likewise.
7070 (islessgreater_test_data): Likewise.
7071 (isnan_test_data): Likewise.
7072 (isnormal_test_data): Likewise.
7073 (issignaling_test_data): Likewise.
7074 (isunordered_test_data): Likewise.
7075 (j0_test_data): Likewise.
7076 (j1_test_data): Likewise.
7077 (jn_test_data): Likewise.
7078 (ldexp_test_data): Likewise.
7079 (lgamma_test_data): Likewise.
7080 (lrint_test_data): Likewise.
7081 (lrint_tonearest_test_data): Likewise.
7082 (lrint_towardzero_test_data): Likewise.
7083 (lrint_downward_test_data): Likewise.
7084 (lrint_upward_test_data): Likewise.
7085 (llrint_test_data): Likewise.
7086 (llrint_tonearest_test_data): Likewise.
7087 (llrint_towardzero_test_data): Likewise.
7088 (llrint_downward_test_data): Likewise.
7089 (llrint_upward_test_data): Likewise.
7090 (log_test_data): Likewise.
7091 (log10_test_data): Likewise.
7092 (log1p_test_data): Likewise.
7093 (log2_test_data): Likewise.
7094 (logb_test_data): Likewise.
7095 (logb_downward_test_data): Likewise.
7096 (lround_test_data): Likewise.
7097 (llround_test_data): Likewise.
7098 (modf_test_data): Likewise.
7099 (nearbyint_test_data): Likewise.
7100 (nextafter_test_data): Likewise.
7101 (nexttoward_test_data): Likewise.
7102 (pow_test_data): Likewise.
7103 (pow_tonearest_test_data): Likewise.
7104 (pow_towardzero_test_data): Likewise.
7105 (pow_downward_test_data): Likewise.
7106 (pow_upward_test_data): Likewise.
7107 (remainder_test_data): Likewise.
7108 (remainder_tonearest_test_data): Likewise.
7109 (remainder_towardzero_test_data): Likewise.
7110 (remainder_downward_test_data): Likewise.
7111 (remainder_upward_test_data): Likewise.
7112 (remquo_test_data): Likewise.
7113 (rint_test_data): Likewise.
7114 (rint_tonearest_test_data): Likewise.
7115 (rint_towardzero_test_data): Likewise.
7116 (rint_downward_test_data): Likewise.
7117 (rint_upward_test_data): Likewise.
7118 (round_test_data): Likewise.
7119 (scalb_test_data): Likewise.
7120 (scalbn_test_data): Likewise.
7121 (scalbln_test_data): Likewise.
7122 (signbit_test_data): Likewise.
7123 (sin_test_data): Likewise.
7124 (sin_tonearest_test_data): Likewise.
7125 (sin_towardzero_test_data): Likewise.
7126 (sin_downward_test_data): Likewise.
7127 (sin_upward_test_data): Likewise.
7128 (sincos_test_data): Likewise.
7129 (sinh_test_data): Likewise.
7130 (sinh_tonearest_test_data): Likewise.
7131 (sinh_towardzero_test_data): Likewise.
7132 (sinh_downward_test_data): Likewise.
7133 (sinh_upward_test_data): Likewise.
7134 (sqrt_test_data): Likewise.
7135 (tan_test_data): Likewise.
7136 (tan_tonearest_test_data): Likewise.
7137 (tan_towardzero_test_data): Likewise.
7138 (tan_downward_test_data): Likewise.
7139 (tan_upward_test_data): Likewise.
7140 (tanh_test_data): Likewise.
7141 (tgamma_test_data): Likewise.
7142 (trunc_test_data): Likewise.
7143 (y0_test_data): Likewise.
7144 (y1_test_data): Likewise.
7145 (yn_test_data): Likewise.
7146 (significand_test_data): Likewise.
7148 * math/gen-libm-test.pl (@functions): Remove variable.
7149 (generate_testfile): Don't handle START and END lines.
7150 * math/libm-test.inc (START): New macro.
7152 (END_COMPLEX): Likewise.
7153 (acos_test): Use END macro without arguments.
7154 (acos_test_tonearest): Likewise.
7155 (acos_test_towardzero): Likewise.
7156 (acos_test_downward): Likewise.
7157 (acos_test_upward): Likewise.
7158 (acosh_test): Likewise.
7159 (asin_test): Likewise.
7160 (asin_test_tonearest): Likewise.
7161 (asin_test_towardzero): Likewise.
7162 (asin_test_downward): Likewise.
7163 (asin_test_upward): Likewise.
7164 (asinh_test): Likewise.
7165 (atan_test): Likewise.
7166 (atanh_test): Likewise.
7167 (atan2_test): Likewise.
7168 (cabs_test): Likewise.
7169 (cacos_test): Use END_COMPLEX macro without arguments.
7170 (cacosh_test): Likewise.
7171 (carg_test): Use END macro without arguments.
7172 (casin_test): Use END_COMPLEX macro without arguments.
7173 (casinh_test): Likewise.
7174 (catan_test): Likewise.
7175 (catanh_test): Likewise.
7176 (cbrt_test): Use END macro without arguments.
7177 (ccos_test): Use END_COMPLEX macro without arguments.
7178 (ccosh_test): Likewise.
7179 (ceil_test): Use END macro without arguments.
7180 (cexp_test): Use END_COMPLEX macro without arguments.
7181 (cimag_test): Use END macro without arguments.
7182 (clog_test): Use END_COMPLEX macro without arguments.
7183 (clog10_test): Likewise.
7184 (conj_test): Likewise.
7185 (copysign_test): Use END macro without arguments.
7186 (cos_test): Likewise.
7187 (cos_test_tonearest): Likewise.
7188 (cos_test_towardzero): Likewise.
7189 (cos_test_downward): Likewise.
7190 (cos_test_upward): Likewise.
7191 (cosh_test): Likewise.
7192 (cosh_test_tonearest): Likewise.
7193 (cosh_test_towardzero): Likewise.
7194 (cosh_test_downward): Likewise.
7195 (cosh_test_upward): Likewise.
7196 (cpow_test): Use END_COMPLEX macro without arguments.
7197 (cproj_test): Likewise.
7198 (creal_test): Use END macro without arguments.
7199 (csin_test): Use END_COMPLEX macro without arguments.
7200 (csinh_test): Likewise.
7201 (csqrt_test): Likewise.
7202 (ctan_test): Likewise.
7203 (ctan_test_tonearest): Likewise.
7204 (ctan_test_towardzero): Likewise.
7205 (ctan_test_downward): Likewise.
7206 (ctan_test_upward): Likewise.
7207 (ctanh_test): Likewise.
7208 (ctanh_test_tonearest): Likewise.
7209 (ctanh_test_towardzero): Likewise.
7210 (ctanh_test_downward): Likewise.
7211 (ctanh_test_upward): Likewise.
7212 (erf_test): Use END macro without arguments.
7213 (erfc_test): Likewise.
7214 (exp_test): Likewise.
7215 (exp_test_tonearest): Likewise.
7216 (exp_test_towardzero): Likewise.
7217 (exp_test_downward): Likewise.
7218 (exp_test_upward): Likewise.
7219 (exp10_test): Likewise.
7220 (exp2_test): Likewise.
7221 (expm1_test): Likewise.
7222 (fabs_test): Likewise.
7223 (fdim_test): Likewise.
7224 (finite_test): Likewise.
7225 (floor_test): Likewise.
7226 (fma_test): Likewise.
7227 (fma_test_towardzero): Likewise.
7228 (fma_test_downward): Likewise.
7229 (fma_test_upward): Likewise.
7230 (fmax_test): Likewise.
7231 (fmin_test): Likewise.
7232 (fmod_test): Likewise.
7233 (fpclassify_test): Likewise.
7234 (frexp_test): Likewise.
7235 (gamma_test): Likewise.
7236 (hypot_test): Likewise.
7237 (ilogb_test): Likewise.
7238 (isfinite_test): Likewise.
7239 (isgreater_test): Likewise.
7240 (isgreaterequal_test): Likewise.
7241 (isinf_test): Likewise.
7242 (isless_test): Likewise.
7243 (islessequal_test): Likewise.
7244 (islessgreater_test): Likewise.
7245 (isnan_test): Likewise.
7246 (isnormal_test): Likewise.
7247 (issignaling_test): Likewise.
7248 (isunordered_test): Likewise.
7249 (j0_test): Likewise.
7250 (j1_test): Likewise.
7251 (jn_test): Likewise.
7252 (ldexp_test): Likewise.
7253 (lgamma_test): Likewise.
7254 (lrint_test): Likewise.
7255 (lrint_test_tonearest): Likewise.
7256 (lrint_test_towardzero): Likewise.
7257 (lrint_test_downward): Likewise.
7258 (lrint_test_upward): Likewise.
7259 (llrint_test): Likewise.
7260 (llrint_test_tonearest): Likewise.
7261 (llrint_test_towardzero): Likewise.
7262 (llrint_test_downward): Likewise.
7263 (llrint_test_upward): Likewise.
7264 (log_test): Likewise.
7265 (log10_test): Likewise.
7266 (log1p_test): Likewise.
7267 (log2_test): Likewise.
7268 (logb_test): Likewise.
7269 (logb_test_downward): Likewise.
7270 (lround_test): Likewise.
7271 (llround_test): Likewise.
7272 (modf_test): Likewise.
7273 (nearbyint_test): Likewise.
7274 (nextafter_test): Likewise.
7275 (nexttoward_test): Likewise.
7276 (pow_test): Likewise.
7277 (pow_test_tonearest): Likewise.
7278 (pow_test_towardzero): Likewise.
7279 (pow_test_downward): Likewise.
7280 (pow_test_upward): Likewise.
7281 (remainder_test): Likewise.
7282 (remainder_test_tonearest): Likewise.
7283 (remainder_test_towardzero): Likewise.
7284 (remainder_test_downward): Likewise.
7285 (remainder_test_upward): Likewise.
7286 (remquo_test): Likewise.
7287 (rint_test): Likewise.
7288 (rint_test_tonearest): Likewise.
7289 (rint_test_towardzero): Likewise.
7290 (rint_test_downward): Likewise.
7291 (rint_test_upward): Likewise.
7292 (round_test): Likewise.
7293 (scalb_test): Likewise.
7294 (scalbn_test): Likewise.
7295 (scalbln_test): Likewise.
7296 (signbit_test): Likewise.
7297 (sin_test): Likewise.
7298 (sin_test_tonearest): Likewise.
7299 (sin_test_towardzero): Likewise.
7300 (sin_test_downward): Likewise.
7301 (sin_test_upward): Likewise.
7302 (sincos_test): Likewise.
7303 (sinh_test): Likewise.
7304 (sinh_test_tonearest): Likewise.
7305 (sinh_test_towardzero): Likewise.
7306 (sinh_test_downward): Likewise.
7307 (sinh_test_upward): Likewise.
7308 (sqrt_test): Likewise.
7309 (tan_test): Likewise.
7310 (tan_test_tonearest): Likewise.
7311 (tan_test_towardzero): Likewise.
7312 (tan_test_downward): Likewise.
7313 (tan_test_upward): Likewise.
7314 (tanh_test): Likewise.
7315 (tgamma_test): Likewise.
7316 (trunc_test): Likewise.
7317 (y0_test): Likewise.
7318 (y1_test): Likewise.
7319 (yn_test): Likewise.
7320 (significand_test): Likewise.
7322 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
7325 * libio/genops.c (_IO_no_init): Initialize wide struct info.
7327 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
7330 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
7331 __ppc_mdoio and __ppc_mdoom.
7332 * manual/platform.texi: Document new functions __ppc_yield,
7333 __ppc_mdoio and __ppc_mdoom.
7335 2013-05-22 Carlos O'Donell <carlos@redhat.com>
7337 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
7338 (main): Mention "tls" pseudo-hwcap is legacy.
7339 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
7341 2013-05-22 Joseph Myers <joseph@codesourcery.com>
7343 * math/gen-libm-test.pl (parse_args): Output only string of
7344 arguments as text for test name, not full call or descriptions of
7345 tests for extra outputs.
7346 (generate_testfile): Do not pass function name to parse_args.
7347 Generate this_func variable from START.
7348 * math/libm-test.inc (struct test_f_f_data): Rename test_name
7350 (struct test_ff_f_data): Likewise.
7351 (test_ff_f_data_nexttoward): Likewise.
7352 (struct test_fi_f_data): Likewise.
7353 (struct test_fl_f_data): Likewise.
7354 (struct test_if_f_data): Likewise.
7355 (struct test_fff_f_data): Likewise.
7356 (struct test_c_f_data): Likewise.
7357 (struct test_f_f1_data): Likewise. Remove field extra_name.
7358 (struct test_fF_f1_data): Likewise.
7359 (struct test_ffI_f1_data): Likewise.
7360 (struct test_c_c_data): Rename test_name field to arg_str.
7361 (struct test_cc_c_data): Likewise.
7362 (struct test_f_i_data): Likewise.
7363 (struct test_ff_i_data): Likewise.
7364 (struct test_f_l_data): Likewise.
7365 (struct test_f_L_data): Likewise.
7366 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
7368 (COMMON_TEST_SETUP): New macro.
7369 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
7370 (COMMON_TEST_CLEANUP): Likewise.
7371 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
7372 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
7374 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
7375 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
7377 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
7378 (RUN_TEST_fff_f): Take argument string. Call new setup and
7380 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
7381 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
7383 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
7384 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
7386 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
7387 (RUN_TEST_fF_f1): Take argument string. Call new setup and
7389 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
7390 (RUN_TEST_fI_f1): Take argument string. Call new setup and
7392 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
7393 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
7395 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
7396 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
7398 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
7399 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
7401 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
7402 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
7404 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
7405 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
7407 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
7408 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
7410 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
7411 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
7413 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
7414 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
7416 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
7417 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
7419 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
7420 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
7422 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
7423 (RUN_TEST_fFF_11): Take argument string. Call new setup and
7425 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
7427 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7429 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
7430 to _sifields.sigfault.
7431 (si_addr_lsb): Define new macro.
7432 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
7433 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7434 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
7436 2013-05-03 Carlos O'Donell <carlos at redhat.com>
7439 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
7441 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
7443 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
7446 2013-05-22 Joseph Myers <joseph@codesourcery.com>
7448 * math/gen-libm-test.pl (parse_args): Do not include expected
7449 result in test name.
7450 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
7451 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7452 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7453 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7454 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7457 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7459 * benchtests/Makefile: Sort function entries.
7461 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
7462 tanh, asinh, acosh, atanh.
7463 * benchtests/acos-inputs: New file.
7464 * benchtests/acosh-inputs: New file.
7465 * benchtests/asin-inputs: New file.
7466 * benchtests/asinh-inputs: New file.
7467 * benchtests/atanh-inputs: New file.
7468 * benchtests/cosh-inputs: New file.
7469 * benchtests/log-inputs: New file.
7470 * benchtests/sinh-inputs: New file.
7471 * benchtests/tanh-inputs: New file.
7473 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
7476 * posix/tst-getaddrinfo4.c: New test.
7477 * posix/Makefile (tests): Add it.
7479 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7482 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
7483 when no services were used.
7484 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
7485 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
7487 2013-05-21 Andreas Schwab <schwab@suse.de>
7490 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
7491 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
7493 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
7494 redundant variable declarations and reallocation of buffer when
7495 parsing as IPv6 address. Always set NSS status when called from
7496 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
7497 buffer too small. Correct computation of needed size.
7498 * nss/Makefile (tests): Add test-digits-dots.
7499 * nss/test-digits-dots.c: New test.
7501 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7503 * benchtests/Makefile: Remove instructions for adding
7505 * benchtests/README: New file to explain how to execute and
7506 enhance the benchmark tests.
7508 2013-05-21 Andreas Schwab <schwab@suse.de>
7511 * setjmp/Makefile (tests): Add tst-sigsetjmp.
7512 * setjmp/tst-sigsetjmp.c: New test.
7514 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
7516 * sysdeps/x86_64/memset.S (memset): New implementation.
7517 (__bzero): Likewise.
7518 (__memset_tail): New function.
7520 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
7522 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
7523 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
7524 __memcpy_sse2_unaligned ifunc selection.
7525 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7526 Add memcpy-sse2-unaligned.S.
7527 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7528 Add: __memcpy_sse2_unaligned.
7530 2013-05-19 Joseph Myers <joseph@codesourcery.com>
7533 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7534 math_force_eval before restoring floating-point envrionment.
7535 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
7536 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
7538 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
7540 (__nearbyintl): Use math_force_eval before restoring
7541 floating-point environment.
7542 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
7544 * math/gen-libm-test.pl (special_functions): Remove.
7545 (parse_args): Don't handle TEST_extra. Handle functions with no
7547 * math/libm-test.inc (struct test_sincos_data): Replace with
7548 struct test_fFF_11_data.
7549 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
7550 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
7551 (sincos_test_data): Change element type to struct
7552 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
7553 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
7554 RUN_TEST_LOOP_sincos.
7555 * math/README.libm-test: Don't mention special handling of
7556 individual functions.
7557 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
7558 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7559 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7560 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7561 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7564 * math/gen-libm-test.pl (get_variable): Remove function.
7565 (parse_args): Don't show pointer parameters to call in test
7566 names. Use "extra output N" in test names for extra outputs
7567 rather than naming variables.
7569 2013-05-18 Joseph Myers <joseph@codesourcery.com>
7572 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
7573 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
7574 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
7576 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
7578 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
7581 * math/gen-libm-test.pl (@tests): Remove variable.
7583 (new_test): Remove function.
7584 (show_exceptions): New function.
7585 (special_functions): Use show_exceptions instead of new_test.
7586 (parse_args): Likewise.
7587 (generate_testfile): Pass only function name in generated call to
7588 print_max_error or print_complex_max_error.
7589 (get_ulps): Do not handle complex tests specially.
7590 (output_test): Rename to ...
7591 (get_all_ulps_for_test): ... this. Return a string rather than
7592 printing to a file. Require ulps to be present.
7593 (output_ulps): Generate arrays rather than #defines.
7594 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
7595 (struct ulp_data): New type.
7596 (BUILD_COMPLEX_ULP): Remove macro.
7597 (compare_ulp_data): New function.
7598 (find_ulps): Likewise.
7599 (find_test_ulps): Likewise.
7600 (find_function_ulps): Likewise.
7601 (find_complex_function_ulps): Likewise.
7602 (print_max_error): Determine allowed ulps using
7604 (print_complex_max_error): Determine allowed ulps using
7605 find_complex_function_ulps.
7606 (check_float_internal): Determine max ulps using find_test_ulps.
7607 (check_float): Do not take max_ulp parameter. Update call to
7608 check_float_internal.
7609 (check_complex): Likewise.
7610 (check_int): Do not take max_ulp parameter.
7611 (check_long): Likewise.
7612 (check_bool): Likewise.
7613 (check_longlong): Likewise.
7614 (struct test_f_f_data): Remove max_ulp field.
7615 (struct test_ff_f_data): Likewise.
7616 (struct test_ff_f_data_nexttoward): Likewise.
7617 (struct test_fi_f_data): Likewise.
7618 (struct test_fl_f_data): Likewise.
7619 (struct test_if_f_data): Likewise.
7620 (struct test_fff_f_data): Likewise.
7621 (struct test_c_f_data): Likewise.
7622 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
7623 (struct test_fF_f1_data): Likewise.
7624 (struct test_ffI_f1_data): Likewise.
7625 (struct test_c_c_data): Remove max_ulp field.
7626 (struct test_cc_c_data): Likewise.
7627 (struct test_f_i_data): Likewise.
7628 (struct test_ff_i_data): Likewise.
7629 (struct test_f_l_data): Likewise.
7630 (struct test_f_L_data): Likewise.
7631 (struct test_sincos_data): Likewise.
7632 (RUN_TEST_f_f): Do not handle ulps.
7633 (RUN_TEST_LOOP_f_f): Likewise.
7634 (RUN_TEST_2_f): Likewise.
7635 (RUN_TEST_LOOP_2_f): Likewise.
7636 (RUN_TEST_fff_f): Likewise.
7637 (RUN_TEST_LOOP_fff_f): Likewise.
7638 (RUN_TEST_c_f): Likewise.
7639 (RUN_TEST_LOOP_c_f): Likewise.
7640 (RUN_TEST_f_f1): Likewise.
7641 (RUN_TEST_LOOP_f_f1): Likewise.
7642 (RUN_TEST_fF_f1): Likewise.
7643 (RUN_TEST_LOOP_fF_f1): Likewise.
7644 (RUN_TEST_fI_f1): Likewise.
7645 (RUN_TEST_LOOP_fI_f1): Likewise.
7646 (RUN_TEST_ffI_f1): Likewise.
7647 (RUN_TEST_LOOP_ffI_f1): Likewise.
7648 (RUN_TEST_c_c): Likewise.
7649 (RUN_TEST_LOOP_c_c): Likewise.
7650 (RUN_TEST_cc_c): Likewise.
7651 (RUN_TEST_LOOP_cc_c): Likewise.
7652 (RUN_TEST_f_i): Likewise.
7653 (RUN_TEST_LOOP_f_i): Likewise.
7654 (RUN_TEST_f_i_tg): Likewise.
7655 (RUN_TEST_LOOP_f_i_tg): Likewise.
7656 (RUN_TEST_ff_i_tg): Likewise.
7657 (RUN_TEST_LOOP_ff_i_tg): Likewise.
7658 (RUN_TEST_f_b): Likewise.
7659 (RUN_TEST_LOOP_f_b): Likewise.
7660 (RUN_TEST_f_b_tg): Likewise.
7661 (RUN_TEST_LOOP_f_b_tg): Likewise.
7662 (RUN_TEST_f_l): Likewise.
7663 (RUN_TEST_LOOP_f_l): Likewise.
7664 (RUN_TEST_f_L): Likewise.
7665 (RUN_TEST_LOOP_f_L): Likewise.
7666 (RUN_TEST_sincos): Likewise.
7667 (RUN_TEST_LOOP_sincos): Likewise.
7669 2013-05-17 Joseph Myers <joseph@codesourcery.com>
7673 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
7674 main case of finite arguments, set rounding mode to FE_TONEAREST
7675 and discard exceptions.
7676 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
7678 (remainder_tonearest_test_data): New variable.
7679 (remainder_test_tonearest): New function.
7680 (remainder_towardzero_test_data): New variable.
7681 (remainder_test_towardzero): New function.
7682 (remainder_downward_test_data): New variable.
7683 (remainder_test_downward): New function.
7684 (remainder_upward_test_data): New variable.
7685 (remainder_test_upward): New function.
7686 (main): Call the new test functions.
7688 * math/libm-test.inc (struct test_f_f1_data): Remove field
7690 (struct test_fF_f1_data): Likewise.
7691 (struct test_ffI_f1_data): Likewise.
7692 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
7693 based on value of EXTRA_EXPECTED.
7694 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
7695 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
7696 EXTRA_VAR based on value of EXTRA_EXPECTED.
7697 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
7698 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
7699 EXTRA_VAR based on value of EXTRA_EXPECTED.
7700 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
7701 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
7702 EXTRA_VAR based on value of EXTRA_EXPECTED.
7703 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
7704 * math/gen-libm-test.pl (parse_args): Don't output initializers
7705 for extra output values.
7707 * math/libm-test.inc (check_int): Expect result to be exactly
7708 equal to expected value and do not handle ulps.
7709 (check_long): Likewise.
7710 (check_longlong): Likewise.
7712 * math/libm-test.inc (ceil_test_data): Test for "inexact"
7714 (cimag_test_data): Likewise.
7715 (conj_test_data): Likewise.
7716 (copysign_test_data): Likewise.
7717 (cproj_test_data): Likewise.
7718 (creal_test_data): Likewise.
7719 (fabs_test_data): Likewise.
7720 (fdim_test_data): Likewise.
7721 (finite_test_data): Likewise.
7722 (floor_test_data): Likewise.
7723 (fmax_test_data): Likewise.
7724 (fmin_test_data): Likewise.
7725 (fmod_test_data): Likewise.
7726 (fpclassify_test_data): Likewise.
7727 (frexp_test_data): Likewise.
7728 (ilogb_test_data): Likewise.
7729 (isfinite_test_data): Likewise.
7730 (isgreater_test_data): Likewise.
7731 (isgreaterequal_test_data): Likewise.
7732 (isinf_test_data): Likewise.
7733 (isless_test_data): Likewise.
7734 (islessequal_test_data): Likewise.
7735 (islessgreater_test_data): Likewise.
7736 (isnan_test_data): Likewise.
7737 (isnormal_test_data): Likewise.
7738 (issignaling_test_data): Likewise.
7739 (isunordered_test_data): Likewise.
7740 (ldexp_test_data): Likewise.
7741 (lrint_test_data): Likewise.
7742 (lrint_test_data) [TEST_FLOAT]: Disable one test.
7743 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
7744 (lrint_tonearest_test_data): Test for "inexact" exceptions.
7745 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
7746 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
7747 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
7749 (lrint_towardzero_test_data): Test for "inexact" exceptions.
7750 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
7751 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
7752 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
7754 (lrint_downward_test_data): Test for "inexact" exceptions.
7755 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
7756 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
7757 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
7759 (lrint_upward_test_data): Test for "inexact" exceptions.
7760 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
7762 (llrint_test_data): Test for "inexact" exceptions.
7763 (llrint_test_data) [TEST_FLOAT]: Disable one test.
7764 (llrint_tonearest_test_data): Test for "inexact" exceptions.
7765 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
7766 (llrint_towardzero_test_data): Test for "inexact" exceptions.
7767 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
7768 (llrint_downward_test_data): Test for "inexact" exceptions.
7769 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
7770 (llrint_upward_test_data): Test for "inexact" exceptions.
7771 (logb_test_data): Likewise.
7772 (logb_downward_test_data): Likewise.
7773 (nextafter_test_data): Likewise.
7774 (nexttoward_test_data): Likewise.
7775 (remainder_test_data): Likewise.
7776 (remquo_test_data): Likewise.
7777 (scalbn_test_data): Likewise.
7778 (scalbln_test_data): Likewise.
7779 (signbit_test_data): Likewise.
7780 (sqrt_test_data): Likewise.
7781 (significand_test_data): Likewise.
7783 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7786 * benchtests/bench-modf.c (struct args): Mark arg0 as
7788 * scripts/bench.pl: Mark members of struct args as volatile.
7790 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7793 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
7794 negative infinity on POWER6 or lower.
7795 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
7797 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
7800 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
7801 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
7802 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
7803 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
7804 (_FP_SETQNAN): New macro.
7805 (_FP_SETQNAN_SEMIRAW): Likewise.
7806 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
7807 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
7808 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
7809 (FP_EXTEND): Use _FP_FRAC_SNANP.
7810 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
7811 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
7813 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
7815 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
7818 2013-05-16 Joseph Myers <joseph@codesourcery.com>
7820 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
7821 with DIVIDE_BY_ZERO_EXCEPTION.
7822 (gamma_test_data): Likewise.
7823 (lgamma_test_data): Likewise.
7824 (log_test_data): Likewise.
7825 (log10_test_data): Likewise.
7826 (log2_test_data): Likewise.
7827 (tgamma_test_data): Likewise.
7829 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
7830 (acos_test_tonearest): Likewise.
7831 (acos_test_towardzero): Likewise.
7832 (acos_test_downward): Likewise.
7833 (acos_test_upward): Likewise.
7834 (acosh_test): Likewise.
7835 (asin_test): Likewise.
7836 (asin_test_tonearest): Likewise.
7837 (asin_test_towardzero): Likewise.
7838 (asin_test_downward): Likewise.
7839 (asin_test_upward): Likewise.
7840 (asinh_test): Likewise.
7841 (atan_test): Likewise.
7842 (atanh_test): Likewise.
7843 (atan2_test): Likewise.
7844 (cabs_test): Likewise.
7845 (cacos_test): Likewise.
7846 (cacosh_test): Likewise.
7847 (casin_test): Likewise.
7848 (casinh_test): Likewise.
7849 (catan_test): Likewise.
7850 (catanh_test): Likewise.
7851 (cbrt_test): Likewise.
7852 (ccos_test): Likewise.
7853 (ccosh_test): Likewise.
7854 (cexp_test): Likewise.
7855 (clog_test): Likewise.
7856 (clog10_test): Likewise.
7857 (cos_test): Likewise.
7858 (cos_test_tonearest): Likewise.
7859 (cos_test_towardzero): Likewise.
7860 (cos_test_downward): Likewise.
7861 (cos_test_upward): Likewise.
7862 (cosh_test): Likewise.
7863 (cosh_test_tonearest): Likewise.
7864 (cosh_test_towardzero): Likewise.
7865 (cosh_test_downward): Likewise.
7866 (cosh_test_upward): Likewise.
7867 (cpow_test): Likewise.
7868 (csin_test): Likewise.
7869 (csinh_test): Likewise.
7870 (csqrt_test): Likewise.
7871 (ctan_test): Likewise.
7872 (ctan_test_tonearest): Likewise.
7873 (ctan_test_towardzero): Likewise.
7874 (ctan_test_downward): Likewise.
7875 (ctan_test_upward): Likewise.
7876 (ctanh_test): Likewise.
7877 (ctanh_test_tonearest): Likewise.
7878 (ctanh_test_towardzero): Likewise.
7879 (ctanh_test_downward): Likewise.
7880 (ctanh_test_upward): Likewise.
7881 (erf_test): Likewise.
7882 (erfc_test): Likewise.
7883 (exp_test): Likewise.
7884 (exp_test_tonearest): Likewise.
7885 (exp_test_towardzero): Likewise.
7886 (exp_test_downward): Likewise.
7887 (exp_test_upward): Likewise.
7888 (exp10_test): Likewise.
7889 (exp2_test): Likewise.
7890 (expm1_test): Likewise.
7891 (fmod_test): Likewise.
7892 (gamma_test): Likewise.
7893 (hypot_test): Likewise.
7894 (j0_test): Likewise.
7895 (j1_test): Likewise.
7896 (jn_test): Likewise.
7897 (lgamma_test): Likewise.
7898 (log_test): Likewise.
7899 (log10_test): Likewise.
7900 (log1p_test): Likewise.
7901 (log2_test): Likewise.
7902 (logb_test_downward): Likewise.
7903 (pow_test): Likewise.
7904 (pow_test_tonearest): Likewise.
7905 (pow_test_towardzero): Likewise.
7906 (pow_test_downward): Likewise.
7907 (pow_test_upward): Likewise.
7908 (remainder_test): Likewise.
7909 (remquo_test): Likewise.
7910 (sin_test): Likewise.
7911 (sin_test_tonearest): Likewise.
7912 (sin_test_towardzero): Likewise.
7913 (sin_test_downward): Likewise.
7914 (sin_test_upward): Likewise.
7915 (sincos_test): Likewise.
7916 (sinh_test): Likewise.
7917 (sinh_test_tonearest): Likewise.
7918 (sinh_test_towardzero): Likewise.
7919 (sinh_test_downward): Likewise.
7920 (sinh_test_upward): Likewise.
7921 (sqrt_test): Likewise.
7922 (tan_test): Likewise.
7923 (tan_test_tonearest): Likewise.
7924 (tan_test_towardzero): Likewise.
7925 (tan_test_downward): Likewise.
7926 (tan_test_upward): Likewise.
7927 (tanh_test): Likewise.
7928 (tgamma_test): Likewise.
7929 (y0_test): Likewise.
7930 (y1_test): Likewise.
7931 (yn_test): Likewise.
7933 * math/gen-libm-test.pl (adjust_arg): Remove function.
7934 (special_function): Remove argument $in_func. Only handle
7935 generating output for tables of tests, not inside functions.
7936 (parse_args): Likewise.
7937 (generate_testfile): Remove variable $in_func. Update call to
7939 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
7940 (MINUS_ZERO_INIT): Rename macro to minus_zero.
7941 (PLUS_INFTY_INIT): Rename macro to plus_infty.
7942 (MINUS_INFTY_INIT): Rename macro to minus_infty.
7943 (QNAN_VALUE_INIT): Rename macro to qnan_value.
7944 (MAX_VALUE_INIT): Rename macro to max_value.
7945 (MIN_VALUE_INIT): Rename macro to min_value.
7946 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
7947 (plus_zero): Remove variable.
7948 (minus_zero): Likewise.
7949 (plus_infty): Likewise.
7950 (minus_infty): Likewise.
7951 (qnan_value): Likewise.
7952 (max_value): Likewise.
7953 (min_value): Likewise.
7954 (min_subnorm_value): Likewise.
7956 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7958 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
7959 uint64_t or uint32_t usage.
7960 * crypt/sha256-block.c: Likewise.
7961 * crypt/sha256-crypt.c: Likewise.
7962 * crypt/sha256.c: Likewise.
7963 * crypt/sha512-block.c: Likewise.
7964 * crypt/sha512-crypt.c: Likewise.
7965 * crypt/sha512.c: Likewise.
7966 * debug/backtrace-tst.c: Likewise.
7967 * debug/pcprofiledump.c: Likewise.
7968 * elf/cache.c: Likewise.
7969 * elf/dl-cache.c: Likewise.
7970 * elf/dl-misc.c: Likewise.
7971 * elf/dl-profile.c: Likewise.
7972 * elf/dl-support.c: Likewise.
7973 * elf/ldconfig.c: Likewise.
7974 * elf/sprof.c: Likewise.
7975 * iconv/dummy-repertoire.c: Likewise.
7976 * iconv/iconv_charmap.c: Likewise.
7977 * iconv/skeleton.c: Likewise.
7978 * iconvdata/8bit-generic.c: Likewise.
7979 * iconvdata/cp737.h: Likewise.
7980 * iconvdata/cp775.h: Likewise.
7981 * iconvdata/ibm1008.h: Likewise.
7982 * iconvdata/ibm1025.h: Likewise.
7983 * iconvdata/ibm1046.h: Likewise.
7984 * iconvdata/ibm1097.h: Likewise.
7985 * iconvdata/ibm1112.h: Likewise.
7986 * iconvdata/ibm1122.h: Likewise.
7987 * iconvdata/ibm1123.h: Likewise.
7988 * iconvdata/ibm1124.h: Likewise.
7989 * iconvdata/ibm1129.h: Likewise.
7990 * iconvdata/ibm1130.h: Likewise.
7991 * iconvdata/ibm1132.h: Likewise.
7992 * iconvdata/ibm1133.h: Likewise.
7993 * iconvdata/ibm1137.h: Likewise.
7994 * iconvdata/ibm1140.h: Likewise.
7995 * iconvdata/ibm1141.h: Likewise.
7996 * iconvdata/ibm1142.h: Likewise.
7997 * iconvdata/ibm1143.h: Likewise.
7998 * iconvdata/ibm1144.h: Likewise.
7999 * iconvdata/ibm1145.h: Likewise.
8000 * iconvdata/ibm1146.h: Likewise.
8001 * iconvdata/ibm1147.h: Likewise.
8002 * iconvdata/ibm1148.h: Likewise.
8003 * iconvdata/ibm1149.h: Likewise.
8004 * iconvdata/ibm1153.h: Likewise.
8005 * iconvdata/ibm1154.h: Likewise.
8006 * iconvdata/ibm1155.h: Likewise.
8007 * iconvdata/ibm1156.h: Likewise.
8008 * iconvdata/ibm1157.h: Likewise.
8009 * iconvdata/ibm1158.h: Likewise.
8010 * iconvdata/ibm1160.h: Likewise.
8011 * iconvdata/ibm1161.h: Likewise.
8012 * iconvdata/ibm1162.h: Likewise.
8013 * iconvdata/ibm1163.h: Likewise.
8014 * iconvdata/ibm1164.h: Likewise.
8015 * iconvdata/ibm1166.h: Likewise.
8016 * iconvdata/ibm1167.h: Likewise.
8017 * iconvdata/ibm12712.h: Likewise.
8018 * iconvdata/ibm1390.h: Likewise.
8019 * iconvdata/ibm1399.h: Likewise.
8020 * iconvdata/ibm16804.h: Likewise.
8021 * iconvdata/ibm4517.h: Likewise.
8022 * iconvdata/ibm4899.h: Likewise.
8023 * iconvdata/ibm4909.h: Likewise.
8024 * iconvdata/ibm4971.h: Likewise.
8025 * iconvdata/ibm5347.h: Likewise.
8026 * iconvdata/ibm803.h: Likewise.
8027 * iconvdata/ibm856.h: Likewise.
8028 * iconvdata/ibm901.h: Likewise.
8029 * iconvdata/ibm902.h: Likewise.
8030 * iconvdata/ibm9030.h: Likewise.
8031 * iconvdata/ibm9066.h: Likewise.
8032 * iconvdata/ibm921.h: Likewise.
8033 * iconvdata/ibm922.h: Likewise.
8034 * iconvdata/ibm9448.h: Likewise.
8035 * iconvdata/isiri-3342.h: Likewise.
8036 * iconvdata/jis0201.h: Likewise.
8037 * include/link.h: Likewise.
8038 * include/netdb.h: Likewise.
8039 * inet/check_native.c: Likewise.
8040 * inet/check_pf.c: Likewise.
8041 * inet/getipv4sourcefilter.c: Likewise.
8042 * inet/getnameinfo.c: Likewise.
8043 * inet/getsourcefilter.c: Likewise.
8044 * inet/htonl.c: Likewise.
8045 * inet/setipv4sourcefilter.c: Likewise.
8046 * inet/setsourcefilter.c: Likewise.
8047 * inet/test-inet6_opt.c: Likewise.
8048 * inet/tst-network.c: Likewise.
8049 * locale/C-collate.c: Likewise.
8050 * locale/C-ctype.c: Likewise.
8051 * locale/C-time.c: Likewise.
8052 * locale/C-translit.h: Likewise.
8053 * locale/loadarchive.c: Likewise.
8054 * locale/programs/3level.h: Likewise.
8055 * locale/programs/charmap.c: Likewise.
8056 * locale/programs/charmap.h: Likewise.
8057 * locale/programs/ld-address.c: Likewise.
8058 * locale/programs/ld-collate.c: Likewise.
8059 * locale/programs/ld-ctype.c: Likewise.
8060 * locale/programs/ld-identification.c: Likewise.
8061 * locale/programs/ld-measurement.c: Likewise.
8062 * locale/programs/ld-messages.c: Likewise.
8063 * locale/programs/ld-monetary.c: Likewise.
8064 * locale/programs/ld-name.c: Likewise.
8065 * locale/programs/ld-numeric.c: Likewise.
8066 * locale/programs/ld-paper.c: Likewise.
8067 * locale/programs/ld-telephone.c: Likewise.
8068 * locale/programs/ld-time.c: Likewise.
8069 * locale/programs/linereader.c: Likewise.
8070 * locale/programs/locale.c: Likewise.
8071 * locale/programs/locarchive.c: Likewise.
8072 * locale/programs/locfile.h: Likewise.
8073 * locale/programs/repertoire.c: Likewise.
8074 * locale/programs/simple-hash.c: Likewise.
8075 * locale/programs/simple-hash.h: Likewise.
8076 * malloc/memusage.c: Likewise.
8077 * malloc/memusagestat.c: Likewise.
8078 * nis/nis_defaults.c: Likewise.
8079 * nis/nis_hash.c: Likewise.
8080 * nis/nis_print.c: Likewise.
8081 * nis/nis_xdr.c: Likewise.
8082 * nscd/connections.c: Likewise.
8083 * nscd/hstcache.c: Likewise.
8084 * nscd/nscd_gethst_r.c: Likewise.
8085 * nscd/nscd_getserv_r.c: Likewise.
8086 * nscd/nscd_helper.c: Likewise.
8087 * nscd/servicescache.c: Likewise.
8088 * nss/makedb.c: Likewise.
8089 * nss/nss_db/db-XXX.c: Likewise.
8090 * nss/nss_db/db-initgroups.c: Likewise.
8091 * nss/nss_db/db-netgrp.c: Likewise.
8092 * nss/nss_files/files-network.c: Likewise.
8093 * nss/nss_files/files-parse.c: Likewise.
8094 * posix/bug-regex5.c: Likewise.
8095 * posix/fnmatch_loop.c: Likewise.
8096 * posix/regcomp.c: Likewise.
8097 * posix/regexec.c: Likewise.
8098 * posix/tst-rfc3484-2.c: Likewise.
8099 * posix/tst-rfc3484-3.c: Likewise.
8100 * posix/tst-rfc3484.c: Likewise.
8101 * resolv/nss_dns/dns-canon.c: Likewise.
8102 * resolv/nss_dns/dns-network.c: Likewise.
8103 * resolv/res_init.c: Likewise.
8104 * resolv/res_mkquery.c: Likewise.
8105 * resolv/tst-aton.c: Likewise.
8106 * stdlib/cxa_atexit.c: Likewise.
8107 * stdlib/cxa_finalize.c: Likewise.
8108 * stdlib/gen-fpioconst.c: Likewise.
8109 * stdlib/strtol_l.c: Likewise.
8110 * string/tst-endian.c: Likewise.
8111 * sunrpc/auth_des.c: Likewise.
8112 * sunrpc/clnt_udp.c: Likewise.
8113 * sunrpc/rtime.c: Likewise.
8114 * sunrpc/svcauth_des.c: Likewise.
8115 * sunrpc/xdr.c: Likewise.
8116 * sunrpc/xdr_intXX_t.c: Likewise.
8117 * sunrpc/xdr_rec.c: Likewise.
8118 * sysdeps/generic/ldconfig.h: Likewise.
8119 * sysdeps/generic/ldsodefs.h: Likewise.
8120 * sysdeps/generic/memusage.h: Likewise.
8121 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8122 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
8123 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
8124 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8125 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8126 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8127 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8128 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8129 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8130 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8131 * sysdeps/posix/getaddrinfo.c: Likewise.
8132 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8133 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8134 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8135 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8136 * sysdeps/powerpc/test-gettimebase.c: Likewise.
8137 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8138 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
8139 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
8140 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8141 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
8142 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
8143 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
8144 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
8145 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
8146 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
8147 * sysdeps/x86_64/dl-tls.h: Likewise.
8148 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
8149 * time/alt_digit.c: Likewise.
8150 * time/era.c: Likewise.
8151 * wcsmbs/tst-c16c32-1.c: Likewise.
8153 2013-05-16 Joseph Myers <joseph@codesourcery.com>
8155 * math/libm-test.inc (struct test_sincos_data): New type.
8156 (RUN_TEST_LOOP_sincos): New macro.
8157 (sincos_test_data): New variable.
8158 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
8160 2013-05-16 Richard Henderson <rth@redhat.com>
8162 * math/atest-exp2.c (LIMB64): New macro.
8163 (CONSTSZ): New macro.
8164 (mp_exp1, mp_exp_m1, mp_log2): New variables.
8166 (print_mpn_fp): ... to function scope.
8167 (read_mpn_hex): Remove.
8169 (exp2_mpn): Use mp_log2.
8170 (main): Use mp_exp1.
8172 2013-05-16 Joseph Myers <joseph@codesourcery.com>
8174 * math/libm-test.inc: Remove comment about not testing "inexact"
8176 (INEXACT_EXCEPTION): New macro.
8177 (NO_INEXACT_EXCEPTION): Likewise.
8178 (INVALID_EXCEPTION_OK): Update value.
8179 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8180 (OVERFLOW_EXCEPTION_OK): Likewise.
8181 (UNDERFLOW_EXCEPTION_OK): Likewise.
8182 (IGNORE_ZERO_INF_SIGN): Likewise.
8183 (ERRNO_UNCHANGED): Likewise.
8184 (ERRNO_EDOM): Likewise.
8185 (ERRNO_ERANGE): Likewise.
8186 (test_exceptions): Handle testing "inexact" exceptions.
8187 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
8188 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
8189 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
8190 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
8192 (rint_towardzero_test_data): Likewise.
8193 (rint_downward_test_data): Likewise.
8194 (rint_upward_test_data): Likewise.
8196 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
8197 with OVERFLOW_EXCEPTION.
8198 (exp10_test_data): Likewise.
8199 (exp2_test_data): Likewise.
8200 (expm1_test_data): Likewise.
8201 (lgamma_test_data): Likewise.
8202 (pow_test_data): Likewise.
8203 (tgamma_test_data): Likewise.
8204 (yn_test_data): Remove duplicate test of overflow.
8206 * math/libm-test.inc (struct test_cc_c_data): New type.
8207 (RUN_TEST_LOOP_cc_c): New macro.
8208 (cpow_test_data): New variable.
8209 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
8211 * math/libm-test.inc (struct test_f_L_data): New type.
8212 (RUN_TEST_LOOP_f_L): New macro.
8213 (llrint_test_data): New variable.
8214 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
8215 (llrint_tonearest_test_data): New variable.
8216 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
8217 (llrint_towardzero_test_data): New variable.
8218 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
8219 (llrint_downward_test_data): New variable.
8220 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
8221 (llrint_upward_test_data): New variable.
8222 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
8223 (llround_test_data): New variable.
8224 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
8226 2013-05-13 Peter Collingbourne <pcc@google.com>
8228 * math/atest-exp2.c (get_log2): Remove const attribute.
8230 2013-05-15 Joseph Myers <joseph@codesourcery.com>
8232 * math/libm-test.inc (struct test_f_l_data): New type.
8233 (RUN_TEST_LOOP_f_l): New macro.
8234 (lrint_test_data): New variable.
8235 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
8236 (lrint_tonearest_test_data): New variable.
8237 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
8238 (lrint_towardzero_test_data): New variable.
8239 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
8240 (lrint_downward_test_data): New variable.
8241 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
8242 (lrint_upward_test_data): New variable.
8243 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
8244 (lround_test_data): New variable.
8245 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
8247 2013-05-15 Peter Collingbourne <pcc@google.com>
8249 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
8250 (EXTRACT_WORDS64) Use where appropriate.
8251 (INSERT_WORDS64) Likewise.
8253 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
8254 constraints with x constraints.
8255 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
8257 * malloc/obstack.c (_obstack_compat): Add initializer.
8259 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
8261 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
8262 si_trapno and add si_addr_lsb to _sifields.sigfault.
8263 (si_trapno): Remove macro.
8264 (si_addr_lsb): Define new macro.
8265 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8267 2013-05-15 Joseph Myers <joseph@codesourcery.com>
8269 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
8270 instead of TEST_f_l.
8271 (llrint_test_tonearest): Likewise.
8272 (llrint_test_towardzero): Likewise.
8273 (llrint_test_downward): Likewise.
8274 (llrint_test_upward): Likewise.
8275 (llround_test): Likewise.
8277 * math/libm-test.inc (struct test_f_i_data): Add comment.
8278 (RUN_TEST_LOOP_f_b): New macro.
8279 (RUN_TEST_LOOP_f_b_tg): Likewise.
8280 (finite_test_data): New variable.
8281 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
8282 (isfinite_test_data): New variable.
8283 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8284 (isinf_test_data): New variable.
8285 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8286 (isnan_test_data): New variable.
8287 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8288 (isnormal_test_data): New variable.
8289 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8290 (issignaling_test_data): New variable.
8291 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8292 (signbit_test_data): New variable.
8293 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8295 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
8296 with INVALID_EXCEPTION.
8297 (acosh_test_data): Likewise.
8298 (asin_test_data): Likewise.
8299 (atanh_test_data): Likewise.
8300 (fmod_test_data): Likewise.
8301 (log_test_data): Likewise.
8302 (log10_test_data): Likewise.
8303 (log2_test_data): Likewise.
8304 (pow_test_data): Likewise.
8305 (sqrt_test_data): Likewise.
8306 (y0_test_data): Likewise.
8307 (y1_test_data): Likewise.
8308 (yn_test_data): Likewise.
8310 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
8313 * math/libm-test.inc (struct test_ff_i_data): New type.
8314 (RUN_TEST_LOOP_ff_i_tg): New macro.
8315 (isgreater_test_data): New variable.
8316 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8317 (isgreaterequal_test_data): New variable.
8318 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8319 (isless_test_data): New variable.
8320 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8321 (islessequal_test_data): New variable.
8322 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8323 (islessgreater_test_data): New variable.
8324 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8325 (isunordered_test_data): New variable.
8326 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8328 2013-05-14 David S. Miller <davem@davemloft.net>
8330 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8332 2013-05-14 Joseph Myers <joseph@codesourcery.com>
8334 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
8336 * math/libm-test.inc (struct test_fF_f1_data): Change type of
8338 (struct test_f_i_data): Change type of max_ulp to int.
8340 * math/libm-test.inc (test_ffI_f1_data): New type.
8341 (RUN_TEST_LOOP_ffI_f1): New macro.
8342 (remquo_test_data): New variable.
8343 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
8345 * setjmp/tst-setjmp-fp.c: New file.
8346 * setjmp/Makefile (tests): Add tst-setjmp-fp.
8347 (link-libm): New variable.
8348 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
8350 * math/libm-test.inc (struct test_f_i_data): New type.
8351 (RUN_TEST_LOOP_f_i): New macro.
8352 (RUN_TEST_LOOP_f_i_tg): Likewise.
8353 (fpclassify_test_data): New variable.
8354 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
8355 (ilogb_test_data): New variable.
8356 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
8358 * math/libm-test.inc (scalbln_test): Correct function name in END
8361 * math/libm-test.inc (struct test_f_f1_data): Add comment.
8362 (RUN_TEST_LOOP_fI_f1): New macro.
8363 (frexp_test_data): New variable.
8364 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
8366 * math/libm-test.inc (struct test_fF_f1_data): New type.
8367 (RUN_TEST_LOOP_fF_f1): New macro.
8368 (modf_test_data): New variable.
8369 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
8371 * math/libm-test.inc (struct test_f_f1_data): New type.
8372 (RUN_TEST_LOOP_f_f1): New macro.
8373 (gamma_test_data): New variable.
8374 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
8375 (lgamma_test_data): New variable.
8376 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
8378 2013-05-13 Carlos O'Donell <carlos@redhat.com>
8380 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
8381 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
8382 (main): Comment "tls" pseudo-hwcap.
8384 2013-05-13 Joseph Myers <joseph@codesourcery.com>
8386 * math/libm-test.inc (struct test_fl_f_data): New type.
8387 (RUN_TEST_LOOP_fl_f): New variable.
8388 (scalbln_test_data): New variable.
8389 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
8391 * math/libm-test.inc (struct test_fi_f_data): New type.
8392 (RUN_TEST_LOOP_fi_f): New macro.
8393 (ldexp_test_data): New variable.
8394 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
8395 (scalbn_test_data): New variable.
8396 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
8398 * math/libm-test.inc (struct test_c_f_data): New type.
8399 (RUN_TEST_LOOP_c_f): New macro.
8400 (cabs_test_data): New variable.
8401 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
8402 (carg_test_data): New variable.
8403 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
8404 (cimag_test_data): New variable.
8405 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
8406 (creal_test_data): New variable.
8407 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
8409 * math/libm-test.inc (struct test_if_f_data): New type.
8410 (RUN_TEST_LOOP_if_f): New macro.
8411 (jn_test_data): New variable.
8412 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
8413 (yn_test_data): New variable.
8414 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
8416 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
8418 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8420 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
8421 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
8423 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8425 * benchtests/Makefile (CPPFLAGS-nonlib): Add
8426 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
8427 (bench-deps): Add bench-timing.h.
8428 * benchtests-bench-skeleton.c: Include bench-timing.h.
8429 (main): Use TIMING_* macros instead of clock_gettime.
8430 * benchtests/bench-timing.h: New file.
8433 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
8434 Renamed from _LIB_VERSION.
8435 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
8437 2013-05-12 Joseph Myers <joseph@codesourcery.com>
8439 * math/libm-test.inc (struct test_fff_f_data): New type.
8440 (RUN_TEST_LOOP_fff_f): New macro.
8441 (fma_test_data): New variable.
8442 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
8443 (fma_towardzero_test_data): New variable.
8444 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
8445 (fma_downward_test_data): New variable.
8446 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
8447 (fma_upward_test_data): New variable.
8448 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
8450 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
8451 (struct test_c_c_data): New type.
8452 (RUN_TEST_LOOP_c_c): New macro.
8453 (cacos_test_data): New variable.
8454 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
8455 (cacosh_test_data): New variable.
8456 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
8457 (casin_test_data): New variable.
8458 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
8459 (casinh_test_data): New variable.
8460 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
8461 (catan_test_data): New variable.
8462 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
8463 (catanh_test_data): New variable.
8464 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
8465 (ccos_test_data): New variable.
8466 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
8467 (ccosh_test_data): New variable.
8468 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
8469 (cexp_test_data): New variable.
8470 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
8471 (clog_test_data): New variable.
8472 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
8473 (clog10_test_data): New variable.
8474 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
8475 (conj_test_data): New variable.
8476 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
8477 (cproj_test_data): New variable.
8478 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
8479 (csin_test_data): New variable.
8480 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
8481 (csinh_test_data): New variable.
8482 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
8483 (csqrt_test_data): New variable.
8484 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
8485 (ctan_test_data): New variable.
8486 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
8487 (ctan_tonearest_test_data): New variable.
8488 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
8489 (ctan_towardzero_test_data): New variable.
8490 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
8491 (ctan_downward_test_data): New variable.
8492 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
8493 (ctan_upward_test_data): New variable.
8494 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
8495 (ctanh_test_data): New variable.
8496 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
8497 (ctanh_tonearest_test_data): New variable.
8498 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
8499 (ctanh_towardzero_test_data): New variable.
8500 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
8501 (ctanh_downward_test_data): New variable.
8502 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
8503 (ctanh_upward_test_data): New variable.
8504 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
8505 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
8508 * math/libm-test.inc (struct test_ff_f_data): New type.
8509 (struct test_ff_f_data_nexttoward): Likewise.
8510 (RUN_TEST_LOOP_2_f): New macro.
8511 (RUN_TEST_LOOP_ff_f): Likewise.
8512 (atan2_test_data): New variable.
8513 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
8514 (copysign_test_data): New variable.
8515 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
8516 (fdim_test_data): New variable.
8517 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
8518 (fmax_test_data): New variable.
8519 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
8520 (fmin_test_data): New variable.
8521 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
8522 (fmod_test_data): New variable.
8523 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
8524 (hypot_test_data): New variable.
8525 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
8526 (nextafter_test_data): New variable.
8527 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
8528 (nexttoward_test_data): New variable.
8529 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
8530 (pow_test_data): New variable.
8531 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
8532 (pow_tonearest_test_data): New variable.
8533 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
8534 (pow_towardzero_test_data): New variable.
8535 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
8536 (pow_downward_test_data): New variable.
8537 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
8538 (pow_upward_test_data): New variable.
8539 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
8540 (remainder_test_data): New variable.
8541 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
8542 (scalb_test_data): New variable.
8543 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
8544 * sysdeps/i386/fpu/libm-test-ulps: Update.
8546 2013-05-11 Joseph Myers <joseph@codesourcery.com>
8548 * math/libm-test.inc (fma_test): Use max_value instead of local
8550 (nextafter_test): Likewise.
8552 * math/libm-test.inc (acos_towardzero_test_data): New variable.
8553 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8554 (acos_downward_test_data): New variable.
8555 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8556 (acos_upward_test_data): New variable.
8557 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8558 (acosh_test_data): New variable.
8559 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
8560 (asin_test_data): New variable.
8561 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
8562 (asin_tonearest_test_data): New variable.
8563 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8564 (asin_towardzero_test_data): New variable.
8565 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8566 (asin_downward_test_data): New variable.
8567 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8568 (asin_upward_test_data): New variable.
8569 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8570 (asinh_test_data): New variable.
8571 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
8572 (atan_test_data): New variable.
8573 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
8574 (atanh_test_data): New variable.
8575 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
8576 (cbrt_test_data): New variable.
8577 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
8578 (ceil_test_data): New variable.
8579 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
8580 (cos_test_data): New variable.
8581 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
8582 (cos_tonearest_test_data): New variable.
8583 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8584 (cos_towardzero_test_data): New variable.
8585 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8586 (cos_downward_test_data): New variable.
8587 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8588 (cos_upward_test_data): New variable.
8589 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8590 (cosh_test_data): New variable.
8591 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
8592 (cosh_tonearest_test_data): New variable.
8593 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8594 (cosh_towardzero_test_data): New variable.
8595 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8596 (cosh_downward_test_data): New variable.
8597 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8598 (cosh_upward_test_data): New variable.
8599 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8600 (erf_test_data): New variable.
8601 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
8602 (erfc_test_data): New variable.
8603 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
8604 (exp_test_data): New variable.
8605 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
8606 (exp_tonearest_test_data): New variable.
8607 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8608 (exp_towardzero_test_data): New variable.
8609 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8610 (exp_downward_test_data): New variable.
8611 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8612 (exp_upward_test_data): New variable.
8613 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8614 (exp10_test_data): New variable.
8615 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
8616 (exp2_test_data): New variable.
8617 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
8618 (expm1_test_data): New variable.
8619 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
8620 (fabs_test_data): New variable.
8621 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
8622 (floor_test_data): New variable.
8623 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
8624 (j0_test_data): New variable.
8625 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
8626 (j1_test_data): New variable.
8627 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
8628 (log_test_data): New variable.
8629 (log_test): Run tests with RUN_TEST_LOOP_f_f.
8630 (log10_test_data): New variable.
8631 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
8632 (log1p_test_data): New variable.
8633 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
8634 (log2_test_data): New variable.
8635 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
8636 (logb_test_data): New variable.
8637 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
8638 (logb_downward_test_data): New variable.
8639 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8640 (nearbyint_test_data): New variable.
8641 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
8642 (rint_test_data): New variable.
8643 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
8644 (rint_tonearest_test_data): New variable.
8645 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8646 (rint_towardzero_test_data): New variable.
8647 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8648 (rint_downward_test_data): New variable.
8649 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8650 (rint_upward_test_data): New variable.
8651 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8652 (round_test_data): New variable.
8653 (round_test): Run tests with RUN_TEST_LOOP_f_f.
8654 (sin_test_data): New variable.
8655 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
8656 (sin_tonearest_test_data): New variable.
8657 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8658 (sin_towardzero_test_data): New variable.
8659 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8660 (sin_downward_test_data): New variable.
8661 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8662 (sin_upward_test_data): New variable.
8663 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8664 (sinh_test_data): New variable.
8665 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
8666 (sinh_tonearest_test_data): New variable.
8667 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8668 (sinh_towardzero_test_data): New variable.
8669 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8670 (sinh_downward_test_data): New variable.
8671 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8672 (sinh_upward_test_data): New variable.
8673 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8674 (sqrt_test_data): New variable.
8675 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
8676 (tan_test_data): New variable.
8677 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
8678 (tan_tonearest_test_data): New variable.
8679 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8680 (tan_towardzero_test_data): New variable.
8681 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8682 (tan_downward_test_data): New variable.
8683 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8684 (tan_upward_test_data): New variable.
8685 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8686 (tanh_test_data): New variable.
8687 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
8688 (tgamma_test_data): New variable.
8689 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
8690 (trunc_test_data): New variable.
8691 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
8692 (y0_test_data): New variable.
8693 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
8694 (y1_test_data): New variable.
8695 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
8696 (significand_test_data): New variable.
8697 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
8699 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
8702 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
8704 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
8706 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
8708 2013-05-10 Andreas Jaeger <aj@suse.de>
8711 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
8712 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
8714 2013-05-10 Joseph Myers <joseph@codesourcery.com>
8716 * math/gen-libm-test.pl (adjust_arg): New function.
8717 (special_functions): Handle generating output in both functions
8719 (parse_args): Likewise.
8720 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
8721 $in_func argument to parse_args.
8722 * math/libm-test.inc (struct test_f_f_data): New type.
8723 (IF_ROUND_INIT_): New macro.
8724 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
8725 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
8726 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8727 (IF_ROUND_INIT_FE_UPWARD): Likewise.
8728 (ROUND_RESTORE_): Likewise.
8729 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
8730 (ROUND_RESTORE_FE_TONEAREST): Likewise.
8731 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
8732 (ROUND_RESTORE_FE_UPWARD): Likewise.
8733 (RUN_TEST_LOOP_f_f): New macro.
8734 (acos_test_data): New variable.
8735 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
8736 (acos_tonearest_test_data): New variable.
8737 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8739 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8741 * benchtests/bench-skeleton.c (startup): Fix coding style.
8743 2013-05-10 Joseph Myers <joseph@codesourcery.com>
8746 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
8747 negative infinity argument.
8748 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
8749 negative infinity argument.
8750 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
8751 negative infinity argument.
8752 * math/libm-test.inc (tgamma_test): Expect errno to be set for
8755 2013-05-10 Florian Weimer <fweimer@redhat.com>
8757 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
8758 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
8759 * iconv/iconv_prog.c (main): Likewise.
8760 * locale/programs/charmap-dir.c (charmap_readdir)
8761 (fopen_uncompressed): Likewise.
8762 * locale/programs/locfile.c (siblings_uncached)
8763 (write_locale_data): Use lstat64 instead of lstat.
8764 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
8767 2013-05-10 Andreas Jaeger <aj@suse.de>
8770 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
8774 2013-05-09 Carlos O'Donell <carlos@redhat.com>
8776 * elf/dl-close.c (_dl_close_worker): Add comments.
8778 2013-05-09 Joseph Myers <joseph@codesourcery.com>
8781 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
8783 (__ieee754_rem_pio2l): Update comments.
8786 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
8788 (__ieee754_rem_pio2l): Update comments.
8790 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
8791 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
8793 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
8796 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
8797 (M_PI_34_LOG10El): Likewise.
8798 (M_PI2_LOG10El): Likewise.
8799 (M_PI4_LOG10El): Likewise.
8800 (M_PI_LOG10El): Likewise.
8802 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8804 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8806 2013-05-08 Joseph Myers <joseph@codesourcery.com>
8808 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
8809 (MINUS_ZERO_INIT): Likewise.
8810 (PLUS_INFTY_INIT): Likewise.
8811 (MINUS_INFTY_INIT): Likewise.
8812 (QNAN_VALUE_INIT): Likewise.
8813 (MAX_VALUE_INIT): Likewise.
8814 (MIN_VALUE_INIT): Likewise.
8815 (MIN_SUBNORM_VALUE_INIT): Likewise.
8816 (plus_zero): Initialize with PLUS_ZERO_INIT.
8817 (minus_zero): Initialize with MINUS_ZERO_INIT.
8818 (plus_infty): Initialize with PLUS_INFTY_INIT.
8819 (minus_infty): Initialize with MINUS_INFTY_INIT.
8820 (qnan_value): Initialize with QNAN_VALUE_INIT.
8821 (max_value): Initialize with MAX_VALUE_INIT.
8822 (min_value): Initialize with MIN_VALUE_INIT.
8823 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
8825 * math/libm-test.inc (RUN_TEST_if_f): New macro.
8826 (jn_test): Use TEST_if_f instead of TEST_ff_f.
8827 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
8828 (yn_test): Use TEST_if_f instead of TEST_ff_f.
8830 * math/libm-test.inc (RUN_TEST_f_f): New macro.
8831 (RUN_TEST_2_f): Likewise.
8832 (RUN_TEST_ff_f): Likewise.
8833 (RUN_TEST_fi_f): Likewise.
8834 (RUN_TEST_fl_f): Likewise.
8835 (RUN_TEST_fff_f): Likewise.
8836 (RUN_TEST_c_f): Likewise.
8837 (RUN_TEST_f_f1): Likewise.
8838 (RUN_TEST_fF_f1): Likewise.
8839 (RUN_TEST_fI_f1): Likewise.
8840 (RUN_TEST_ffI_f1): Likewise.
8841 (RUN_TEST_c_c): Likewise.
8842 (RUN_TEST_cc_c): Likewise.
8843 (RUN_TEST_f_i): Likewise.
8844 (RUN_TEST_f_i_tg): Likewise.
8845 (RUN_TEST_ff_i_tg): Likewise.
8846 (RUN_TEST_f_b): Likewise.
8847 (RUN_TEST_f_b_tg): Likewise.
8848 (RUN_TEST_f_l): Likewise.
8849 (RUN_TEST_f_L): Likewise.
8850 (RUN_TEST_sincos): Likewise.
8851 * math/gen-libm-test.pl (new_test): Take new argument to indicate
8852 whether to show exceptions. Do not include ");\n" in return
8854 (special_functions): Output call to RUN_TEST_sincos instead of
8855 check_float calls. Update calls to new_test.
8856 (parse_args): Output call to single RUN_TEST_* macro instead of
8857 check_* calls and other assignments. Update calls to new_test.
8863 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
8864 input to result for tgamma overflow.
8865 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
8866 (gamma_coeff): New variable.
8867 (NCOEFF): New macro.
8868 (gamma_positive): New function.
8869 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
8870 underflow here. Use gamma_positive instead of exp (lgamma) for
8872 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
8873 (gamma_coeff): New variable.
8874 (NCOEFF): New macro.
8875 (gammaf_positive): New function.
8876 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
8877 underflow here. Use gamma_positive instead of exp (lgamma) for
8879 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
8880 (gamma_coeff): New variable.
8881 (NCOEFF): New macro.
8882 (gammal_positive): New function.
8883 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
8884 underflow here. Use gamma_positive instead of exp (lgamma) for
8886 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
8887 (gamma_coeff): New variable.
8888 (NCOEFF): New macro.
8889 (gammal_positive): New function.
8890 (__ieee754_gammal_r): Handle positive infinity, overflow and
8891 underflow here. Handle NaN the same as positive infinity. Remove
8892 check x < 0xffffffff for negative integers. Use gamma_positive
8893 instead of exp (lgamma) for other arguments.
8894 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
8895 (gamma_coeff): New variable.
8896 (NCOEFF): New macro.
8897 (gammal_positive): New function.
8898 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
8899 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
8900 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
8901 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
8902 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
8903 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
8904 * sysdeps/generic/math_private.h (__gamma_productf): New
8906 (__gamma_product): Likewise.
8907 (__gamma_productl): Likewise.
8908 * math/Makefile (libm-calls): Add gamma_product.
8909 * math/libm-test.inc (tgamma_test): Add more tests.
8910 * sysdeps/i386/fpu/libm-test-ulps: Update.
8911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8913 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
8915 * benchtests/bench-skeleton.c (main): Preheat CPU.
8917 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
8919 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
8921 2013-05-07 Roland McGrath <roland@hack.frob.com>
8923 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
8924 and _dl_skip_args_internal.
8926 2013-05-07 Carlos O'Donell <carlos@redhat.com>
8928 * manual/message.texi (Message Translation): Talk about users.
8929 Message to key mapping impacts design.
8931 2013-05-06 Roland McGrath <roland@hack.frob.com>
8933 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
8935 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
8937 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
8938 * sysdeps/wordsize-64/glob64.c: ... here.
8940 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
8941 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
8944 * debug/getlogin_r_chk.c: Moved to ...
8945 * login/getlogin_r_chk.c: ... here.
8946 * debug/Makefile (routines): Move getlogin_r_chk to ...
8947 * login/Makefile (routines): ... here.
8948 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
8949 * login/Versions (libc: GLIBC_2.4): ... here.
8951 * io/poll.c (__poll): Renamed from poll.
8952 Add libc_hidden_def.
8953 (poll): Define as weak alias.
8955 * debug/ptsname_r_chk.c: Moved to ...
8956 * login/ptsname_r_chk.c: ... here.
8957 * debug/Makefile (routines): Move ptsname_r_chk to ...
8958 * login/Makefile (routines): ... here.
8959 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
8960 * login/Versions (libc: GLIBC_2.4): ... here.
8962 * posix/getlogin.c: Moved to ...
8963 * login/getlogin.c: ... here.
8964 * posix/getlogin_r.c: Moved to ...
8965 * login/getlogin_r.c: ... here.
8966 * posix/getlogin_r.c: Moved to ...
8967 * login/getlogin_r.c: ... here.
8968 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
8969 * login/Makefile (routines): ... here.
8970 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
8971 * login/Versions (libc: GLIBC_2.0): ... here.
8973 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
8974 (setrlimit): Define as weak alias.
8976 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
8977 Call __ names for open, ftruncate, and close.
8978 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
8979 (truncate): Define as weak alias.
8981 2013-05-06 Joseph Myers <joseph@codesourcery.com>
8983 * math/gen-libm-test.pl (parse_args): Initialize x before each
8984 test of frexp, modf and remquo.
8986 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
8989 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8993 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
8995 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8997 2013-05-06 Roland McGrath <roland@hack.frob.com>
8999 * elf/dl-writev.h: New file.
9000 * elf/dl-misc.c: Include it.
9001 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
9002 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
9004 2013-05-04 Joseph Myers <joseph@codesourcery.com>
9006 * math/libm-test.inc (noXFails): Remove variable.
9007 (noXPasses): Likewise.
9008 (BUILD_COMPLEX_INT): Remove macro.
9009 (print_screen): Remove xfail argument.
9010 (print_screen_max_error): Likewise.
9011 (update_stats): Likewise.
9012 (print_max_error): Likewise. Update calls to other affected
9014 (print_complex_max_error): Likewise.
9015 (test_single_exception): Update calls to print_screen.
9016 (test_single_errno): Likewise.
9017 (check_float_internal): Remove xfail argument. Update calls to
9018 other affected functions.
9019 (check_float): Likewise.
9020 (check_complex): Likewise.
9021 (check_int): Likewise.
9022 (check_long): Likewise.
9023 (check_bool): Likewise.
9024 (check_longlong): Likewise.
9025 (main): Don't print noXFails and noXPasses.
9026 * math/gen-libm-test.pl (top level): Don't mention expected
9027 failure handling in comment.
9028 (new_test): Don't handle expected failures.
9029 (parse_args): Don't mention expected failure handling in comment.
9030 (generate_testfile): Don't handle expected failures.
9031 (parse_ulps): Likewise.
9032 (print_ulps_file): Likewise.
9033 (get_failure): Remove function.
9034 (output_test): Don't handle expected failures.
9035 * make/README.libm-test: Don't mention expected failure handling.
9037 * math/libm-test.inc (plus_zero): Make const. Add initializer.
9038 (minus_zero): Likewise.
9039 (plus_infty): Likewise.
9040 (minus_infty): Likewise.
9041 (qnan_value): Likewise.
9042 (max_value): Likewise.
9043 (min_value): Likewise.
9044 (min_subnorm_value): Likewise.
9045 (initialize): Do not initialize those variables dynamically.
9047 2013-05-03 Roland McGrath <roland@hack.frob.com>
9049 * io/open.c (__open_2): Moved to ...
9050 * io/open_2.c: ... this new file.
9051 * io/open64.c (__open64_2): Moved to ...
9052 * io/open64_2.c: ... this new file.
9053 * io/openat.c (__openat_2): Moved to ...
9054 * io/openat_2.c: ... this new file.
9055 * io/openat64.c (__openat64_2): Moved to ...
9056 * io/openat64_2.c: ... this new file.
9057 * io/Makefile (routines): Add them.
9058 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
9059 * sysdeps/unix/sysv/linux/open_2.c: File removed.
9060 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
9061 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
9062 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
9063 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
9064 (__openat64): Add hidden_ver.
9065 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
9066 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
9068 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
9069 Separately conditionalize setting of GLRO(dl_sysinfo) so
9070 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
9071 as well, but the actual setting is only under [NEED_DL_SYSINFO].
9073 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9075 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
9076 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
9078 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
9079 * sysdeps/unix/sysv/linux/powerpc/init-first.c
9080 (_libc_vdso_platform_setup): Add __vdso_time initialization.
9081 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
9082 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
9084 2013-05-03 Joseph Myers <joseph@codesourcery.com>
9086 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
9089 * math/libm-test.inc (hypot_test): Do not use
9090 IGNORE_ZERO_INF_SIGN.
9092 2013-05-03 Andreas Jaeger <aj@suse.de>
9094 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
9096 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
9097 (PF_MAX): Adjust for VSOCK change.
9099 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9101 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9103 2013-05-02 Carlos O'Donell <carlos@redhat.com>
9106 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
9107 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
9108 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
9110 2013-05-02 David S. Miller <davem@davemloft.net>
9112 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9114 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
9116 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
9118 2013-05-01 Roland McGrath <roland@hack.frob.com>
9120 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
9122 2013-05-01 Richard Smith <richard@metafoo.co.uk>
9125 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
9126 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9127 Use __attribute__ ((__gnu_inline__)).
9128 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9129 Don't use __attribute__ ((__gnu_inline__)).
9131 2013-05-01 Joseph Myers <joseph@codesourcery.com>
9134 * math/s_catan.c (__catan): Handle small real or imaginary part of
9135 input specially to avoid spurious underflow.
9136 * math/s_catanf.c (__catanf): Likewise.
9137 * math/s_catanh.c (__catanh): Likewise.
9138 * math/s_catanhf.c (__catanhf): Likewise.
9139 * math/s_catanhl.c (__catanhl): Likewise.
9140 * math/s_catanl.c (__catanl): Likewise.
9141 * math/libm-test.inc (catan_test): Add more tests.
9142 (catanh_test): Likewise.
9143 * sysdeps/i386/fpu/libm-test-ulps: Update.
9144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9146 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9148 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9150 2013-04-30 Joseph Myers <joseph@codesourcery.com>
9153 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
9154 accurately for denominator in atan2.
9155 * math/s_catanf.c (__catanf): Likewise.
9156 * math/s_catanh.c (__catanh): Likewise.
9157 * math/s_catanhf.c (__catanhf): Likewise.
9158 * math/s_catanhl.c (__catanhl): Likewise.
9159 * math/s_catanl.c (__catanl): Likewise.
9160 * math/libm-test.inc (catan_test): Add more tests.
9161 (catanh_test): Likewise.
9162 * sysdeps/i386/fpu/libm-test-ulps: Update.
9163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9165 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9167 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
9169 * benchtests/Makefile (bench): Remove slow benchmarks.
9170 * benchtests/atan-inputs: Add slow benchmark inputs.
9171 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
9172 (BENCH_FUNC): Accept variant offset.
9174 * benchtests/bench-skeleton.c (main): Run benchmark for each
9176 * benchtests/cos-inputs: Add slow benchmark inputs.
9177 * benchtests/exp-inputs: Likewise.
9178 * benchtests/pow-inputs: Likewise.
9179 * benchtests/sin-inputs: Likewise.
9180 * benchtests/slowatan-inputs: Remove.
9181 * benchtests/slowatan.c: Remove.
9182 * benchtests/slowcos-inputs: Remove.
9183 * benchtests/slowcos.c: Remove.
9184 * benchtests/slowexp-inputs: Remove.
9185 * benchtests/slowexp.c: Remove.
9186 * benchtests/slowpow-inputs: Remove.
9187 * benchtests/slowpow.c: Remove.
9188 * benchtests/slowsin-inputs: Remove.
9189 * benchtests/slowsin.c: Remove.
9190 * benchtests/slowtan-inputs: Remove.
9191 * benchtests/slowtan.c: Remove.
9192 * benchtests/tan-inputs: Add slow benchmark inputs.
9193 * scripts/bench.pl: Parse comments and directives.
9195 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
9197 ($(objpfx)bench-%.c): Remove *-ITER.
9198 * benchtests/bench-modf.c: Remove definition of ITER.
9199 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
9200 (main): Loop for DURATION seconds instead of fixed number of
9202 * scripts/bench.pl: Don't expect iterations in parameters.
9204 2013-04-29 Roland McGrath <roland@hack.frob.com>
9206 * io/fchdir.c (__fchdir): Renamed from fchdir.
9207 (fchdir): Define as weak alias.
9209 2013-04-29 Joseph Myers <joseph@codesourcery.com>
9211 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
9212 (ERRNO_EDOM): Likewise.
9213 (ERRNO_ERANGE): Likewise.
9214 (noErrnoTests): New variable.
9215 (init_max_error): Set errno to 0.
9216 (test_single_errno): New function.
9217 (test_errno): Likewise.
9218 (check_float_internal): Call test_errno. Set errno to 0.
9219 (check_complex): Refer to errno tests in comment.
9220 (check_int): Call test_errno. Set errno to 0.
9221 (check_long): Likewise.
9222 (check_bool): Likewise.
9223 (check_longlong): Likewise.
9224 (cos_test): Use ERRNO_* flags for errno tests instead of
9226 (expm1_test): Likewise.
9227 (fmod_test): Likewise.
9228 (ilogb_test): Likewise.
9229 (lgamma_test): Likewise.
9230 (pow_test): Likewise.
9231 (remainder_test): Likewise.
9232 (sin_test): Likewise.
9233 (tan_test): Likewise.
9234 (yn_test): Likewise.
9235 (initialize): Set errno to 0.
9236 (main): Print number of errno tests.
9237 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
9239 2013-04-29 Andreas Jaeger <aj@suse.de>
9242 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
9246 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
9247 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
9251 * stdlib/random.c (__initstate): Return NULL if
9255 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
9256 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
9259 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9261 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9263 2013-04-29 Joseph Myers <joseph@codesourcery.com>
9265 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
9266 of individual tests.
9267 (casin_test): Likewise.
9268 (casinh_test): Likewise.
9270 2013-04-27 Joseph Myers <joseph@codesourcery.com>
9273 * math/s_catan.c (__catan): Handle arguments with large real or
9274 imaginary part separately without squaring.
9275 * math/s_catanf.c (__catanf): Likewise.
9276 * math/s_catanh.c (__catanh): Likewise.
9277 * math/s_catanhf.c (__catanhf): Likewise.
9278 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9280 (__catanhl): Handle arguments with large real or imaginary part
9281 separately without squaring.
9282 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9284 (__catanl): Handle arguments with large real or imaginary part
9285 separately without squaring.
9286 * math/libm-test.inc (catan_test): Add more tests.
9287 (catanh_test): Likewise.
9288 * sysdeps/i386/fpu/libm-test-ulps: Update.
9289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9291 2013-04-27 Andreas Jaeger <aj@suse.de>
9294 * stdlib/stdlib.h: Update guards for qecvt.
9295 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
9298 2013-04-27 Allan McRae <allan@archlinux.org>
9300 * sysdeps/i386/fpu/libm-test-ulps: Update.
9302 2013-04-26 Joseph Myers <joseph@codesourcery.com>
9305 * math/s_catan.c: Include <float.h>.
9306 (__catan): Ensure underflow exception occurs for underflowed
9308 * math/s_catanf.c: Include <float.h>.
9309 (__catanf): Ensure underflow exception occurs for underflowed
9311 * math/s_catanh.c: Include <float.h>.
9312 (__catanh): Ensure underflow exception occurs for underflowed
9314 * math/s_catanhf.c: Include <float.h>.
9315 (__catanhf): Ensure underflow exception occurs for underflowed
9317 * math/s_catanhl.c: Include <float.h>.
9318 (__catanhl): Ensure underflow exception occurs for underflowed
9320 * math/s_catanl.c: Include <float.h>.
9321 (__catanl): Ensure underflow exception occurs for underflowed
9323 * math/libm-test.inc (catan_test): Add more tests.
9324 (catanh_test): Likewise.
9327 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
9329 * math/s_ccoshf.c (__ccoshf): Likewise.
9330 * math/s_ccoshl.c (__ccoshl): Likewise.
9331 * math/s_csin.c (__csin): Likewise.
9332 * math/s_csinf.c (__csinf): Likewise.
9333 * math/s_csinh.c (__csinh): Likewise.
9334 * math/s_csinhf.c (__csinhf): Likewise.
9335 * math/s_csinhl.c (__csinhl): Likewise.
9336 * math/s_csinl.c (__csinl): Likewise.
9337 * math/libm-test.inc (ccos_test): Add more tests.
9338 (ccosh_test): Likewise.
9339 (csin_test): Likewise.
9340 (csinh_test): Likewise.
9342 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9344 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
9345 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
9346 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
9347 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
9348 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
9349 powerpc/power5+/fpu folders.
9350 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
9353 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
9355 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9357 2013-04-25 Joseph Myers <joseph@codesourcery.com>
9359 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
9360 additions to variable.
9361 [$(config-machine) = x86_64] (modules-names): Likewise.
9362 ($(objpfx)tst-audit3): Remove dependency.
9363 ($(objpfx)tst-audit3.out): Likewise.
9364 ($(objpfx)tst-audit4): Likewise.
9365 ($(objpfx)tst-audit4.out): Likewise.
9366 ($(objpfx)tst-audit5): Likewise.
9367 ($(objpfx)tst-audit5.out): Likewise.
9368 ($(objpfx)tst-audit6): Likewise.
9369 ($(objpfx)tst-audit6.out): Likewise.
9370 ($(objpfx)tst-audit7): Likewise.
9371 ($(objpfx)tst-audit7.out): Likewise.
9372 (tst-audit3-ENV): Remove variable.
9373 (tst-audit4-ENV): Likewise.
9374 (tst-audit5-ENV): Likewise.
9375 (tst-audit6-ENV): Likewise.
9376 (tst-audit7-ENV): Likewise.
9377 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
9378 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
9379 addition to variable.
9380 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
9381 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
9382 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
9383 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
9384 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
9385 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
9386 tst-audit3, tst-audit4 and tst-audit5.
9387 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
9388 tst-audit6 and tst-audit7.
9389 [$(subdir) = elf] (modules-names): Add audit modules for those
9391 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
9392 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
9393 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
9394 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
9395 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
9396 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
9397 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
9398 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
9399 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
9400 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
9401 [$(subdir) = elf] (tst-audit3-ENV): New variable.
9402 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
9403 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
9404 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
9405 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
9406 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
9408 [$(subdir) = elf && $(config-cflags-avx) = yes]
9409 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
9410 [$(subdir) = elf && $(config-cflags-avx) = yes]
9411 (CFLAGS-tst-auditmod4a.c): Likewise.
9412 [$(subdir) = elf && $(config-cflags-avx) = yes]
9413 (CFLAGS-tst-auditmod4b.c): Likewise.
9414 [$(subdir) = elf && $(config-cflags-avx) = yes]
9415 (CFLAGS-tst-auditmod6b.c): Likewise.
9416 [$(subdir) = elf && $(config-cflags-avx) = yes]
9417 (CFLAGS-tst-auditmod6c.c): Likewise.
9418 [$(subdir) = elf && $(config-cflags-avx) = yes]
9419 (CFLAGS-tst-auditmod7b.c): Likewise.
9420 * elf/tst-audit3.c: Move to ...
9421 * sysdeps/x86_64/tst-audit3.c: ... here.
9422 * elf/tst-audit4.c: Move to ...
9423 * sysdeps/x86_64/tst-audit4.c: ... here.
9424 * elf/tst-audit5.c: Move to ...
9425 * sysdeps/x86_64/tst-audit5.c: ... here.
9426 * elf/tst-audit6.c: Move to ...
9427 * sysdeps/x86_64/tst-audit6.c: ... here.
9428 * elf/tst-audit7.c: Move to ...
9429 * sysdeps/x86_64/tst-audit7.c: ... here.
9430 * elf/tst-auditmod3a.c: Move to ...
9431 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
9432 * elf/tst-auditmod3b.c: Move to ...
9433 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
9434 * elf/tst-auditmod4a.c: Move to ...
9435 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
9436 * elf/tst-auditmod4b.c: Move to ...
9437 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
9438 * elf/tst-auditmod5a.c: Move to ...
9439 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
9440 * elf/tst-auditmod5b.c: Move to ...
9441 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
9442 * elf/tst-auditmod6a.c: Move to ...
9443 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
9444 * elf/tst-auditmod6b.c: Move to ...
9445 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
9446 * elf/tst-auditmod6c.c: Move to ...
9447 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
9448 * elf/tst-auditmod7a.c: Move to ...
9449 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
9450 * elf/tst-auditmod7b.c: Move to ...
9451 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
9453 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
9456 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
9457 define unconditionally.
9458 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
9459 define unconditionally.
9460 (INT8_C, INT16_C, etc.): Likewise.
9462 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
9464 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
9465 __ehdr_start with hidden visibility.
9467 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
9469 2013-04-24 Carlos O'Donell <carlos@redhat.com>
9471 * math/libm-test.inc (cos_test): Use accurate hex constants.
9472 (sincost_test): Likewise.
9474 2013-04-24 Joseph Myers <joseph@codesourcery.com>
9476 * math/libm-test.inc (catan_test): Add more tests.
9477 (catanh_test): Likewise.
9479 * math/s_catanf.c (__catanf): Use suffixed floating-point
9481 * math/s_catanhf.c (__catanhf): Likewise.
9482 * math/s_catanhl.c (__catanhl): Likewise.
9483 * math/s_catanl.c (__catanl): Likewise.
9486 * math/s_catan.c (__catan): Calculate imaginary part of result
9487 with log1p not log unless computing log of number close to 0.
9488 * math/s_catanf.c (__catanf): Likewise.
9489 * math/s_catanl.c (__catanl): Likewise.
9490 * math/s_catanh.c (__catanh): Calculate real part of result with
9491 log1p not log unless computing log of number close to 0.
9492 * math/s_catanhf.c (__catanhf): Likewise.
9493 * math/s_catanhl.c (__catanhl): Likewise.
9494 * math/libm-test.inc (catan_test): Add more tests.
9495 (catanh_test): Likewise.
9496 * sysdeps/i386/fpu/libm-test-ulps: Update.
9497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9499 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9501 * benchtests/Makefile: Mention files in which fast and slow
9502 paths of math functions are implemented.
9504 2013-04-23 Roland McGrath <roland@hack.frob.com>
9506 * sysdeps/posix/timespec_get.c: New file.
9508 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9510 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
9512 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
9514 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
9515 powerpc/power5/fpu folders.
9516 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
9517 * benchtests/Makefile: Add modf testcase.
9518 * benchtests/bench-modf.c: New file: Benchmark test for mo
9520 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9523 * time/Makefile (tests): Add tst-strptime-whitespace.
9524 * time/strptime_l.c (get_number): Use ISSPACE.
9525 (__strptime_internal): Likewise.
9526 * time/tst-strptime-whitespace.c: New test case.
9528 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
9530 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
9532 (_nss_files_init): Set it here.
9534 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
9536 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
9537 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
9540 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
9542 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
9544 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9546 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
9549 2013-04-21 David S. Miller <davem@davemloft.net>
9551 * po/ru.po: Update Russion translation from translation project.
9553 2013-04-17 Adam Conrad <adconrad@0c3.net>
9555 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
9558 2013-04-17 Carlos O'Donell <carlos@redhat.com>
9560 * configure.in: Remove i386 configure warning. Remove i386 case.
9561 * configure: Regenerate.
9562 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
9563 Add example to error message.
9564 * sysdeps/i386/configure: Regenerate.
9566 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9568 * benchtests/Makefile (bench): Add cos, tan, slowcos and
9570 * benchtests/cos-inputs: New file.
9571 * benchtests/slowcos-inputs: New file.
9572 * benchtests/slowcos.c: New file.
9573 * benchtests/slowtan-inputs: New file.
9574 * benchtests/slowtan.c: New file.
9575 * benchtests/tan-inputs: New file.
9577 2013-04-16 Roland McGrath <roland@hack.frob.com>
9579 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
9582 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9584 * benchtests/Makefile: Include cppflags-iterator.mk to add
9585 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
9587 * Makefile.in (bench-clean): New target.
9588 * benchtests/Makefile (bench-clean): Likewise.
9590 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
9592 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
9594 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
9596 * stdio-common/tstdiomisc.c: Fix coding-style violation.
9598 2013-04-15 Andreas Schwab <schwab@suse.de>
9600 * nscd/grpcache.c (cache_addgr): Properly check for short write.
9601 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9602 * nscd/pwdcache.c (cache_addpw): Likewise.
9603 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
9606 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9608 * benchtests/Makefile (bench): Write all output to
9609 bench-out.tmp together.
9611 2013-04-15 Andreas Schwab <schwab@suse.de>
9613 * nscd/nscd.c (main): Don't fork again after closing files.
9615 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9617 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
9619 * benchtests/Rules (bench-deps): Collect dependencies into a
9620 single variable. Add Makefile to dependencies.
9621 ($(objpfx)bench-%.c): Depend on bench-deps.
9623 2013-04-12 Roland McGrath <roland@hack.frob.com>
9624 Xavier Roche <roche+kml2@exalead.com>
9627 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
9628 just that it's a file descriptor.
9629 * manual/llio.texi (Synchronizing AIO Operations): Update description
9630 for EBADF error from aio_fsync.
9632 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9634 * Rules (bench): Move target definition...
9635 * benchtests/Makefile: ... here.
9637 2013-04-11 Carlos O'Donell <carlos@redhat.com>
9639 * math/libm-test.inc (cos_test): Fix PI/2 test.
9640 (sincos_test): Likewise.
9641 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9642 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
9644 2013-04-11 Andreas Schwab <schwab@suse.de>
9647 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
9648 accept exponent character only when digits were seen.
9649 * stdio-common/Makefile (tests): Add bug26.
9650 * stdio-common/bug26.c: New file.
9653 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
9656 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9658 * Makeconfig (rtld-prefix): Define built linker prefix.
9659 * Rules (run-bench): Use it.
9660 * math/Makefile (run-regen-ulps): Likewise.
9662 * Rules (bench): Remove eval.
9664 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9665 Roland McGrath <roland@hack.frob.com>
9666 Ondrej Bilka <neleai@seznam.cz>
9669 * time/getdate.c: Include ctype.h and alloca.h.
9670 (__getdate_r): Trim leading and trailing spaces of input.
9671 * time/tst-getdate.c (tests): Add tests with leading and
9674 2013-04-08 Roland McGrath <roland@hack.frob.com>
9677 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
9678 when computing value.
9680 2013-04-06 Carlos O'Donell <carlos@redhat.com>
9682 * math/README.libm-test (How can I generate "libm-test-ulps"?):
9683 Use testrun.sh to run libm tests.
9686 * elf/dl-open.c (dl_open_worker): memset all of seen array.
9688 2013-04-06 Marko Myllynen <myllynen@redhat.com>
9691 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
9693 2013-04-06 Carlos O'Donell <carlos@redhat.com>
9695 * Makefile.in (regen-ulps): New target.
9696 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
9697 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
9698 [ifneq (no,$(PERL)] (regen-ulps): New target.
9699 [ifeq (no,$(PERL)] (regen-ulps): New target.
9700 * math/libm-test.inc (ulps_file_name): Define.
9701 (output_dir): New variable.
9702 (options): Add "output-dir" option.
9703 (parse_opt): Handle 'o' case.
9704 (main): If output_dir is non-NULL use it as a prefix
9706 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
9708 2013-04-06 Carlos O'Donell <carlos@redhat.com>
9711 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
9712 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
9713 fail configure if __sync_val_compare_and_swap is not inlined.
9714 * sysdeps/i386/configure: Regenerate.
9715 * configure.in: Build for i686 when configured for i386.
9716 * configure: Regenerate.
9717 * README: Remove i386 reference.
9719 2013-04-06 Carlos O'Donell <carlos@redhat.com>
9721 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
9722 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9724 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
9726 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
9727 (lmsnanval): New variables.
9728 (F): Add conversion tests.
9729 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
9730 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
9732 * stdio-common/tstdiomisc.c (F): Properly collect individual
9736 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
9737 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
9738 Instead, use input NaN values or generate a qNaN by arithmetic
9739 operation. Also fix bugs to comply with the standard.
9740 * math/libm-test.inc (remainder_test): Add more tests.
9743 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
9744 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
9745 input NaN values or generate a qNaN by arithmetic operation.
9747 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
9750 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
9753 2013-04-03 Joseph Myers <joseph@codesourcery.com>
9756 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
9758 * math/s_cexpf.c (__cexpf): Likewise.
9759 * math/s_cexpl.c (__cexpl): Likewise.
9760 * math/libm-test.inc (cexp_test): Add more tests.
9762 2013-04-03 Andreas Schwab <schwab@suse.de>
9765 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
9766 order arrays from heap if bigger than alloca cutoff.
9768 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
9770 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
9771 (SNAN_TESTS_double): Refer to GCC PR56831.
9772 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
9775 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9777 * Rules (bench): Move bench.out after the run is complete.
9779 * Rules (bench): Echo currently running benchmark.
9781 * benchtests/Makefile (bench): Add atan and slowatan.
9782 * benchtests/atan-inputs: New file.
9783 * benchtests/slowatan-inputs: New file.
9784 * benchtests/slowatan.c: New file.
9786 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
9787 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
9791 * sysdeps/unix/sysv/linux/kernel-features.h
9792 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
9793 __ASSUME_XFS_RESTRICTED_CHOWN.
9794 * sysdeps/unix/sysv/linux/pathconf.c
9795 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
9796 Save and restore errno.
9798 2013-04-02 Joseph Myers <joseph@codesourcery.com>
9801 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
9802 arguments using __kernel_casinh.
9803 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
9804 arguments using __kernel_casinhf.
9805 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
9806 arguments using __kernel_casinhl.
9807 * math/libm-test.inc (cacosh_test): Add more tests.
9808 * sysdeps/i386/fpu/libm-test-ulps: Update.
9809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9811 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9813 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
9814 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
9816 * bench/Makefile (bench): Add sin and slowsin.
9817 * benchtests/sin-inputs: New file.
9818 * benchtests/slowsin-inputs: New file.
9819 * benchtests/slowsin.c: New file.
9821 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
9822 (bench): Add slowexp and slowpow.
9823 (exp-ITER): Increase iterations.
9824 (pow-ITER): Likewise.
9825 * benchtests/exp-inputs: Change input.
9826 * benchtests/pow-inputs: Likewise.
9827 * benchtests/slowexp-inputs: New file.
9828 * benchtests/slowexp.c: New file.
9829 * benchtests/slowpow-inputs: New file.
9830 * benchtests/slowpow.c: New file.
9832 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9834 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
9836 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9837 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
9838 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9839 * benchtests/Makefile: Add rint benchtest.
9840 * benchtests/rint-inputs: Input for rint benchtest.
9842 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
9844 * Versions.def (libm): Add GLIBC_2.18.
9845 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
9846 hidden libm prototypes.
9847 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
9848 * math/Makefile (libm-calls): Add s_issignaling.
9849 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
9850 __issignalingf, __issignalingl. Adjust all libm.abilist files.
9851 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
9853 * math/math.h [__USE_GNU] (issignaling): New macro.
9854 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
9855 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
9856 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
9857 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
9858 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
9859 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
9860 * manual/arith.texi (issignaling): New section.
9861 * manual/libm-err-tab.pl (@all_functions): Update comment.
9862 * math/gen-libm-test.pl (parse_args): Apply special handling for
9864 * math/libm-test.inc (print_float, issignaling_test): New
9866 (check_float_internal): Add issignaling checks.
9867 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
9869 * sysdeps/powerpc/math-tests.h: New file.
9870 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
9872 * math/test-snan.c (TEST_FUNC): Likewise.
9874 2013-03-30 David S. Miller <davem@davemloft.net>
9876 * po/de.po: Update from translation team.
9878 2013-03-30 Joseph Myers <joseph@codesourcery.com>
9881 * math/k_casinh.c (__kernel_casinh): Handle arguments with
9882 imaginary part less than 1.0 and real part less than 0.5
9884 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9885 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9886 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
9887 (cacos_test): Add more tests.
9888 (casin_test): Likewise.
9889 (casinh_test): Likewise.
9890 * sysdeps/i386/fpu/libm-test-ulps: Update.
9891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9893 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9895 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
9898 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
9899 (__pow_mp): Replace ONE and MONE with their values.
9900 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9901 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
9902 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9903 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
9904 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9905 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9907 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
9909 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
9910 (__pow_mp): Replace ZERO and MZERO with their values.
9911 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
9912 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9913 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9914 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9915 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9916 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
9919 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
9921 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
9923 2013-03-28 Roland McGrath <roland@hack.frob.com>
9925 * include/stdlib.h [!SHARED] (__call_tls_dtors):
9926 Declare with __attribute__ ((weak)).
9927 * stdlib/exit.c (__libc_atexit) [!SHARED]:
9928 Call __call_tls_dtors only if it's not NULL.
9930 2013-03-28 Roland McGrath <roland@hack.frob.com>
9932 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
9933 didn't do it already, then set _dl_phdr and _dl_phnum based on the
9934 magic __ehdr_start linker symbol if it's defined.
9935 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
9936 them up here if it was already done.
9938 * elf/dl-support.c (_dl_phdr): Make pointer to const.
9939 (_dl_aux_init): Use const in cast when setting it.
9940 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
9941 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
9942 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
9944 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
9946 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
9947 * csu/libc-tls.c: Nor here.
9948 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
9950 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
9951 (__libc_message): Never call vsyslog.
9953 2013-03-28 Alan Modra <amodra@gmail.com>
9955 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
9957 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
9960 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9963 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
9965 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9967 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9970 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9971 Don't add gid passed as argument.
9973 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
9975 2013-03-27 Joseph Myers <joseph@codesourcery.com>
9978 * math/k_casinh.c (__kernel_casinh): Handle arguments with
9979 imaginary part between 1.0 and 1.5 and real part less than 0.5
9981 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9982 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9983 * math/libm-test.inc (cacos_test): Add more tests.
9984 (casin_test): Likewise.
9985 (casinh_test): Likewise.
9986 * sysdeps/i386/fpu/libm-test-ulps: Update.
9987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9989 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9991 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
9995 (__dbl_mp): Likewise.
9996 (add_magnitudes): Likewise.
9997 (sub_magnitudes): Likewise.
10005 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
10007 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
10008 (__dubcos): Likewise.
10009 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
10010 (__ieee754_acos): Likewise.
10011 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10012 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
10013 (__exp1): Likewise.
10014 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10015 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10017 (my_log2): Likewise.
10018 (checkint): Likewise.
10019 * sysdeps/ieee754/dbl-64/e_remainder.c
10020 (__ieee754_remainder): Likewise.
10021 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10022 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
10023 (bsloww): Likewise.
10024 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10026 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10027 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
10028 MANTISSA_STORE_T to store computations on mantissa. Use
10029 macros for rounding and division.
10030 (denorm): Likewise.
10031 (__dbl_mp): Likewise.
10032 (add_magnitudes): Likewise.
10033 (sub_magnitudes): Likewise.
10036 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
10037 powers of two in terms of TWOPOW macro.
10038 (mp_no): Make type of mantissa as MANTISSA_T.
10039 [!RADIXI]: Define RADIXI.
10040 [!TWO52]: Define TWO52.
10041 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10043 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10045 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
10046 llroundl symbol when building for PPC32.
10048 2013-03-24 Mark H Weaver <mhw@netris.org>
10050 * manual/arith.texi (Normalization Functions): Fix prototypes for
10051 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
10053 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10056 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
10057 high value to check if expl overflow.
10058 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
10059 to check for underflow and overflow.
10060 * math/libm-test.inc: Add exp test.
10062 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
10065 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
10068 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10070 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
10073 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
10075 * math/gen-libm-test.pl (parse_args, special_functions): Properly
10076 wrap blocks consisting of several statements.
10078 * sysdeps/generic/math-tests.h: New file.
10079 * sysdeps/i386/fpu/math-tests.h: Likewise.
10080 * math/test-snan.c: Include it.
10081 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
10083 2013-03-21 Joseph Myers <joseph@codesourcery.com>
10086 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
10087 (__ieee754_j0l): Do not improve calculations using cos of twice
10088 input for inputs above LDBL_MAX / 2.0L.
10089 (__ieee754_y0l): Likewise.
10090 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
10091 (__ieee754_j1l): Do not improve calculations using cos of twice
10092 input for inputs above LDBL_MAX / 2.0L.
10093 (__ieee754_y1l): Likewise.
10094 * math/libm-test.inc (j0_test): Add another test.
10095 (j1_test): Likewise.
10096 (y0_test): Likewise.
10097 (y1_test): Likewise.
10098 * sysdeps/i386/fpu/libm-test-ulps: Update.
10100 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10102 * Rules ($(objpfx)bench-%.c): Include code from a C source
10105 2013-03-21 Joseph Myers <joseph@codesourcery.com>
10108 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10109 imaginary part 1.0 and real part less than 0.5 specially.
10110 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10111 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10112 * math/libm-test.inc (cacos_test): Add more tests.
10113 (casin_test): Likewise.
10114 (casinh_test): Likewise.
10115 * sysdeps/i386/fpu/libm-test-ulps: Update.
10116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10118 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10120 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
10121 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
10123 2013-03-20 Joseph Myers <joseph@codesourcery.com>
10125 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
10126 * config.make.in (config-cflags-sse4): Remove variable.
10127 (config-cflags-avx): Likewise.
10128 (config-cflags-sse2avx): Likewise.
10129 (config-cflags-novzeroupper): Likewise.
10130 (config-asflags-i686): Likewise.
10131 (have-mfma4): Likewise.
10132 (have-as-vis3): Likewise.
10134 * configure.in (MIG): Do not AC_SUBST.
10135 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
10136 (libc_cv_cc_sse4): Do not AC_SUBST.
10137 (libc_cv_cc_avx): Likewise.
10138 (libc_cv_cc_sse2avx): Likewise.
10139 (libc_cv_cc_novzeroupper): Likewise.
10140 (libc_cv_cc_fma4): Likewise.
10141 (libc_cv_as_i686): Likewise.
10142 (libc_cv_sparc_as_vis3): Likewise.
10143 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
10145 (config-asflags-i686): Likewise.
10146 (config-cflags-avx): Likewise.
10147 (config-cflags-sse2avx): Likewise.
10148 (have-mfma4): Likewise.
10149 (config-cflags-novzeroupper): Likewise.
10150 * sysdeps/mach/configure.in (MIG): Likewise.
10151 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
10152 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
10154 (config-cflags-avx): Likewise.
10155 (config-cflags-sse2avx): Likewise.
10156 (have-mfma4): Likewise.
10157 (config-cflags-novzeroupper): Likewise.
10158 * configure: Regenerated.
10159 * sysdeps/i386/configure: Likewise.
10160 * sysdeps/mach/configure: Likewise.
10161 * sysdeps/sparc/configure: Likewise.
10162 * sysdeps/x86_64/configure: Likewise.
10164 2013-03-20 Roland McGrath <roland@hack.frob.com>
10167 * locale/programs/localedef.c (options): Put N_ translation marker
10168 on argument names, not just descriptions.
10170 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10172 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
10174 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
10177 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
10179 2013-03-19 Roland McGrath <roland@hack.frob.com>
10181 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
10182 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
10183 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
10184 [!BEFORE_ABORT] (before_abort): New function.
10185 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
10186 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
10187 (writev_for_fatal): New function.
10188 (WRITEV_FOR_FATAL): New macro; call that.
10189 (backtrace_and_maps): New function.
10190 (BEFORE_ABORT): New macro; call that.
10191 (struct str_list): Type removed.
10192 (__libc_message, __libc_fatal): Functions removed.
10193 Include <sysdeps/posix/libc_fatal.c> instead.
10195 2013-03-19 Joseph Myers <joseph@codesourcery.com>
10197 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
10199 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
10202 2013-03-19 Andreas Schwab <schwab@suse.de>
10204 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
10205 * sysdeps/gnu/configure: Regenerate.
10207 * configure.in: Substitute libc_cv_rtlddir.
10208 * configure: Regenerate.
10209 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
10210 * Makeconfig (rtlddir, inst_rtlddir): New variables.
10211 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
10212 * elf/Makefile (install-others, CFLAGS-interp.c)
10213 (ldso_install, common-ldd-rewrite): Likewise.
10214 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
10215 $(inst_slibdir)/$(rtld-installed-name).
10216 * scripts/rellns-sh: Add -p option.
10217 * Makerules (make-shlib-link): Use rellns-sh to get relative name
10220 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10222 * manual/nptl.texi: Renamed to ...
10223 * manual/threads.texi: ... this.
10224 * manual/Makefile (chapters): Update.
10226 2013-03-18 Roland McGrath <roland@hack.frob.com>
10229 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
10230 on argument names, not just descriptions.
10231 * malloc/memusagestat.c (options): Likewise.
10232 * nss/getent.c (options): Likewise.
10234 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
10237 * iconv/iconv_prog.c (options): Put N_ translation marker
10238 on argument names, not just descriptions.
10239 * iconv/iconvconfig.c (options): Likewise.
10241 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
10243 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
10244 implementation which is faster on all x86_64 architectures.
10245 Tested on AMD, Intel Nehalem, SNB, IVB.
10246 * sysdeps/x86_64/strnlen.S: Likewise.
10248 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10249 Remove all multiarch strlen and strnlen versions.
10250 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10251 Remove strlen and strnlen related parts.
10253 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
10254 Inline strlen part.
10255 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
10257 * sysdeps/x86_64/multiarch/strlen.S: Remove.
10258 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
10259 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
10260 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
10261 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
10262 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
10264 2013-03-17 Carlos O'Donell <carlos@redhat.com>
10266 * manual/memory.texi (Malloc Tunable Parameters):
10267 Sort parameters alphabetically. Add comments for missing entries.
10269 2013-03-17 David S. Miller <davem@davemloft.net>
10271 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10273 2013-03-16 Joseph Myers <joseph@codesourcery.com>
10276 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
10277 for arguments at most half maximum finite value.
10278 * math/libm-test.inc (j0_test): Add more tests.
10279 (j1_test): Likewise.
10280 (y0_test): Likewise.
10281 (y1_test): Likewise.
10282 * sysdeps/i386/fpu/libm-test-ulps: Update.
10283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10286 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
10287 1 / x and functions P and Q for arguments above 0x1p256L.
10288 (__ieee754_y0l): Likewise.
10289 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
10290 (__ieee754_y1l): Likewise.
10291 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
10292 (j1_test): Likewise.
10293 (y0_test): Likewise.
10294 (y1_test): Likewise.
10296 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
10298 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
10301 2013-03-15 Roland McGrath <roland@hack.frob.com>
10303 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
10304 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
10305 zero since it's initialized to EXEC_PAGESIZE.
10307 * sysdeps/unix/sysv/linux/ldsodefs.h
10308 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
10309 * sysdeps/generic/ldsodefs.h: ... here.
10311 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
10313 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
10315 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
10317 * math/test-snan.c: Renamed from
10318 sysdeps/powerpc/fpu/test-powerpc-snan.c.
10319 * math/Makefile (tests): Add test-snan.
10320 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
10323 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
10324 SUFFIX. Initialize qNaN_var with __builtin_nan family of
10326 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
10327 __builtin_nan family of functions.
10328 * math/libm-test.inc (initialize): Initialize qnan_value with
10329 __builtin_nan family of functions.
10330 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
10332 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
10334 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
10335 storage class. Initialize qNaN_var and sNaN_var with
10336 __builtin_nan and __builtin_nans families of functions,
10339 * math/libm-test.inc (acosh_test): Also test with qNaN input.
10340 (sqrt_test): Remove duplicate test with qNaN input.
10341 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
10342 (round_test, signbit_test, significand_test): Note missing +/-Inf
10343 as well as qNaN tests.
10345 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
10346 qNaN_var. Fix a few strings, too.
10347 * math/libm-test.inc (nan_value): Rename to qnan_value.
10348 * math/gen-libm-test.pl (%beautify): Adjust to that.
10349 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
10350 * math/test-misc.c (main): Likewise.
10351 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
10352 to __qnan_bytes, and __qnan_union, respectively.
10353 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
10355 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
10356 and lqnanval, respectively.
10357 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
10358 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
10359 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
10360 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
10362 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
10363 * math/test-misc.c (main) [__x86_64__]: Enable test for long
10366 * math/test-misc.c (main): Fix copy'n'pastos.
10367 * misc/tst-efgcvt.c (special): Likewise.
10369 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
10370 Remove declarations.
10372 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10374 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
10375 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
10376 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
10377 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
10379 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10381 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
10382 macro to return vdso values correctly in IFUNC implementations.
10383 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10384 Optimization by using IFUNC.
10386 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10387 Richard Henderson <rth@redhat.com>
10388 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10390 * Makefile.in (bench): New target.
10391 * NEWS: Mention the benchmark framework.
10392 * Rules (bench): Likewise.
10393 (binaries-bench): Generate binaries for functions to
10395 * benchtests/Makefile: New makefile for benchmark tests.
10396 * benchtests/bench-skeleton.c: New skeleton file for benchmark
10398 * benchtests/exp-inputs: New input file for EXP function.
10399 * benchtests/pow-inputs: New input file for POW function.
10400 * scripts/bench.pl: New script to generate source files for
10401 benchmark programs.
10403 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10405 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10406 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
10407 computations on mantissa. Use macros for rounding and
10409 (denorm): Likewise.
10410 (__dbl_mp): Likewise.
10411 (add_magnitudes): Likewise.
10412 (sub_magnitudes): Likewise.
10415 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
10416 powers of two in terms of TWOPOW macro.
10417 (mp_no): Make type of mantissa as MANTISSA_T.
10418 [!RADIXI]: Define RADIXI.
10419 [!TWO52]: Define TWO52.
10420 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10422 * manual/nptl.texi (cindex): Modify threads to pthreads.
10424 2013-03-15 Joseph Myers <joseph@codesourcery.com>
10426 * sysdeps/x86_64/preconfigure: Regenerated.
10428 2013-03-14 Joseph Myers <joseph@codesourcery.com>
10431 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
10433 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
10434 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
10436 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
10437 * math/libm-test.inc (j0_test): Do not allow one spurious
10438 underflow exception.
10439 (y1_test): Likewise.
10441 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10443 * manual/Makefile (chapters): Add nptl.
10444 * manual/debug.texi (Debugging Support): Add link to Threads
10446 * manual/nptl.texi: New file.
10448 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
10450 2013-03-14 Petr Baudis <pasky@ucw.cz>
10452 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
10453 for non-NULL pointer before the memory validity test. Pointed
10454 out by Holger Brunck <holger.brunck@keymile.com>.
10456 2013-03-13 Andreas Schwab <schwab@suse.de>
10458 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
10461 2013-03-13 Joseph Myers <joseph@codesourcery.com>
10463 * timezone/zic.c: Update from tzcode 2013b.
10465 2013-03-12 Carlos O'Donell <carlos@redhat.com>
10467 * manual/install.texi (Configuring and compiling):
10468 Mention i686 and i586.
10469 * INSTALL: Regenerate.
10471 2013-03-12 Roland McGrath <roland@hack.frob.com>
10473 * sysdeps/init_array/elf-init.c: New file.
10475 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
10476 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
10478 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
10479 __gmon_start__ as global, but as static with a .preinit_array pointer.
10480 * sysdeps/init_array/gmon-start.c: New file. Use that.
10481 * sysdeps/init_array/crti.S: New file, empty except for comments.
10482 * sysdeps/init_array/crtn.S: Likewise.
10484 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
10486 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
10488 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10489 Remove Prefer_SSE_for_memop.
10490 * sysdeps/x86_64/multiarch/init-arch.h: Remove
10491 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
10492 HAS_PREFER_SSE_FOR_MEMOP.
10493 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
10495 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10496 Remove bzero, memset ifunc support.
10497 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
10498 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
10499 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10500 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10502 2013-03-11 Andreas Schwab <schwab@suse.de>
10505 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
10507 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
10508 (GLIBC_2.16): Remove pthread_atfork.
10510 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
10512 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
10513 (ptestcases.h): Likewise.
10515 2013-03-08 Roland McGrath <roland@hack.frob.com>
10517 * Makeconfig ($(common-objpfx)config.status): Depend on
10518 sysdeps/*/preconfigure{,.in} too.
10520 2013-03-08 Joseph Myers <joseph@codesourcery.com>
10522 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
10523 (__free_hook): Use void * instead of __malloc_ptr_t.
10524 (__malloc_hook): Likewise.
10525 (__realloc_hook): Likewise.
10526 (__memalign_hook): Likewise.
10527 (__after_morecore_hook): Likewise.
10528 * malloc/arena.c (save_malloc_hook): Likewise.
10529 (save_free_hook): Likewise.
10530 * malloc/hooks.c (malloc_hook_ini): Likewise.
10531 (realloc_hook_ini): Likewise.
10532 (memalign_hook_ini): Likewise.
10533 * malloc/malloc.c (malloc_hook_ini): Likewise.
10534 (realloc_hook_ini): Likewise.
10535 (memalign_hook_ini): Likewise.
10536 (__free_hook): Likewise.
10537 (__malloc_hook): Likewise.
10538 (__realloc_hook): Likewise.
10539 (__memalign_hook): Likewise.
10540 (__libc_malloc): Likewise.
10541 (__libc_free): Likewise.
10542 (__libc_realloc): Likewise.
10543 (__libc_memalign): Likewise.
10544 (__libc_valloc): Likewise.
10545 (__libc_pvalloc): Likewise.
10546 (__libc_calloc): Likewise.
10547 (__posix_memalign): Likewise.
10548 * malloc/morecore.c (__sbrk): Likewise.
10549 (__default_morecore): Likewise.
10551 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
10553 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
10554 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
10555 __malloc_ptrdiff_t.
10557 * malloc/malloc.h (__malloc_size_t): Remove macro.
10558 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
10560 (old_memalign_hook): Likewise.
10561 (old_realloc_hook): Likewise.
10562 (struct hdr): Likewise.
10564 (mallochook): Likewise.
10565 (memalignhook): Likewise.
10566 (reallochook): Likewise.
10567 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
10568 (tr_old_realloc_hook): Likewise.
10569 (tr_old_memalign_hook): Likewise.
10570 (tr_mallochook): Likewise.
10571 (tr_reallochook): Likewise.
10572 (tr_memalignhook): Likewise.
10574 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10576 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
10577 default_ldbl_pack and using as default implementation.
10578 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
10580 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
10581 redundant definition.
10582 (ldbl_insert_mantissa): Likewise.
10583 (ldbl_canonicalize): Likewise.
10584 (ldbl_nearbyint): Likewise.
10585 (ldbl_pack): Rename to ldbl_pack_ppc.
10586 (ldbl_unpack): Rename to ldbl_unpack_ppc.
10587 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
10588 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
10590 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10592 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
10593 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
10594 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
10595 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
10596 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
10597 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
10598 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
10599 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
10601 2013-03-07 Andreas Jaeger <aj@suse.de>
10603 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10606 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
10608 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
10609 Include mpa.h and declare __MPEXP.
10610 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
10611 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
10612 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
10613 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
10614 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
10615 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
10616 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
10618 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
10619 (__slowpow): Use long double EXPL and LOGL functions to
10621 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
10622 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
10623 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
10624 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
10625 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
10626 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
10628 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
10629 intermediate variable to calculate exponent.
10631 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
10635 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
10636 [!NO__SQR]: Define __sqr.
10637 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
10638 and NO__SQR. Remove all code except __mul and __sqr. Include
10639 sysdeps/ieee754/dbl-64/mpa.c.
10640 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10643 * posix/Makefile (tests): Add tst-pathconf.
10644 * posix/tst-pathconf.c: New test case.
10645 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
10647 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
10649 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
10651 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
10653 2013-03-06 Andreas Jaeger <aj@suse.de>
10655 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
10656 definition via __MAP_ANONYMOUS.
10658 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
10659 it's not part of Linux headers.
10661 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
10662 (MAP_HUGE_MASK): Define.
10664 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10666 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10667 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10669 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10670 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10672 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10673 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
10675 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10677 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
10678 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
10679 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
10680 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
10681 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
10682 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
10684 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10687 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10688 Handle f2fs and efivarfs.
10690 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
10693 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
10694 (EFIVARFS_MAGIC): Add.
10695 (F2FS_LINK_MAX): Add.
10697 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10699 * stdio-common/vfprintf.c: Replace __builtin_expect with
10702 2013-03-06 Joseph Myers <joseph@codesourcery.com>
10705 * sysdeps/generic/bp-sym.h: Remove file.
10706 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
10707 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
10708 <bp-sym.h> and <bp-asm.h>.
10709 (__longjmp): Don't use BP_SYM.
10710 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
10712 (memcpy): Don't use BP_SYM.
10713 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
10714 <bp-sym.h> and <bp-asm.h>.
10715 (memcpy): Don't use BP_SYM.
10716 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
10718 (memcpy): Don't use BP_SYM.
10719 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
10721 (memset): Don't use BP_SYM.
10722 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10723 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10724 (__bzero): Don't use BP_SYM.
10725 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10726 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10727 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
10728 <bp-sym.h> and <bp-asm.h>.
10729 (memcmp): Don't use BP_SYM. Remove comment about bounded
10731 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
10732 <bp-sym.h> and <bp-asm.h>.
10733 (memcpy): Don't use BP_SYM.
10734 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
10735 <bp-sym.h> and <bp-asm.h>.
10736 (memset): Don't use BP_SYM.
10737 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10738 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10739 (__bzero): Don't use BP_SYM.
10740 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10741 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10742 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
10743 <bp-sym.h> and <bp-asm.h>.
10744 (strncmp): Don't use BP_SYM. Remove comment about bounded
10746 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
10747 <bp-sym.h> and <bp-asm.h>.
10748 (memcpy): Don't use BP_SYM.
10749 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
10750 <bp-sym.h> and <bp-asm.h>.
10751 (memset): Don't use BP_SYM.
10752 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10753 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10754 (__bzero): Don't use BP_SYM.
10755 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10756 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10757 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
10758 <bp-sym.h> and <bp-asm.h>.
10759 (__memchr): Don't use BP_SYM.
10760 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
10761 <bp-sym.h> and <bp-asm.h>.
10762 (memcmp): Don't use BP_SYM. Remove comment about bounded
10764 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
10765 <bp-sym.h> and <bp-asm.h>.
10766 (memcpy): Don't use BP_SYM.
10767 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
10768 <bp-sym.h> and <bp-asm.h>.
10769 (__mempcpy): Don't use BP_SYM.
10770 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
10771 <bp-sym.h> and <bp-asm.h>.
10772 (__memrchr): Don't use BP_SYM.
10773 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
10774 <bp-sym.h> and <bp-asm.h>.
10775 (memset): Don't use BP_SYM.
10776 (__bzero): Likewise.
10777 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
10778 <bp-sym.h> and <bp-asm.h>.
10779 (__rawmemchr): Don't use BP_SYM.
10780 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
10781 <bp-sym.h> and <bp-asm.h>.
10782 (__STRCMP): Don't use BP_SYM.
10783 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
10784 <bp-sym.h> and <bp-asm.h>.
10785 (strchr): Don't use BP_SYM.
10786 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
10787 <bp-sym.h> and <bp-asm.h>.
10788 (__strchrnul): Don't use BP_SYM.
10789 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
10790 <bp-sym.h> and <bp-asm.h>.
10791 (strlen): Don't use BP_SYM.
10792 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
10793 <bp-sym.h> and <bp-asm.h>.
10794 (strncmp): Don't use BP_SYM. Remove comment about bounded
10796 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
10797 <bp-sym.h> and <bp-asm.h>.
10798 (__strnlen): Don't use BP_SYM.
10799 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
10800 <bp-sym.h> and <bp-asm.h>.
10801 (__GI__setjmp): Don't use BP_SYM.
10802 (_setjmp): Likewise.
10803 (__sigsetjmp): Likewise.
10804 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
10805 (L(start_addresses)): Don't use BP_SYM.
10806 (_start): Likewise.
10807 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
10809 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
10810 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
10811 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10812 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10813 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
10815 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
10816 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
10817 about bounded pointers.
10818 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10819 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10820 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
10822 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
10823 about bounded pointers. Remove GKM FIXME comments.
10824 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10825 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
10827 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
10828 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
10829 Remove GKM FIXME comments.
10830 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10831 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10832 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
10834 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
10835 about bounded pointers. Remove GKM FIXME comment.
10836 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
10838 (strncmp): Don't use BP_SYM. Remove comment about bounded
10840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
10841 <bp-sym.h> and <bp-asm.h>.
10842 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
10843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
10844 <bp-sym.h> and <bp-asm.h>.
10845 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
10848 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10850 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
10853 2013-03-05 David S. Miller <davem@davemloft.net>
10855 * po/es.po: Update from translation team.
10857 2013-03-05 Andreas Jaeger <aj@suse.de>
10859 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
10860 <bits/mman-linux.h>.
10861 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10863 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
10864 <bits/mman-linux.h> to end of file.
10865 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10867 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
10868 <bits/mman-linux.h> to end of file.
10869 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10871 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
10872 <bits/mman-linux.h> to end of file.
10874 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
10875 (MCL_CURRENT, MCL_FUTURE): Define here.
10877 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10880 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
10882 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10884 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10886 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
10887 fourth parameter needed for rt_sigprocmask syscall.
10888 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
10889 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
10890 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
10891 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
10892 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
10893 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
10895 2013-03-04 Joseph Myers <joseph@codesourcery.com>
10898 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
10899 comment about bounded pointers.
10900 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
10901 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
10903 2013-03-04 Andreas Jaeger <aj@suse.de>
10905 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
10906 common definitions.
10908 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
10909 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
10910 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
10911 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10912 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10913 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10915 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10918 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
10919 __ieee754_sqrl instead of __sqrl.
10921 2013-03-01 Joseph Myers <joseph@codesourcery.com>
10923 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
10924 * sysdeps/powerpc/fpu_control.h: ... here.
10925 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
10926 * sysdeps/powerpc/bits/fenvinline.h: ... here.
10927 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
10928 * sysdeps/powerpc/bits/mathinline.h: ... here.
10930 2013-03-01 Roland McGrath <roland@hack.frob.com>
10932 * elf/dl-hwcaps.c (_dl_important_hwcaps):
10933 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
10934 to just [NEED_DL_SYSINFO_DSO].
10935 * elf/dl-support.c: Likewise.
10936 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
10937 * elf/rtld.c (dl_main): Likewise.
10938 * elf/setup-vdso.h (setup_vdso): Likewise.
10939 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
10940 * sysdeps/unix/sysv/linux/dl-sysdep.c
10941 (_dl_discover_osversion): Likewise.
10943 2013-03-01 Carlos O'Donell <carlos@redhat.com>
10945 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
10946 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
10948 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
10950 * NEWS: Mention libm performance improvements and non-x86 PI
10953 * csu/libc-start.c (__pthread_initialize_minimal): Change
10954 function arguments.
10955 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
10957 2013-02-28 Joseph Myers <joseph@codesourcery.com>
10960 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
10961 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
10962 <bp-sym.h> and <bp-asm.h>.
10963 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10964 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
10966 (memcpy): Don't use BP_SYM.
10967 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
10969 (__mpn_add_n): Don't use BP_SYM.
10970 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
10971 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
10973 (__mpn_addmul_1): Don't use BP_SYM.
10974 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10975 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
10977 (_setjmp): Don't use BP_SYM.
10978 (__novmx_setjmp): Likewise.
10979 (__GI__setjmp): Likewise.
10980 (__vmx_setjmp): Likewise.
10981 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
10983 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
10984 (__bzero): Don't use BP_SYM.
10985 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10986 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10987 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
10988 <bp-sym.h> and <bp-asm.h>.
10989 (memcpy): Don't use BP_SYM.
10990 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
10991 <bp-sym.h> and <bp-asm.h>.
10992 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10993 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
10994 <bp-sym.h> and <bp-asm.h>.
10995 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10996 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
10998 (__mpn_lshift): Don't use BP_SYM.
10999 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11000 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
11002 (memset): Don't use BP_SYM.
11003 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11004 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11005 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
11007 (__mpn_mul_1): Don't use BP_SYM.
11008 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11009 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
11010 <bp-sym.h> and <bp-asm.h>.
11011 (memcmp): Don't use BP_SYM.
11012 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
11013 <bp-sym.h> and <bp-asm.h>.
11014 (memcpy): Don't use BP_SYM.
11015 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
11016 <bp-sym.h> and <bp-asm.h>.
11017 (memset): Don't use BP_SYM.
11018 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
11019 <bp-sym.h> and <bp-asm.h>.
11020 (strncmp): Don't use BP_SYM.
11021 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
11022 <bp-sym.h> and <bp-asm.h>.
11023 (memcpy): Don't use BP_SYM.
11024 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
11025 <bp-sym.h> and <bp-asm.h>.
11026 (memset): Don't use BP_SYM.
11027 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
11028 <bp-sym.h> and <bp-asm.h>.
11029 (__memchr): Don't use BP_SYM.
11030 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
11031 <bp-sym.h> and <bp-asm.h>.
11032 (memcmp): Don't use BP_SYM.
11033 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
11034 <bp-sym.h> and <bp-asm.h>.
11035 (memcpy): Don't use BP_SYM.
11036 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
11037 <bp-sym.h> and <bp-asm.h>.
11038 (__mempcpy): Don't use BP_SYM.
11039 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
11040 <bp-sym.h> and <bp-asm.h>.
11041 (__memrchr): Don't use BP_SYM.
11042 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
11043 <bp-sym.h> and <bp-asm.h>.
11044 (memset): Don't use BP_SYM.
11045 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
11046 <bp-sym.h> and <bp-asm.h>.
11047 (__rawmemchr): Don't use BP_SYM.
11048 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
11049 <bp-sym.h> and <bp-asm.h>.
11050 (__STRCMP): Don't use BP_SYM.
11051 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
11052 <bp-sym.h> and <bp-asm.h>.
11053 (strchr): Don't use BP_SYM.
11054 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
11055 <bp-sym.h> and <bp-asm.h>.
11056 (__strchrnul): Don't use BP_SYM.
11057 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
11058 <bp-sym.h> and <bp-asm.h>.
11059 (strlen): Don't use BP_SYM.
11060 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
11061 <bp-sym.h> and <bp-asm.h>.
11062 (strncmp): Don't use BP_SYM.
11063 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
11064 <bp-sym.h> and <bp-asm.h>.
11065 (__strnlen): Don't use BP_SYM.
11066 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
11068 (__mpn_rshift): Don't use BP_SYM.
11069 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11070 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
11071 <bp-sym.h> and <bp-asm.h>.
11072 (__sigsetjmp): Don't use BP_SYM.
11073 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
11074 (L(start_addresses)): Don't use BP_SYM.
11075 (_start): Likewise.
11076 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
11078 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
11079 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11080 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11081 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
11083 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
11084 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11085 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11086 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
11088 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
11090 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11091 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
11093 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
11095 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11096 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11097 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
11099 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
11101 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
11103 (strncmp): Don't use BP_SYM,
11104 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
11106 (__mpn_sub_n): Don't use BP_SYM.
11107 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11108 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
11110 (__mpn_submul_1): Don't use BP_SYM.
11111 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
11113 <bp-sym.h> and <bp-asm.h>.
11114 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
11116 <bp-sym.h> and <bp-asm.h>.
11117 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
11120 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11122 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
11123 Use ZK to minimize writes to Z.
11124 (sub_magnitudes): Simplify code a bit.
11125 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
11126 Use ZK to minimize writes to Z.
11127 (sub_magnitudes): Simplify code a bit.
11129 2013-02-27 Roland McGrath <roland@hack.frob.com>
11131 * csu/gmon-start.c: Add special exception to license text.
11133 2013-02-27 Richard Henderson <rth@redhat.com>
11135 * scripts/config.guess: Update from config.git.
11136 * scripts/config.sub: Likewise.
11138 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11140 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
11142 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
11144 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
11146 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
11148 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
11150 2013-02-26 Roland McGrath <roland@hack.frob.com>
11152 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
11153 [$(build-shared = yes].
11155 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11157 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
11158 (__mul): Reduce iterations for calculating mantissa.
11160 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
11162 (__mpranred): Likewise.
11165 * malloc/memusagestat.c (main): Draw graphs for heap and stack
11166 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
11168 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
11170 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
11171 Define __attribute__.
11173 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11175 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
11177 * posix/regex_internal.h (__attribute): Remove.
11178 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
11179 (re_string_context_at): Likewise.
11180 (bitset_not): Use __attribute__ and mark function as possibly
11182 (bitset_merge): Likewise.
11183 (bitset_mask): Likewise.
11184 (re_string_char_size_at): Likewise.
11185 (re_string_wchar_at): Likewise.
11186 (re_string_elem_size_at): Likewise.
11188 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11190 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
11194 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
11198 (denorm): Likewise.
11199 (__dbl_mp): Likewise.
11200 (add_magnitudes): Likewise.
11201 (sub_magnitudes): Likewise.
11205 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
11208 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
11211 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
11214 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
11215 up changes with default code.
11216 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
11219 2013-02-24 Allan McRae <allan@archlinux.org>
11221 * manual/socket.texi (The Internet Namespace): Order menu items
11222 to match that in the file.
11224 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
11225 node listing of the info page menu.
11227 2013-02-21 Joseph Myers <joseph@codesourcery.com>
11230 * sysdeps/i386/bp-asm.h: Remove file.
11231 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11232 (PARMS): Do not use macros from bp-asm.h.
11236 (__mpn_add_n): Do not use BP_SYM
11237 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
11239 (PARMS): Do not use macros from bp-asm.h.
11242 (__mpn_addmul_1): Do not use BP_SYM
11243 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
11245 (PARMS): Do not use macros from bp-asm.h.
11246 (SIGMSK): Likewise.
11247 (_setjmp): Likewise. Do not use BP_SYM.
11248 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
11250 (PARMS): Do not use macros from bp-asm.h.
11251 (SIGMSK): Likewise.
11252 (setjmp): Likewise. Do not use BP_SYM.
11253 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
11255 (PARMS): Do not use macros from bp-asm.h.
11256 (__frexp): Do not use BP_SYM.
11258 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
11260 (PARMS): Do not use macros from bp-asm.h.
11261 (__frexpf): Do not use BP_SYM.
11262 (frexpf): Likewise.
11263 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
11265 (PARMS): Do not use macros from bp-asm.h.
11266 (__frexpl): Do not use BP_SYM.
11267 (frexpl): Likewise.
11268 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
11270 (PARMS): Do not use macros from bp-asm.h.
11271 (__remquo): Do not use BP_SYM.
11272 (remquo): Likewise.
11273 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
11275 (PARMS): Do not use macros from bp-asm.h.
11276 (__remquof): Do not use BP_SYM.
11277 (remquof): Likewise.
11278 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
11280 (PARMS): Do not use macros from bp-asm.h.
11281 (__remquol): Do not use BP_SYM.
11282 (remquol): Likewise.
11283 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
11285 (PARMS): Do not use macros from bp-asm.h.
11288 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
11289 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
11291 (PARMS): Do not use macros from bp-asm.h.
11292 (strlen): Do not use BP_SYM.
11293 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
11295 (PARMS): Do not use macros from bp-asm.h.
11299 (__mpn_add_n): Do not use BP_SYM.
11300 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
11302 (PARMS): Do not use macros from bp-asm.h.
11305 (__mpn_addmul_1): Do not use BP_SYM.
11306 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
11309 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
11311 (PARMS): Do not use macros from bp-asm.h.
11314 (__mpn_lshift): Do not use BP_SYM.
11315 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
11317 (PARMS): Do not use macros from bp-asm.h.
11321 (memcpy): Likewise. Do not use BP_SYM.
11322 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
11323 libc_hidden_def and weak_alias.
11324 (mempcpy): Do not use BP_SYM in weak_alias.
11325 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
11327 (PARMS): Do not use macros from bp-asm.h.
11330 [!BZERO_P] (CHR): Likewise.
11331 (memset): Likewise. Do not use BP_SYM.
11332 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
11334 (PARMS): Do not use macros from bp-asm.h.
11337 (__mpn_mul_1): Do not use BP_SYM.
11338 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
11340 (PARMS): Do not use macros from bp-asm.h.
11343 (__mpn_rshift): Do not use BP_SYM.
11344 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
11346 (PARMS): Do not use macros from bp-asm.h.
11349 (strchr): Likewise. Do not use BP_SYM.
11350 (index): Do not use BP_SYM in weak_alias.
11351 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
11353 (PARMS): Do not use macros from bp-asm.h.
11356 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
11357 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
11359 (PARMS): Do not use macros from bp-asm.h.
11360 (strlen): Do not use BP_SYM.
11361 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
11363 (PARMS): Do not use macros from bp-asm.h.
11367 (__mpn_sub_n): Do not use BP_SYM.
11368 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
11370 (PARMS): Do not use macros from bp-asm.h.
11373 (__mpn_submul_1): Do not use BP_SYM.
11374 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
11376 (PARMS): Do not use macros from bp-asm.h.
11380 (__mpn_add_n): Do not use BP_SYM.
11381 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
11384 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
11386 (PARMS): Do not use macros from bp-asm.h.
11389 (memcmp): Do not use BP_SYM.
11390 (bcmp): Do not use BP_SYM in weak_alias.
11391 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
11393 (PARMS): Do not use macros from bp-asm.h.
11397 (memcpy): Likewise. Do not use BP_SYM.
11398 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
11400 (PARMS): Do not use macros from bp-asm.h.
11404 (memmove): Likewise. Do not use BP_SYM.
11405 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
11407 (PARMS): Do not use macros from bp-asm.h.
11411 (__mempcpy): Likewise. Do not use BP_SYM.
11412 (mempcpy): Do not use BP_SYM in weak_alias.
11413 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
11415 (PARMS): Do not use macros from bp-asm.h.
11418 [!BZERO_P] (CHR): Likewise.
11419 (memset): Likewise. Do not use BP_SYM.
11420 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
11422 (PARMS): Do not use macros from bp-asm.h.
11424 (strcmp): Do not use BP_SYM.
11425 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
11427 (PARMS): Do not use macros from bp-asm.h.
11430 [USE_AS_STRTOK_R] (SAVE): Likewise.
11431 (FUNCTION): Likewise. Do not use BP_SYM.
11432 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
11434 (strtok_r): Likewise.
11435 (__GI___strtok_r): Likewise.
11436 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
11437 (PARMS): Do not use macros from bp-asm.h.
11440 (__mpn_lshift): Do not use BP_SYM.
11441 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
11442 (PARMS): Do not use macros from bp-asm.h.
11445 (__memchr): Do not use BP_SYM.
11446 (memchr): Do not use BP_SYM in weak_alias.
11447 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
11448 (PARMS): Do not use macros from bp-asm.h.
11451 (memcmp): Do not use BP_SYM.
11452 (bcmp): Do not use BP_SYM in weak_alias.
11453 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
11454 (PARMS): Do not use macros from bp-asm.h.
11457 (__mpn_mul_1): Do not use BP_SYM.
11458 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
11460 (PARMS): Do not use macros from bp-asm.h.
11463 (__rawmemchr): Do not use BP_SYM.
11464 (rawmemchr): Do not use BP_SYM in weak_alias.
11465 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
11466 (PARMS): Do not use macros from bp-asm.h.
11469 (__mpn_rshift): Do not use BP_SYM.
11470 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
11471 (PARMS): Do not use macros from bp-asm.h.
11472 (SIGMSK): Likewise.
11473 (__sigsetjmp): Likewise. Do not use BP_SYM.
11474 * sysdeps/i386/start.S: Do not include "bp-sym.h".
11475 (_start): Do not use BP_SYM.
11476 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
11477 (PARMS): Do not use macros from bp-asm.h.
11480 (__stpcpy): Likewise. Do not use BP_SYM.
11481 (stpcpy): Do not use BP_SYM in weak_alias.
11482 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
11484 (PARMS): Do not use macros from bp-asm.h.
11488 (__stpncpy): Likewise. Do not use BP_SYM.
11489 (stpncpy): Do not use BP_SYM in weak_alias.
11490 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
11491 (PARMS): Do not use macros from bp-asm.h.
11494 (strchr): Likewise. Do not use BP_SYM.
11495 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
11497 (PARMS): Do not use macros from bp-asm.h.
11500 (__strchrnul): Likewise. Do not use BP_SYM.
11501 (strchrnul): Do not use BP_SYM in weak_alias.
11502 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
11504 (PARMS): Do not use macros from bp-asm.h.
11506 (strcspn): Do not use BP_SYM.
11507 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
11509 (PARMS): Do not use macros from bp-asm.h.
11512 (strpbrk): Likewise. Do not use BP_SYM.
11513 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
11515 (PARMS): Do not use macros from bp-asm.h.
11518 (strrchr): Likewise. Do not use BP_SYM.
11519 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
11520 (PARMS): Do not use macros from bp-asm.h.
11522 (strspn): Do not use BP_SYM.
11523 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
11524 (PARMS): Do not use macros from bp-asm.h.
11528 (FUNCTION): Likewise. Do not use BP_SYM.
11529 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
11531 (strtok_r): Likewise.
11532 (__GI___strtok_r): Likewise.
11533 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11534 (PARMS): Do not use macros from bp-asm.h.
11538 (__mpn_sub_n): Do not use BP_SYM.
11539 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
11541 (PARMS): Do not use macros from bp-asm.h.
11544 (__mpn_submul_1): Do not use BP_SYM.
11545 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
11547 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
11549 (PARMS): Do not use macros from bp-asm.h.
11554 (__clone): Do not use BP_SYM.
11555 (clone): Do not use BP_SYM in weak_alias.
11556 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
11558 (PARMS): Do not use macros from bp-asm.h.
11560 (__mmap64): Do not use BP_SYM.
11561 (mmap64): Do not use BP_SYM in weak_alias.
11562 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
11563 <bp-sym.h> and <bp-asm.h>.
11564 (PARMS): Do not use macros from bp-asm.h.
11565 (__posix_fadvise64_l64): Do not use BP_SYM.
11566 * sysdeps/unix/sysv/linux/i386/semtimedop.S
11567 (PARMS): Do not use macros from bp-asm.h.
11569 (semtimedop): Do not use BP_SYM.
11570 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
11573 2013-02-21 Allan McRae <allan@archlinux.org>
11575 * manual/message.texi (Charset conversion in gettext):
11576 Move @end statement to beginning of line.
11578 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11580 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
11582 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
11585 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
11586 (denorm): Likewise.
11587 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
11588 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
11590 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11592 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
11593 tail-call to the resolved function if pltexit isn't needed.
11595 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11597 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
11598 or Y being zero as being unlikely.
11599 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11602 2013-02-20 Carlos O'Donell <carlos@redhat.com>
11604 * manual/nss.texi (System Databases and Name Service Switch):
11605 Remove frobnicate @pxref.
11607 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
11609 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
11610 __attribute__ ((unused)) to __attribute__ ((__unused__)).
11612 2013-02-20 Petr Machata <pmachata@redhat.com>
11614 * elf/elf.h (R_ARM_TARGET1): New macro.
11615 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
11616 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
11617 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
11618 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
11619 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
11620 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
11621 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
11622 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
11623 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
11624 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
11625 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
11626 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
11627 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
11628 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
11629 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
11630 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
11631 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
11632 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
11633 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
11634 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
11635 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
11636 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
11637 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
11638 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
11639 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
11640 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
11641 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
11642 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
11643 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
11644 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
11645 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
11646 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
11647 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
11648 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
11649 (R_ARM_THM_GOT_BREL12): Likewise.
11650 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
11651 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
11652 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
11653 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
11654 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
11655 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
11656 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
11657 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
11658 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
11660 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
11662 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
11663 __attribute_used__ to __attribute__ ((unused)).
11665 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11667 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
11669 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
11670 comment formatting.
11671 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
11673 2013-02-19 Joseph Myers <joseph@codesourcery.com>
11676 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
11678 (ENTER): Remove both macro definitions.
11680 (CHECK_BOUNDS_LOW): Likewise.
11681 (CHECK_BOUNDS_HIGH): Likewise.
11682 (CHECK_BOUNDS_BOTH): Likewise.
11683 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
11684 (RETURN_BOUNDED_POINTER): Likewise.
11685 (RETURN_NULL_BOUNDED_POINTER): Likewise.
11686 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
11687 (POP_ERRNO_LOCATION_RETURN): Likewise.
11688 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
11689 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11690 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
11692 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11693 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
11694 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
11695 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
11696 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
11697 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
11698 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
11699 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
11700 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
11701 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
11702 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
11703 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
11704 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11705 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
11707 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11708 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
11710 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11711 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
11712 * sysdeps/i386/i586/memset.S (memset): Likewise.
11713 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
11714 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11715 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
11717 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11718 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
11719 Change uses of L(2) to L(out).
11720 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
11721 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
11722 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
11723 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11724 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
11726 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11727 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
11729 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11730 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
11731 (RETURN): Do not use macro LEAVE.
11732 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
11733 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
11734 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
11735 * sysdeps/i386/i686/memset.S (memset): Likewise.
11736 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
11737 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
11738 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11739 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
11741 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11742 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
11743 L(1_2) and L(1_3) into L(1).
11744 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
11745 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
11746 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11747 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
11748 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11749 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
11750 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
11751 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11752 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
11754 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
11755 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11756 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
11757 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
11758 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
11759 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11760 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
11761 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
11762 * sysdeps/i386/strcspn.S (strcspn): Likewise.
11763 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
11764 * sysdeps/i386/strrchr.S (strrchr): Likewise.
11765 * sysdeps/i386/strspn.S (strspn): Likewise.
11766 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
11768 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11769 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
11770 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
11771 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
11772 L(1_3) into L(1_1).
11773 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
11774 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11775 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
11777 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11779 2013-02-19 Jakub Jelinek <jakub@redhat.com>
11781 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
11784 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11786 * math/atest-exp.c (exp_mpn): Remove ROUND.
11787 * math/atest-exp2.c (exp_mpn): Likewise.
11788 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
11790 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
11791 * stdlib/tst-tls-atexit-lib.c: Likewise.
11792 * stdlib/tst-tls-atexit.c: Likewise.
11794 2013-02-18 Mike Frysinger <vapier@gentoo.org>
11796 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
11797 and __attribute_alloc_size__.
11799 2013-02-18 Mike Frysinger <vapier@gentoo.org>
11801 * include/programs/xmalloc.h: Change __attribute_alloc_size to
11802 __attribute_alloc_size__.
11803 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
11804 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
11806 2013-02-18 Mike Frysinger <vapier@gentoo.org>
11808 * include/programs/xmalloc.h: New file.
11809 * catgets/gencat.c: Include it.
11810 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
11811 * elf/pldd.c: Likewise.
11812 * iconv/iconv_charmap.c: Likewise.
11813 * iconv/iconvconfig.c: Likewise.
11814 * iconv/strtab.c: Likewise.
11815 * locale/programs/locale.c: Likewise.
11816 * locale/programs/localedef.h: Likewise.
11817 * locale/programs/simple-hash.c: Likewise.
11818 * nscd/nscd.h: Likewise.
11819 * nss/makedb.c: Likewise.
11820 * sysdeps/generic/ldconfig.h: Likewise.
11822 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11824 * Versions.def: Add GLIBC_2.18.
11825 * include/link.h (struct link_map): New member l_tls_dtor_count.
11826 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
11827 (__call_tls_dtors): Likewise.
11828 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
11829 __cxa_thread_atexit_impl.
11830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11834 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11836 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11838 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11839 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
11841 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
11843 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11844 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
11846 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
11847 (tests): Add test case tst-tls-atexit.
11848 (modules-names): Add shared library for tst-tls-atexit.
11849 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
11850 (GLIBC_PRIVATE): Add __call_tls_dtors.
11851 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
11853 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
11854 * stdlib/tst-tls-atexit.c: New test case.
11855 * stdlib/tst-tls-atexit-lib.c: New test case.
11857 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
11859 * elf/Versions (ld): Add _dl_find_dso_for_object.
11860 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
11861 * elf/dl-open.c (_dl_find_dso_for_object): New function.
11862 (dl_open_worker): Use _dl_find_dso_for_object.
11863 * elf/dl-sym.c (do_sym): Likewise.
11864 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
11866 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11868 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
11869 Syntactic changes only.
11870 (_dl_runtime_profile): Do a tail-call to the resolved function.
11872 2013-02-17 Joseph Myers <joseph@codesourcery.com>
11875 * sysdeps/x86_64/bp-asm.h: Remove file.
11876 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
11877 <bp-sym.h> and <bp-asm.h>.
11878 (__clone): Do not use BP_SYM.
11879 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
11880 <bp-sym.h> and <bp-asm.h>.
11881 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11882 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
11884 (_setjmp): Do not use BP_SYM.
11885 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
11887 (setjmp): Do not use BP_SYM.
11888 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
11890 (mempcpy): Do not use BP_SYM in weak_alias.
11891 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
11893 (strchr): Do not use BP_SYM.
11894 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
11896 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
11897 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
11898 (_start): Do not use BP_SYM.
11899 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
11901 (strcat): Do not use BP_SYM.
11902 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
11904 (STRCMP): Do not use BP_SYM.
11905 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
11907 (STRCPY): Do not use BP_SYM.
11908 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
11910 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
11912 (FUNCTION): Do not use BP_SYM.
11913 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
11915 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
11917 2013-02-17 Andreas Jaeger <aj@suse.de>
11919 * time/Versions: Sort entries.
11920 * string/Versions: Likewise.
11921 * resolv/Versions: Likewise.
11922 * posix/Versions: Likewise.
11923 * iconv/Versions: Likewise.
11924 * elf/Versions: Likewise.
11925 * wcsmbs/Versions: Likewise.
11927 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11929 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
11930 loop termination condition.
11932 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
11933 variable to calculate EZ.
11936 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
11937 the lower precision input.
11939 2013-02-15 Joseph Myers <joseph@codesourcery.com>
11942 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
11943 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
11944 (run-via-rtld-prefix): Do not handle %-bp tests.
11945 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
11946 (all-object-suffixes): Remove .ob.
11947 (bppfx): Remove variable.
11948 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
11949 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
11950 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
11951 [$(build-bounded) = yes] (libtype.ob): Likewise.
11952 * Makerules (elide-routines.ob): Remove variable.
11953 (do-tests-clean): Do not handle *-bp.out.
11954 (common-mostlyclean): Do not handle *-bp and *-bp.out.
11955 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
11956 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
11957 (tests): Do not include $(tests-bp.out).
11958 (xtests): Do not include $(xtests-bp.out).
11959 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
11960 [$(build-bounded) = yes] ($(addprefix
11961 $(objpfx),$(binaries-bounded))): Remove rule.
11962 ($(objpfx)%-bp.out): Remove rule.
11963 * config.make.in (build-bounded): Remove variable.
11964 * crypt/Makefile [$(build-bounded) = yes]
11965 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
11966 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
11967 append to variable.
11968 [$(build-bounded) = yes] (install-lib): Likewise.
11969 [$(build-bounded) = yes] (generated): Likewise.
11970 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
11972 * intl/Makefile [$(build-bounded) = yes]
11973 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
11974 * math/Makefile [$(build-bounded) = yes]
11975 ($(tests:%=$(objpfx)%-bp): Likewise.
11976 * misc/Makefile [$(build-bounded) = yes]
11977 ($(objpfx)tst-tsearch-bp): Likewise.
11978 * nptl/Makeconfig (bounded-thread-library): Remove variable.
11979 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
11981 * string/Makefile (o-objects.ob): Remove variable.
11982 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
11983 (CFLAGS-.ob): Remove variable.
11984 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
11985 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
11986 both definitions of variable.
11987 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
11988 (ASFLAGS-.ob): Remove variable.
11990 2013-02-14 Joseph Myers <joseph@codesourcery.com>
11993 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
11994 Remove __BOUNDED_POINTERS__ from condition.
11995 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
11996 * string/bits/string2.h [!__NO_STRING_INLINES &&
11997 !__BOUNDED_POINTERS__]: Likewise.
11998 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
12000 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
12001 Remove conditional code.
12002 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
12003 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
12004 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
12008 * csu/libc-start.c: Do not include <bp-sym.h>.
12009 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
12010 * elf/dl-open.c: Do not include <bp-sym.h>.
12011 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
12012 * math/fegetenv.c: Do not include <bp-sym.h>.
12013 (fegetenv): Do not use BP_SYM in versioned symbols.
12014 * nptl/sysdeps/pthread/bits/libc-lockP.h
12015 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
12017 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12018 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
12019 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12020 (__pthread_mutex_destroy): Likewise.
12021 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12022 (__pthread_mutex_lock): Likewise.
12023 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12024 (__pthread_mutex_trylock): Likewise.
12025 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12026 (__pthread_mutex_unlock): Likewise.
12027 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12028 (__pthread_mutexattr_init): Likewise.
12029 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12030 (__pthread_mutexattr_destroy): Likewise.
12031 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12032 (__pthread_mutexattr_settype): Likewise.
12033 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12034 (__pthread_rwlock_init): Likewise.
12035 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12036 (__pthread_rwlock_destroy): Likewise.
12037 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12038 (__pthread_rwlock_rdlock): Likewise.
12039 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12040 (__pthread_rwlock_tryrdlock): Likewise.
12041 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12042 (__pthread_rwlock_wrlock): Likewise.
12043 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12044 (__pthread_rwlock_trywrlock): Likewise.
12045 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12046 (__pthread_rwlock_unlock): Likewise.
12047 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12048 (__pthread_key_create): Likewise.
12049 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12050 (__pthread_setspecific): Likewise.
12051 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12052 (__pthread_getspecific): Likewise.
12053 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
12055 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12056 (_pthread_cleanup_push_defer): Likewise.
12057 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12058 (_pthread_cleanup_pop_restore): Likewise.
12059 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12060 (pthread_setcancelstate): Likewise.
12061 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
12063 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
12064 (memchr): Do not use BP_SYM in weak_alias.
12065 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
12066 (fegetenv): Do not use BP_SYM in versioned symbols.
12067 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
12068 (fesetenv): Do not use BP_SYM in versioned symbols.
12069 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12070 (feupdateenv): Do not use BP_SYM in versioned symbols.
12071 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12072 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12073 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
12074 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
12075 (open64): Do not use BP_SYM in weak_alias.
12076 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
12077 (fegetenv): Do not use BP_SYM in versioned symbols.
12078 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
12079 (fesetenv): Do not use BP_SYM in versioned symbols.
12080 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12081 (feupdateenv): Do not use BP_SYM in versioned symbols.
12082 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
12083 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
12084 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
12085 (feraiseexcept): Do not use BP_SYM in versioned symbols.
12086 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12087 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12088 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
12090 (__libc_start_main): Do not use BP_SYM.
12092 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12094 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
12095 redundant return line.
12097 (denorm): Likewise.
12098 (dbl_mp): Likewise.
12099 (sub_magnitudes): Likewise.
12105 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
12107 (denorm): Likewise.
12108 (dbl_mp): Likewise.
12109 (sub_magnitudes): Likewise.
12116 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
12118 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12119 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
12122 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
12123 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
12124 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
12125 of __mul for squares.
12126 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
12128 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
12130 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
12131 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12133 2013-02-13 Joseph Myers <joseph@codesourcery.com>
12136 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
12138 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
12139 prototype or function definition. Rename ubp_* variables and
12140 parameters. Remove argv definitions conditional on
12141 [__BOUNDED_POINTERS__].
12142 * debug/backtrace.c (__backtrace): Do not use __unbounded.
12143 * elf/dl-runtime.c (_dl_fixup): Likewise.
12144 * include/set-hooks.h (RUN_HOOK): Likewise.
12145 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
12147 * string/strcpy.c (strcpy): Do not use __unbounded.
12148 * sysdeps/generic/frame.h (struct layout): Likewise.
12149 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
12150 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
12151 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
12152 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
12153 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
12154 (__backtrace): Likewise.
12155 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
12157 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
12158 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12159 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
12161 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
12162 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
12163 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12164 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12165 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
12166 Do not use __unbounded.
12167 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
12168 Rename __unboundedrlimits parameter to rlimits in prototype.
12169 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
12170 Do not use __unbounded.
12171 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
12172 not use __ptrvalue.
12173 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12174 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
12175 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12176 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
12177 __ptrvalue or __unbounded.
12178 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
12179 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
12181 (__new_msgctl): Do not use __ptrvalue.
12182 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
12184 (__libc_msgrcv): Do not use __ptrvalue.
12185 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
12186 startup_info): Do not use __unbounded.
12187 (__libc_start_main): Likewise. Rename ubp_* variables and
12188 parameters. Remove argv definitions conditional on
12189 [__BOUNDED_POINTERS__].
12190 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
12192 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
12194 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
12196 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
12198 (__new_shmctl): Do not use __ptrvalue.
12199 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
12200 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
12202 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
12203 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
12204 (__libc_sigaction): Likewise.
12205 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
12206 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
12208 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12210 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
12212 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
12214 * string/mempcpy.c: Implement by calling memcpy.
12216 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12218 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
12220 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
12223 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
12224 values in the mantissa.
12226 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
12227 minimize writes to Z.
12228 (sub_magnitudes): Simplify code a bit.
12230 2013-02-12 Roland McGrath <roland@hack.frob.com>
12232 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
12233 from the message. The linker prefixes all warnings with that already.
12235 2013-02-12 Andreas Schwab <schwab@suse.de>
12238 * posix/regexec.c (extend_buffers): Add parameter min_len.
12239 (check_matching): Pass minimum needed length.
12240 (clean_state_log_if_needed): Likewise.
12241 (get_subexp): Likewise.
12242 * posix/Makefile (tests): Add bug-regex34.
12243 (bug-regex34-ENV): Define.
12244 * posix/bug-regex34.c: New file.
12247 * posix/regcomp.c (parse_bracket_exp): When looking up collating
12248 elements compare against the byte sequence of it, not its name.
12249 * posix/Makefile (tests): Add bug-regex35.
12250 (bug-regex35-ENV): Define.
12251 * posix/bug-regex35.c: New file.
12253 2013-02-11 Tom de Vries <tom@codesourcery.com>
12255 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
12257 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
12258 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
12259 (CHECK_EOL): Add undef.
12261 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
12263 * bits/stdlib-bsearch.h: New file.
12264 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
12265 * stdlib/stdlib.h: Likewise.
12267 2013-02-11 Roland McGrath <roland@hack.frob.com>
12269 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
12270 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
12272 * manual/search.texi (Array Search Function): Add missing const in
12274 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
12275 declaration to use rlim_t.
12276 (Basic Scheduling Functions): Remove erroneous const from
12277 sched_getparam prototype. Remove erroneous * from
12278 sched_get_priority_max and sched_get_priority_min prototypes.
12279 (Resource Usage): Fix summary @comment on vtimes to refer to
12280 sys/vtimes.h rather than vtimes.h.
12281 Add missing *s in vtimes prototype.
12282 (Limits on Resources): Fix ulimit prototype to return long int.
12283 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
12284 prototypes to use long int rather than double.
12285 (BSD Random): Fix initstate and setstate to use char *, not void *.
12286 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
12287 prototype to make second argument 'struct aiocb64 *const[]'.
12288 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
12289 (Status of AIO Operations): Remove erroneous const in aio_return and
12290 aio_return64 prototypes.
12291 (Synchronizing I/O): Fix sync prototype to return void.
12292 * manual/startup.texi (Suboptions): Remove an erroneous const in
12293 getsubopt prototype.
12294 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
12295 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
12296 use size_t rather than int.
12297 (Scanning All Users): Likewise for getpwent_r.
12298 (Setting Groups): Add missing const to setgroups prototype.
12299 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
12300 * manual/socket.texi (Host Names): Fix gethostbyaddr and
12301 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
12302 'const void *' rather than 'const char *'.
12303 (Host Address Functions): Likewise for inet_ntop.
12304 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
12305 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
12306 ssize_t for return value.
12307 (Sending Data): Likewise for send, sendto, sendmsg.
12308 (Socket Option Functions): Add a missing const in setsockopt prototype.
12309 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
12310 use wchar_t for the argument.
12311 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
12312 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
12314 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
12315 double/float/long double for second argument.
12316 Fix return types of significand, significandf, significandl.
12317 * manual/filesys.texi (Setting Permissions): Use mode_t for second
12318 argument in fchmod prototype.
12319 (File Owner): Use uid_t and gid_t in fchown prototype.
12320 (File Times): Add const to utimes, futimes, and lutimes prototypes.
12321 (Making Special Files): Use mode_t and dev_t in mknod prototype.
12322 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
12323 use 'const struct dirent **' as argument types to CMP function pointer
12325 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
12326 (File Times): Fix summary magic @comment for struct utimbuf and utime
12327 to refer to utime.h, not time.h.
12328 * manual/string.texi (Argz Functions): Add missing const in
12329 argz_extract and argz_next prototypes.
12330 (Finding Tokens in a String): Likewise for basename.
12331 (String/Array Comparison): Fix typo in wcscasecmp prototype.
12332 (Copying and Concatenation): Fix typo in wmemmove prototype.
12333 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
12334 (Signal Stack): Remove erroneous const in sigstack prototype.
12335 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
12337 (Simple Calendar Time): Likewise for stime.
12338 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
12340 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
12341 say sys/sysctl.h instead.
12342 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
12343 and vsyslog prototypes.
12345 2013-02-11 Tom de Vries <tom@codesourcery.com>
12347 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
12350 2013-02-11 Roland McGrath <roland@hack.frob.com>
12352 * misc/sys/mman.h: Fix typo in mremap comment.
12354 2013-02-08 Roland McGrath <roland@hack.frob.com>
12356 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
12357 the '\0' terminator.
12359 2013-02-08 Joseph Myers <joseph@codesourcery.com>
12362 * debug/segfault.c: Don't include <bp-checks.h>.
12363 * sysdeps/generic/bp-checks.h: Remove file.
12364 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
12365 (__GETDENTS): Don't use CHECK_N.
12366 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
12367 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
12368 (__getgroups): Don't use CHECK_N.
12369 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
12370 (setgroups): Don't use CHECK_N.
12371 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
12372 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
12373 (__libc_msgrcv): Don't use CHECK_N.
12374 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
12375 (__libc_msgsnd): Don't use CHECK_N.
12376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
12378 (__libc_pread): Don't use CHECK_N.
12379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
12380 include <bp-checks.h>.
12381 (__libc_pread64): Don't use CHECK_N.
12382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
12383 include <bp-checks.h>.
12384 (__libc_pwrite): Don't use CHECK_N.
12385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
12386 include <bp-checks.h>.
12387 (__libc_pwrite64): Don't use CHECK_N.
12388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
12390 (__libc_pread): Don't use CHECK_N.
12391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
12392 include <bp-checks.h>.
12393 (__libc_pread64): Don't use CHECK_N.
12394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
12395 include <bp-checks.h>.
12396 (__libc_pwrite): Don't use CHECK_N.
12397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
12398 include <bp-checks.h>.
12399 (__libc_pwrite64): Don't use CHECK_N.
12400 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
12401 (do_pread): Don't use CHECK_N.
12402 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
12403 (do_pread64): Don't use CHECK_N.
12404 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
12405 (do_pwrite): Don't use CHECK_N.
12406 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
12407 (do_pwrite64): Don't use CHECK_N.
12408 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
12409 (__libc_readv): Don't use CHECK_N.
12410 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
12411 (semop): Don't use CHECK_N.
12412 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
12414 (semtimedop): Don't use CHECK_N.
12415 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
12416 (__libc_pread): Don't use CHECK_N.
12417 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
12419 (__libc_pread64): Don't use CHECK_N.
12420 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
12422 (__libc_pwrite): Don't use CHECK_N.
12423 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
12425 (__libc_pwrite64): Don't use CHECK_N.
12426 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
12428 (__libc_msgrcv): Don't use CHECK_N.
12429 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
12430 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
12431 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
12432 (__libc_writev): Don't use CHECK_N.
12434 2013-02-08 Roland McGrath <roland@hack.frob.com>
12436 * string/strcpy.c: Removed unused variable.
12438 * Makeconfig (+sysdep-includes): Define with := rather than =.
12439 Use an existing include/ subdir of each sysdeps dir before it.
12441 2013-02-08 Carlos O'Donell <carlos@redhat.com>
12443 * nscd/connection.c (register_traced_file): Comment function.
12444 [HAVE_INOTIFY] (union __inev): Define.
12445 [HAVE_INOTIFY] (inotify_check_files): New function.
12446 [HAVE_INOTIFY] (clear_db_cache): Likewise.
12447 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
12449 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
12451 2013-02-08 Carlos O'Donell <carlos@redhat.com>
12453 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
12454 loaded if not already and that a failure is permanent.
12456 2013-02-08 Carlos O'Donell <carlos@redhat.com>
12459 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
12460 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
12462 2013-02-08 Joseph Myers <joseph@codesourcery.com>
12465 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
12466 (CHECK_1_NULL_OK): Likewise.
12467 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
12468 (__fxstat): Do not use CHECK_1.
12469 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
12471 (___fxstat64): Do not use CHECK_1.
12472 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
12474 (__fxstatat): Do not use CHECK_1.
12475 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
12477 (__fxstatat64): Do not use CHECK_1.
12478 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
12480 (__fxstat): Do not use CHECK_1.
12481 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
12483 (__fxstatat): Do not use CHECK_1.
12484 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12486 (__getresgid): Do not use CHECK_1.
12487 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12489 (__getresuid): Do not use CHECK_1.
12490 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
12492 (__lxstat): Do not use CHECK_1.
12493 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12495 (__old_msgctl): Do not use CHECK_1.
12496 (__new_msgctl): Likewise.
12497 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
12499 (__new_setrlimit): Do not use CHECK_1.
12500 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12502 (__old_shmctl): Do not use CHECK_1.
12503 (__new_shmctl): Likewise.
12504 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
12506 (__xstat): Do not use CHECK_1.
12507 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
12508 (__lxstat): Do not use CHECK_1.
12509 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
12511 (___lxstat64): Do not use CHECK_1.
12512 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
12513 (__old_msgctl): Do not use CHECK_1.
12514 (__new_msgctl): Likewise.
12515 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
12517 (__gettimeofday): Do not use CHECK_1.
12518 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
12519 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
12520 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
12522 (__gettimeofday): Do not use CHECK_1.
12523 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
12524 (__old_shmctl): Do not use CHECK_1_NULL_OK.
12525 (__new_shmctl): Do not use CHECK_1.
12526 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
12528 (do_sigtimedwait): Do not use CHECK_1.
12529 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
12531 (do_sigwaitinfo): Do not use CHECK_1.
12532 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
12534 (msgctl): Do not use CHECK_1.
12535 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
12537 (shmctl): Do not use CHECK_1.
12538 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
12539 (ustat): Do not use CHECK_1.
12540 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
12542 (__fxstat): Do not use CHECK_1.
12543 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
12545 (__fxstatat): Do not use CHECK_1.
12546 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
12548 (__lxstat): Do not use CHECK_1.
12549 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
12551 (__xstat): Do not use CHECK_1.
12552 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
12553 (__xstat): Do not use CHECK_1.
12554 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
12555 (___xstat64): Do not use CHECK_1.
12558 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
12560 (CHECK_BOUNDS_HIGH): Likewise.
12561 * string/strcpy.c: Do not include <bp-checks.h>.
12562 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
12564 2013-02-07 Roland McGrath <roland@hack.frob.com>
12566 * nscd/nscd-client.h (__nscd_drop_map_ref):
12567 Add __attribute__ ((unused)).
12568 * nis/nss-nisplus.h (niserr2nss): Likewise.
12570 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
12571 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
12573 * csu/libc-tls.c (init_static_tls, init_slotinfo):
12574 Remove inline keyword.
12575 * include/rounding-mode.h (round_away): Likewise.
12576 * libio/wfileops.c (adjust_wide_data): Likewise.
12577 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
12578 (__m128i_strloadu_tolower): Likewise.
12579 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
12580 (__m128i_strloadu_tolower): Likewise.
12581 * time/mktime.c (ydhms_diff): Likewise.
12582 * locale/elem-hash.h (elem_hash): Likewise.
12583 * locale/setlocale.c (setdata): Likewise.
12584 * posix/regex_internal.h (re_string_char_size_at): Likewise.
12585 (re_string_wchar_at): Likewise.
12586 (bitset_not, bitset_merge, bitset_mask): Likewise.
12587 [!(__GNUC__ > 3)] (inline): Remove macro.
12588 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
12589 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
12590 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
12591 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
12592 * string/memcmp.c (memcmp_bytes): Likewise.
12593 * locale/programs/locarchive.c (compute_hashval): Likewise.
12594 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
12595 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
12596 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
12597 * nss/getent.c (print_rpc, print_protocols): Likewise.
12598 (print_passwd, print_group, print_aliases): Likewise.
12599 * nis/nss-nisplus.h (niserr2nss): Likewise.
12600 * nscd/connections.c (restart_p): Likewise.
12601 Change return type to bool.
12603 2013-02-05 Roland McGrath <roland@hack.frob.com>
12605 * Makeconfig (all-Depend-files): Add existing
12606 $(sorted-subdirs:=/Depend) files.
12607 (all-subdirs): Remove nss.
12608 * sysdeps/unix/inet/Subdirs: Add it here instead.
12609 * hesiod/Depend: New file.
12611 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
12612 instead of calling alloca.
12614 * io/lseek.c (__lseek): Rename to __libc_lseek.
12615 Define __lseek as an alias.
12617 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
12619 2013-02-04 Carlos O'Donell <carlos@redhat.com>
12621 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
12622 else clause and remove check for non-standard endianness.
12624 2013-02-04 David S. Miller <davem@davemloft.net>
12626 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12628 2013-02-04 Joseph Myers <joseph@codesourcery.com>
12631 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
12632 (__ubp_memchr): Remove prototype.
12633 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
12634 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
12635 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
12636 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
12637 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
12639 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
12640 (__ubp_memchr): Likewise.
12641 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
12642 (__ubp_memchr): Likewise.
12643 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
12644 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
12645 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
12646 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
12648 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
12649 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
12650 (__getcwd): Do not use CHECK_STRING.
12651 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12653 (__real_chown): Do not use CHECK_STRING.
12654 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
12656 (fchownat): Do not use CHECK_STRING.
12657 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
12659 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12661 (__lchown): Do not use CHECK_STRING.
12662 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12663 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12664 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12665 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
12666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12667 include <bp-checks.h>.
12668 (truncate64): Do not use CHECK_STRING.
12669 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12671 (__real_chown): Do not use CHECK_STRING.
12672 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12674 (__lchown): Do not use CHECK_STRING.
12675 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12677 (__chown): Do not use CHECK_STRING.
12678 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
12680 (truncate64): Do not use CHECK_STRING.
12681 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
12683 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
12684 (__xmknod): Do not use CHECK_STRING.
12685 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
12687 (__xmknodat): Do not use CHECK_STRING.
12688 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12689 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
12691 2013-02-04 Andreas Schwab <schwab@suse.de>
12694 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
12695 * include/netdb.h: Likewise for h_errno.
12696 * elf/tst-stackguard1.c: Include <tls.h>.
12698 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12700 * elf/link.h (struct link_map): Extend the l_addr comment.
12701 * include/link.h (struct link_map): Likewise.
12703 2013-02-01 Joseph Myers <joseph@codesourcery.com>
12706 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
12707 (BOUNDED_1): Remove macro.
12708 * debug/backtrace.c: Don't include <bp-checks.h>.
12709 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
12710 (__backtrace): Likewise.
12711 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
12713 (__backtrace): Don't use BOUNDED_1.
12714 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
12716 (__backtrace): Don't use BOUNDED_1.
12717 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
12718 (__backtrace): Don't use BOUNDED_1.
12719 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
12720 (shmat): Don't use BOUNDED_N.
12722 2013-01-31 Joseph Myers <joseph@codesourcery.com>
12725 * sysdeps/generic/bp-start.h: Remove file.
12726 * csu/libc-start.c: Don't include <bp-start.h>.
12727 (LIBC_START_MAIN): Set up __environ directly instead of using
12728 INIT_ARGV_and_ENVIRON.
12729 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
12733 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
12735 (CHECK_FCNTL): Likewise.
12736 (CHECK_N_PAGES): Likewise.
12739 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
12741 (CHECK_SIGSET_NULL_OK): Likewise.
12742 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
12744 (sigpending): Don't use CHECK_SIGSET.
12745 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
12747 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12748 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
12750 (do_sigsuspend): Don't use CHECK_SIGSET.
12751 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
12753 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
12754 (do_sigwait): Don't use CHECK_SIGSET.
12755 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
12757 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
12758 include <bp-checks.h>.
12759 (sigpending): Don't use CHECK_SIGSET.
12760 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
12761 include <bp-checks.h>.
12762 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12763 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
12765 (sigpending): Don't use CHECK_SIGSET.
12766 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
12768 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12771 * sysdeps/generic/bp-semctl.h: Remove file.
12772 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
12773 <bp-checks.h> and <bp-semctl.h>.
12774 (__old_semctl): Don't use CHECK_SEMCTL.
12775 (__new_semctl): Likewise.
12776 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
12778 (__old_semctl): Don't use CHECK_SEMCTL.
12779 (__new_semctl): Likewise.
12780 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
12781 <bp-checks.h> and <bp-semctl.h>.
12782 (__old_semctl): Don't use CHECK_SEMCTL.
12783 (__new_semctl): Likewise.
12784 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
12785 <bp-checks.h> and <bp-semctl.h>.
12786 (semctl): Don't use CHECK_SEMCTL.
12789 * Makerules (elide-bp-thunks): Remove variable.
12790 (elide-routines.oS): Don't use $(elide-bp-thunks).
12791 (elide-routines.os): Likewise.
12792 (elide-routines.o): Likewise.
12793 (elide-routines.op): Likewise.
12794 (elide-routines.og): Likewise.
12795 (objects): Don't use $(bp-thunks).
12796 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
12798 (common-generated): Do not add s-proto-bp.d.
12799 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
12802 Do not generate makefile rules for bounded-pointer thunks.
12803 * sysdeps/generic/bp-thunks.h: Remove file.
12804 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
12805 * sysdeps/unix/s-proto-bp.S: Likewise.
12808 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
12809 parts of result separately when argument is not close to line from
12810 -i to i and one part of argument is small.
12811 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12812 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12813 * math/libm-test.inc (cacos_test): Add more tests.
12814 (casin_test): Likewise.
12815 (casinh_test): Likewise.
12816 * sysdeps/i386/fpu/libm-test-ulps: Update.
12817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12819 2013-01-31 David S. Miller <davem@davemloft.net>
12821 * po/de.po: Update from translation team.
12823 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
12825 * time/tzfile.c: Include stdint.h for SIZE_MAX.
12827 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
12829 * configure.in (_AC_PROG_CC_C89): New definition.
12830 * configure: Regenerate.
12832 * configure.in (AC_PROG_CPP): New definition.
12833 * configure: Regenerate.
12835 2013-01-23 Joseph Myers <joseph@codesourcery.com>
12837 * debug/tst-backtrace.h: New file.
12838 * debug/tst-backtrace2.c: Include tst-backtrace.h.
12839 (ret): Remove variable.
12841 (FAIL): Remove macro.
12842 (NO_INLINE): Likewise.
12843 (fn1): Use match function instead of strstr.
12844 * debug/tst-backtrace3.c: Include tst-backtrace.h.
12845 (ret): Remove variable.
12847 (FAIL): Remove macro.
12848 (NO_INLINE): Likewise.
12849 (fn): Use match function instead of strstr.
12850 * debug/tst-backtrace4.c: Include tst-backtrace.h.
12851 (ret): Remove variable.
12853 (FAIL): Remove macro.
12854 (NO_INLINE): Likewise.
12855 (handle_signal): Use match function instead of strstr.
12856 * debug/tst-backtrace5.c: Include tst-backtrace.h.
12857 (ret): Remove variable.
12859 (FAIL): Remove macro.
12860 (NO_INLINE): Likewise.
12861 (handle_signal): Use match function instead of strstr.
12863 2013-01-23 Roland McGrath <roland@hack.frob.com>
12865 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
12867 2013-01-23 David S. Miller <davem@davemloft.net>
12869 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
12870 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
12871 argument of CAS if possible.
12872 * sysdeps/sparc/sparc64/bits/atomic.h
12873 (__arch_compare_and_exchange_val_32_acq): Likewise.
12874 (__arch_compare_and_exchange_val_64_acq): Likewise.
12876 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
12878 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
12879 * sysdeps/posix/ulimit.c: ... this.
12880 Include <limits.h>.
12881 * sysdeps/unix/bsd/ulimit.c: Remove file.
12883 2013-01-23 Adam Conrad <adconrad@0c3.net>
12885 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
12886 (LDFLAGS-tst-array5): Likewise.
12888 2013-01-23 Joseph Myers <joseph@codesourcery.com>
12891 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
12892 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
12893 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
12894 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
12896 2013-01-21 David S. Miller <davem@davemloft.net>
12898 * sysdeps/sparc/backtrace.c: New file.
12899 * sysdeps/sparc/sparc32/backtrace.h: New file.
12900 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
12901 * sysdeps/sparc/sparc64/backtrace.h: New file.
12902 * sysdeps/sparc/sparc64/backtrace.c: Delete.
12903 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
12906 2013-01-21 Andreas Schwab <schwab@suse.de>
12909 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
12912 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
12914 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
12916 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12918 2013-01-18 Joseph Myers <joseph@codesourcery.com>
12919 Mark Mitchell <mark@codesourcery.com>
12920 Tom de Vries <tom@codesourcery.com>
12921 Paul Pluzhnikov <ppluzhnikov@google.com>
12923 * debug/tst-backtrace2.c: New file.
12924 * debug/tst-backtrace3.c: Likewise.
12925 * debug/tst-backtrace4.c: Likewise.
12926 * debug/tst-backtrace5.c: Likewise.
12927 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
12928 (CFLAGS-tst-backtrace3.c): Likewise.
12929 (CFLAGS-tst-backtrace4.c): Likewise.
12930 (CFLAGS-tst-backtrace5.c): Likewise.
12931 (LDFLAGS-tst-backtrace2): Likewise.
12932 (LDFLAGS-tst-backtrace3): Likewise.
12933 (LDFLAGS-tst-backtrace4): Likewise.
12934 (LDFLAGS-tst-backtrace5): Likewise.
12935 (tests): Add new tests tst-backtrace2, tst-backtrace3,
12936 tst-backtrace4 and tst-backtrace5.
12938 2013-01-18 Anton Blanchard <anton@samba.org>
12939 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12941 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
12942 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
12943 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
12944 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
12945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12946 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
12947 "+r" and remove output regs list as redundant. Add explicit inline
12948 asm to specify register of return val to work around compiler codegen
12949 bug. Remove (int) cast on return value. Add return type parameter to
12950 use in macro so that this macro does not truncate return value for
12952 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
12953 pass to INTERNAL_VSYSCALL_NCS.
12954 (INLINE_VSYSCALL): Add 'long int' as return type to
12955 INTERNAL_VSYSCALL_NCS macro invocation.
12956 (INTERNAL_VSYSCALL): Add 'long int' as return type to
12957 INTERNAL_VSYSCALL_NCS macro invocation.
12958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12960 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12963 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
12964 Fix application of SIMD FP exception mask.
12966 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
12967 mp_no from a power of two.
12968 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
12969 __mpexp_twomm1. Use __pow_mp.
12971 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
12974 2013-01-17 David S. Miller <davem@davemloft.net>
12976 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12978 2013-01-17 Joseph Myers <joseph@codesourcery.com>
12981 * include/complex.h: Condition contents on [!_COMPLEX_H].
12982 (__kernel_casinhf): New prototype.
12983 (__kernel_casinh): Likewise.
12984 (__kernel_casinhl): Likewise.
12985 * math/Makefile (libm_calls): Add k_casinh.
12986 * math/k_casinh.c: New file.
12987 * math/k_casinhf.c: Likewise.
12988 * math/k_casinhl.c: Likewise.
12989 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
12990 finite nonzero arguments.
12991 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
12992 finite nonzero arguments.
12993 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
12994 finite nonzero arguments.
12995 * math/s_casinh.c: Do not include <float.h>.
12996 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
12997 * math/s_casinhf.c: Do not include <float.h>.
12998 (__casinhf): Move code for finite nonzero arguments to
13000 * math/s_casinhl.c: Do not include <float.h>.
13001 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
13003 (__casinhl): Move code for finite nonzero arguments to
13005 * math/libm-test.inc (cacos_test): Add more tests.
13006 * sysdeps/i386/fpu/libm-test-ulps: Update.
13007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13009 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
13011 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
13012 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
13013 [!HAVE_MREMAP]: Remove [defined linux] case.
13014 * malloc/arena.c: Do not include <malloc-sysdep.h>.
13016 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13018 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
13020 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
13022 * elf/elf.h (R_386_SIZE32): New relocation.
13023 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
13025 (elf_machine_rela): Likewise.
13026 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13027 R_X86_64_SIZE64 and R_X86_64_SIZE32.
13029 2013-01-17 Joseph Myers <joseph@codesourcery.com>
13031 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
13032 (FP_FAST_FMA): Do not define.
13033 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
13034 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
13035 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
13036 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
13037 !_SOFT_FLOAT]: Likewise.
13038 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
13039 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
13041 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
13042 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
13043 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
13044 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
13045 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
13046 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
13049 2013-01-16 Andreas Schwab <schwab@suse.de>
13052 * include/stdlib.h (__mktemp): Add declaration.
13053 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
13054 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
13056 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13058 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
13060 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13061 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
13062 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
13064 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
13065 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
13067 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
13069 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
13070 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
13071 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
13073 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
13074 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
13076 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
13078 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
13080 2013-01-15 David S. Miller <davem@davemloft.net>
13082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13083 trunc{,f} to libm-sysdep_routes.
13084 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
13087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
13088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
13090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
13092 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
13093 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
13094 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
13095 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
13096 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
13097 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
13098 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
13099 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
13101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13102 nearbyint{,f} to libm-sysdep_routes.
13103 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
13106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
13108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
13110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
13112 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
13113 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
13114 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
13116 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
13117 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
13119 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
13120 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
13121 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
13123 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13124 libc_feholdexcept and libc_fesetenv.
13126 2013-01-15 Mike Frysinger <vapier@gentoo.org>
13128 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
13130 2013-01-14 David S. Miller <davem@davemloft.net>
13132 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
13133 (SPARC_ASM_VIS2_IFUNC): Likewise.
13134 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
13135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
13136 use of 'siam' instruction.
13137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
13139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
13141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
13143 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
13144 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
13145 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
13146 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
13147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
13149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
13151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
13153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
13155 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
13156 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
13157 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
13158 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
13159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
13161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
13162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13165 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13166 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13167 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13168 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
13170 routines to libm-sysdep_routines.
13171 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13174 fdim/fdimf to libm-sysdep_routines.
13175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
13177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
13178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
13180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
13181 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
13182 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
13183 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
13184 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
13185 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
13186 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
13188 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13190 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
13191 to optimize copies.
13193 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
13194 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13195 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13197 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
13198 local variable MPTWO.
13199 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
13202 2013-01-13 Mike Frysinger <vapier@gentoo.org>
13204 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
13207 2013-01-13 Mike Frysinger <vapier@gentoo.org>
13209 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
13211 2013-01-13 Mike Frysinger <vapier@gentoo.org>
13213 * manual/pattern.texi (glob_t): Document gl_flags.
13214 (glob64_t): Likewise.
13216 2013-01-11 David S. Miller <davem@davemloft.net>
13218 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
13219 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
13220 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
13221 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
13222 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
13223 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
13224 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
13225 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
13226 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
13227 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
13228 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
13229 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
13230 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
13232 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13233 sparc V9 rather than using V8 code.
13234 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13235 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13237 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13239 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
13242 2013-01-11 Roland McGrath <roland@hack.frob.com>
13244 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
13245 not in the main loop.
13246 * configure: Regenerated.
13248 2013-01-11 Joseph Myers <joseph@codesourcery.com>
13250 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
13251 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
13253 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
13254 [!__GLIBC_HAVE_LONG_LONG] case.
13255 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
13256 condition to just #else.
13257 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
13258 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
13259 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
13260 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
13262 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
13263 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13264 #elif condition to just #else.
13265 * sysdeps/unix/sysv/linux/sys/sysmacros.h
13266 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
13267 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13268 #elif condition to just #else.
13270 2013-01-11 Steve Ellcey <sellcey@mips.com>
13272 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
13273 (EF_MIPS_ARCH_64): Fix value.
13274 (EF_MIPS_ARCH_32R2): New.
13275 (EF_MIPS_ARCH_64R2): New.
13277 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
13279 * Makeconfig (+link-pie-before-libc): New.
13280 (+link-pie-after-libc): Likewise.
13281 (+link-pie-tests): Likewise.
13282 (+link-pie): Rewritten.
13283 (link-before-libc): Remove $(config-LDFLAGS).
13284 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
13285 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
13286 (config-LDFLAGS): Renamed to ...
13287 (rtld-LDFLAGS): This.
13288 (rtld-tests-LDFLAGS): New macro.
13289 (link-libc-rpath-link): Likewise.
13290 (link-libc-tests-rpath-link): Likewise.
13291 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
13292 (link-libc): Prepand $(link-libc-rpath-link).
13293 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
13294 (test-program-prefix): New macro.
13295 (test-via-rtld-prefix): Likewise.
13296 (test-program-cmd): Likewise.
13297 (host-test-program-cmd): Likewise.
13298 * Makefile ($(common-objpfx)testrun.sh): Replace
13299 $(run-program-prefix) with $(test-program-prefix).
13300 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
13302 ($(common-objpfx)shlib.lds): Likewise.
13303 (build-module-helper): Likewise.
13304 ($(common-objpfx)format.lds): Likewise.
13305 * Rules (binaries-pie-tests): New.
13306 (binaries-pie-notests): Likewise.
13307 (binaries-pie): Rewritten.
13308 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
13309 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
13310 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
13311 (make-test-out): Replace $(host-built-program-cmd) with
13312 $(host-test-program-cmd).
13313 * config.make.in (build-hardcoded-path-in-tests): New variable.
13314 * configure.in (--enable-hardcoded-path-in-tests): New configure
13316 (hardcoded_path_in_tests): New AC_SUBST.
13317 * configure: Regenerated.
13318 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
13319 $(built-program-cmd) with $(test-program-cmd).
13320 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
13321 (test_program_cmd): This.
13322 * elf/Makefile ($(objpfx)order.out): Run test with
13323 $(test-program-prefix).
13324 ($(objpfx)order2.out): Likewise.
13325 ($(objpfx)tst-initorder.out): Likewise.
13326 ($(objpfx)tst-initorder2.out): Likewise.
13327 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
13328 $(test-program-cmd).
13329 ($(objpfx)tst-array1-static.out): Likewise.
13330 ($(objpfx)tst-array2.out): Likewise.
13331 ($(objpfx)tst-array3.out): Likewise.
13332 ($(objpfx)tst-array4.out): Likewise.
13333 ($(objpfx)tst-array5.out): Likewise.
13334 ($(objpfx)tst-array5-static.out): Likewise.
13335 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
13336 $(test-program-cmd).
13337 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
13338 $(run-program-prefix) with $(test-program-prefix).
13339 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
13340 (test_program_prefix): This.
13341 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
13342 $(run-program-prefix) with $(test-program-prefix).
13343 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
13344 (test_program_prefix): This.
13345 * iconvdata/tst-tables.sh: Likewise.
13346 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
13347 $(run-program-prefix) with $(test-program-prefix).
13348 ($(objpfx)tst-translit.out): Likewise.
13349 ($(objpfx)tst-gettext2.out): Likewise.
13350 ($(objpfx)tst-gettext4.out): Likewise.
13351 ($(objpfx)tst-gettext6.out): Likewise.
13352 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
13353 (test_program_prefix): This.
13354 * intl/tst-gettext2.sh: Likewise.
13355 * intl/tst-gettext4.sh Likewise.
13356 * intl/tst-gettext6.sh: Likewise.
13357 * intl/tst-translit.sh: Likewise.
13358 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
13359 with $(test-program-cmd).
13360 * libio/Makefile ($(objpfx)test-freopen.out): Replace
13361 $(run-program-prefix) with $(test-program-prefix).
13362 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
13363 (test_program_prefix): This.
13364 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
13365 $(run-program-prefix) with $(test-program-prefix).
13366 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
13367 (test_program_prefix): This.
13368 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
13369 * posix/Makefile ($(objpfx)globtest.out): Replace
13370 $(run-via-rtld-prefix) and $(test-wrapper) with
13371 $(test-program-prefix) and $(test-via-rtld-prefix).
13372 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
13373 $(test-program-prefix).
13374 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
13375 $(host-test-program-cmd).
13376 (tst-spawn-ARGS): Likewise.
13377 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
13378 $(test-program-prefix).
13379 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
13380 (test_via_rtld_prefix): This.
13381 (test_wrapper): Renamed to ...
13382 (test_program_prefix): This.
13383 (run_program_prefix): Replaced by test_program_prefix.
13384 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
13385 (test_program_prefix): This.
13386 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
13387 with $(host-test-program-cmd).
13388 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
13389 $(run-program-prefix) with $(test-program-prefix).
13390 ($(objpfx)tst-printf.out): Likewise.
13391 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
13392 $(test-program-cmd).
13393 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
13394 (test_program_prefix): This.
13395 * stdio-common/tst-unbputc.sh: Likewise.
13396 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
13397 $(run-program-prefix) with $(test-program-prefix).
13398 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
13399 (test_program_prefix): This.
13400 * string/Makefile ($(objpfx)tst-svc.out): Replace
13401 $(built-program-cmd) with $(test-program-cmd).
13403 2013-01-11 Andreas Jaeger <aj@suse.de>
13406 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
13407 value. Sync with Linux 3.7.
13409 2013-01-10 David S. Miller <davem@davemloft.net>
13411 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
13412 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13413 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13415 2013-01-10 Roland McGrath <roland@hack.frob.com>
13417 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
13419 * configure: Regenerated.
13421 2013-01-10 David S. Miller <davem@davemloft.net>
13423 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13424 sparc V9 rather than using V8 code.
13425 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13426 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13428 2013-01-10 Roland McGrath <roland@hack.frob.com>
13430 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
13431 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
13432 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
13433 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
13434 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
13435 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
13436 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
13437 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
13438 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
13439 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
13440 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
13441 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
13442 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
13443 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
13444 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
13445 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
13446 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
13447 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
13448 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
13449 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
13450 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
13451 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
13452 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
13453 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
13454 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
13455 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
13456 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
13458 2013-01-10 David S. Miller <davem@davemloft.net>
13460 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13462 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
13464 * posix/Makefile (tests-static): New variable.
13465 (tests): Add $(tests-static).
13466 (tst-exec-static-ARGS): New variable.
13467 (tst-spawn-static-ARGS): Likewise.
13468 * posix/tst-exec-static.c: New file.
13469 * posix/tst-spawn-static.c: Likewise.
13470 * posix/tst-exec.c: Support run directly.
13471 * posix/tst-spawn.c: Likewise.
13473 2013-01-10 Joseph Myers <joseph@codesourcery.com>
13475 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
13477 * math/bits/mathcalls.h (llrint): Likewise.
13478 (llround): Likewise.
13479 * stdlib/stdlib.h (struct drand48_data): Likewise.
13480 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
13481 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
13482 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
13484 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
13486 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
13487 (elf_greg_t): Likewise.
13488 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
13489 (__jmp_buf): Likewise.
13490 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
13492 (llrint): Likewise, for all definitions.
13493 (llrintl): Likewise.
13495 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
13496 Remove [__GNUC__] condition.
13497 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
13498 condition to just [__USE_ISOC99].
13499 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
13501 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
13504 * sysdeps/unix/sysv/linux/x86/bits/environments.h
13505 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
13507 (_POSIX_V6_ILP32_OFF32): Likewise.
13508 (_XBS5_ILP32_OFF32): Likewise.
13509 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
13510 (__ILP32_OFFBIG_LDFLAGS): Likewise.
13512 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13514 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
13516 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
13517 doubles __mpexp_twomm1. Adjust usage.
13518 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
13521 2013-01-10 Andreas Schwab <schwab@suse.de>
13524 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
13525 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
13527 2013-01-09 David S. Miller <davem@davemloft.net>
13530 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
13531 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
13532 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
13533 TCP_FASTOPEN): Define.
13534 (tcp_repair_opt): New structure.
13535 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
13537 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
13538 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
13539 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
13540 (tcp_cookie_transactions): New structure.
13542 2013-01-09 Anton Blanchard <anton@samba.org>
13544 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
13545 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
13546 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
13547 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
13549 2013-01-09 Joseph Myers <joseph@codesourcery.com>
13551 * include/features.h (__USE_ANSI): Remove.
13553 2013-01-09 Roland McGrath <roland@hack.frob.com>
13555 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
13557 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
13559 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
13561 * sysdeps/s390/fpu/libm-test-ulps: Update.
13563 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13565 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
13569 (denorm): Likewise.
13570 (__mp_dbl): Likewise.
13571 (__dbl_mp): Likewise.
13572 (add_magnitudes): Likewise.
13573 (sub_magnitudes): Likewise.
13579 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
13583 (denorm): Likewise.
13584 (__mp_dbl): Likewise.
13585 (__dbl_mp): Likewise.
13586 (add_magnitudes): Likewise.
13587 (sub_magnitudes): Likewise.
13593 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
13597 (denorm): Likewise.
13598 (__mp_dbl): Likewise.
13599 (__dbl_mp): Likewise.
13600 (add_magnitudes): Likewise.
13601 (sub_magnitudes): Likewise.
13608 2013-01-08 Joseph Myers <joseph@codesourcery.com>
13610 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
13611 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
13612 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
13613 2 && __USE_EXTERN_INLINES]: Likewise.
13615 2013-01-08 Andreas Jaeger <aj@suse.de>
13618 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
13620 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
13621 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
13623 2013-01-07 Anton Blanchard <anton@samba.org>
13625 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
13626 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
13627 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
13628 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
13629 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
13630 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13631 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
13632 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
13633 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13634 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13635 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13636 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13637 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13638 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13639 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13640 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13641 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13642 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13643 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
13644 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
13645 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13646 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
13647 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13648 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13649 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
13650 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
13651 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13652 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
13653 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
13654 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13655 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13656 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13657 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13658 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13659 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13660 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13661 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13662 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13663 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
13664 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
13665 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
13666 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13667 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13669 2013-01-07 Joseph Myers <joseph@codesourcery.com>
13671 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
13672 (__MALLOC_PMT): Likewise.
13673 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
13674 [__GNUC__], only on [_LIBC].
13675 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
13676 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
13677 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
13678 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
13679 forward declaration.
13680 (realloc_hook_ini): Likewise.
13681 (memalign_hook_ini): Likewise.
13682 (__libc_memalign): Do not use __MALLOC_PMT in variable
13684 (__libc_valloc): Likewise.
13685 (__libc_pvalloc): Likewise.
13686 (__libc_calloc): Likewise.
13687 (__posix_memalign): Likewise.
13690 * math/s_casinh.c: Include <float.h>.
13691 (__casinh): Do not do computation with squaring and square root
13692 for large arguments.
13693 * math/s_casinhf.c: Include <float.h>.
13694 (__casinhf): Do not do computation with squaring and square root
13695 for large arguments.
13696 * math/s_casinhl.c: Include <float.h>.
13697 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
13698 (__casinhl): Do not do computation with squaring and square root
13699 for large arguments.
13700 * math/libm-test.inc (casin_test): Add more tests.
13701 (casinh_test): Likewise.
13702 * sysdeps/i386/fpu/libm-test-ulps: Update.
13703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13705 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
13707 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
13708 (__x86_64_raw_data_cache_size): Likewise.
13709 (__x86_64_data_cache_size_half): Likewise.
13710 (__x86_64_raw_data_cache_size_half): Likewise.
13711 (__x86_64_shared_cache_size): Likewise.
13712 (__x86_64_raw_shared_cache_size): Likewise.
13713 (__x86_64_shared_cache_size_half): Likewise.
13714 (__x86_64_raw_shared_cache_size_half): Likewise.
13715 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
13717 (__x86_data_cache_size): This.
13718 (__x86_64_raw_data_cache_size): Renamed to ...
13719 (__x86_raw_data_cache_size): This.
13720 (__x86_64_data_cache_size_half): Renamed to ...
13721 (__x86_data_cache_size_half): This.
13722 (__x86_64_raw_data_cache_size_half): Renamed to ...
13723 (__x86_raw_data_cache_size_half): This.
13724 (__x86_64_shared_cache_size): Renamed to ...
13725 (__x86_shared_cache_size): This.
13726 (__x86_64_raw_shared_cache_size): Renamed to ...
13727 (__x86_raw_shared_cache_size): This.
13728 (__x86_64_shared_cache_size_half): Renamed to ...
13729 (__x86_shared_cache_size_half): This.
13730 (__x86_64_raw_shared_cache_size_half): Renamed to ...
13731 (__x86_raw_shared_cache_size_half): This.
13732 * sysdeps/x86_64/memcpy.S: Updated.
13733 * sysdeps/x86_64/memset.S: Likewise.
13734 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13735 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13736 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13738 2013-01-04 David S. Miller <davem@davemloft.net>
13740 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13742 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
13744 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
13745 1 to avoid redefinition warning.
13746 (__USE_GNU): Don't define.
13747 (init_signaling_nan): Protoize.
13749 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13751 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13753 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
13754 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
13755 (__cpymn): Likewise.
13756 (norm): Remove commented code.
13757 (denorm): Likewise.
13758 (__mp_dbl): Likewise.
13760 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
13761 (__cpymn): Likewise.
13762 (norm): Remove commented code.
13763 (denorm): Likewise.
13764 (__mp_dbl): Likewise.
13767 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
13768 mp_no value for 1.0 and 2.0.
13769 (norm): Use RADIXI instead of radixi.d.
13770 (denorm): Likewise.
13771 (__mul): Use 0.0 instead of zero.d.
13772 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
13773 mp_no value for 1.0 and 2.0.
13774 (norm): Use RADIXI instead of radixi.d.
13775 (denorm): Likewise.
13776 (__mul): Use 0.0 instead of zero.d.
13778 2013-01-04 Joseph Myers <joseph@codesourcery.com>
13781 * math/s_casinh.c (__casinh): Reduce finite argument to first
13782 quadrant then set signs of results at the end.
13783 * math/s_casinhf.c (__casinhf): Likewise.
13784 * math/s_casinhl.c (__casinhl): Likewise.
13785 * math/libm-test.inc (casin_test): Add more tests.
13786 (casinh_test): Likewise.
13787 * sysdeps/i386/fpu/libm-test-ulps: Update.
13788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13790 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13792 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
13794 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
13796 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
13798 (denorm): Likewise.
13799 (__mp_dbl): Likewise.
13802 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
13803 and adjust the header comment.
13805 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
13806 variable name from declaration.
13808 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
13810 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13811 Initialize COMMON_CPUID_INDEX_7 element.
13812 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
13813 (CPUID_RTM): Likewise.
13814 (HAS_RTM): Likewise.
13815 (COMMON_CPUID_INDEX_7): New enum.
13817 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
13820 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
13821 size is zero, record memory as freed.
13823 2013-01-03 Andreas Jaeger <aj@suse.de>
13825 * po/ia.po: Add new Interlingua translation.
13827 2012-01-03 Allan McRae <allan@archlinux.org>
13829 * locale/programs/localedef.c: Fix description of '--posix' flag.
13831 2013-01-02 Joseph Myers <joseph@codesourcery.com>
13833 * NEWS: Update dates in second copyright notice.
13834 * README: Update copyright dates in example.
13835 * manual/libc.texinfo: Update copyright dates.
13836 * scripts/test-installation.pl: Update copyright date in --version
13839 * hurd/ctty-input.c: Fix copyright notice formatting.
13840 * hurd/ctty-output.c: Likewise.
13841 * hurd/dtable.c: Likewise.
13842 * hurd/hurd-raise.c: Likewise.
13843 * hurd/hurdprio.c: Likewise.
13844 * hurd/msgportdemux.c: Likewise.
13845 * misc/sys/file.h: Likewise.
13846 * misc/sys/ioctl.h: Likewise.
13847 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13848 * sysdeps/mach/hurd/chdir.c: Likewise.
13849 * sysdeps/mach/hurd/fchdir.c: Likewise.
13850 * sysdeps/mach/hurd/rename.c: Likewise.
13851 * sysdeps/mach/hurd/rmdir.c: Likewise.
13852 * sysdeps/mach/hurd/seekdir.c: Likewise.
13853 * sysdeps/mach/hurd/setsid.c: Likewise.
13854 * sysdeps/posix/wait3.c: Likewise.
13856 * All files with FSF copyright notices: Update copyright dates
13857 using scripts/update-copyrights.
13858 * intl/plural.c: Regenerated.
13859 * locale/programs/charmap-kw.h: Likewise.
13860 * locale/programs/locfile-kw.h: Likewise.
13862 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13864 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
13867 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
13868 calculation loop and add branch prediction.
13870 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
13871 check access beyond bounds of m1np.
13873 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
13875 (__inv): Remove local variable MPTWO to use the global
13877 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
13878 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
13880 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
13881 MP3HALFS static const.
13883 2013-01-01 David S. Miller <davem@davemloft.net>
13885 * po/ca.po: Update from translation team.
13887 2013-01-01 Joseph Myers <joseph@codesourcery.com>
13889 * scripts/update-copyrights: New file.
13890 * Makeconfig: Reformat copyright notice.
13891 * ctype/ctype.h: Likewise.
13892 * debug/swprintf_chk.c: Likewise.
13893 * elf/dl-cache.c: Likewise.
13894 * elf/dl-debug.c: Likewise.
13895 * elf/dl-object.c: Likewise.
13896 * grp/initgroups.c: Likewise.
13897 * hurd/Makefile: Likewise.
13898 * hurd/hurd/signal.h: Likewise.
13899 * hurd/hurdfault.c: Likewise.
13900 * hurd/hurdioctl.c: Likewise.
13901 * hurd/hurdlookup.c: Likewise.
13902 * hurd/intr-msg.c: Likewise.
13903 * iconv/gconv_open.c: Likewise.
13904 * libio/swprintf.c: Likewise.
13905 * locale/lc-ctype.c: Likewise.
13906 * locale/nl_langinfo.c: Likewise.
13907 * mach/Machrules: Likewise.
13908 * mach/Makefile: Likewise.
13909 * malloc/obstack.h: Likewise.
13910 * manual/Makefile: Likewise.
13911 * manual/tsort.awk: Likewise.
13912 * misc/bits/stab.def: Likewise.
13913 * nis/nis_print_group_entry.c: Likewise.
13914 * nis/nis_table.c: Likewise.
13915 * nis/nss_compat/compat-pwd.c: Likewise.
13916 * nis/nss_compat/compat-spwd.c: Likewise.
13917 * po/Makefile: Likewise.
13918 * posix/fnmatch.c: Likewise.
13919 * posix/regex.h: Likewise.
13920 * resolv/Makefile: Likewise.
13921 * resolv/nss_dns/dns-network.c: Likewise.
13922 * resolv/res_hconf.c: Likewise.
13923 * scripts/gen-sorted.awk: Likewise.
13924 * soft-fp/soft-fp.h: Likewise.
13925 * stdio-common/printf.h: Likewise.
13926 * stdlib/monetary.h: Likewise.
13927 * stdlib/random.c: Likewise.
13928 * stdlib/random_r.c: Likewise.
13929 * sysdeps/generic/Makefile: Likewise.
13930 * sysdeps/gnu/Makefile: Likewise.
13931 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13932 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13933 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13934 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13935 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13936 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13937 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13938 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13939 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13940 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13941 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13942 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13943 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13944 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13945 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
13946 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13947 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13948 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13949 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13950 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13951 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13952 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13953 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13954 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
13955 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
13956 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13957 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
13958 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
13959 * sysdeps/mach/hurd/errnos.awk: Likewise.
13960 * sysdeps/mach/hurd/fork.c: Likewise.
13961 * sysdeps/mach/hurd/getcwd.c: Likewise.
13962 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
13963 * sysdeps/mach/hurd/mmap.c: Likewise.
13964 * sysdeps/mach/hurd/utimes.c: Likewise.
13965 * sysdeps/mach/hurd/xmknod.c: Likewise.
13966 * sysdeps/posix/profil.c: Likewise.
13967 * sysdeps/posix/readdir_r.c: Likewise.
13968 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13969 * sysdeps/powerpc/bits/setjmp.h: Likewise.
13970 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
13971 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
13972 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13973 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
13974 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13975 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
13976 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13977 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
13978 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13979 * sysdeps/pthread/lio_listio.c: Likewise.
13980 * sysdeps/sparc/dl-procinfo.h: Likewise.
13981 * sysdeps/unix/i386/sysdep.S: Likewise.
13982 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
13983 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
13984 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
13985 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
13986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13987 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
13988 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
13989 * sysdeps/unix/sysv/linux/speed.c: Likewise.
13990 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
13991 * sysdeps/wordsize-32/divdi3.c: Likewise.
13992 * time/sys/time.h: Likewise.
13993 * wcsmbs/Makefile: Likewise.
13995 2013-01-01 David S. Miller <davem@davemloft.net>
13997 * po/fr.po: Update from translation team.
13999 * catgets/gencat.c: Update copyright year.
14000 * csu/version.c: Likewise.
14001 * debug/catchsegv.sh: Likewise.
14002 * debug/pcprofiledump.c: Likewise.
14003 * debug/xtrace.sh: Likewise.
14004 * elf/ldconfig.c: Likewise.
14005 * elf/ldd.bash.in: Likewise.
14006 * elf/pldd.c: Likewise.
14007 * elf/sotruss.ksh: Likewise.
14008 * elf/sprof.c: Likewise.
14009 * iconv/iconv_prog.c: Likewise.
14010 * iconv/iconvconfig.c: Likewise.
14011 * locale/programs/locale.c: Likewise.
14012 * locale/programs/localedef.c: Likewise.
14013 * login/programs/pt_chown.c: Likewise.
14014 * malloc/memusage.sh: Likewise.
14015 * malloc/memusagestat.c: Likewise.
14016 * malloc/mtrace.pl: Likewise.
14017 * nscd/nscd.c: Likewise.
14018 * nss/getent.c: Likewise.
14019 * nss/makedb.c: Likewise.
14020 * posix/getconf.c: Likewise.
14022 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14024 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
14027 2012-12-30 Mike Frysinger <vapier@gentoo.org>
14029 * math/bits/mathcalls.h (modf): Use __nonnull.
14031 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14033 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
14034 (split): Use macro CN instead of the bare value.
14035 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
14037 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
14038 instead of the bare value.
14039 (power1): Likewise.
14041 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14043 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
14045 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14047 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
14049 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14050 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14051 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
14052 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14054 2012-12-28 Andreas Jaeger <aj@suse.de>
14056 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
14057 values are from Linux 3.7.
14059 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
14060 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
14062 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14064 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
14067 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
14069 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
14070 variables with preprocessor constants.
14071 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14072 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14073 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14075 2012-12-27 Bruno Haible <bruno@clisp.org>
14078 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
14081 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14083 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
14084 and use variable directly.
14085 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
14087 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14089 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
14090 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14092 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14093 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14094 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
14095 include directive. Remove local variable MPONE.
14096 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
14097 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
14098 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14100 2012-12-25 David S. Miller <davem@davemloft.net>
14102 * version.h (RELEASE): Set to "development".
14103 (VERSION): Set to "2.17.90".
14104 * NEWS: Add 2.18 section.
14106 2012-12-21 David S. Miller <davem@davemloft.net>
14108 * po/hr.po: Update from translation team.
14110 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14112 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
14114 2012-12-19 Steve Ellcey <sellcey@mips.com>
14116 * NEWS: Mention new memcpy for MIPS.
14118 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14120 * manual/contrib.texi (Contributors): Spelling correction.
14122 2012-12-15 David S. Miller <davem@davemloft.net>
14124 * po/ru.po: Update from translation team.
14126 2012-12-13 David S. Miller <davem@davemloft.net>
14128 * NEWS: Mention IFUNC testsuite enhancements.
14130 * po/pl.po: Update from translation team.
14131 * po/bg.po: Likewise.
14133 * manual/contrib.texi (Contributors): Update entries for Hongjiu
14134 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
14136 2012-12-11 David S. Miller <davem@davemloft.net>
14138 * po/sv.po: Update from translation team.
14140 * po/vi.po: Update from translation team.
14142 * po/cs.po: Update from translation team.
14144 * po/de.po: Update from translation team.
14145 * po/eo.po: Likewise.
14146 * po/nl.po: Likewise.
14148 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14151 * manual/argp.texi (Argp Helper Functions): Move node to follow
14152 Argp Parsing State.
14155 * manual/conf.texi (Limits on File System Capacity): Mention if
14156 terminating null is included in the max size.
14158 2012-12-10 Andreas Jaeger <aj@suse.de>
14160 * po/cs.po: Update from translation team.
14162 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14164 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
14165 void pointer and cast to uintptr_t.
14166 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
14168 * sysdeps/s390/s390-64/memcpy.S: Likewise.
14169 * sysdeps/s390/s390-64/memset.S: Likewise.
14171 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
14174 * menual/message.texi (Message Translation): Fix typos.
14175 (Helper programs for gettext): Likewise.
14177 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
14180 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
14183 2012-12-07 David S. Miller <davem@davemloft.net>
14185 * po/libc.pot: Update.
14187 2012-12-07 Richard Henderson <rth@redhat.com>
14190 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
14191 normal/normal case to before the switch.
14192 (_FP_DIV): Likewise.
14194 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
14195 Mike Frysinger <vapier@gentoo.org>
14197 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
14198 check for __NR_fadvise64_64.
14200 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
14202 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
14203 0, not just to plain "0" as a statement.
14204 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
14207 2012-12-06 Joseph Myers <joseph@codesourcery.com>
14209 * NEWS: Use sourceware.org in Bugzilla URL.
14211 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14214 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14216 * stdio-common/tst-put-error.c (do_test): Add newline to the
14217 padded test to ensure flush.
14219 2012-12-05 Jeff Law <law@redhat.com>
14221 * sunrpc/etc.rpc (fedfs_admin): Add entry.
14223 2012-12-05 Joseph Myers <joseph@codesourcery.com>
14225 * README: Don't refer to ports add-on as distributed separately.
14226 Mention AArch64 in list of systems supported in the ports add-on.
14228 * LICENSES: Add more non-FSF copyright and license notices.
14230 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
14233 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
14235 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
14236 10000 as width of padded output.
14238 2012-12-04 Joseph Myers <joseph@codesourcery.com>
14240 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
14242 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
14243 variable LX with __attribute__ ((unused)).
14244 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14246 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14247 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14248 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
14249 with __attribute__ ((unused)).
14251 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
14253 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
14255 2012-12-04 Joseph Myers <joseph@codesourcery.com>
14257 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
14258 (CFLAGS-nldbl-acos.c): New variable.
14259 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
14260 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
14261 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
14262 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
14263 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
14264 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
14265 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
14266 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
14267 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
14268 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
14269 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
14270 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
14271 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
14272 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
14273 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
14274 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
14275 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
14276 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
14277 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
14278 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
14279 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
14280 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
14281 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
14282 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
14283 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
14284 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
14285 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
14286 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
14287 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
14288 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
14289 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
14290 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
14291 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
14292 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
14293 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
14294 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
14295 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
14296 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
14297 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
14298 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
14299 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
14300 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
14301 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
14302 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
14303 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
14304 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
14305 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
14306 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
14307 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
14308 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
14309 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
14310 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
14311 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
14312 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
14313 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
14314 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
14315 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
14316 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
14317 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
14318 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
14319 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
14320 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
14321 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
14322 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
14323 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
14324 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
14325 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
14326 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
14327 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
14328 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
14329 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
14330 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
14331 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
14332 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
14333 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
14334 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
14335 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
14336 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
14337 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
14338 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
14339 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
14340 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
14341 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
14342 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
14343 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
14344 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
14345 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
14346 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
14347 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
14348 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
14349 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
14350 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
14351 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
14352 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
14353 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
14354 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
14355 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
14357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14358 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14361 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
14362 whole low double instead of just low 47 bits when splitting values
14365 2012-12-03 Allan McRae <allan@archlinux.org>
14367 * manual/stdio.texi (Predefined Printf Handlers): Remove
14368 @hsep and @vsep usage.
14370 2012-12-03 Mike Frysinger <vapier@gentoo.org>
14372 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
14373 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
14375 2012-12-03 Jeff Law <law@redhat.com>
14377 * time/sys/time.h (settimeofday): Do not mark TV argument
14380 2012-12-01 Mike Frysinger <vapier@gentoo.org>
14382 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
14383 when currently writing and seek to current position when not.
14384 * libio/Makefile (tests): Remove bug-fclose1.
14385 * libio/bug-fclose1.c: Delete.
14387 2012-12-01 Joseph Myers <joseph@codesourcery.com>
14389 * manual/arith.texi (feenableexcept): Fix typo.
14390 (fedisableexcept): Likewise.
14392 2012-11-30 Roland McGrath <roland@hack.frob.com>
14394 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
14395 second, differently-typed declaration, rather than a cast.
14397 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14399 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
14400 * include/rpc/svc.h: ... here.
14402 2012-11-30 Aurelien Jarno <aurel32@debian.org>
14405 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
14406 depending n and resplen2 to catch cases where answer
14409 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
14411 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
14412 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
14414 2012-11-29 Mike Frysinger <vapier@gentoo.org>
14416 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
14418 2012-11-29 Roland McGrath <roland@hack.frob.com>
14420 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
14422 2012-11-28 Jeff Law <law@redhat.com>
14425 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
14426 dataset_temporary. Track alloca usage into alloca_used.
14427 If dataset is large allocate and release it via malloc/free.
14429 2012-06-04 Florian Weimer <fweimer@redhat.com>
14432 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
14434 2012-11-28 David S. Miller <davem@davemloft.net>
14436 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14438 2012-11-28 Joseph Myers <joseph@codesourcery.com>
14441 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
14442 of pi/2 rounded to nearest to 64 bits.
14443 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
14444 nearest to 64 bits.
14445 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
14448 2012-11-28 Jeff Law <law@redhat.com>
14449 Martin Osvald <mosvald@redhat.com>
14452 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
14453 * sunrpc/svc.c: Include time.h.
14454 (__svc_accept_failed): New function.
14455 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
14456 any reason other than EINTR, call __svc_accept_failed.
14457 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
14458 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
14460 2012-11-28 Andreas Schwab <schwab@suse.de>
14462 * scripts/abilist.awk: Also handle indirect functions in .opd
14465 2012-11-28 Joseph Myers <joseph@codesourcery.com>
14468 * sysdeps/x86/fpu/powl_helper.c: New file.
14469 * sysdeps/x86/fpu/Makefile: Likewise.
14470 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
14472 (__ieee754_powl): Use __powl_helper for finite arguments except
14473 integer exponents below 8.
14474 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
14476 (__ieee754_powl): Use __powl_helper for finite arguments except
14477 integer exponents below 8.
14478 * math/libm-test.inc (pow_test): Add more tests and enable some
14479 previously disabled tests.
14480 * sysdeps/i386/fpu/libm-test-ulps: Update.
14481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14483 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14484 Carlos O'Donell <carlos_odonell@mentor.com>
14486 * nss/makedb.c (is_prime): Assert that input is odd and greater
14487 than 4. Note that fact in a comment too.
14488 (next_prime): Add 4 to input.
14490 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14493 * libio/Makefile (tests): Add test case tst-fwrite-error.
14494 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
14495 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
14496 * libio/tst-fwrite-error.c: New test case.
14498 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
14500 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
14501 before casting to void *.
14502 * include/libc-internal.h (__pointer_type): New macro.
14503 (__integer_if_pointer_type_sub): Likewise.
14504 (__integer_if_pointer_type): Likewise.
14505 (cast_to_integer): Likewise.
14506 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
14507 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
14508 before casting to atomic64_t.
14509 (atomic_exchange_acq): Likewise.
14510 (__arch_exchange_and_add_body): Likewise.
14511 (__arch_add_body): Likewise.
14512 (atomic_add_negative): Likewise.
14513 (atomic_add_zero): Likewise.
14515 2012-11-26 Joseph Myers <joseph@codesourcery.com>
14517 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
14518 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
14519 (add_fdes): Likewise.
14520 (linear_search_fdes): Likewise.
14521 (binary_search_unencoded_fdes): Likewise.
14523 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
14525 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
14527 2012-11-24 Adam Conrad <adconrad@0c3.net>
14529 * configure.in: Autodetect C++ header directories.
14530 * configure: Regenerated.
14532 2012-11-23 Mike Frysinger <vapier@gentoo.org>
14534 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
14536 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
14538 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14540 2012-11-22 Joseph Myers <joseph@codesourcery.com>
14542 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
14543 LDBL_MANT_DIG == 106]: Disable some tests.
14544 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
14546 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
14550 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
14551 input for small inputs. Return +/- pi/2 for large inputs.
14552 * math/libm-test.inc (atan_test): Add more tests.
14554 * sysdeps/generic/unwind-dw2-fde-glibc.c
14555 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
14556 __attribute__ ((unused)).
14559 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
14560 x * y if x and y are nonzero and z is zero.
14563 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
14564 nonzero exponents with absolute value below 0x1p-117 to +/-
14568 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
14569 up arguments below 2**-450, not just those below 2**-500.
14570 * math/libm-test.inc (hypot_test): Add another test.
14573 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
14574 Return a+b for ratio over 2**120, not 2**60.
14575 * math/libm-test.inc (hypot_test): Add another test.
14577 * math/libm-test.inc (clog_test): Use
14578 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
14579 (clog10_test): Likewise.
14582 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
14584 2012-11-22 Andreas Schwab <schwab@suse.de>
14586 * sysdeps/i386/fpu/libm-test-ulps: Update.
14588 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
14590 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
14591 printf output with newline.
14593 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
14596 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
14597 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
14598 -z nodlopen, -z initfirst and -z execstack support.
14599 * configure: Regenerated.
14601 * elf/elf.h (DF_1_NODIRECT): New macro.
14602 (DF_1_IGNMULDEF): Likewise.
14603 (DF_1_NOKSYMS): Likewise.
14604 (DF_1_NOHDR): Likewise.
14605 (DF_1_EDITED): Likewise.
14606 (DF_1_NORELOC): Likewise.
14607 (DF_1_SYMINTPOSE): Likewise.
14608 (DF_1_GLOBAUDIT): Likewise.
14609 (DF_1_SINGLETON): Likewise.
14610 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
14611 DT_1_SUPPORTED_MASK bits.
14612 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
14614 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
14616 * sysdeps/unix/make-syscalls.sh: Document prefixes.
14618 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
14620 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
14623 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
14624 (sendmmsg): Move declarations...
14625 * socket/sys/socket.h: ... here.
14626 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
14627 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
14629 * socket/recvmmsg.c: ... this new file.
14630 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
14631 (sendmmsg): Rename to __sendmmsg, create weak alias and make
14632 definition of __sendmmsg hidden.
14633 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
14634 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
14635 Move ENOSYS stub into and include it from...
14636 * socket/sendmmsg.c: ... this new file.
14637 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
14638 (sysdep_routines): Move recvmmsg and sendmmsg...
14639 * socket/Makefile (routines): ... here.
14640 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
14641 (GLIBC_PRIVATE): Add __sendmmsg.
14642 * include/sys/socket.h (__sendmmsg): Add declarations.
14643 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
14646 2012-11-20 Joseph Myers <joseph@codesourcery.com>
14648 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
14649 variable I1 with __attribute__ ((unused)).
14650 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14652 2012-11-19 Joseph Myers <joseph@codesourcery.com>
14654 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
14655 DUMMY variables with __attribute__ ((unused)).
14657 * bits/byteswap.h: Include <bits/types.h>.
14658 (__bswap_64): Use __uint64_t instead of unsigned long long int.
14660 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
14662 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
14663 string_t. Do not manually set errno.
14664 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
14665 length with __strnlen. Make sure to both set errno and return it on
14668 2012-11-19 David S. Miller <davem@davemloft.net>
14670 With help from Joseph Myers.
14671 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
14672 very large arguments properly.
14673 * math/libm-test.inc (atan_test): New tests.
14674 (atan2_test): New tests.
14675 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14676 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14678 2012-11-19 Joseph Myers <joseph@codesourcery.com>
14681 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
14684 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
14685 [POSIX] (EADDRNOTAVAIL): Likewise.
14686 [POSIX] (EAFNOSUPPORT): Likewise.
14687 [POSIX] (EALREADY): Likewise.
14688 [POSIX] (ECONNABORTED): Likewise.
14689 [POSIX] (ECONNREFUSED): Likewise.
14690 [POSIX] (ECONNRESET): Likewise.
14691 [POSIX] (EDESTADDRREQ): Likewise.
14692 [POSIX] (EDQUOT): Likewise.
14693 [POSIX] (EHOSTUNREACH): Likewise.
14694 [POSIX] (EIDRM): Likewise.
14695 [POSIX] (EISCONN): Likewise.
14696 [POSIX] (ELOOP): Likewise.
14697 [POSIX] (EMULTIHOP): Likewise.
14698 [POSIX] (ENETDOWN): Likewise.
14699 [POSIX] (ENETUNREACH): Likewise.
14700 [POSIX] (ENOBUFS): Likewise.
14701 [POSIX] (ENODATA): Likewise.
14702 [POSIX] (ENOLINK): Likewise.
14703 [POSIX] (ENOMSG): Likewise.
14704 [POSIX] (ENOPROTOOPT): Likewise.
14705 [POSIX] (ENOSR): Likewise.
14706 [POSIX] (ENOSTR): Likewise.
14707 [POSIX] (ENOTCONN): Likewise.
14708 [POSIX] (ENOTSOCK): Likewise.
14709 [POSIX] (EOPNOTSUPP): Likewise.
14710 [POSIX] (EOVERFLOW): Likewise.
14711 [POSIX] (EPROTO): Likewise.
14712 [POSIX] (EPROTONOSUPPORT): Likewise.
14713 [POSIX] (EPROTOTYPE): Likewise.
14714 [POSIX] (ESTALE): Likewise.
14715 [POSIX] (ETIME): Likewise.
14716 [POSIX] (ETXTBSY): Likewise.
14717 [POSIX] (EWOULDBLOCK): Likewise.
14718 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
14719 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
14720 [POSIX] (SEEK_CUR): Likewise.
14721 [POSIX] (SEEK_END): Likewise.
14722 [POSIX || UNIX98] (mode_t): Do not require.
14723 [POSIX] (off_t): Likewise.
14724 [POSIX] (pid_t): Likewise.
14725 [POSIX] (sys/stat.h): Do not allow header.
14726 [POSIX] (unistd.h): Likewise.
14727 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
14728 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
14729 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
14730 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
14732 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
14733 sigevent): Specify elements.
14734 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
14736 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
14737 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
14739 * conform/data/cpio.h-data [POSIX]: Disable whole file.
14740 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
14741 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
14742 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
14743 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
14744 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
14745 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
14746 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
14747 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
14748 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
14749 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
14750 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
14751 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
14752 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
14754 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
14756 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
14758 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
14760 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
14761 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
14762 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
14763 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
14764 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
14765 Specify lower bound on value.
14766 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
14767 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
14768 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
14769 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
14770 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
14771 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
14772 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
14773 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
14775 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
14777 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
14778 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
14779 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
14780 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
14781 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
14782 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
14783 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
14784 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
14785 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
14786 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
14787 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
14788 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
14789 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
14790 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
14791 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
14792 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
14794 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
14796 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
14797 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
14798 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
14799 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
14800 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
14801 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
14803 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
14804 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
14805 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
14806 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
14807 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
14808 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
14809 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
14811 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
14812 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
14813 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
14814 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
14815 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
14816 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
14817 specify as optional.
14818 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
14819 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
14820 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
14821 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
14822 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
14823 [XPG3] (NL_LANGMAX): Likewise.
14824 [POSIX || XPG3] (NL_MSGMAX): Likewise.
14825 [POSIX || XPG3] (NL_NMAX): Likewise.
14826 [POSIX || XPG3] (NL_SETMAX): Likewise.
14827 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
14828 [XPG3] (NZERO): Likewise.
14829 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
14830 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
14831 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
14832 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
14833 (REG_ERANGE): Expect.
14834 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
14836 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
14837 Use (void) in prototype.
14838 [POSIX] (*_t): Allow.
14839 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
14840 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
14841 (WRDE_BADVAL): Expect.
14843 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
14845 [XPG3 || XPG4] (O_RSYNC): Likewise.
14846 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
14848 [XPG3 || XPG4] (pthread_sigmask): Likewise.
14849 [XPG3 || XPG4] (sigqueue): Likewise.
14850 [XPG3 || XPG4] (sigtimedwait): Likewise.
14851 [XPG3 || XPG4] (sigwaitinfo): Likewise.
14852 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
14853 [XPG3 || XPG4] (vsnprintf): Likewise.
14854 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
14856 [XPG3 || XPG4] (blksize_t): Likewise.
14857 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
14859 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
14860 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
14861 [XPG3 || XPG4] (struct itimerspec): Likewise.
14862 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
14863 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
14864 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
14865 [XPG3 || XPG4] (clockid_t): Likewise.
14866 [XPG3 || XPG4] (timer_t): Likewise.
14867 [XPG3 || XPG4] (clock_getres): Likewise.
14868 [XPG3 || XPG4] (clock_gettime): Likewise.
14869 [XPG3 || XPG4] (clock_settime): Likewise.
14870 [XPG3 || XPG4] (nanosleep): Likewise.
14871 [XPG3 || XPG4] (timer_create): Likewise.
14872 [XPG3 || XPG4] (timer_delete): Likewise.
14873 [XPG3 || XPG4] (timer_gettime): Likewise.
14874 [XPG3 || XPG4] (timer_getoverrun): Likewise.
14875 [XPG3 || XPG4] (timer_settime): Likewise.
14876 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
14877 [XPG3 || XPG4] (getlogin_r): Likewise.
14878 [XPG3 || XPG4] (pread): Likewise.
14879 [XPG3 || XPG4] (pthread_atfork): Likewise.
14880 [XPG3 || XPG4] (pwrite): Likewise.
14883 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
14886 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
14888 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
14889 finalizing MALLSTREAM.
14891 * sysdeps/mach/hurd/syncfs.c: New file.
14893 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14896 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
14897 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
14898 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
14899 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
14900 (_nss_dns_gethostbyname4_r): Likewise.
14901 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
14902 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
14904 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
14907 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
14909 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
14911 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
14912 * elf/cache.c (print_entry): Print ",AArch64" for
14915 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
14916 * elf/cache.c (print_entry): Print ",hard-float" for
14919 2012-11-18 David S. Miller <davem@davemloft.net>
14921 With help from Joseph Myers.
14922 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
14924 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
14926 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
14927 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
14929 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
14930 * math/libm-test.inc (y0_test): New tests.
14931 (y1_test): New tests.
14932 * sysdeps/i386/fpu/libm-test-ulps: Update.
14933 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14934 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14936 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
14938 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
14940 * configure: Regenerated.
14942 2012-11-17 David S. Miller <davem@davemloft.net>
14945 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
14946 nonzero exponents with absolute value below 0x1p-128 to +/-
14949 2012-11-17 Joseph Myers <joseph@codesourcery.com>
14951 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
14953 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
14955 * posix/getconf-speclist.c: New file.
14956 * posix/posix-envs.def: Likewise.
14957 * posix/confstr.c (START_ENV_GROUP): New macro.
14958 (END_ENV_GROUP): Likewise.
14959 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
14960 (KNOWN_PRESENT_ENV_STRING): Likewise.
14961 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
14962 (UNKNOWN_ENVIRONMENT): Likewise.
14963 (confstr): Include posix-envs.def instead of handling
14964 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
14965 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
14966 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
14967 (END_ENV_GROUP): Likewise.
14968 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
14969 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
14970 (UNKNOWN_ENVIRONMENT): Likewise.
14971 (__sysconf): Include posix-envs.def instead of handling associated
14972 cases directly here.
14973 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
14974 preprocessing getconf-speclist.c rather than running getconf or
14975 generating empty file.
14977 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
14979 * scripts/check-local-headers.sh: Ignore 'mach' headers.
14981 2012-11-16 Andrej Lajovic <natrij@gmail.com>
14984 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
14986 2012-11-16 David S. Miller <davem@davemloft.net>
14988 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
14989 smaller than LDBL_EPSILON/2.0L, just return xm1.
14991 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
14993 * elf/tst-array1.c (init): Set constructor priority to 1000.
14994 (fini): Set destructor priority to 1000.
14995 * elf/tst-array2dep.c: Likewise.
14997 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15000 * libio/fileops.c (_IO_new_file_write): Correctly return error.
15001 (_IO_new_file_xsputn): Also return EOF if none of the input
15002 data was written when overflow failed.
15003 * libio/iopadn.c (_IO_padn): Likewise.
15004 * libio/iowpadn.c (_IO_wpadn): Likewise.
15005 * stdio-common/tst-put-error.c: Add copyright notice.
15006 (do_test): Add case for printing padded string.
15007 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
15008 _IO_padn returned error.
15009 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
15010 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
15013 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15015 * libio/libioP.h: Add comment note that the references to C++
15016 bits are now obsolete.
15018 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15020 * math/libm-test.inc (check_complex): Use asprintf.
15022 2012-11-14 Joseph Myers <joseph@codesourcery.com>
15024 * debug/pcprofiledump.c (print_version): Update copyright year.
15025 * malloc/memusagestat.c (print_version): Likewise.
15027 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
15030 * elf/Makefile (tests): Add tst-audit8.
15031 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
15032 ($(objpfx)tst-audit8.out): New target.
15033 (tst-audit8-ENV): New variable.
15034 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
15035 audit if l_reloc_result is NULL.
15036 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
15037 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
15038 * elf/tst-audit8.c: New file.
15040 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15042 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
15043 * misc/Makefile (CFLAGS-select.c): Define.
15044 * posix/Makefile (CFLAGS-pause.c): Define.
15046 2012-11-13 David S. Miller <davem@davemloft.net>
15048 * crypt/Makefile: Move test targets after toplevel Rules
15049 inclusion. Grab any necessary sysdep routines when linking.
15050 * crypt/md5.c (md5_process_block): Remove define, we will always
15051 name it __md5_process_block.
15052 (md5_finish_ctx): Update md5_process_block call.
15053 (md5_stream): Likewise.
15054 (md5_process_bytes): Likewise.
15055 (md5_process_block): Rename to __md5_process_block and move to ...
15056 * crypt/md5-block.c: ... here.
15057 * crypt/sha256.c (sha256_process_block): Move to ...
15058 * crypt/sha256-block.c: ... here.
15059 * crypt/sha512.c (sha512_process_block): Move to ...
15060 * crypt/sha512-block.c: ... here.
15061 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
15063 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
15064 * sysdeps/sparc/sparc64/multiarch/Makefile
15065 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
15067 (localedef-aux): Add md5 crypto assembler when in locale subdir.
15068 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
15070 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
15071 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
15072 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
15073 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
15074 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
15075 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
15076 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
15077 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
15078 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
15080 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
15081 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
15083 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
15085 2012-11-13 Joseph Myers <joseph@codesourcery.com>
15087 * timezone/tzselect.ksh: Update from tzcode git revision
15088 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
15089 * timezone/zdump.c: Likewise.
15090 * timezone/zic.c: Likewise.
15091 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
15092 in TZVERSION setting, not $(PKGVERSION).
15093 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
15094 REPORT_BUGS_TO settings.
15097 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
15100 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15102 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
15103 detection to immediately after _FP_ROUND().
15104 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
15107 2012-11-11 David S. Miller <davem@davemloft.net>
15109 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
15111 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
15112 __close rather than their public counterparts.
15114 2012-11-10 Joseph Myers <joseph@codesourcery.com>
15116 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
15118 [UNIX98] (sem_timedwait): Do not expect.
15119 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
15120 [XPG4 || UNIX98] (sockatmark): Do not expect.
15121 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
15122 (clock_getcpuclockid): Do not expect.
15123 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
15124 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
15126 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
15127 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
15128 [UNIX98] (vwscanf): Likewise.
15129 [UNIX98] (vswscanf): Likewise.
15131 2012-11-09 Joseph Myers <joseph@codesourcery.com>
15133 * timezone/version.h: Remove file.
15134 * timezone/README: Do not refer to version.h.
15135 * timezone/Makefile ($(objpfx)zic.o): New dependency on
15136 $(objpfx)version.h.
15137 ($(objpfx)zdump.o): Likewise.
15138 ($(objpfx)version.h): New target.
15140 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
15142 * timezone/README: Don't mention modification to tzselect.ksh.
15143 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
15144 work on unmodified tzselect.ksh. Substitute version numbers in
15147 * Makefile (format-me): Remove.
15148 (INSTALL): Adjust indentation. Use commands directly instead of
15149 using $(format-me).
15151 * aclocal.m4 (ACX_PKGVERSION): New macro.
15152 (ACX_BUGURL): Likewise.
15153 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
15154 (PKGVERSION): New AC_DEFINE_UNQUOTED.
15155 (REPORT_BUGS_TO): Likewise.
15156 * configure: Regenerated.
15157 * config.h.in (PKGVERSION): New macro.
15158 (REPORT_BUGS_TO): Likewise.
15159 * config.make.in (PKGVERSION): New variable.
15160 (PKGVERSION_TEXI): Likewise.
15161 (REPORT_BUGS_TO): Likewise.
15162 (REPORT_BUGS_TEXI): Likewise.
15163 * Makefile (format-me): Use -I$(common-objpfx)manual.
15164 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
15165 ($(common-objpfx)manual/%): New target.
15166 (manual/%): Remove target.
15167 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
15168 (print_version): Use PKGVERSION.
15169 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
15170 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
15171 and REPORT_BUGS_TO.
15172 ($(objpfx)xtrace): Likewise.
15173 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
15174 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
15175 (print_version): Use PKGVERSION.
15176 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
15177 (do_version): Use PKGVERSION.
15178 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
15180 (common-ldd-rewrite): Likewise.
15181 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
15182 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
15183 (print_version): Use PKGVERSION.
15184 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
15185 * elf/pldd.c (argp_program_bug_address): Remove variable.
15186 (more_help): New function.
15187 (argp): Use more_help.
15188 (print_version): Use PKGVERSION.
15189 * elf/sln.c (main): Use PKGVERSION.
15190 (usage): Use REPORT_BUGS_TO.
15191 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
15192 (top level): Use PKGVERSION.
15193 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
15194 (print_version): Use PKGVERSION.
15195 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
15196 (print_version): Use PKGVERSION.
15197 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
15198 (print_version): Use PKGVERSION.
15199 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
15200 (print_version): Use PKGVERSION.
15201 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
15202 (print_version): Use PKGVERSION.
15203 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
15204 (print_version): Use PKGVERSION.
15205 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
15207 ($(objpfx)memusage): Likewise.
15208 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
15209 (do_version): Use PKGVERSION.
15210 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
15211 (print_version): Use PKGVERSION.
15212 * malloc/mtrace.pl ($PACKAGE): Remove variable.
15213 ($PKGVERSION): New variable.
15214 ($REPORT_BUGS_TO): Likewise.
15215 (usage): Use $REPORT_BUGS_TO.
15216 (top level): Use $PKGVERSION.
15217 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
15218 ($(objpfx)pkgvers.texi): New rule.
15219 ($(objpfx)stamp-pkgvers): Likewise.
15220 * manual/install.texi: Include pkgvers.texi.
15221 (--with-pkgversion): Document new configure option.
15222 (--with-bugurl): Likewise.
15223 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
15224 than necessarily for this particular distribution. Use
15225 REPORT_BUGS_TO for where to report bugs.
15226 * INSTALL: Regenerated.
15227 * manual/libc.texinfo: Include pkgvers.texi.
15228 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
15229 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
15230 (print_version): Use PKGVERSION.
15231 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
15232 (print_version): Use PKGVERSION.
15233 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
15234 (print_version): Use PKGVERSION.
15235 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
15236 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
15238 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
15239 (print_version): Use PKGVERSION.
15240 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
15241 (print_version): Use PKGVERSION.
15242 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
15245 * timezone/checktab.awk: Update from tzcode 2012i.
15246 * timezone/ialloc.c: Likewise.
15247 * timezone/private.h: Likewise.
15248 * timezone/scheck.c: Likewise.
15249 * timezone/tzfile.h: Likewise.
15250 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
15251 (TZVERSION): Hardcode tzcode version number.
15252 * timezone/zdump.c: Update from tzcode 2012i.
15253 * timezone/zic.c: Likewise.
15254 * timezone/version.h: New file.
15255 * timezone/README: Describe version.h. Update upstream location.
15258 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
15259 (mktemp): Enable declaration.
15260 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
15261 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
15262 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
15263 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
15265 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
15267 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
15269 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
15271 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
15273 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
15277 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
15278 offset in buffer as u_int32_t not u_long. Consistently use memcpy
15279 for copies of such integer values.
15280 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
15281 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
15283 2012-11-09 Andreas Jaeger <aj@suse.de>
15285 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
15286 definitions and declarations that are provided by
15287 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15289 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15291 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
15292 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
15293 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
15296 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15298 * elf/elf.h: Update comment before AArch64 relocations.
15300 2012-11-07 David S. Miller <davem@davemloft.net>
15302 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
15303 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
15304 (__start_context): Declare.
15305 (__makecontext_ret): Delete.
15306 (__makecontext): Hook up __start_context instead of
15308 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
15309 (sysdep_routines): Add __start_context when in stdlib.
15311 2012-11-07 Joseph Myers <joseph@codesourcery.com>
15313 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
15314 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
15315 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
15317 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
15318 (READELF): New variable. Use it instead of hardcoded "readelf".
15320 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
15322 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
15323 * sysdeps/x86/Makefile: Here.
15324 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
15325 * sysdeps/x86/tst-xmmymm.sh: This.
15327 2012-11-07 Joseph Myers <joseph@codesourcery.com>
15329 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
15331 [UNIX98] (pthread_barrier_t): Do not expect.
15332 [UNIX98] (pthread_barrierattr_t): Likewise.
15333 [UNIX98] (pthread_spinlock_t): Likewise.
15334 [UNIX98] (pthread_barrier_destroy): Likewise.
15335 [UNIX98] (pthread_barrier_init): Likewise.
15336 [UNIX98] (pthread_barrier_wait): Likewise.
15337 [UNIX98] (pthread_barrierattr_destroy): Likewise.
15338 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
15339 [UNIX98] (pthread_barrierattr_init): Likewise.
15340 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
15341 [UNIX98] (pthread_getcpuclockid): Likewise.
15342 [UNIX98] (pthread_mutex_timedlock): Likewise.
15343 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
15344 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
15345 [UNIX98] (pthread_sigmask): Likewise.
15346 [UNIX98] (pthread_spin_destroy): Likewise.
15347 [UNIX98] (pthread_spin_init): Likewise.
15348 [UNIX98] (pthread_spin_lock): Likewise.
15349 [UNIX98] (pthread_spin_trylock): Likewise.
15350 [UNIX98] (pthread_spin_unlock): Likewise.
15351 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
15353 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
15354 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
15355 [XPG3 || XPG4] (pthread_cond_t): Likewise.
15356 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
15357 [XPG3 || XPG4] (pthread_key_t): Likewise.
15358 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
15359 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
15360 [XPG3 || XPG4] (pthread_once_t): Likewise.
15361 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
15362 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
15363 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
15364 [XPG3 || XPG4] (pthread_t): Likewise.
15366 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
15368 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
15370 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
15371 Change function return type to int.
15373 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
15374 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
15375 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
15376 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
15377 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
15378 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
15379 [!POSIX] (posix_madvise): Likewise.
15380 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
15382 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
15383 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
15384 (mode_t): Likewise.
15385 (posix_mem_offset): Likewise.
15386 (posix_typed_mem_get_info): Likewise.
15387 (posix_typed_mem_open): Likewise.
15389 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
15390 Change condition to [XOPEN2K8].
15392 * conform/conformtest.pl: Preprocess allow-header data with -x c
15393 instead of from stdin.
15394 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
15395 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
15396 [C99-based standards] (cerfc): Likewise.
15397 [C99-based standards] (cexp2): Likewise.
15398 [C99-based standards] (cexpm1): Likewise.
15399 [C99-based standards] (clog10): Likewise.
15400 [C99-based standards] (clog1p): Likewise.
15401 [C99-based standards] (clog2): Likewise.
15402 [C99-based standards] (clgamma): Likewise.
15403 [C99-based standards] (ctgamma): Likewise.
15404 [C99-based standards] (cerff): Likewise.
15405 [C99-based standards] (cerfcf): Likewise.
15406 [C99-based standards] (cexp2f): Likewise.
15407 [C99-based standards] (cexpm1f): Likewise.
15408 [C99-based standards] (clog10f): Likewise.
15409 [C99-based standards] (clog1pf): Likewise.
15410 [C99-based standards] (clog2f): Likewise.
15411 [C99-based standards] (clgammaf): Likewise.
15412 [C99-based standards] (ctgammaf): Likewise.
15413 [C99-based standards] (cerfl): Likewise.
15414 [C99-based standards] (cerfcl): Likewise.
15415 [C99-based standards] (cexp2l): Likewise.
15416 [C99-based standards] (cexpm1l): Likewise.
15417 [C99-based standards] (clog10l): Likewise.
15418 [C99-based standards] (clog1pl): Likewise.
15419 [C99-based standards] (clog2l): Likewise.
15420 [C99-based standards] (clgammal): Likewise.
15421 [C99-based standards] (ctgammal): Likewise.
15422 * conform/data/inttypes.h-data [C99-based standards]: Include
15423 stdint.h-data. Remove all expectations for stdint.h contents.
15424 [C99-based standards] (PRI*): Do not allow.
15425 [C99-based standards] (SCN*): Likewise.
15426 [C99-based standards] (*_t): Likewise.
15427 [C99-based-standards] (PRId8): Expect macro.
15428 [C99-based-standards] (PRIi8): Likewise.
15429 [C99-based-standards] (PRIo8): Likewise.
15430 [C99-based-standards] (PRIu8): Likewise.
15431 [C99-based-standards] (PRIx8): Likewise.
15432 [C99-based-standards] (PRIX8): Likewise.
15433 [C99-based-standards] (SCNd8): Likewise.
15434 [C99-based-standards] (SCNi8): Likewise.
15435 [C99-based-standards] (SCNo8): Likewise.
15436 [C99-based-standards] (SCNu8): Likewise.
15437 [C99-based-standards] (SCNx8): Likewise.
15438 [C99-based-standards] (PRIdLEAST8): Likewise.
15439 [C99-based-standards] (PRIiLEAST8): Likewise.
15440 [C99-based-standards] (PRIoLEAST8): Likewise.
15441 [C99-based-standards] (PRIuLEAST8): Likewise.
15442 [C99-based-standards] (PRIxLEAST8): Likewise.
15443 [C99-based-standards] (PRIXLEAST8): Likewise.
15444 [C99-based-standards] (SCNdLEAST8): Likewise.
15445 [C99-based-standards] (SCNiLEAST8): Likewise.
15446 [C99-based-standards] (SCNoLEAST8): Likewise.
15447 [C99-based-standards] (SCNuLEAST8): Likewise.
15448 [C99-based-standards] (SCNxLEAST8): Likewise.
15449 [C99-based-standards] (PRIdFAST8): Likewise.
15450 [C99-based-standards] (PRIiFAST8): Likewise.
15451 [C99-based-standards] (PRIoFAST8): Likewise.
15452 [C99-based-standards] (PRIuFAST8): Likewise.
15453 [C99-based-standards] (PRIxFAST8): Likewise.
15454 [C99-based-standards] (PRIXFAST8): Likewise.
15455 [C99-based-standards] (SCNdFAST8): Likewise.
15456 [C99-based-standards] (SCNiFAST8): Likewise.
15457 [C99-based-standards] (SCNoFAST8): Likewise.
15458 [C99-based-standards] (SCNuFAST8): Likewise.
15459 [C99-based-standards] (SCNxFAST8): Likewise.
15460 [C99-based-standards] (PRId16): Likewise.
15461 [C99-based-standards] (PRIi16): Likewise.
15462 [C99-based-standards] (PRIo16): Likewise.
15463 [C99-based-standards] (PRIu16): Likewise.
15464 [C99-based-standards] (PRIx16): Likewise.
15465 [C99-based-standards] (PRIX16): Likewise.
15466 [C99-based-standards] (SCNd16): Likewise.
15467 [C99-based-standards] (SCNi16): Likewise.
15468 [C99-based-standards] (SCNo16): Likewise.
15469 [C99-based-standards] (SCNu16): Likewise.
15470 [C99-based-standards] (SCNx16): Likewise.
15471 [C99-based-standards] (PRIdLEAST16): Likewise.
15472 [C99-based-standards] (PRIiLEAST16): Likewise.
15473 [C99-based-standards] (PRIoLEAST16): Likewise.
15474 [C99-based-standards] (PRIuLEAST16): Likewise.
15475 [C99-based-standards] (PRIxLEAST16): Likewise.
15476 [C99-based-standards] (PRIXLEAST16): Likewise.
15477 [C99-based-standards] (SCNdLEAST16): Likewise.
15478 [C99-based-standards] (SCNiLEAST16): Likewise.
15479 [C99-based-standards] (SCNoLEAST16): Likewise.
15480 [C99-based-standards] (SCNuLEAST16): Likewise.
15481 [C99-based-standards] (SCNxLEAST16): Likewise.
15482 [C99-based-standards] (PRIdFAST16): Likewise.
15483 [C99-based-standards] (PRIiFAST16): Likewise.
15484 [C99-based-standards] (PRIoFAST16): Likewise.
15485 [C99-based-standards] (PRIuFAST16): Likewise.
15486 [C99-based-standards] (PRIxFAST16): Likewise.
15487 [C99-based-standards] (PRIXFAST16): Likewise.
15488 [C99-based-standards] (SCNdFAST16): Likewise.
15489 [C99-based-standards] (SCNiFAST16): Likewise.
15490 [C99-based-standards] (SCNoFAST16): Likewise.
15491 [C99-based-standards] (SCNuFAST16): Likewise.
15492 [C99-based-standards] (SCNxFAST16): Likewise.
15493 [C99-based-standards] (PRId32): Likewise.
15494 [C99-based-standards] (PRIi32): Likewise.
15495 [C99-based-standards] (PRIo32): Likewise.
15496 [C99-based-standards] (PRIu32): Likewise.
15497 [C99-based-standards] (PRIx32): Likewise.
15498 [C99-based-standards] (PRIX32): Likewise.
15499 [C99-based-standards] (SCNd32): Likewise.
15500 [C99-based-standards] (SCNi32): Likewise.
15501 [C99-based-standards] (SCNo32): Likewise.
15502 [C99-based-standards] (SCNu32): Likewise.
15503 [C99-based-standards] (SCNx32): Likewise.
15504 [C99-based-standards] (PRIdLEAST32): Likewise.
15505 [C99-based-standards] (PRIiLEAST32): Likewise.
15506 [C99-based-standards] (PRIoLEAST32): Likewise.
15507 [C99-based-standards] (PRIuLEAST32): Likewise.
15508 [C99-based-standards] (PRIxLEAST32): Likewise.
15509 [C99-based-standards] (PRIXLEAST32): Likewise.
15510 [C99-based-standards] (SCNdLEAST32): Likewise.
15511 [C99-based-standards] (SCNiLEAST32): Likewise.
15512 [C99-based-standards] (SCNoLEAST32): Likewise.
15513 [C99-based-standards] (SCNuLEAST32): Likewise.
15514 [C99-based-standards] (SCNxLEAST32): Likewise.
15515 [C99-based-standards] (PRIdFAST32): Likewise.
15516 [C99-based-standards] (PRIiFAST32): Likewise.
15517 [C99-based-standards] (PRIoFAST32): Likewise.
15518 [C99-based-standards] (PRIuFAST32): Likewise.
15519 [C99-based-standards] (PRIxFAST32): Likewise.
15520 [C99-based-standards] (PRIXFAST32): Likewise.
15521 [C99-based-standards] (SCNdFAST32): Likewise.
15522 [C99-based-standards] (SCNiFAST32): Likewise.
15523 [C99-based-standards] (SCNoFAST32): Likewise.
15524 [C99-based-standards] (SCNuFAST32): Likewise.
15525 [C99-based-standards] (SCNxFAST32): Likewise.
15526 [C99-based-standards] (PRId64): Likewise.
15527 [C99-based-standards] (PRIi64): Likewise.
15528 [C99-based-standards] (PRIo64): Likewise.
15529 [C99-based-standards] (PRIu64): Likewise.
15530 [C99-based-standards] (PRIx64): Likewise.
15531 [C99-based-standards] (PRIX64): Likewise.
15532 [C99-based-standards] (SCNd64): Likewise.
15533 [C99-based-standards] (SCNi64): Likewise.
15534 [C99-based-standards] (SCNo64): Likewise.
15535 [C99-based-standards] (SCNu64): Likewise.
15536 [C99-based-standards] (SCNx64): Likewise.
15537 [C99-based-standards] (PRIdLEAST64): Likewise.
15538 [C99-based-standards] (PRIiLEAST64): Likewise.
15539 [C99-based-standards] (PRIoLEAST64): Likewise.
15540 [C99-based-standards] (PRIuLEAST64): Likewise.
15541 [C99-based-standards] (PRIxLEAST64): Likewise.
15542 [C99-based-standards] (PRIXLEAST64): Likewise.
15543 [C99-based-standards] (SCNdLEAST64): Likewise.
15544 [C99-based-standards] (SCNiLEAST64): Likewise.
15545 [C99-based-standards] (SCNoLEAST64): Likewise.
15546 [C99-based-standards] (SCNuLEAST64): Likewise.
15547 [C99-based-standards] (SCNxLEAST64): Likewise.
15548 [C99-based-standards] (PRIdFAST64): Likewise.
15549 [C99-based-standards] (PRIiFAST64): Likewise.
15550 [C99-based-standards] (PRIoFAST64): Likewise.
15551 [C99-based-standards] (PRIuFAST64): Likewise.
15552 [C99-based-standards] (PRIxFAST64): Likewise.
15553 [C99-based-standards] (PRIXFAST64): Likewise.
15554 [C99-based-standards] (SCNdFAST64): Likewise.
15555 [C99-based-standards] (SCNiFAST64): Likewise.
15556 [C99-based-standards] (SCNoFAST64): Likewise.
15557 [C99-based-standards] (SCNuFAST64): Likewise.
15558 [C99-based-standards] (SCNxFAST64): Likewise.
15559 [C99-based-standards] (PRIdMAX): Likewise.
15560 [C99-based-standards] (PRIiMAX): Likewise.
15561 [C99-based-standards] (PRIoMAX): Likewise.
15562 [C99-based-standards] (PRIuMAX): Likewise.
15563 [C99-based-standards] (PRIxMAX): Likewise.
15564 [C99-based-standards] (PRIXMAX): Likewise.
15565 [C99-based-standards] (SCNdMAX): Likewise.
15566 [C99-based-standards] (SCNiMAX): Likewise.
15567 [C99-based-standards] (SCNoMAX): Likewise.
15568 [C99-based-standards] (SCNuMAX): Likewise.
15569 [C99-based-standards] (SCNxMAX): Likewise.
15570 [C99-based-standards] (PRIdPTR): Likewise.
15571 [C99-based-standards] (PRIiPTR): Likewise.
15572 [C99-based-standards] (PRIoPTR): Likewise.
15573 [C99-based-standards] (PRIuPTR): Likewise.
15574 [C99-based-standards] (PRIxPTR): Likewise.
15575 [C99-based-standards] (PRIXPTR): Likewise.
15576 [C99-based-standards] (SCNdPTR): Likewise.
15577 [C99-based-standards] (SCNiPTR): Likewise.
15578 [C99-based-standards] (SCNoPTR): Likewise.
15579 [C99-based-standards] (SCNuPTR): Likewise.
15580 [C99-based-standards] (SCNxPTR): Likewise.
15581 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
15583 * conform/data/stdint.h-data: Update comments to clarify
15585 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
15587 [C99-based standards] (INT8_MAX): Likewise.
15588 [C99-based standards] (INT16_MIN): Likewise.
15589 [C99-based standards] (INT16_MAX): Likewise.
15590 [C99-based standards] (INT32_MIN): Likewise.
15591 [C99-based standards] (INT32_MAX): Likewise.
15592 [C99-based standards] (INT64_MIN): Likewise.
15593 [C99-based standards] (INT64_MAX): Likewise.
15594 [C99-based standards] (UINT8_MAX): Likewise.
15595 [C99-based standards] (UINT16_MAX): Likewise.
15596 [C99-based standards] (UINT32_MAX): Likewise.
15597 [C99-based standards] (UINT64_MAX): Likewise.
15598 [C99-based standards] (INT_LEAST8_MIN): Likewise.
15599 [C99-based standards] (INT_LEAST8_MAX): Likewise.
15600 [C99-based standards] (INT_LEAST16_MIN): Likewise.
15601 [C99-based standards] (INT_LEAST16_MAX): Likewise.
15602 [C99-based standards] (INT_LEAST32_MIN): Likewise.
15603 [C99-based standards] (INT_LEAST32_MAX): Likewise.
15604 [C99-based standards] (INT_LEAST64_MIN): Likewise.
15605 [C99-based standards] (INT_LEAST64_MAX): Likewise.
15606 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
15607 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
15608 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
15609 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
15610 [C99-based standards] (INT_FAST8_MIN): Likewise.
15611 [C99-based standards] (INT_FAST8_MAX): Likewise.
15612 [C99-based standards] (INT_FAST16_MIN): Likewise.
15613 [C99-based standards] (INT_FAST16_MAX): Likewise.
15614 [C99-based standards] (INT_FAST32_MIN): Likewise.
15615 [C99-based standards] (INT_FAST32_MAX): Likewise.
15616 [C99-based standards] (INT_FAST64_MIN): Likewise.
15617 [C99-based standards] (INT_FAST64_MAX): Likewise.
15618 [C99-based standards] (UINT_FAST8_MAX): Likewise.
15619 [C99-based standards] (UINT_FAST16_MAX): Likewise.
15620 [C99-based standards] (UINT_FAST32_MAX): Likewise.
15621 [C99-based standards] (UINT_FAST64_MAX): Likewise.
15622 [C99-based standards] (INTPTR_MIN): Likewise.
15623 [C99-based standards] (INTPTR_MAX): Likewise.
15624 [C99-based standards] (UINTPTR_MAX): Likewise.
15625 [C99-based standards] (INTMAX_MIN): Likewise.
15626 [C99-based standards] (INTMAX_MAX): Likewise.
15627 [C99-based standards] (UINTMAX_MAX): Likewise.
15628 [C99-based standards] (PTRDIFF_MIN): Likewise.
15629 [C99-based standards] (PTRDIFF_MAX): Likewise.
15630 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
15631 [C99-based standards] (SIZE_MAX): Likewise.
15632 [C99-based standards] (WCHAR_MAX): Likewise.
15633 [C99-based standards] (WINT_MAX): Likewise.
15634 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
15635 constraint on value.
15636 [C99-based standards] (WCHAR_MIN): Likewise.
15637 [C99-based standards] (WINT_MIN): Likewise.
15638 [C99-based standards] (*_t): Allow.
15639 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
15640 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
15641 Include math.h-data and complex.h-data. Remove all expectations
15642 of math.h and complex.h contents.
15643 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
15645 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
15646 (struct tm): Expect tag.
15647 [C99-based-standards] (wcstof): Expect function.
15648 [C99-based-standards] (wcstold): Likewise.
15649 [C99-based-standards] (wcstoll): Likewise.
15650 [C99-based-standards] (wcstoull): Likewise.
15651 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
15652 macro-int-constant. Specify type.
15653 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
15654 constraint on value.
15655 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
15657 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
15659 [ISO C standards]: Do not allow headers.
15660 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
15661 wcs[abcdefghijklmnopqrstuvwxyz]*.
15662 [ISO C standards] (*_t): Do not allow.
15663 * conform/data/wctype.h-data [C99-based standards] (iswblank):
15665 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
15666 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
15668 [ISO C standards]: Do not allow headers.
15669 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
15670 is[abcdefghijklmnopqrstuvwxyz]*.
15671 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
15672 to[abcdefghijklmnopqrstuvwxyz]*.
15673 [ISO C standards] (*_t): Do not allow.
15674 * conform/data/stdalign.h-data: New file.
15675 * conform/data/stdbool.h-data: Likewise.
15676 * conform/data/stdnoreturn.h-data: Likewise.
15678 2012-11-07 Roland McGrath <roland@hack.frob.com>
15681 * manual/filesys.texi (Directory Entries): Typo fix.
15682 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
15684 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15686 * elf/elf.h (EM_AARCH64): New macro.
15687 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
15688 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
15689 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
15690 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
15691 (R_AARCH64_TLSDESC): Likewise.
15692 (NT_ARM_TLS): Likewise.
15693 (NT_ARM_HW_BREAK): Likewise.
15694 (NT_ARM_HW_WATCH): Likewise.
15696 2012-11-07 Joseph Myers <joseph@codesourcery.com>
15699 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
15700 (__ieee754_powl): Saturate nonzero exponents with absolute value
15701 below 0x1p-79 to +/- 0x1p-79.
15702 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
15703 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
15704 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
15705 nonzero exponents with absolute value below 0x1p-32 to +/-
15707 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
15708 (__ieee754_powl): Saturate nonzero exponents with absolute value
15709 below 0x1p-79 to +/- 0x1p-79.
15710 * math/libm-test.inc (pow_test): Add more tests.
15712 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15714 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
15715 _dl_s390_cap_flags with kernel. Increase string length.
15716 (_dl_s390_platforms): Add z196 and zEC12.
15718 2012-11-07 Joseph Myers <joseph@codesourcery.com>
15720 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
15721 Change XOPEN21K to XOPEN2K.
15723 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
15725 * string/memmove.c: Use memcpy when possible.
15727 2012-11-06 Andreas Jaeger <aj@suse.de>
15729 * po/eo.po: Update from translation team.
15731 2012-11-06 Joseph Myers <joseph@codesourcery.com>
15734 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
15735 exponent and small x and y exponents, scale x or y up. Increase
15736 by 2 the exponent used in scaling up.
15737 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15738 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15739 * math/libm-test.inc (fma_test): Add more tests.
15740 (fma_test_towardzero): Likewise.
15741 (fma_test_downward): Likewise.
15742 (fma_test_upward): Likewise.
15744 2012-11-05 Joseph Myers <joseph@codesourcery.com>
15747 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
15751 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
15752 namespace for names of struct fields.
15753 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
15755 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
15756 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
15758 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15761 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
15763 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
15765 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
15769 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
15772 2012-11-04 Joseph Myers <joseph@codesourcery.com>
15775 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
15776 definitely overflow as x * y not x * y + z.
15777 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15778 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15779 * math/libm-test.inc (fma_test): Add more tests.
15780 (fma_test_towardzero): Likewise.
15781 (fma_test_downward): Likewise.
15782 (fma_test_upward): Likewise.
15784 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
15788 * include/stub-tag.h: Remove file.
15789 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
15791 * manual/maint.texi (Porting): Don't reference it.
15792 * Makerules ($(objpfx)stubs): Likewise.
15793 * dirent/closedir.c: Don't include <stub-tag.h>.
15794 * dirent/dirfd.c: Likewise.
15795 * dirent/fdopendir.c: Likewise.
15796 * dirent/getdents.c: Likewise.
15797 * dirent/getdents64.c: Likewise.
15798 * dirent/opendir.c: Likewise.
15799 * dirent/readdir.c: Likewise.
15800 * dirent/readdir64.c: Likewise.
15801 * dirent/readdir64_r.c: Likewise.
15802 * dirent/readdir_r.c: Likewise.
15803 * dirent/rewinddir.c: Likewise.
15804 * dirent/seekdir.c: Likewise.
15805 * dirent/telldir.c: Likewise.
15806 * gmon/profil.c: Likewise.
15807 * grp/setgroups.c: Likewise.
15808 * inet/if_index.c: Likewise.
15809 * io/access.c: Likewise.
15810 * io/chdir.c: Likewise.
15811 * io/chmod.c: Likewise.
15812 * io/chown.c: Likewise.
15813 * io/close.c: Likewise.
15814 * io/dup.c: Likewise.
15815 * io/dup2.c: Likewise.
15816 * io/dup3.c: Likewise.
15817 * io/euidaccess.c: Likewise.
15818 * io/faccessat.c: Likewise.
15819 * io/fchdir.c: Likewise.
15820 * io/fchmod.c: Likewise.
15821 * io/fchmodat.c: Likewise.
15822 * io/fchown.c: Likewise.
15823 * io/fchownat.c: Likewise.
15824 * io/fcntl.c: Likewise.
15825 * io/flock.c: Likewise.
15826 * io/fstatfs.c: Likewise.
15827 * io/fstatfs64.c: Likewise.
15828 * io/fstatvfs.c: Likewise.
15829 * io/fstatvfs64.c: Likewise.
15830 * io/futimens.c: Likewise.
15831 * io/fxstat.c: Likewise.
15832 * io/fxstat64.c: Likewise.
15833 * io/fxstatat.c: Likewise.
15834 * io/fxstatat64.c: Likewise.
15835 * io/getcwd.c: Likewise.
15836 * io/isatty.c: Likewise.
15837 * io/lchmod.c: Likewise.
15838 * io/lchown.c: Likewise.
15839 * io/link.c: Likewise.
15840 * io/linkat.c: Likewise.
15841 * io/lseek.c: Likewise.
15842 * io/lseek64.c: Likewise.
15843 * io/lxstat64.c: Likewise.
15844 * io/mkdir.c: Likewise.
15845 * io/mkdirat.c: Likewise.
15846 * io/mkfifo.c: Likewise.
15847 * io/mkfifoat.c: Likewise.
15848 * io/open.c: Likewise.
15849 * io/open64.c: Likewise.
15850 * io/openat.c: Likewise.
15851 * io/openat64.c: Likewise.
15852 * io/pipe.c: Likewise.
15853 * io/pipe2.c: Likewise.
15854 * io/poll.c: Likewise.
15855 * io/posix_fadvise.c: Likewise.
15856 * io/posix_fadvise64.c: Likewise.
15857 * io/posix_fallocate.c: Likewise.
15858 * io/posix_fallocate64.c: Likewise.
15859 * io/read.c: Likewise.
15860 * io/readlink.c: Likewise.
15861 * io/readlinkat.c: Likewise.
15862 * io/rmdir.c: Likewise.
15863 * io/sendfile.c: Likewise.
15864 * io/sendfile64.c: Likewise.
15865 * io/statfs.c: Likewise.
15866 * io/statfs64.c: Likewise.
15867 * io/statvfs.c: Likewise.
15868 * io/statvfs64.c: Likewise.
15869 * io/symlink.c: Likewise.
15870 * io/symlinkat.c: Likewise.
15871 * io/ttyname.c: Likewise.
15872 * io/ttyname_r.c: Likewise.
15873 * io/umask.c: Likewise.
15874 * io/unlink.c: Likewise.
15875 * io/unlinkat.c: Likewise.
15876 * io/utime.c: Likewise.
15877 * io/utimensat.c: Likewise.
15878 * io/write.c: Likewise.
15879 * io/xmknod.c: Likewise.
15880 * io/xmknodat.c: Likewise.
15881 * io/xstat.c: Likewise.
15882 * io/xstat64.c: Likewise.
15883 * login/getpt.c: Likewise.
15884 * login/grantpt.c: Likewise.
15885 * login/unlockpt.c: Likewise.
15886 * math/e_acoshl.c: Likewise.
15887 * math/e_acosl.c: Likewise.
15888 * math/e_asinl.c: Likewise.
15889 * math/e_atan2l.c: Likewise.
15890 * math/e_atanhl.c: Likewise.
15891 * math/e_coshl.c: Likewise.
15892 * math/e_expl.c: Likewise.
15893 * math/e_fmodl.c: Likewise.
15894 * math/e_gammal_r.c: Likewise.
15895 * math/e_hypotl.c: Likewise.
15896 * math/e_j0l.c: Likewise.
15897 * math/e_j1l.c: Likewise.
15898 * math/e_jnl.c: Likewise.
15899 * math/e_lgammal_r.c: Likewise.
15900 * math/e_log10l.c: Likewise.
15901 * math/e_log2l.c: Likewise.
15902 * math/e_logl.c: Likewise.
15903 * math/e_powl.c: Likewise.
15904 * math/e_rem_pio2l.c: Likewise.
15905 * math/e_sinhl.c: Likewise.
15906 * math/e_sqrtl.c: Likewise.
15907 * math/fclrexcpt.c: Likewise.
15908 * math/fedisblxcpt.c: Likewise.
15909 * math/feenablxcpt.c: Likewise.
15910 * math/fegetenv.c: Likewise.
15911 * math/fegetexcept.c: Likewise.
15912 * math/fegetround.c: Likewise.
15913 * math/feholdexcpt.c: Likewise.
15914 * math/fesetenv.c: Likewise.
15915 * math/fesetround.c: Likewise.
15916 * math/feupdateenv.c: Likewise.
15917 * math/fgetexcptflg.c: Likewise.
15918 * math/fraiseexcpt.c: Likewise.
15919 * math/fsetexcptflg.c: Likewise.
15920 * math/ftestexcept.c: Likewise.
15921 * math/k_cosl.c: Likewise.
15922 * math/k_rem_pio2l.c: Likewise.
15923 * math/k_sinl.c: Likewise.
15924 * math/k_tanl.c: Likewise.
15925 * math/s_asinhl.c: Likewise.
15926 * math/s_atanl.c: Likewise.
15927 * math/s_cbrtl.c: Likewise.
15928 * math/s_erfl.c: Likewise.
15929 * math/s_expm1l.c: Likewise.
15930 * math/s_log1pl.c: Likewise.
15931 * math/s_tanhl.c: Likewise.
15932 * misc/acct.c: Likewise.
15933 * misc/brk.c: Likewise.
15934 * misc/chflags.c: Likewise.
15935 * misc/chroot.c: Likewise.
15936 * misc/fchflags.c: Likewise.
15937 * misc/fgetxattr.c: Likewise.
15938 * misc/flistxattr.c: Likewise.
15939 * misc/fremovexattr.c: Likewise.
15940 * misc/fsetxattr.c: Likewise.
15941 * misc/fsync.c: Likewise.
15942 * misc/ftruncate.c: Likewise.
15943 * misc/futimes.c: Likewise.
15944 * misc/futimesat.c: Likewise.
15945 * misc/getdomain.c: Likewise.
15946 * misc/getdtsz.c: Likewise.
15947 * misc/gethostid.c: Likewise.
15948 * misc/gethostname.c: Likewise.
15949 * misc/getloadavg.c: Likewise.
15950 * misc/getpagesize.c: Likewise.
15951 * misc/getsysstats.c: Likewise.
15952 * misc/getxattr.c: Likewise.
15953 * misc/gtty.c: Likewise.
15954 * misc/ioctl.c: Likewise.
15955 * misc/lgetxattr.c: Likewise.
15956 * misc/listxattr.c: Likewise.
15957 * misc/llistxattr.c: Likewise.
15958 * misc/lremovexattr.c: Likewise.
15959 * misc/lsetxattr.c: Likewise.
15960 * misc/lutimes.c: Likewise.
15961 * misc/madvise.c: Likewise.
15962 * misc/mincore.c: Likewise.
15963 * misc/mlock.c: Likewise.
15964 * misc/mlockall.c: Likewise.
15965 * misc/mmap.c: Likewise.
15966 * misc/mprotect.c: Likewise.
15967 * misc/msync.c: Likewise.
15968 * misc/munlock.c: Likewise.
15969 * misc/munlockall.c: Likewise.
15970 * misc/munmap.c: Likewise.
15971 * misc/preadv.c: Likewise.
15972 * misc/preadv64.c: Likewise.
15973 * misc/ptrace.c: Likewise.
15974 * misc/pwritev.c: Likewise.
15975 * misc/pwritev64.c: Likewise.
15976 * misc/readv.c: Likewise.
15977 * misc/reboot.c: Likewise.
15978 * misc/remap_file_pages.c: Likewise.
15979 * misc/removexattr.c: Likewise.
15980 * misc/revoke.c: Likewise.
15981 * misc/select.c: Likewise.
15982 * misc/setdomain.c: Likewise.
15983 * misc/setegid.c: Likewise.
15984 * misc/seteuid.c: Likewise.
15985 * misc/sethostid.c: Likewise.
15986 * misc/sethostname.c: Likewise.
15987 * misc/setregid.c: Likewise.
15988 * misc/setreuid.c: Likewise.
15989 * misc/setxattr.c: Likewise.
15990 * misc/sstk.c: Likewise.
15991 * misc/stty.c: Likewise.
15992 * misc/swapoff.c: Likewise.
15993 * misc/swapon.c: Likewise.
15994 * misc/sync.c: Likewise.
15995 * misc/syncfs.c: Likewise.
15996 * misc/syscall.c: Likewise.
15997 * misc/truncate.c: Likewise.
15998 * misc/ualarm.c: Likewise.
15999 * misc/usleep.c: Likewise.
16000 * misc/ustat.c: Likewise.
16001 * misc/utimes.c: Likewise.
16002 * misc/vhangup.c: Likewise.
16003 * misc/writev.c: Likewise.
16004 * posix/_exit.c: Likewise.
16005 * posix/alarm.c: Likewise.
16006 * posix/execve.c: Likewise.
16007 * posix/fexecve.c: Likewise.
16008 * posix/fork.c: Likewise.
16009 * posix/fpathconf.c: Likewise.
16010 * posix/getaddrinfo.c: Likewise.
16011 * posix/getegid.c: Likewise.
16012 * posix/geteuid.c: Likewise.
16013 * posix/getgid.c: Likewise.
16014 * posix/getgroups.c: Likewise.
16015 * posix/getlogin.c: Likewise.
16016 * posix/getlogin_r.c: Likewise.
16017 * posix/getpgid.c: Likewise.
16018 * posix/getpid.c: Likewise.
16019 * posix/getppid.c: Likewise.
16020 * posix/getresgid.c: Likewise.
16021 * posix/getresuid.c: Likewise.
16022 * posix/getsid.c: Likewise.
16023 * posix/getuid.c: Likewise.
16024 * posix/glob64.c: Likewise.
16025 * posix/nanosleep.c: Likewise.
16026 * posix/pathconf.c: Likewise.
16027 * posix/pause.c: Likewise.
16028 * posix/posix_madvise.c: Likewise.
16029 * posix/pread.c: Likewise.
16030 * posix/pread64.c: Likewise.
16031 * posix/pwrite.c: Likewise.
16032 * posix/pwrite64.c: Likewise.
16033 * posix/sched_getaffinity.c: Likewise.
16034 * posix/sched_getp.c: Likewise.
16035 * posix/sched_gets.c: Likewise.
16036 * posix/sched_primax.c: Likewise.
16037 * posix/sched_primin.c: Likewise.
16038 * posix/sched_rr_gi.c: Likewise.
16039 * posix/sched_setaffinity.c: Likewise.
16040 * posix/sched_setp.c: Likewise.
16041 * posix/sched_sets.c: Likewise.
16042 * posix/sched_yield.c: Likewise.
16043 * posix/setgid.c: Likewise.
16044 * posix/setlogin.c: Likewise.
16045 * posix/setpgid.c: Likewise.
16046 * posix/setresgid.c: Likewise.
16047 * posix/setresuid.c: Likewise.
16048 * posix/setsid.c: Likewise.
16049 * posix/setuid.c: Likewise.
16050 * posix/sleep.c: Likewise.
16051 * posix/spawni.c: Likewise.
16052 * posix/sysconf.c: Likewise.
16053 * posix/times.c: Likewise.
16054 * posix/wait.c: Likewise.
16055 * posix/wait3.c: Likewise.
16056 * posix/wait4.c: Likewise.
16057 * posix/waitpid.c: Likewise.
16058 * resolv/gai_sigqueue.c: Likewise.
16059 * resource/getpriority.c: Likewise.
16060 * resource/getrlimit.c: Likewise.
16061 * resource/getrusage.c: Likewise.
16062 * resource/nice.c: Likewise.
16063 * resource/setpriority.c: Likewise.
16064 * resource/setrlimit.c: Likewise.
16065 * resource/ulimit.c: Likewise.
16066 * rt/aio_cancel.c: Likewise.
16067 * rt/aio_fsync.c: Likewise.
16068 * rt/aio_read.c: Likewise.
16069 * rt/aio_sigqueue.c: Likewise.
16070 * rt/aio_suspend.c: Likewise.
16071 * rt/aio_write.c: Likewise.
16072 * rt/clock_getres.c: Likewise.
16073 * rt/clock_gettime.c: Likewise.
16074 * rt/clock_nanosleep.c: Likewise.
16075 * rt/clock_settime.c: Likewise.
16076 * rt/lio_listio.c: Likewise.
16077 * rt/mq_close.c: Likewise.
16078 * rt/mq_getattr.c: Likewise.
16079 * rt/mq_notify.c: Likewise.
16080 * rt/mq_open.c: Likewise.
16081 * rt/mq_receive.c: Likewise.
16082 * rt/mq_send.c: Likewise.
16083 * rt/mq_setattr.c: Likewise.
16084 * rt/mq_timedreceive.c: Likewise.
16085 * rt/mq_timedsend.c: Likewise.
16086 * rt/mq_unlink.c: Likewise.
16087 * rt/shm_open.c: Likewise.
16088 * rt/shm_unlink.c: Likewise.
16089 * rt/timer_create.c: Likewise.
16090 * rt/timer_delete.c: Likewise.
16091 * rt/timer_getoverr.c: Likewise.
16092 * rt/timer_gettime.c: Likewise.
16093 * rt/timer_settime.c: Likewise.
16094 * setjmp/__longjmp.c: Likewise.
16095 * setjmp/setjmp.c: Likewise.
16096 * signal/kill.c: Likewise.
16097 * signal/killpg.c: Likewise.
16098 * signal/raise.c: Likewise.
16099 * signal/sigaction.c: Likewise.
16100 * signal/sigaltstack.c: Likewise.
16101 * signal/sigblock.c: Likewise.
16102 * signal/sigignore.c: Likewise.
16103 * signal/sigintr.c: Likewise.
16104 * signal/signal.c: Likewise.
16105 * signal/sigpause.c: Likewise.
16106 * signal/sigpending.c: Likewise.
16107 * signal/sigqueue.c: Likewise.
16108 * signal/sigreturn.c: Likewise.
16109 * signal/sigset.c: Likewise.
16110 * signal/sigsetmask.c: Likewise.
16111 * signal/sigstack.c: Likewise.
16112 * signal/sigsuspend.c: Likewise.
16113 * signal/sigtimedwait.c: Likewise.
16114 * signal/sigvec.c: Likewise.
16115 * signal/sigwait.c: Likewise.
16116 * signal/sigwaitinfo.c: Likewise.
16117 * signal/sysv_signal.c: Likewise.
16118 * socket/accept.c: Likewise.
16119 * socket/accept4.c: Likewise.
16120 * socket/bind.c: Likewise.
16121 * socket/connect.c: Likewise.
16122 * socket/getpeername.c: Likewise.
16123 * socket/getsockname.c: Likewise.
16124 * socket/getsockopt.c: Likewise.
16125 * socket/isfdtype.c: Likewise.
16126 * socket/listen.c: Likewise.
16127 * socket/recv.c: Likewise.
16128 * socket/recvfrom.c: Likewise.
16129 * socket/recvmsg.c: Likewise.
16130 * socket/send.c: Likewise.
16131 * socket/sendmsg.c: Likewise.
16132 * socket/sendto.c: Likewise.
16133 * socket/setsockopt.c: Likewise.
16134 * socket/shutdown.c: Likewise.
16135 * socket/sockatmark.c: Likewise.
16136 * socket/socket.c: Likewise.
16137 * socket/socketpair.c: Likewise.
16138 * stdio-common/ctermid.c: Likewise.
16139 * stdio-common/cuserid.c: Likewise.
16140 * stdio-common/remove.c: Likewise.
16141 * stdio-common/rename.c: Likewise.
16142 * stdio-common/renameat.c: Likewise.
16143 * stdio-common/tempname.c: Likewise.
16144 * stdlib/getcontext.c: Likewise.
16145 * stdlib/makecontext.c: Likewise.
16146 * stdlib/setcontext.c: Likewise.
16147 * stdlib/swapcontext.c: Likewise.
16148 * stdlib/system.c: Likewise.
16149 * streams/fattach.c: Likewise.
16150 * streams/fdetach.c: Likewise.
16151 * streams/getmsg.c: Likewise.
16152 * streams/getpmsg.c: Likewise.
16153 * streams/putmsg.c: Likewise.
16154 * streams/putpmsg.c: Likewise.
16155 * sysdeps/unix/bsd/getpt.c: Likewise.
16156 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
16157 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
16158 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16161 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
16162 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16163 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
16164 * sysvipc/msgctl.c: Likewise.
16165 * sysvipc/msgget.c: Likewise.
16166 * sysvipc/msgrcv.c: Likewise.
16167 * sysvipc/msgsnd.c: Likewise.
16168 * sysvipc/semctl.c: Likewise.
16169 * sysvipc/semget.c: Likewise.
16170 * sysvipc/semop.c: Likewise.
16171 * sysvipc/semtimedop.c: Likewise.
16172 * sysvipc/shmat.c: Likewise.
16173 * sysvipc/shmctl.c: Likewise.
16174 * sysvipc/shmdt.c: Likewise.
16175 * sysvipc/shmget.c: Likewise.
16176 * termios/tcdrain.c: Likewise.
16177 * termios/tcflow.c: Likewise.
16178 * termios/tcflush.c: Likewise.
16179 * termios/tcgetattr.c: Likewise.
16180 * termios/tcgetpgrp.c: Likewise.
16181 * termios/tcsendbrk.c: Likewise.
16182 * termios/tcsetattr.c: Likewise.
16183 * termios/tcsetpgrp.c: Likewise.
16184 * time/adjtime.c: Likewise.
16185 * time/clock.c: Likewise.
16186 * time/getitimer.c: Likewise.
16187 * time/gettimeofday.c: Likewise.
16188 * time/setitimer.c: Likewise.
16189 * time/settimeofday.c: Likewise.
16190 * time/stime.c: Likewise.
16191 * time/time.c: Likewise.
16193 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
16195 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
16198 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
16200 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
16202 2012-11-03 Joseph Myers <joseph@codesourcery.com>
16205 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
16206 FE_TONEAREST before applying Dekker multiplication and Knuth
16207 addition. Clear inexact exceptions and check for exact zero
16208 results afterwards.
16209 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16210 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16211 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16212 * math/libm-test.inc (fma_test): Add more tests.
16213 (fma_test_towardzero): Likewise.
16214 (fma_test_downward): Likewise.
16215 (fma_test_upward): Likewise.
16216 * sysdeps/generic/math_private.h (default_libc_fesetround): New
16218 (libc_fesetround): New macro.
16219 (libc_fesetroundf): Likewise.
16220 (libc_fesetroundl): Likewise.
16221 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
16223 (libc_fesetround_387): Likewise.
16224 (libc_fesetroundf): New macro.
16225 (libc_fesetround): Likewise.
16226 (libc_fesetroundl): Likewise.
16227 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
16229 (libc_fesetroundf): New macro.
16230 (libc_fesetround): Likewise.
16231 (libc_fesetroundl): Likewise.
16232 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
16233 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
16234 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
16236 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
16237 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
16239 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
16240 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
16242 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
16246 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
16247 integer constant usable in #if and use that to give value to enum
16249 (FE_DIVBYZERO): Likewise.
16250 (FE_UNDERFLOW): Likewise.
16251 (FE_OVERFLOW): Likewise.
16252 (FE_INVALID): Likewise.
16253 (FE_INVALID_SNAN): Likewise.
16254 (FE_INVALID_ISI): Likewise.
16255 (FE_INVALID_IDI): Likewise.
16256 (FE_INVALID_ZDZ): Likewise.
16257 (FE_INVALID_IMZ): Likewise.
16258 (FE_INVALID_COMPARE): Likewise.
16259 (FE_INVALID_SOFTWARE): Likewise.
16260 (FE_INVALID_SQRT): Likewise.
16261 (FE_INVALID_INTEGER_CONVERSION): Likewise.
16262 (FE_TONEAREST): Likewise.
16263 (FE_TOWARDZERO): Likewise.
16264 (FE_UPWARD): Likewise.
16265 (FE_DOWNWARD): Likewise.
16266 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
16267 (FE_DIVBYZERO): Likewise.
16268 (FE_OVERFLOW): Likewise.
16269 (FE_UNDERFLOW): Likewise.
16270 (FE_INEXACT): Likewise.
16271 (FE_TONEAREST): Likewise.
16272 (FE_DOWNWARD): Likewise.
16273 (FE_UPWARD): Likewise.
16274 (FE_TOWARDZERO): Likewise.
16275 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
16276 (FE_UNDERFLOW): Likewise.
16277 (FE_OVERFLOW): Likewise.
16278 (FE_DIVBYZERO): Likewise.
16279 (FE_INVALID): Likewise.
16280 (FE_TONEAREST): Likewise.
16281 (FE_TOWARDZERO): Likewise.
16282 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
16283 (FE_OVERFLOW): Likewise.
16284 (FE_UNDERFLOW): Likewise.
16285 (FE_DIVBYZERO): Likewise.
16286 (FE_INEXACT): Likewise.
16287 (FE_TONEAREST): Likewise.
16288 (FE_TOWARDZERO): Likewise.
16289 (FE_UPWARD): Likewise.
16290 (FE_DOWNWARD): Likewise.
16291 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
16292 (FE_DIVBYZERO): Likewise.
16293 (FE_OVERFLOW): Likewise.
16294 (FE_UNDERFLOW): Likewise.
16295 (FE_INEXACT): Likewise.
16296 (FE_TONEAREST): Likewise.
16297 (FE_DOWNWARD): Likewise.
16298 (FE_UPWARD): Likewise.
16299 (FE_TOWARDZERO): Likewise.
16301 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
16303 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
16305 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
16307 * scripts/cross-test-ssh.sh (command): Use newlines to separate
16308 commands. Quote $PWD.
16309 (blacklist_exports): Don't use remove_newlines. Replace "declare
16311 (remove_newlines): Remove.
16313 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
16315 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
16316 * stdlib/stdlib.h (atof): Moved to ...
16317 * include/bits/stdlib-float.h: Here. New file.
16318 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
16319 * stdlib/bits/stdlib-float.h: New file.
16320 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
16322 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
16325 2012-11-02 Joseph Myers <joseph@codesourcery.com>
16327 * conform/conformtest.pl (@headers): Add fenv.h.
16328 * conform/data/fenv.h-data: New file.
16329 * include/fenv.h [_ISOMAC]: Disable all contents of file except
16330 include of <math/fenv.h>.
16332 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
16333 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
16334 && !UNIX98]. Enables tests for XOPEN2K8.
16335 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
16336 POSIX2008]: Likewise.
16338 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
16339 (struct rusage): Do not expect type or its members.
16342 * math/math.h (FP_NAN): Define macro to integer constant usable in
16343 #if and use that to give value to enum constant.
16344 (FP_INFINITE): Likewise.
16345 (FP_ZERO): Likewise.
16346 (FP_SUBNORMAL): Likewise.
16347 (FP_NORMAL): Likewise.
16349 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
16351 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
16352 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
16355 2012-11-02 Roland McGrath <roland@hack.frob.com>
16357 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
16358 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
16359 autoconf-time if not.
16360 * configure.in: Remove AC_PREREQ.
16362 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16364 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
16365 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
16366 of the internal implementation.
16368 2012-11-02 Joseph Myers <joseph@codesourcery.com>
16370 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
16371 except include of <misc/sys/syslog.h>.
16373 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
16375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
16376 function returns with a NULL context exit with zero.
16378 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16380 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
16382 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
16384 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
16385 (run_program_cmd): This.
16386 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
16387 (tst_langinfo): New variable. Use it.
16389 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
16391 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
16392 floating point opcodes.
16394 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
16396 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
16399 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
16401 * sysdeps/mach/hurd/powerpc: Remove directory.
16402 * sysdeps/mach/powerpc: Likewise.
16404 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
16406 * scripts/check-local-headers.sh: Ignore c++ headers.
16408 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
16410 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
16411 __libc_cleanup_region_start argument.
16413 2012-11-01 Joseph Myers <joseph@codesourcery.com>
16417 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
16418 x * y using scaling, not as x * y + z.
16419 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16420 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16421 * math/libm-test.inc (fma_test): Add more tests.
16422 (fma_test_towardzero): Likewise.
16423 (fma_test_downward): Likewise.
16424 (fma_test_upward): Likewise.
16426 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
16428 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
16430 2012-10-31 Joseph Myers <joseph@codesourcery.com>
16432 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
16435 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
16437 * rt/tst-shm.c (worker): Correct checking for mmap failure.
16439 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
16441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16446 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16449 Fix the order of the list for glibc 2.17.
16450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16453 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
16455 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16457 2012-10-31 Joseph Myers <joseph@codesourcery.com>
16460 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
16461 for low part of x being zero before using __atanl (y).
16462 * math/libm-test.inc (atan2_test): Add another test.
16464 * manual/install.texi (Configuring and compiling): Document
16465 general use of test-wrapper and test-wrapper-env.
16466 * INSTALL: Regenerated.
16468 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
16469 (__fma): Do not extract and scale down low bits on after-rounding
16470 systems when result rounded to normal precision would have normal
16472 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
16473 (__fmal): Do not extract and scale down low bits on after-rounding
16474 systems when result rounded to normal precision would have normal
16476 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
16477 (__fmal): Do not extract and scale down low bits on after-rounding
16478 systems when result rounded to normal precision would have normal
16480 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
16482 (fma_test): Add more tests.
16483 (fma_test_towardzero): Likewise.
16484 (fma_test_downward): Likewise.
16485 (fma_test_upward): Likewise.
16487 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
16489 * sysdeps/i386/tininess.h: Renamed to ...
16490 * sysdeps/x86/tininess.h: This.
16491 * sysdeps/x86_64/tininess.h: Removed.
16493 2012-10-30 Joseph Myers <joseph@codesourcery.com>
16495 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
16496 input. Use $(build-program-cmd).
16497 ($(objpfx)tst-array1-static.out): Likewise.
16498 ($(objpfx)tst-array2.out): Likewise.
16499 ($(objpfx)tst-array3.out): Likewise.
16500 ($(objpfx)tst-array4.out): Likewise.
16501 ($(objpfx)tst-array5.out): Likewise.
16502 ($(objpfx)tst-array5-static.out): Likewise.
16504 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
16506 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
16509 * nss/nsswitch.h (nss_interface_function): Provide new
16510 macro for use with NSS functions.
16511 * grp/initgroups.c: Use new macro.
16512 * nss/getXXbyYY.c: Likewise.
16513 * nss/getXXbyYY_r.c: Likewise.
16514 * nss/getXXent.c: Likewise.
16515 * nss/getXXent_r.c: Likewise.
16516 * sysdeps/posix/getaddrinfo.c: Likewise.
16518 2012-10-30 Andreas Jaeger <aj@suse.de>
16520 * po/ru.po: Update Russion translation from translation project.
16522 2012-10-30 Joseph Myers <joseph@codesourcery.com>
16526 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
16527 result and shift together with sticky bit instead of replicating
16528 round-to-nearest rounding.
16529 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16530 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16531 * math/libm-test.inc (fma_test): Add more tests. Do not permit
16532 missing underflow exceptions.
16533 (fma_test_towardzero): Add more tests.
16534 (fma_test_downward): Likewise.
16535 (fma_test_upward): Likewise.
16538 * sysdeps/generic/tininess.h: New file.
16539 * sysdeps/i386/tininess.h: Likewise.
16540 * sysdeps/sh/tininess.h: Likewise.
16541 * sysdeps/x86_64/tininess.h: Likewise.
16542 * stdlib/tst-strtod-underflow.c: Likewise.
16543 * stdlib/tst-tininess.c: Likewise.
16544 * stdlib/strtod_l.c: Include <tininess.h>.
16545 (round_and_return): Do not set errno for exact underflow cases.
16546 Force an underflow exception when setting errno for underflow.
16547 Determine underflow based on rounding to normal precision if
16548 TININESS_AFTER_ROUNDING.
16549 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
16550 ERANGE for exact underflow cases.
16551 * stdlib/Makefile (tests): Add tst-tininess and
16552 tst-strtod-underflow.
16553 ($(objpfx)tst-tininess): Use $(link-libm).
16554 ($(objpfx)tst-strtod-underflow): Likewise.
16556 2012-10-30 Andreas Jaeger <aj@suse.de>
16559 * elf/Makefile (tests): Remove conditional for have-initfini-array
16560 since this is now always required and the variable does not exist
16562 (tests-static): Likewise.
16563 (modules-names): Likewise.
16565 * po/eo.po: Add Esperanto translation from translation project.
16567 * elf/tst-array1.c (fini_array): Make writeable so that it can be
16568 merged with constructor/destructor.
16569 (init_array): Likewise.
16570 * elf/tst-array2dep.c (fini_array): Likewise.
16571 (init_array): Likewise.
16573 2012-10-29 Mike Frysinger <vapier@gentoo.org>
16575 * manual/message.texi: Delete @cartouche tags.
16577 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
16579 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
16581 * sysdeps/mach/hurd/fsync.c: Likewise.
16583 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
16584 [_POSIX_REALTIME_SIGNALS]: Change condition to
16585 [_POSIX_REALTIME_SIGNALS > 0].
16587 2012-10-27 Andreas Jaeger <aj@suse.de>
16589 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
16590 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
16591 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
16592 [__WORDSIZE != 64]: Likewise.
16594 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
16596 * iconvdata/tst-table.sh: Remove ${SHELL}.
16597 * iconvdata/tst-tables.sh: Likewise.
16599 2012-10-25 David S. Miller <davem@davemloft.net>
16601 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16602 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
16605 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
16607 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16608 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
16609 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
16612 2012-10-25 Roland McGrath <roland@hack.frob.com>
16614 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16615 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
16618 2012-10-25 Joseph Myers <joseph@codesourcery.com>
16619 Jim Blandy <jimb@codesourcery.com>
16621 * scripts/cross-test-ssh.sh: New file.
16622 * manual/install.texi (Configuring and compiling): Document use of
16624 * INSTALL: Regenerated.
16626 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
16628 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
16631 2012-10-25 Joseph Myers <joseph@codesourcery.com>
16633 * Makeconfig (run-program-prefix): Fix comment.
16635 2012-10-24 Joseph Myers <joseph@codesourcery.com>
16636 Jim Blandy <jimb@codesourcery.com>
16638 * Makeconfig (test-wrapper): New variable,
16639 (test-wrapper-env): Likewise.
16640 [$(cross-compiling) = yes && $(test-wrapper) != ""]
16641 (run-built-tests): Define to yes.
16642 (run-program-prefix): Use $(test-wrapper).
16643 (built-program-cmd): Likewise.
16644 * Rules (make-test-out): Use $(test-wrapper-env) and
16645 $(host-built-program-cmd).
16646 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
16647 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
16649 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
16650 $(test-wrapper-env) to tst-rtld-load-self.sh.
16651 ($(objpfx)order2.out): Use $(test-wrapper).
16652 ($(objpfx)tst-initorder.out): Likewise.
16653 ($(objpfx)tst-initorder2.out): Likewise.
16654 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
16655 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
16656 (test_wrapper_env): New variable. Use it to run ld.so.
16657 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
16658 Use it to run ld.so.
16659 (test_wrapper_env): Likewise.
16660 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
16661 $(test-wrapper) to run-iconv-test.sh.
16662 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
16663 (ICONV): Use $test_wrapper.
16664 * posix/Makefile ($(objpfx)globtest.out): Pass
16665 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
16666 globtest.sh, not $(run-program-prefix).
16667 * posix/globtest.sh (run_via_rtld_prefix): New variable.
16668 (test_wrapper): Likewise.
16669 (test_wrapper_env): Likewise. Use it to run globtest with HOME
16670 set together with run_via_rtld_prefix.
16671 (run_program_prefix): Define in terms of test_wrapper and
16672 run_via_rtld_prefix.
16674 2012-10-24 Roland McGrath <roland@hack.frob.com>
16676 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
16677 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
16681 * include/time.h: Remove librt_hidden_proto (clock_gettime).
16682 Declare __clock_getres, __clock_gettime, __clock_settime,
16683 __clock_nanosleep, and __clock_getcpuclockid.
16684 * rt/clock_gettime.c: Define __clock_gettime as an alias.
16685 Remove librt_hidden_def (clock_gettime).
16686 * sysdeps/unix/clock_gettime.c: Likewise.
16687 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
16688 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
16689 * rt/clock_getres.c: Define __clock_getres as an alias.
16690 * sysdeps/posix/clock_getres.c: Likewise.
16691 * rt/clock_settime.c: Define __clock_settime as an alias.
16692 * sysdeps/unix/clock_settime.c: Likewise.
16693 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
16694 * sysdeps/unix/clock_nanosleep.c: Likewise.
16695 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
16696 * rt/clock-compat.c: New file.
16697 * rt/Makefile (librt-routines): Add clock-compat and move
16698 $(clock-routines) to ...
16699 (routines): ... here, new variable.
16700 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
16701 Don't add get_clockfreq here.
16702 * rt/Versions (libc: GLIBC_2.17): New version set.
16703 Add clock_* symbols here.
16704 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
16705 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
16706 (GLIBC_2.17): Add clock_* symbols.
16707 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16708 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16709 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16714 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16715 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
16716 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16717 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16718 * NEWS: Mention the move.
16720 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
16721 Use __open, __read, __close rather than their public counterparts.
16722 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16723 (__get_clockfreq_via_cpuinfo): Likewise.
16724 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
16725 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
16727 * config.h.in (HAVE_IFUNC): New #undef.
16728 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
16730 * configure: Regenerated.
16732 2012-10-24 Mike Frysinger <vapier@gentoo.org>
16734 * configure.in: Move READELF check to start of file.
16735 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
16736 libc_cv_asm_gnu_indirect_function in the process.
16737 * configure: Regenerated.
16739 2012-10-24 Mike Frysinger <vapier@gentoo.org>
16741 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
16742 send the output to /dev/null.
16743 (libc_cv_cc_with_libunwind): Likewise.
16744 (libc_cv_as_noexecstack): Likewise.
16745 * configure: Regenerate.
16747 2012-10-24 Joseph Myers <joseph@codesourcery.com>
16749 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
16751 * posix/globtest.sh (TMPDIR): Do not set.
16752 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
16753 (testout): Likewise.
16755 2012-10-24 Andreas Jaeger <aj@suse.de>
16757 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
16758 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
16759 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
16760 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
16761 posix_fadvise64, posix_fallocate64.
16763 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
16764 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
16765 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
16767 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
16769 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
16771 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
16772 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
16773 <bits/fcntl-linux.h>.
16774 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
16776 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
16777 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
16778 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
16779 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
16780 [__WORDSIZE != 64]: Likewise.
16782 2012-10-23 Joseph Myers <joseph@codesourcery.com>
16784 * Makeconfig (run-built-tests): New variable.
16785 * Rules [$(cross-compiling) = yes]: Change condition to
16786 [$(run-built-tests) = no].
16787 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
16788 to [$(run-built-tests) = yes].
16789 * elf/Makefile [$(cross-compiling) = no]: Likewise
16790 * grp/Makefile [$(cross-compiling) = no]: Likewise.
16791 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
16792 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
16793 * intl/Makefile [$(cross-compiling) = no]: Likewise.
16794 * io/Makefile [$(cross-compiling) = no]: Likewise.
16795 * libio/Makefile [$(cross-compiling) = no]: Likewise.
16796 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
16797 * misc/Makefile [$(cross-compiling) = no]: Likewise.
16798 * posix/Makefile [$(cross-compiling) = no]: Likewise.
16799 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
16800 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
16801 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
16802 * string/Makefile [$(cross-compiling) = no]: Likewise.
16804 * posix/Makefile ($(objpfx)globtest.out): Pass
16805 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
16806 $(rtld-installed-name).
16807 * posix/globtest.sh (elf_objpfx): Remove variable.
16808 (rtld_installed_name): Likewise.
16809 (library_path): Likewise.
16810 (run_program_prefix): New variable. Use for running globtest
16813 2012-10-23 Jim Blandy <jimb@codesourcery.com>
16814 Joseph Myers <joseph@codesourcery.com>
16816 * Makeconfig (host-built-program-cmd): New variable.
16817 * elf/Makefile (tst-stackguard1-ARGS): Use
16818 $(host-built-program-cmd).
16819 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
16820 (tst-spawn-ARGS): Likewise.
16821 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
16823 2012-10-23 Joseph Myers <joseph@codesourcery.com>
16824 Jim Blandy <jimb@codesourcery.com>
16826 * Makeconfig (run-via-rtld-prefix): New variable.
16827 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
16828 (built-program-cmd): Likewise.
16830 2012-10-22 Andreas Jaeger <aj@suse.de>
16832 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
16833 __O_RSYNC if it exists, otherwise to O_SYNC.
16835 2012-10-22 Jim Blandy <jimb@codesourcery.com>
16836 Joseph Myers <joseph@codesourcery.com>
16838 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
16840 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
16842 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
16845 2012-10-22 Andreas Jaeger <aj@suse.de>
16847 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
16849 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
16851 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16852 bits/fcntl-linux.h.
16854 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
16855 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
16857 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
16859 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
16862 2012-10-21 Jim Blandy <jimb@codesourcery.com>
16863 Joseph Myers <joseph@codesourcery.com>
16865 * config.make.in (NM): New variable.
16867 2012-10-21 Andreas Jaeger <aj@suse.de>
16869 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
16870 definitions and declarations that are provided by
16871 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16873 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
16876 * elf/Makefile (tests-static): Add tst-leaks1-static.
16877 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
16878 ($(objpfx)tst-leaks1-static): New rule.
16879 ($(objpfx)tst-leaks1-static-mem): Likewise.
16880 (tst-leaks1-static-ENV): New macro.
16881 * elf/dl-open.c (dl_open_worker): Check the main application
16882 only if SHARED is defined.
16883 * elf/tst-leaks1-static.c: New file.
16885 2012-10-20 Andreas Jaeger <aj@suse.de>
16887 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
16888 generic values for Linux.
16889 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
16890 and declarations that are provided by <bits/fcntl-linux.h> and
16891 include <bits/fcntl-linux.h>.
16892 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16893 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16895 2012-10-20 Roland McGrath <roland@hack.frob.com>
16897 * io/fcntl.h: Move include of <bits/types.h> to the top and
16898 include it unconditionally.
16900 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
16902 * wcsmbs/Makefile (tests-ifunc): New variable.
16903 (tests): Add $(tests-ifunc).
16904 * wcsmbs/test-wcschr-ifunc.c: New file.
16905 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
16906 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
16907 * wcsmbs/test-wcslen-ifunc.c: Likewise.
16908 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
16909 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
16911 * string/Makefile (tests-ifunc): New variable.
16912 (tests): Add $(tests-ifunc).
16913 * string/test-memccpy.c (TEST_NAME): New macro.
16914 * string/test-memchr.c (TEST_NAME): Likewise.
16915 * string/test-memcmp.c (TEST_NAME): Likewise.
16916 * string/test-memcpy.c (TEST_NAME): Likewise.
16917 * string/test-memmem.c (TEST_NAME): Likewise.
16918 * string/test-memmove.c (TEST_NAME): Likewise.
16919 * string/test-memset.c (TEST_NAME): Likewise.
16920 * string/test-rawmemchr.c (TEST_NAME): Likewise.
16921 * string/test-stpcpy.c (TEST_NAME): Likewise.
16922 * string/test-stpncpy.c (TEST_NAME): Likewise.
16923 * string/test-strcasecmp.c (TEST_NAME): Likewise.
16924 * string/test-strcasestr.c (TEST_NAME): Likewise.
16925 * string/test-strcat.c (TEST_NAME): Likewise.
16926 * string/test-strchr.c (TEST_NAME): Likewise.
16927 * string/test-strcmp.c(TEST_NAME): Likewise.
16928 * string/test-strcpy.c (TEST_NAME): Likewise.
16929 * string/test-strcspn.c (TEST_NAME): Likewise.
16930 * string/test-strlen.c (TEST_NAME): Likewise.
16931 * string/test-strncasecmp.c (TEST_NAME): Likewise.
16932 * string/test-strncmp.c (TEST_NAME): Likewise.
16933 * string/test-strncpy.c (TEST_NAME): Likewise.
16934 * string/test-strnlen.c (TEST_NAME): Likewise.
16935 * string/test-strpbrk.c (TEST_NAME): Likewise.
16936 * string/test-strrchr.c (TEST_NAME): Likewise.
16937 * string/test-strspn.c (TEST_NAME): Likewise.
16938 * string/test-strstr.c (TEST_NAME): Likewise.
16939 * string/test-bcopy-ifunc.c: New file.
16940 * string/test-bzero-ifunc.c: Likewise.
16941 * string/test-memccpy-ifunc.c: Likewise.
16942 * string/test-memchr-ifunc.c: Likewise.
16943 * string/test-memcmp-ifunc.c: Likewise.
16944 * string/test-memcpy-ifunc.c: Likewise.
16945 * string/test-memmem-ifunc.c: Likewise.
16946 * string/test-memmove-ifunc.c: Likewise.
16947 * string/test-mempcpy-ifunc.c: Likewise.
16948 * string/test-memset-ifunc.c: Likewise.
16949 * string/test-rawmemchr-ifunc.c: Likewise.
16950 * string/test-stpcpy-ifunc.c: Likewise.
16951 * string/test-stpncpy-ifunc.c: Likewise.
16952 * string/test-strcasecmp-ifunc.c: Likewise.
16953 * string/test-strcasestr-ifunc.c: Likewise.
16954 * string/test-strcat-ifunc.c: Likewise.
16955 * string/test-strchr-ifunc.c: Likewise.
16956 * string/test-strchrnul-ifunc.c: Likewise.
16957 * string/test-strcmp-ifunc.c: Likewise.
16958 * string/test-strcpy-ifunc.c: Likewise.
16959 * string/test-strcspn-ifunc.c: Likewise.
16960 * string/test-strlen-ifunc.c: Likewise.
16961 * string/test-strncasecmp-ifunc.c: Likewise.
16962 * string/test-strncat-ifunc.c: Likewise.
16963 * string/test-strncmp-ifunc.c: Likewise.
16964 * string/test-strncpy-ifunc.c: Likewise.
16965 * string/test-strnlen-ifunc.c: Likewise.
16966 * string/test-strpbrk-ifunc.c: Likewise.
16967 * string/test-strrchr-ifunc.c: Likewise.
16968 * string/test-strspn-ifunc.c: Likewise.
16969 * string/test-strstr-ifunc.c: Likewise.
16971 * debug/Makefile (tests-ifunc): New variable.
16972 (tests): Add $(tests-ifunc).
16973 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
16974 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
16975 * debug/test-stpcpy_chk-ifunc.c: New file.
16976 * debug/test-strcpy_chk-ifunc.c: Likewise.
16978 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16981 * elf/dl-load.c (open_verify): Retry read if the entire ELF
16982 header is not read in.
16984 2012-10-19 Joseph Myers <joseph@codesourcery.com>
16986 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
16987 script to $(SHELL) as $<. Pass $(common-objpfx) to script
16988 directly. Pass built executable to script as
16989 $(built-program-cmd).
16990 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
16991 $testprogram without using LD_LIBRARY_PATH and $ldso.
16993 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
16994 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
16995 $(rtld-installed-name).
16996 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
16997 (rtld_installed_name): Likewise.
16998 (library_path): Likewise.
16999 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
17000 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
17001 $(run-program-prefix) to tst-tables.sh.
17002 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
17003 it to run tst-table-from and tst-table-to.
17004 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
17005 Pass it to tst-table.sh.
17006 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
17007 $(run-program-prefix) to tst-gettext.sh.
17008 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
17010 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
17012 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
17013 to run tst-gettext.
17014 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
17015 to run tst-gettext2.
17016 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
17017 to run tst-translit.
17018 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
17019 $(run-program-prefix) to tst-mtrace.sh.
17020 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
17022 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
17023 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
17024 $(rtld-installed-name).
17025 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
17026 (rtld_installed_name): Likewise.
17027 (run_program_prefix): New variable. Use it to run wordexp-test.
17029 * Makeconfig (ARCH): Remove all definitions.
17030 (machine): Likewise.
17031 [ARCH]: Remove conditional code.
17032 [!objdir]: Give error.
17033 [!objdir] (objpfx): Remove.
17034 [!objdir] (common-objpfx): Likewise.
17035 [!objdir] (common-objdir): Likewise.
17036 * configure.in (config_makefile): Remove. Hardcode Makefile in
17037 AC_CONFIG_FILES call.
17038 * configure: Regenerated.
17041 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
17043 (testout): Likewise.
17045 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
17046 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
17047 $(rtld-installed-name).
17048 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
17049 (rtld_installed_name): Likwise.
17050 (runit): Remove function.
17051 (run_getconf): New variable, Use it for running getconf binary.
17053 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
17056 * string/test-memmem.c (check_result): New function.
17057 (do_one_test): Use it.
17058 (check1): New function.
17059 (test_main): Use it.
17061 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
17063 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
17065 2012-10-18 Joseph Myers <joseph@codesourcery.com>
17067 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
17068 (_G_LSEEK64): Likewise.
17069 (_G_MMAP64): Likewise.
17070 (_G_FSTAT64): Likewise.
17071 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
17072 (_G_LSEEK64): Likewise.
17073 (_G_MMAP64): Likewise.
17074 (_G_FSTAT64): Likewise.
17075 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
17076 unconditional. Call __mmap64 directly.
17077 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
17078 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
17079 __lseek64 directly.
17080 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
17081 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
17083 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
17084 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
17085 __lseek64 directly.
17086 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
17087 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
17088 __lseek64 directly.
17089 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
17090 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
17091 __lseek64 directly.
17092 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
17093 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
17094 __fxstat64 directly.
17095 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
17096 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
17098 (freopen64) [!_G_OPEN64]: Remove conditional code.
17099 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
17101 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
17102 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
17104 (ftello64) [!_G_LSEEK64]: Remove conditional code.
17105 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
17107 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17108 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
17110 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
17111 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
17113 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17114 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
17116 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17117 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
17119 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17121 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17124 * manual/memory.texi (Malloc Tunable Parameters): Add note
17125 about free list pointers overwriting some perturb bytes.
17126 Wording suggested by Roland McGrath.
17128 2012-10-17 Joseph Myers <joseph@codesourcery.com>
17130 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
17131 (lgamma_test): Likewise.
17132 (tgamma_test): Likewise.
17134 2012-10-16 Florian Weimer <fweimer@redhat.com>
17137 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
17138 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
17140 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
17142 * NEWS: Mention BZ #14716.
17143 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
17144 when removing AVAILABLE1_USES_J macro.
17146 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
17148 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
17149 (__bswap_64): __uint64_t for unsigned 64-bit int.
17151 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
17153 * include/string.h (memmem): Declare libc hidden alias.
17154 * string/memmem.c (memmem): Define libc hidden alias.
17155 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
17156 __read, __close instead of open, read, close.
17158 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
17160 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
17161 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
17163 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
17164 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
17165 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
17167 (__rawmemchr_sse2): Likewise.
17168 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
17169 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
17170 (__strchr_sse2): Likewise.
17171 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
17172 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
17173 (__strcasecmp_sse2): Likewise.
17174 (__strncasecmp_sse2): Likewise.
17175 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
17176 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
17177 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
17178 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
17179 (__strrchr_sse2): Likewise.
17180 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
17182 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17183 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17184 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17185 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17186 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17187 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17188 * sysdeps/x86_64/multiarch/memset.S: Likewise.
17189 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17190 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
17191 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
17192 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
17193 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
17194 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
17195 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
17196 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
17197 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17198 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
17199 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
17200 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
17201 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
17202 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
17203 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
17204 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
17205 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17206 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
17207 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17208 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17209 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17210 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
17211 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
17213 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
17215 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
17216 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
17217 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
17218 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
17220 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
17222 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
17223 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
17224 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
17225 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
17227 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17228 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17229 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17230 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17231 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17232 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17233 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17234 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17235 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17236 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17237 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17238 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17239 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17240 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
17241 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
17242 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17243 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
17244 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
17245 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17246 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17247 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17248 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17249 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17250 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17251 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17252 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
17253 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
17254 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
17255 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
17256 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17257 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
17258 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17259 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17260 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
17261 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17262 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17263 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17264 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17265 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17266 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17267 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
17269 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
17270 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
17271 * include/ifunc-impl-list.h: New file.
17272 * misc/ifunc-impl-list.c: Likewise.
17273 * misc/Makefile (routines): Add ifunc-impl-list.
17274 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
17275 * string/test-string.h: Include <ifunc-impl-list.h>.
17276 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
17277 impl_array): New variables.
17278 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
17280 (test_init): Call __libc_ifunc_impl_list to initialize
17281 func_list if TEST_IFUNC and TEST_NAME are defined.
17283 * string/Makefile (strop-tests): Add bcopy and bzero.
17284 * string/test-bcopy.c: New file.
17285 * string/test-bzero.c: Likewise.
17286 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
17288 * string/test-memset.c: Support bzero test if TEST_BZERO is
17290 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
17292 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
17294 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
17297 2012-10-10 Joseph Myers <joseph@codesourcery.com>
17299 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
17300 * configure: Regenerated.
17302 * Makeconfig (+link-static-before-libc): Don't include
17303 $(link-static-libc).
17305 * libio/libio.h (_IO_pos_t): Remove.
17307 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
17309 * NEWS: Add note about FIPS mode. Wording suggested by Roland
17312 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
17314 * crypt/crypt-entry.c: Include fips-private.h.
17315 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
17316 * crypt/md5c-test.c (main): Tolerate disabled MD5.
17317 * sysdeps/unix/sysv/linux/fips-private.h: New file.
17318 * sysdeps/generic/fips-private.h: New file, dummy fallback.
17320 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
17322 * crypt/crypt-private.h: Include stdbool.h.
17323 (_ufc_setup_salt_r): Return bool.
17324 * crypt/crypt-entry.c: Include errno.h.
17325 (__crypt_r): Return NULL with EINVAL for bad salt.
17326 * crypt/crypt_util.c (bad_for_salt): New.
17327 (_ufc_setup_salt_r): Check that salt is long enough and within
17328 the specified alphabet.
17329 * crypt/badsalttest.c: New file.
17330 * crypt/Makefile (tests): Add it.
17331 ($(objpfx)badsalttest): New.
17333 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
17335 * NEWS: Add entry for BZ #14602.
17337 2012-10-09 Joseph Myers <joseph@codesourcery.com>
17339 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
17341 * math/libm-test.inc: Update comment listing what functions and
17343 (isgreater_test): New function.
17344 (isgreaterequal_test): Likewise.
17345 (isless_test): Likewise.
17346 (islessequal_test): Likewise.
17347 (islessgreater_test): Likewise.
17348 (isunordered_test): Likewise.
17349 (main): Call the new functions.
17351 2012-10-09 Roland McGrath <roland@hack.frob.com>
17353 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
17354 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
17355 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
17356 * sysdeps/i386/configure: Regenerated.
17357 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
17358 * sysdeps/mach/configure: Regenerated.
17359 * sysdeps/mach/hurd/configure: Regenerated.
17360 * sysdeps/powerpc/configure: Regenerated.
17361 * sysdeps/powerpc/powerpc32/configure: Regenerated.
17362 * sysdeps/powerpc/powerpc64/configure: Regenerated.
17363 * sysdeps/s390/s390-32/configure: Regenerated.
17364 * sysdeps/s390/s390-64/configure: Regenerated.
17365 * sysdeps/sh/configure: Regenerated.
17366 * sysdeps/sparc/configure: Regenerated.
17367 * sysdeps/unix/sysv/linux/configure: Regenerated.
17368 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
17369 * sysdeps/x86_64/configure: Regenerated.
17371 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
17372 defined. Don't check if MAP is NULL.
17374 2012-10-09 Joseph Myers <joseph@codesourcery.com>
17376 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
17377 (_G_stat64): Likewise.
17378 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
17379 (_G_stat64): Likewise.
17380 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
17381 instead of struct _G_stat64.
17382 * libio/fileops.c (mmap_remap_check): Likewise.
17383 (decide_maybe_mmap): Likewise.
17384 (_IO_new_file_seekoff): Likewise.
17385 (_IO_file_stat): Likewise.
17386 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
17388 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
17389 instead of struct _G_stat64.
17390 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17392 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
17395 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17397 (CHECK_EOL): New macro.
17398 (two_way_short_needle): Check beginning of haystack for EOL. Use
17400 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17401 Replace with CHECK_EOL.
17402 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17403 Replace with CHECK_EOL.
17405 2012-10-08 Joseph Myers <joseph@codesourcery.com>
17407 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
17409 * math/libm-test.inc: Update comment listing what functions and
17411 (finite_test): New function.
17412 (isinf_test): Likewise.
17413 (isnan_test): Likewise.
17414 (fpclassify_test): Test subnormal input.
17415 (isfinite_test): Likewise.
17416 (isnormal_test): Likewise.
17417 (main): Call the new functions.
17419 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
17422 * Makerules (%.dynsym): Force C locale when running
17423 $(OBJDUMP) --dynamic-syms.
17425 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
17427 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
17430 2012-10-06 David S. Miller <davem@davemloft.net>
17432 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
17433 upper 32-bits of the length value in %o2 since we use branch-on-register
17434 tests which consider the entire 64-bit register.
17436 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
17438 * string/test-strstr.c (check2): Add a test for page boundary.
17440 2012-10-05 David S. Miller <davem@davemloft.net>
17442 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
17443 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
17445 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
17447 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
17448 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
17449 and bzero when HWCAP_SPARC_CRYPTO is present.
17451 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
17454 * string/test-strstr.c (check2): New function.
17455 (test_main): Call check2.
17457 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
17459 * string/bug-strcasestr1.c (do_test): Moved to ...
17460 * string/test-strcasestr.c (check1): Here. New function.
17461 (do_one_test): Break out result checking code into ...
17462 (check_result): This. New function.
17463 (do_one_test): Call check_result.
17464 (test_main): Call check1.
17465 * string/bug-strchr1.c (do_test): Moved to ...
17466 * string/test-strchr.c (check1): Here. New function.
17467 (do_one_test): Break out result checking code into ...
17468 (check_result): This. New function.
17469 (do_one_test): Call check_result.
17470 (test_main): Call check1.
17471 * string/bug-strstr1.c (main): Moved to ...
17472 * string/test-strstr.c (check1): Here. New function.
17473 (do_one_test): Break out result checking code into ...
17474 (check_result): This. New function.
17475 (do_one_test): Call check_result.
17476 (test_main): Call check1.
17477 * string/bug-strcasestr1.c: Removed.
17478 * string/bug-strchr1.c: Likewise.
17479 * string/bug-strstr1.c: Likewise.
17481 * elf/Makefile (dl-routines): Add hwcaps.
17482 * elf/dl-support.c (_dl_important_hwcaps): Removed.
17483 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
17484 (_dl_important_hwcaps): Moved to ...
17485 * elf/dl-hwcaps.c: Here. New file.
17486 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
17489 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
17490 if IS_IN_rtld isn't defined.
17492 * elf/dl-support.c (_dl_sysinfo_map): New.
17493 Include "get-dynamic-info.h" and "setup-vdso.h".
17494 (_dl_non_dynamic_init): Call setup_vdso.
17495 * elf/dynamic-link.h: Don't include <assert.h>.
17496 (elf_get_dynamic_info): Moved to ...
17497 * elf/get-dynamic-info.h: Here. New file.
17498 * elf/dynamic-link.h: Include "get-dynamic-info.h".
17499 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
17500 * elf/setup-vdso.h: Here. New file.
17501 * elf/rtld.c: Include "setup-vdso.h".
17502 (dl_main): Call setup_vdso.
17504 2012-10-05 Joseph Myers <joseph@codesourcery.com>
17506 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
17507 creal in comment listing functions tested. List finite, isinf,
17508 isnan, isless, islessequal, isgreater, isgreaterequal,
17509 islessgreater, isunordered, lgamma_r and pow10 as functions and
17510 macros not tested. Mention which functions not tested are aliases
17511 for other functions. Fix typo. Note that signs of NaNs are not
17514 * scripts/config.guess: Update from config.git.
17515 * scripts/config.sub: Likewise.
17517 2012-10-04 Roland McGrath <roland@hack.frob.com>
17519 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
17520 * misc/madvise.c (madvise): Renamed to __madvise.
17521 Make madvise a weak alias.
17522 * include/sys/mman.h: Declare __madvise.
17523 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
17524 * sysdeps/unix/syscalls.list
17525 (madvise): Make __madvise the strong name, and madvise a weak alias.
17526 * sysdeps/unix/sysv/linux/syscalls.list
17527 (madvise, mmap): Remove redundant entries.
17528 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
17529 * malloc/malloc.c (mtrim): Likewise.
17530 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
17532 2012-10-03 Roland McGrath <roland@hack.frob.com>
17534 * sysdeps/mach/hurd/dl-cache.c: File removed.
17535 * config.h.in (USE_LDCONFIG): New #undef.
17536 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
17537 * configure: Regenerated.
17538 * elf/Makefile (dl-routines): Add dl-cache only under
17539 [$(use-ldconfig) = yes].
17540 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
17541 cache on [USE_LDCONFIG].
17542 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
17544 * elf/rtld.c (dl_main): Likewise.
17546 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
17548 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
17549 _SC_LEVEL4_CACHE_LINESIZE.
17551 2012-10-03 Roland McGrath <roland@hack.frob.com>
17553 * sysdeps/unix/bsd/confstr.h: File removed.
17555 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
17557 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
17560 2012-10-02 Roland McGrath <roland@hack.frob.com>
17562 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
17563 Make 'mapoff' field ElfW(Off) rather than off_t.
17565 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
17567 * nscd/Makefile: Remove nscd-cflags and all its users.
17568 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
17569 (CFLAGS-nonlib): Add compiler flags for nscd modules.
17572 * malloc.c (malloc_printerr): Clarify error message.
17574 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
17577 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17578 Set bit_FMA_Usable if FMA is supported.
17579 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
17581 (bit_FMA4_Usable): Updated.
17582 (index_FMA_Usable): New macro.
17583 (CPUID_FMA): Likewise
17584 (HAS_FMA): Defined with bit_FMA_Usable.
17586 2012-10-01 Roland McGrath <roland@hack.frob.com>
17588 * bits/types.h (__swblk_t): Type removed.
17589 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
17590 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
17591 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17592 (__SWBLK_T_TYPE): Likewise.
17593 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17594 (__SWBLK_T_TYPE): Likewise.
17595 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17596 (__SWBLK_T_TYPE): Likewise.
17597 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17598 (__SWBLK_T_TYPE): Likewise.
17600 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
17601 Honza Horak <hhorak@redhat.com>
17603 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
17604 (xdr_mapname): Use YPMAXMAP as maxsize.
17605 (xdr_peername): Use YPMAXPEER as maxsize.
17606 (xdr_keydat): Use YPAXRECORD as maxsize.
17607 (xdr_valdat): Use YPMAXRECORD as maxsize.
17609 2012-10-01 Roland McGrath <roland@hack.frob.com>
17611 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
17613 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
17614 * csu/init-first.c: ... here.
17615 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
17616 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
17617 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
17618 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
17619 * sysdeps/i386/init-first.c: File removed.
17620 * sysdeps/sh/init-first.c: File removed.
17622 2012-10-01 Joseph Myers <joseph@codesourcery.com>
17625 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
17626 if x * y might underflow to zero and z is zero.
17627 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17628 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17629 * math/libm-test.inc (min_subnorm_value): New variable.
17630 (fma_test): Add more tests.
17631 (fma_test_towardzero): Likewise.
17632 (fma_test_downward): Likewise
17633 (fma_test_upward): Likewise.
17634 (initialize): Set min_subnorm_value.
17636 2012-09-29 Joseph Myers <joseph@codesourcery.com>
17639 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
17641 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
17642 mode for addition resulting in exact zero.
17643 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
17644 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
17646 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17647 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17648 * math/libm-test.inc (fma_test): Add more tests.
17649 (fma_test_towardzero): New function.
17650 (fma_test_downward): Likewise.
17651 (fma_test_upward): Likewise.
17652 (main): Call the new functions.
17654 2012-09-28 David S. Miller <davem@davemloft.net>
17656 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
17658 2012-09-28 Roland McGrath <roland@hack.frob.com>
17660 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
17661 instead of SIGALRM.
17663 * sysdeps/gnu/_G_config.h: Moved to ...
17664 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
17665 * sysdeps/mach/hurd/_G_config.h: Moved to ...
17666 * sysdeps/generic/_G_config.h: ... here.
17668 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
17670 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
17672 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
17673 Conditionalize target on [libnss_test1.so-version].
17675 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
17677 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
17678 (elfobjdir): Move out of conditionals.
17680 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
17681 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
17682 (__nss_lookup_function): Conditionalize label remove_from_tree on
17683 [!DO_STATIC_NSS || SHARED], matching its only use.
17685 2012-09-28 David S. Miller <davem@davemloft.net>
17687 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
17688 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
17690 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
17692 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
17693 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
17694 when HWCAP_SPARC_CRYPTO is present.
17696 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
17698 * io/tst-mknodat.c: Create a FIFO instead of a socket.
17700 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
17703 * stdio-common/vfprintf.c (process_string_arg): Revert
17706 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
17708 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
17710 * stdio-common/tst-sprintf.c: Include <locale.h>
17711 (main): Test sprintf's handling of incomplete multibyte
17714 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
17716 * elf/dl-runtime.c (VERSYMIDX): Removed.
17717 * elf/dl-version.c (VERSYMIDX): Likewise.
17718 * elf/do-rel.h (VERSYMIDX): Likewise.
17719 (VALIDX): Likewise.
17720 * elf/dynamic-link.h (VERSYMIDX): Likewise.
17721 * elf/rtld.c (VALIDX): Likewise.
17722 (ADDRIDX): Likewise.
17723 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
17724 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
17725 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
17726 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
17727 (VALIDX): Likewise.
17728 (ADDRIDX): Likewise.
17730 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
17732 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
17734 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
17737 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
17739 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
17740 addresses are in the same scope as 192.0.2/24.
17741 * posix/gai.conf: Document new scope table defaults.
17743 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17746 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
17747 for ftell. Compute offsets from write pointers instead.
17748 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17750 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17753 * libio/Makefile (tests): New test case tst-fseek.
17754 * libio/tst-fseek.c: New test case to verify that fseek/ftell
17755 combination works in wide mode.
17756 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
17757 state when the external buffer state changes.
17759 2012-09-27 David S. Miller <davem@davemloft.net>
17762 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
17763 pass reloc->r_addend in as the 'high' argument to
17764 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
17766 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17768 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
17770 * rt/tst-aio2.c: Include <pthread.h>.
17771 * rt/tst-aio3.c: Likewise.
17773 2012-09-27 Steve Ellcey <sellcey@mips.com>
17775 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
17777 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
17779 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
17780 contents on [SHARED].
17782 2012-09-26 Marek Polacek <polacek@redhat.com>
17786 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
17787 for C++ and GCC <4.3 as well as for non GCC compilers.
17789 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
17791 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17793 2012-09-25 Roland McGrath <roland@hack.frob.com>
17795 * Makefile.in (all, install): Declare with .PHONY.
17796 Reported by Michael Hope <michael.hope@linaro.org>.
17798 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17800 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
17801 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
17803 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
17805 (sydep_routines): Add the new and the internal functions.
17806 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
17807 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
17808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
17809 (GLIBC_2.17): Add the new function.
17810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17811 (GLIBC_2.17): Likewise.
17812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
17813 (GLIBC_2.17): Likewise.
17814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
17815 (GLIBC_2.17): Likewise.
17816 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
17818 2012-09-25 Alan Modra <amodra@gmail.com>
17820 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
17821 Add release barrier before setting once_control to say
17822 initialisation is done. Add hints on lwarx. Use macro in
17824 (clear_once_control): Add release barrier.
17826 2012-09-25 Joseph Myers <joseph@codesourcery.com>
17829 * math/s_clog.c (__clog): Handle more values close to |z| = 1
17831 * math/s_clog10.c (__clog10): Likewise.
17832 * math/s_clog10f.c (__clog10f): Likewise.
17833 * math/s_clog10l.c (__clog10l): Likewise.
17834 * math/s_clogf.c (__clogf): Likewise.
17835 * math/s_clogl.c (__clogl): Likewise.
17836 * math/Makefile (libm-calls): Add x2y2m1.
17837 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
17838 (__x2y2m1): Likewise.
17839 (__x2y2m1l): Likewise.
17840 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
17841 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
17842 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17843 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
17844 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
17845 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
17846 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
17847 * sysdeps/i386/fpu/libm-test-ulps: Update.
17848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17851 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
17852 int as type of variable DEPTH.
17853 (glob): Use size_t instead of int as type of variables NEWCOUNT
17856 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17858 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
17859 Add s_sincosf-sse2.
17860 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
17861 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
17862 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
17863 macros for using routine as __sincosf_ia32.
17864 Use macro for function declaration and weak_alias.
17865 * sysdeps/i386/fpu/libm-test-ulps: Update.
17867 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
17868 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17870 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
17871 subnormal argument.
17872 * math/s_cexpf.c (__cexpf): Likewise.
17873 * math/s_csinf.c (__csinf): Likewise.
17874 * math/s_csinhf.c (__csinhf): Likewise.
17875 * math/s_ctanf.c (__ctanf): Likewise.
17876 * math/s_ctanhf.c (__ctanhf): Likewise.
17877 * math/s_ccosh.c (__ccoshf): Likewise.
17878 * math/s_cexp.c (__cexpl): Likewise.
17879 * math/s_csin.c (__csin): Likewise.
17880 * math/s_csinh.c (__csinh): Likewise.
17881 * math/s_ctan.c (__ctan): Likewise.
17882 * math/s_ctanh.c (ctanh): Likewise.
17883 * math/s_ccoshl.c (__ccoshl): Likewise.
17884 * math/s_cexpl.c (__cexpl): Likewise.
17885 * math/s_csinl.c (__csinl): Likewise.
17886 * math/s_csinhl.c (__csinhl): Likewise.
17887 * math/s_ctanl.c (__ctanl): Likewise.
17888 * math/s_ctanhl.c (__ctanhl): Likewise.
17890 2012-09-25 Joseph Myers <joseph@codesourcery.com>
17892 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
17893 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
17894 (_IO_off_t): Define to __off_t, not _G_off_t.
17895 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
17896 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
17897 (_IO_wint_t): Define to wint_t, not _G_wint_t.
17898 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
17899 type of __dummy and __dummy2 fields.
17900 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
17901 (_G_ssize_t): Likewise.
17902 (_G_off_t): Likewise.
17903 (_G_pid_t): Likewise.
17904 (_G_uid_t): Likewise.
17905 (_G_wchar_t): Likewise.
17906 (_G_wint_t): Likewise.
17907 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
17908 (_G_ssize_t): Likewise.
17909 (_G_off_t): Likewise.
17910 (_G_pid_t): Likewise.
17911 (_G_uid_t): Likewise.
17912 (_G_wchar_t): Likewise.
17913 (_G_wint_t): Likewise.
17914 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
17915 (_G_ssize_t): Likewise.
17916 (_G_off_t): Likewise.
17917 (_G_pid_t): Likewise.
17918 (_G_uid_t): Likewise.
17919 (_G_wchar_t): Likewise.
17920 (_G_wint_t): Likewise.
17922 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17924 * malloc/arena.c: Include malloc-sysdep.h.
17925 (shrink_heap): Use check_may_shrink_heap to decide if madvise
17926 is sufficient to shrink the heap or an unmap is needed.
17927 * sysdeps/generic/malloc-sysdep.h: New file. Define
17928 new function check_may_shrink_heap.
17929 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
17930 new function check_may_shrink_heap.
17932 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17934 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
17937 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
17939 * catgets/test-gencat.sh: Add "set -e".
17940 * elf/tst-pathopt.sh: Likewise.
17941 * grp/tst_fgetgrent.sh: Likewise.
17942 * iconvdata/run-iconv-test.sh: Likewise.
17943 * intl/tst-gettext.sh: Likewise.
17944 * intl/tst-gettext2.sh: Likewise.
17945 * intl/tst-gettext4.sh: Likewise.
17946 * intl/tst-gettext6.sh: Likewise.
17947 * intl/tst-translit.sh: Likewise.
17948 * io/ftwtest-sh: Likewise.
17949 * libio/test-freopen.sh: Likewise.
17950 * malloc/tst-mtrace.sh: Likewise.
17951 * posix/globtest.sh: Likewise.
17952 * posix/tst-getconf.sh: Likewise.
17953 * posix/wordexp-tst.sh: Likewise.
17954 * stdio-common/tst-printf.sh: Likewise.
17955 * stdio-common/tst-unbputc.sh: Likewise.
17956 * stdlib/tst-fmtmsg.sh: Likewise.
17957 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
17958 * catgets/Makefile: Do not specify -e option when running
17959 testsuite shell scripts.
17960 * elf/Makefile: Likewise.
17961 * grp/Makefile: Likewise.
17962 * iconvdata/Makefile: Likewise.
17963 * intl/Makefile: Likewise.
17964 * io/Makefile: Likewise.
17965 * libio/Makefile: Likewise.
17966 * malloc/Makefile: Likewise.
17967 * posix/Makefile: Likewise.
17968 * stdio-common/Makefile: Likewise.
17969 * stdlib/Makefile: Likewise.
17970 * sysdeps/x86_64/Makefile: Likewise.
17972 * io/ftwtest-sh: Add copyright header.
17973 * posix/globtest.sh: Likewise.
17974 * posix/tst-getconf.sh: Likewise.
17975 * posix/wordexp-tst.sh: Likewise.
17976 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
17978 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
17981 * Makeconfig (+link): Defined as $(+link-static) if
17982 $(build-shared) isn't yes.
17983 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
17985 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
17987 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
17990 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
17991 new chunk size with MALLOC_ALIGN_MASK.
17993 2012-09-24 Joseph Myers <joseph@codesourcery.com>
17996 * stdio-common/printf_fphex.c: Include <stdbool.h> and
17998 (__printf_fphex): Determine rounding using get_rounding_mode and
18000 * stdio-common/tst-printf-round.c (struct hex_test): New
18002 (hex_tests): New variable.
18003 (test_hex_in_one_mode): New function.
18004 (do_test): Also run tests for hex float output.
18006 2012-09-21 Joseph Myers <joseph@codesourcery.com>
18008 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18009 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18010 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
18011 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18012 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18013 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
18014 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18015 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18017 2012-09-20 Joseph Myers <joseph@codesourcery.com>
18019 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
18020 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
18021 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
18022 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
18024 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
18027 * elf/rtld.c (dl_main): Limit the check for self loading to normal
18029 * elf/tst-rtld-load-self.sh: New test.
18030 * elf/Makefile: Run it.
18032 2012-09-18 Joseph Myers <joseph@codesourcery.com>
18034 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
18035 (tst-writev-ENV): Remove.
18036 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
18038 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
18040 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
18042 2012-09-17 Joseph Myers <joseph@codesourcery.com>
18044 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
18046 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
18048 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
18049 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
18050 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
18053 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
18056 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
18057 * config.make.in (have-cpp-asm-debuginfo): Removed.
18058 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
18059 * configure: Regenerated.
18061 2012-09-14 Joseph Myers <joseph@codesourcery.com>
18064 * stdio-common/printf_fp.c: Include <stdbool.h> and
18066 (___printf_fp): Determine rounding using get_rounding_mode and
18068 * stdio-common/tst-printf-round.c: New file.
18069 * stdio-common/Makefile (tests): Add tst-printf-round.
18070 (link-libm): New variable.
18071 ($(objpfx)tst-printf-round): Depend in $(link-libm).
18073 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
18076 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
18077 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
18079 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
18082 2012-09-13 Joseph Myers <joseph@codesourcery.com>
18084 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
18085 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18086 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18087 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18089 2012-09-12 Joseph Myers <joseph@codesourcery.com>
18092 * include/rounding-mode.h: New file.
18093 * sysdeps/generic/get-rounding-mode.h: Likewise.
18094 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
18095 * stdlib/strtod_l.c: Include <rounding-mode.h>.
18096 (MAX_VALUE): New macro.
18097 (MIN_VALUE): Likewise.
18098 (overflow_value): New function.
18099 (underflow_value): Likewise.
18100 (round_and_return): Use overflow_value and underflow_value to
18101 determine return values in overflow and underflow cases. Use
18102 round_away to determine rounding depending on rounding mode.
18103 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
18104 determine return values in overflow and underflow cases.
18105 * stdlib/tst-strtod-round.c: Include <fenv.h>.
18106 (struct test_results): New structure.
18107 (struct test): Use struct test_results to store expected results
18108 for all rounding modes.
18109 (TEST): Include expected results for all rounding modes.
18110 (test_in_one_mode): New function.
18111 (do_test): Use test_in_one_mode to compute and check results.
18112 Check results for all rounding modes.
18113 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
18116 2012-12-09 Allan McRae <allan@archlinux.org>
18118 * sysdeps/i386/fpu/libm-test-ulps: Update
18120 2012-09-11 Joseph Myers <joseph@codesourcery.com>
18122 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
18123 (_G_int32_t): Likewise.
18124 (_G_uint16_t): Likewise.
18125 (_G_uint32_t): Likewise.
18126 (_G_HAVE_BOOL): Likewise.
18127 (_G_HAVE_ATEXIT): Likewise.
18128 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18129 (_G_HAVE_IO_FILE_OPEN): Likewise.
18130 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
18131 (_G_int32_t): Likewise.
18132 (_G_uint16_t): Likewise.
18133 (_G_uint32_t): Likewise.
18134 (_G_HAVE_BOOL): Likewise.
18135 (_G_HAVE_ATEXIT): Likewise.
18136 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18137 (_G_HAVE_IO_FILE_OPEN): Likewise.
18138 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
18139 (_G_int32_t): Likewise.
18140 (_G_uint16_t): Likewise.
18141 (_G_uint32_t): Likewise.
18142 (_G_HAVE_BOOL): Likewise.
18143 (_G_HAVE_ATEXIT): Likewise.
18144 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18145 (_G_HAVE_IO_FILE_OPEN): Likewise.
18147 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
18149 * csu/libc-tls.c: Update copyright years.
18151 2012-09-10 Joseph Myers <joseph@codesourcery.com>
18153 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
18154 [!_G_USING_THUNKS]: Remove conditional code.
18155 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
18156 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
18158 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
18159 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
18160 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18161 (_G_VTABLE_LABEL_PREFIX): Likewise.
18162 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18163 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18164 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18165 (_G_VTABLE_LABEL_PREFIX): Likewise.
18166 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18167 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18168 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18169 (_G_VTABLE_LABEL_PREFIX): Likewise.
18170 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18172 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
18174 * libio/Makefile: Include ../Makeconfig before tests.
18175 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
18176 only if $(build-shared) is yes.
18178 * iconv/gconv_db.c: Update copyright years.
18180 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18182 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
18183 unwind info if defined PIC. Fix special cases description.
18184 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
18186 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
18188 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
18190 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
18192 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
18194 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
18197 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
18198 (LDLIBS-tst-chk4): This.
18199 (LDFLAGS-tst-chk5): Renamed to ...
18200 (LDLIBS-tst-chk5): This.
18201 (LDFLAGS-tst-chk6): Renamed to ...
18202 (LDLIBS-tst-chk6): This.
18203 (LDFLAGS-tst-lfschk4): Renamed to ...
18204 (LDLIBS-tst-lfschk4): This.
18205 (LDFLAGS-tst-lfschk5): Renamed to ...
18206 (LDLIBS-tst-lfschk5): This.
18207 (LDFLAGS-tst-lfschk6): Renamed to ...
18208 (LDLIBS-tst-lfschk6): This.
18210 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
18211 on $(common-objpfx)soversions.mk.
18213 2012-09-07 Joseph Myers <joseph@codesourcery.com>
18216 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
18219 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18221 * malloc/arena.c (arena_get_retry): New function that gets
18222 another arena for the caller to try its request on.
18223 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
18224 current arena cannot fulfill the request.
18225 (__libc_memalign): Likewise.
18226 (__libc_memalign): Likewise.
18227 (__libc_pvalloc): Likewise.
18228 (__libc_calloc): Likewise.
18230 2012-09-05 John Tobey <john.tobey@gmail.com>
18233 * manual/arith.texi (Operations on Complex): Fix description
18234 of carg branch cut.
18236 2012-09-06 Joseph Myers <joseph@codesourcery.com>
18239 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
18243 * manual/memory.texi (Memory): Make order of menu items match
18246 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18248 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
18249 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
18250 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
18252 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18254 * csu/libc-tls.c (static_dtv): Renamed to ...
18255 (_dl_static_dtv): This. Make it global.
18256 (_dl_initial_dtv): Removed.
18257 (__libc_setup_tls): Updated.
18258 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
18259 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
18262 2012-09-06 Petr Machata <pmachata@redhat.com>
18264 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
18265 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
18266 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
18267 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
18269 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18272 * csu/libc-tls.c (_dl_initial_dtv): New variable.
18273 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
18276 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18279 * Makeconfig (link-static-before-libc): Replace $(+prector)
18281 (link-static-after-libc): Replace $(+postctor) with
18283 (link-bounded): Replace $(+prector)/$(+postctor) with
18284 $(+prectorT)/$(+postctorT).
18285 (+prectorT): New macro.
18286 (+postctorT): Likewise.
18288 2012-09-06 Joseph Myers <joseph@codesourcery.com>
18290 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
18291 (round_str): Handle values above the maximum for IBM long double
18293 * stdlib/tst-strtod-round.c (tests): Regenerated.
18295 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18297 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
18299 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
18300 zarch_nohighgprs around the zarch optimized routines.
18301 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
18302 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
18303 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
18306 2012-09-05 David S. Miller <davem@davemloft.net>
18308 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18310 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
18311 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
18312 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
18313 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
18316 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
18318 * malloc/arena.c: Fold copyright years.
18319 * malloc/mcheck.c, malloc/memusage.c: Likewise.
18321 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
18323 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
18325 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
18327 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
18329 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
18331 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
18332 change internal state upon failure.
18334 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
18336 * malloc/mcheck.c (mcheck_check_all): Fix typo.
18337 * malloc/memusage.c (mmap): Likewise.
18338 (mmap64, mremap): Likewise. Adjust name in comment.
18340 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18342 * libio/fileops.c: Fix typos in comments.
18343 * libio/oldfileops.c: Likewise.
18344 * libio/wfileops.c: Likewise.
18346 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18349 * malloc/Makefile (tests): Add tst-malloc-usable test case.
18350 (tst-malloc-usable-ENV): Set environment for test case.
18351 * malloc/hooks.c (malloc_check_get_size): New function to get
18353 * malloc/malloc.c (musable): Use malloc_check_get_size.
18354 * malloc/tst-malloc-usable.c: New test case.
18356 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
18358 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
18360 2012-09-05 Allan McRae <allan@archlinux.org>
18363 * configure.in (CXX_SYSINCLUDES): Use compiler output to
18364 determine header location.
18365 * configure: Regenerated.
18367 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
18369 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
18371 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
18372 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
18374 (test): Regenerate.
18376 2012-09-04 David S. Miller <davem@davemloft.net>
18378 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
18379 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
18380 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
18382 2012-09-04 Florian Weimer <fweimer@redhat.com>
18384 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
18387 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
18389 2012-09-04 Joseph Myers <joseph@codesourcery.com>
18392 * libio/iogetdelim.c: Include <limits.h>.
18393 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
18394 + len + 1 would overflow.
18396 2012-09-03 Andreas Jaeger <aj@suse.de>
18398 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18399 * sysdeps/i386/fpu/libm-test-ulps: Update.
18401 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18403 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18404 Add s_sinf-sse2, s_conf-sse2.
18406 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
18407 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
18408 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
18409 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
18411 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
18412 for using routine as __sinf_ia32.
18413 Use macro for function declaration and weak_alias.
18414 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
18415 for using routine as __cosf_ia32.
18416 Use macro for function declaration and weak_alias.
18418 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
18419 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
18421 * sysdeps/x86_64/fpu/s_sinf.S: New file.
18422 * sysdeps/x86_64/fpu/s_cosf.S: New file.
18423 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18425 * math/libm-test.inc (cos_test): Add more test cases.
18426 (sin_test): Likewise.
18427 (sincos_test): Likewise.
18429 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18431 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
18432 (IFUNC_RESOLVE): Make pointers to the specialized implementations
18434 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18436 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
18439 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
18440 first element of the GOT.
18441 (elf_machine_load_address): Return the difference between
18442 the runtime address of _DYNAMIC and elf_machine_dynamic ().
18444 2012-09-01 Allan McRae <allan@archlinux.org>
18447 * configure.in (AWK): Require gawk version 3.0 or later.
18448 * configure: Regenerated.
18450 2012-09-01 Joseph Myers <joseph@codesourcery.com>
18452 * sysdeps/unix/sysv/linux/kernel-features.h
18453 (__ASSUME_POSIX_CPU_TIMERS): Remove.
18454 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18455 [__NR_clock_getres]: Make code unconditional.
18456 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
18457 (clock_getcpuclockid): Remove code left unreachable by removal of
18459 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
18460 code unconditional.
18461 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
18462 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18463 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
18464 Make code unconditional.
18465 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
18466 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18467 * sysdeps/unix/sysv/linux/clock_settime.c
18468 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
18470 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
18471 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18473 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
18476 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
18477 scripts/test-installation.pl.
18479 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
18480 and $ld_so_version if it is set.
18482 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18485 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
18486 failure if reading from procfs failed.
18487 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
18489 2012-08-27 Joseph Myers <joseph@codesourcery.com>
18491 * sysdeps/unix/sysv/linux/kernel-features.h
18492 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
18493 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
18494 Remove conditional code.
18495 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18496 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
18497 Remove conditional code.
18498 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18499 * sysdeps/unix/sysv/linux/i386/fxstat.c
18500 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18501 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18502 * sysdeps/unix/sysv/linux/i386/fxstatat.c
18503 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18504 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18505 * sysdeps/unix/sysv/linux/i386/lxstat.c
18506 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18507 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18508 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
18509 Remove conditional code.
18510 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18511 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
18512 Remove conditional code.
18513 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18514 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
18515 <kernel-features.h>.
18516 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
18518 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
18519 Remove conditional code.
18520 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18521 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
18522 Remove conditional.
18524 2012-08-27 Mike Frysinger <vapier@gentoo.org>
18527 * NEWS: Add fixed bug number.
18529 2012-08-27 Joseph Myers <joseph@codesourcery.com>
18532 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
18533 underflowing exponent in case of negative sign.
18534 * stdlib/tst-strtod-round-data: Add more tests.
18535 * stdlib/tst-strtod-round.c (tests): Regenerated.
18538 * stdlib/strtod_l.c (NDIG): Remove.
18539 (HEXNDIG): Likewise.
18540 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
18541 smallest representable value.
18542 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
18543 lie within an exact representation of 1/2 ulp of the result.
18544 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
18546 (TENS_P9_IDX): Define unconditionally.
18547 (TENS_P9_SIZE): Likewise.
18548 (TENS_P10_IDX): Likewise.
18549 (TENS_P10_SIZE): Likewise.
18550 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
18551 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
18552 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
18553 entries for 10^2^13 and 10^2^14.
18554 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
18555 (TENS_P13_IDX): Define.
18556 (TENS_P13_SIZE): Likewise.
18557 (TENS_P14_IDX): Likewise.
18558 (TENS_P14_SIZE): Likewise.
18559 (_fpioconst_pow10): Change array size to
18560 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
18562 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
18563 1024]: Add entries for 10^2^13 and 10^2^14.
18564 [LAST_POW10 > _LAST_POW10]: Remove #error.
18565 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
18566 (_fpioconst_pow10): Change array size to
18567 FPIOCONST_POW10_ARRAY_SIZE.
18568 * stdlib/gen-fpioconst.c: New file.
18569 * stdlib/gen-tst-strtod-round.c: Likewise.
18570 * stdlib/tst-strtod-round-data: Likewise.
18571 * stdlib/tst-strtod-round.c: Likewise.
18572 * stdlib/Makefile (tests): Add tst-strtod-round.
18575 * stdlib/strtod_l.c: Include <stdint.h>.
18576 (NDEBUG): Do not define.
18577 (round_and_return): Change EXPONENT parameter to type intmax_t.
18578 Rearrange calculations to avoid internal overflow possibilities.
18579 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
18580 Rearrange calculations to avoid internal overflow possibilities.
18581 Assert that number fits inside MPNSIZE limbs.
18582 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
18583 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
18584 calculations and add assertions to avoid internal overflow
18585 possibilities. Add casts to avoid signed/unsigned operations.
18586 * stdlib/tst-strtod-overflow.c: New file.
18587 * stdlib/Makefile (tests): Add tst-strtod-overflow.
18589 2012-08-25 Marek Polacek <polacek@redhat.com>
18591 * time/time.h: Fix some typos in comments.
18593 2012-08-23 Roland McGrath <roland@hack.frob.com>
18595 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
18596 * posix/tst-rfc3484-2.c: Likewise.
18597 * posix/tst-rfc3484-3.c: Likewise.
18599 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
18601 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
18602 (EF_ARM_ABI_FLOAT_HARD): Likewise.
18604 2012-08-23 Joseph Myers <joseph@codesourcery.com>
18606 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
18607 #include of fxstatat64.c.
18609 2012-08-22 Roland McGrath <roland@hack.frob.com>
18611 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
18612 * shadow/getspent_r.c: Likewise.
18613 * shadow/getspnam.c: Likewise.
18614 * shadow/getspnam_r.c: Likewise.
18615 * gshadow/getsgent.c: Likewise.
18616 * gshadow/getsgent_r.c: Likewise.
18617 * gshadow/getsgnam.c: Likewise.
18618 * gshadow/getsgnam_r.c: Likewise.
18619 * inet/getnetbyad.c: Likewise.
18620 * inet/getnetbyad_r.c: Likewise.
18621 * inet/getnetbynm.c: Likewise.
18622 * inet/getnetbynm_r.c: Likewise.
18623 * inet/getnetent.c: Likewise.
18624 * inet/getnetent_r.c: Likewise.
18625 * inet/getproto.c: Likewise.
18626 * inet/getproto_r.c: Likewise.
18627 * inet/getprtent.c: Likewise.
18628 * inet/getprtent_r.c: Likewise.
18629 * inet/getprtname.c: Likewise.
18630 * inet/getprtname_r.c: Likewise.
18631 * inet/getrpcbyname.c: Likewise.
18632 * inet/getrpcbyname_r.c: Likewise.
18633 * inet/getrpcbynumber.c: Likewise.
18634 * inet/getrpcbynumber_r.c: Likewise.
18635 * inet/getrpcent.c: Likewise.
18636 * inet/getrpcent_r.c: Likewise.
18637 * inet/getaliasent.c: Likewise.
18638 * inet/getaliasent_r.c: Likewise.
18639 * inet/getaliasname.c: Likewise.
18640 * inet/getaliasname_r.c: Likewise.
18641 * nscd/getgrgid_r.c: Likewise.
18642 * nscd/getgrnam_r.c: Likewise.
18643 * nscd/gethstbyad_r.c: Likewise.
18644 * nscd/gethstbynm3_r.c: Likewise.
18645 * nscd/getpwnam_r.c: Likewise.
18646 * nscd/getpwuid_r.c: Likewise.
18647 * nscd/getsrvbynm_r.c: Likewise.
18648 * nscd/getsrvbypt_r.c: Likewise.
18649 * nscd/gai.c: Likewise.
18651 * configure.in (build_nscd): New substituted variable, set
18652 by --disable-build-nscd and defaults to $use_nscd.
18653 * configure: Regenerated.
18654 * config.make.in (build-nscd): New substituted variable.
18655 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
18656 Change conditional to require [$(build-nscd) = yes] as well.
18657 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
18660 * configure.in (use_nscd): New substituted variable, set by
18661 --disable-nscd. If enabled, define USE_NSCD.
18662 * configure: Regenerated.
18663 * config.h.in: Add USE_NSCD.
18664 * config.make.in (use-nscd): New substituted variable.
18665 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
18666 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
18667 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
18668 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
18669 (CFLAGS-getgrnam_r.c): Likewise.
18670 (CFLAGS-initgroups.c): Likewise.
18671 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
18672 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
18674 * inet/getnetgrent_r.c
18675 (nscd_setnetgrent): New function, broken out of ...
18676 (setnetgrent): ... here. Call it.
18677 (innetgr): Conditionalize nscd bits on [USE_NSCD].
18678 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
18679 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
18680 * nscd/Makefile (routines, aux): Move definitions after include of
18681 Makeconfig. Conditionalize on [$(use-nscd) != no].
18682 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
18683 Conditionalize on [USE_NSCD].
18684 (is_nscd, nscd_init_cb): Likewise.
18685 (nss_load_library): Conditionalize init callback on [USE_NSCD].
18686 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
18687 * nss/nss_db/db-init.c: Likewise.
18688 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
18690 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
18691 (make_request): Use it.
18692 (cache_valid_p): New function.
18693 (__check_pf): Use it.
18694 * NEWS: Add item for --disable-nscd.
18696 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
18698 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
18699 to support sed >= 4.2.1-20-ga9bf076.
18700 * configure: Regenerated.
18702 2012-08-22 Roland McGrath <roland@hack.frob.com>
18704 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
18705 Conditionalize whole body on [IREL].
18707 2012-08-22 Jeff Law <law@redhat.com>
18710 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
18711 if the family is PF_UNSPEC.
18713 2012-08-22 Mike Frysinger <vapier@gentoo.org>
18715 * Makerules (lib-version): Rename from V.
18716 (install-lib-nosubdir): Change V to lib-version.
18718 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
18721 * powerpc32/power6/wcschr.c: New file.
18722 * powerpc32/power6/wcscpy.c: New file.
18723 * powerpc32/power6/wcsrchr.c: New file.
18724 * powerpc64/power6/wcschr.c: New file.
18725 * powerpc64/power6/wcscpy.c: New file.
18726 * powerpc64/power6/wcsrchr.c: New file.
18728 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
18730 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
18731 (two_way_short_needle): Use it.
18732 * string/strstr.c (AVAILABLE1_USES_J): Define.
18733 * string/strcasestr.c: Likewise.
18735 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
18737 * string/strcasestr.c (TOLOWER): Make side-effect safe.
18740 * NEWS: Add an entry.
18741 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
18742 define their defaults.
18743 (two_way_short_needle): Detect end-of-string on-the-fly.
18744 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
18745 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
18746 * string/bug-strcasestr1.c: New test.
18747 * string/Makefile: Run it.
18749 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
18752 * string/str-two-way.h (two_way_short_needle): Optimize matching of
18753 the first character.
18755 2012-08-21 Roland McGrath <roland@hack.frob.com>
18757 * csu/elf-init.c (__libc_csu_irel): Function removed.
18758 * csu/libc-start.c (apply_irel): New function.
18759 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
18761 2012-08-21 Joseph Myers <joseph@codesourcery.com>
18763 * sysdeps/unix/sysv/linux/kernel-features.h
18764 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
18765 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
18766 <kernel-features.h>.
18767 [__NR_fadvise64_64]: Make code unconditional.
18768 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
18769 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
18770 !__NR_fadvise64_64)]: Likewise.
18771 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
18772 !__NR_fadvise64_64))]: Likewise.
18773 [__NR_fadvise64]: Make code unconditional.
18774 [!__NR_fadvise64]: Remove conditional code.
18775 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
18776 <kernel-features.h>.
18777 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18779 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
18782 not include <kernel-features.h>.
18783 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18785 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18787 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
18788 include <kernel-features.h>.
18789 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18791 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18794 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
18796 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
18797 slight instruction rearrangements per scrollpipe analysis.
18798 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
18800 2012-08-20 Roland McGrath <roland@hack.frob.com>
18802 * manual/syslog.texi (syslog; vsyslog, closelog):
18803 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
18804 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
18806 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
18807 DSOCAPS to match condition on defining it.
18809 2012-08-20 Joseph Myers <joseph@codesourcery.com>
18811 * sysdeps/unix/sysv/linux/kernel-features.h
18812 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
18813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
18814 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18815 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
18817 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18818 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
18820 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18821 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18823 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
18824 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
18826 * sysdeps/unix/sysv/linux/kernel-features.h
18827 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
18828 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
18830 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18831 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
18832 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
18833 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18834 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
18835 Make code unconditional.
18836 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18837 (__mmap64) [!__NR_mmap2]: Likewise.
18838 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
18839 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
18840 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18841 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
18842 [__NR_mmap2]: Make code unconditional.
18843 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18844 (__mmap64) [!__NR_mmap2]: Likewise.
18846 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18848 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
18850 2012-08-18 Andreas Jaeger <aj@suse.de>
18852 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
18854 2012-08-18 Mike Frysinger <vapier@gentoo.org>
18856 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
18857 * include/unistd.h (__have_sock_cloexec): Likewise.
18858 (__have_pipe2): Likewise.
18859 (__have_dup3): Likewise.
18861 2012-08-18 Mike Frysinger <vapier@gentoo.org>
18864 * include/unistd.h (__have_pipe2): Change define into an extern int.
18865 (__have_dup3): Likewise.
18866 * socket/have_sock_cloexec.c: Include fcntl.h.
18867 (__have_pipe2): New variable.
18868 (__have_dup3): Likewise.
18870 2012-08-17 Mike Frysinger <vapier@gentoo.org>
18872 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
18874 2012-08-17 Marek Polacek <polacek@redhat.com>
18876 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
18877 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
18879 2012-08-17 Roland McGrath <roland@hack.frob.com>
18881 * configure.in: Add AC_SUBST for sysheaders.
18882 * configure: Regenerated.
18883 * config.make.in (sysheaders): New substituted variable.
18885 * sysdeps/unix/mkfifo.c: Moved ...
18886 * sysdeps/posix/mkfifo.c: ... here.
18887 * sysdeps/unix/mkfifoat.c: Moved ...
18888 * sysdeps/posix/mkfifoat.c: ... here.
18890 * sysdeps/unix/utime.c: Moved ...
18891 * sysdeps/posix/utime.c: ... here.
18893 * sysdeps/unix/time.c: Moved ...
18894 * sysdeps/posix/time.c: ... here.
18895 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
18896 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
18898 * sysdeps/unix/nice.c: Moved ...
18899 * sysdeps/posix/nice.c: ... here.
18901 * sysdeps/unix/alarm.c: Moved ...
18902 * sysdeps/posix/alarm.c: ... here.
18904 * intl/Makefile ($(codeset_mo)): Depend on the input file.
18906 2012-08-17 Jeff Law <law@redhat.com>
18908 * intl/Makefile (codeset_mo): New variable.
18909 ($(codeset_mo)): New target.
18910 (tst-codeset.out): Depend on that. Remove explicit rule.
18911 (tst-gettext3.out, tst-gettext5.out): Likewise.
18912 (LOCPATH-ENV, tst-codeset-ENV): New variables.
18913 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
18914 * intl/tst-codeset.sh: Remove.
18915 * intl/tst-gettext3.sh: Likewise.
18916 * intl/tst-gettext5.sh: Likewise.
18918 2012-08-17 Roland McGrath <roland@hack.frob.com>
18920 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
18921 * sysdeps/unix/syscalls.list: ... here.
18923 * sysdeps/posix/getaddrinfo.c
18924 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
18925 (gaiconf_init, gaiconf_reload): Use them.
18926 [!_STATBUF_ST_NSEC]
18927 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
18928 Define using time_t rather than struct timespec.
18930 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
18931 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
18933 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
18935 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
18936 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
18939 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
18940 __libc_cleanup_push argument.
18942 * bits/param.h: New file.
18943 * misc/sys/param.h: New file.
18944 * include/sys/param.h: New file.
18945 * misc/Makefile (headers): Add bits/param.h.
18946 * sysdeps/generic/sys/param.h: File removed.
18947 * sysdeps/unix/sysv/linux/bits/param.h: New file.
18948 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
18949 * sysdeps/mach/hurd/bits/param.h: New file.
18950 * sysdeps/mach/hurd/sys/param.h: File removed.
18952 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
18955 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
18957 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
18958 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
18961 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
18962 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
18963 rather than -D_IO_MTSAFE_IO conditionally.
18964 * stdio-common/Makefile (CPPFLAGS): Likewise.
18965 * wcsmbs/Makefile (CPPFLAGS): Likewise.
18966 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
18967 Use $(libio-mtsafe).
18968 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
18969 of -D_IO_MTSAFE_IO.
18970 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
18971 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
18972 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
18973 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
18974 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
18975 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
18976 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
18977 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
18978 (CFLAGS-fread_u_chk.c): Likewise.
18979 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
18980 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
18981 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
18982 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
18983 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
18984 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
18985 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
18986 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
18987 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
18989 * libio/Makefile: Test [$(libc-reentrant) = yes]
18990 instead of [$(filter %REENTRANT, $(defines)) nonempty].
18993 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
18994 * sysdeps/pthread/configure: File removed.
18995 * sysdeps/pthread/Makeconfig: New file.
18996 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
18997 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
18999 2012-08-16 Gary Benson <gbenson@redhat.com>
19001 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
19002 unmapping the first object in a namespace.
19004 2012-08-16 Roland McGrath <roland@hack.frob.com>
19006 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
19007 (__internal_setnetgrent): ... this. Add internal_function to
19008 definition. Add libc_hidden_def.
19009 (setnetgrent): Update caller.
19010 (internal_endnetgrent): Renamed to ...
19011 (__internal_endnetgrent): ... this. Add internal_function to
19012 definition. Add libc_hidden_def.
19013 (endnetgrent): Update caller.
19014 (internal_getnetgrent_r): Renamed to ...
19015 (__internal_getnetgrent_r): ... this. Add internal_function to
19016 definition. Add libc_hidden_def.
19017 (__getnetgrent_r): Update caller.
19018 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
19020 2012-08-16 Joseph Myers <joseph@codesourcery.com>
19022 * stdlib/longlong.h: Update from GCC.
19024 2012-08-16 Roland McGrath <roland@hack.frob.com>
19026 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
19027 on _QL, which is set by umul_ppmm but never used.
19028 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
19029 variables, which are set by GMP macros but never used.
19030 * stdio-common/_itowa.c (_itowa): Likewise.
19031 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
19032 * stdlib/mod_1.c (mpn_mod_1): Likewise.
19034 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
19036 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
19037 struct La_sh_regs is not constant.
19038 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
19039 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
19040 and struct La_sparc64_regs are not constant.
19042 2012-08-16 Joseph Myers <joseph@codesourcery.com>
19044 * sysdeps/unix/sysv/linux/kernel-features.h
19045 (__ASSUME_POSIX_TIMERS): Remove.
19046 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19047 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19048 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
19049 Make code unconditional.
19050 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19051 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
19052 Make code unconditional.
19053 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19054 * sysdeps/unix/sysv/linux/clock_nanosleep.c
19055 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
19056 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19057 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
19058 Make code unconditional.
19059 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19060 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
19061 (__libc_missing_posix_timers): Remove.
19063 2012-08-15 Roland McGrath <roland@hack.frob.com>
19065 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
19066 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
19068 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
19070 * elf/dl-sym.c: Include <stdlib.h>.
19072 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
19073 constants, which avoids warnings in 32-bit builds.
19075 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
19076 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
19078 * misc/lseek.c: File moved to ...
19079 * io/lseek.c: ... here.
19081 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
19083 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
19084 shifting LEN more than 31 bits at once.
19086 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19089 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
19090 segmentation fault for a case of two empty input strings.
19091 * string/test-strncasecmp.c (check1): Renamed to...
19092 (bz12205): ...this.
19093 (bz14195): Add new testcase for two empty input strings and N > 0.
19094 (test_main): Call new testcase, adapt for renamed function.
19096 2012-08-15 Andreas Jaeger <aj@suse.de>
19099 * crypt/md5test2.c: New test, based on test supplied by Serge
19100 Belyshev <belyshev@depni.sinp.msu.ru>.
19101 * crypt/Makefile (xtests): Add md5test-giant..
19102 * crypt/Makefile ($(objpfx)md5test-giant): Add.
19104 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
19107 * crypt/md5.c (md5_process_block): Don't assume the buffer
19108 length is less than 2**32.
19109 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
19110 length is less than 2**64.
19112 2012-08-15 Roland McGrath <roland@hack.frob.com>
19114 * string/str-two-way.h: Include <sys/param.h>.
19115 (MAX): Macro removed.
19117 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
19118 Move #define and #undef of memmove to just before and after
19119 including <string.h>.
19121 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
19122 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
19123 and after including <string.h>. Move declarations of
19124 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
19125 to before #include "string/memmove.c".
19127 * include/dirent.h: Declare __getdirentries.
19129 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
19130 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
19132 2012-08-14 Mike Frysinger <vapier@gentoo.org>
19134 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
19135 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
19136 * sysdeps/i386/configure: Regenerated.
19137 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
19138 STABS_CURRENT_FILE, and STABS_FUN.
19139 (END): Remove call to STABS_FUN_END.
19140 (STABS_CURRENT_FILE1): Delete.
19141 (STABS_CURRENT_FILE): Likewise.
19142 (STABS_FUN): Likewise.
19143 (STABS_FUN_END): Likewise.
19144 (STABS_FUN2): Likewise.
19145 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
19146 * sysdeps/x86_64/configure: Regenerated.
19148 2012-08-14 Roland McGrath <roland@hack.frob.com>
19150 * elf/dl-open.c: Include <atomic.h>.
19151 * elf/dl-lookup.c: Likewise.
19153 2012-08-14 Joseph Myers <joseph@codesourcery.com>
19155 * sysdeps/unix/sysv/linux/kernel-features.h
19156 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
19157 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
19159 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
19161 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
19162 condition on __ASSUME_CLONE_THREAD_FLAGS.
19164 2012-08-14 Andreas Jaeger <aj@suse.de>
19166 * sysdeps/i386/fpu/libm-test-ulps: Update.
19168 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
19170 * include/atomic.h (atomic_exchange_and_add): Split into ...
19171 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
19174 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
19176 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19178 2012-08-13 Jeff Law <law@redhat.com>
19180 * manual/stdio.texi (snprintf): Clarify handling of the trailing
19181 null byte in the output string.
19183 2012-08-10 Joseph Myers <joseph@codesourcery.com>
19185 * sysdeps/unix/sysv/linux/kernel-features.h
19186 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
19187 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
19188 (__ASSUME_ARG_MAX_STACK_BASED): Define.
19189 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
19190 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
19191 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
19192 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
19194 2012-08-09 Jeff Law <law@redhat.com>
19197 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
19198 When avoid_arena is set, don't retry in the that arena. Pick the
19199 next one, whatever it might be.
19200 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
19201 (arena_lock): Pass in new parameter to arena_get2.
19202 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
19204 (__libc_malloc): Unify retrying after main arena failure with
19205 __libc_memalign version.
19206 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
19208 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
19211 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
19212 to __redirect_strstr.
19213 (__strstr_sse42): Use typeof __redirect_strstr.
19214 (__strstr_ia32): Likewise.
19215 (__libc_strstr): New prototype.
19216 (strstr): Renamed to ...
19217 (__libc_strstr): This.
19218 (strstr): New strong alias of __libc_strstr.
19219 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
19220 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
19223 (__libc_time): New prototype.
19224 (time_ifunc): Replace time with __libc_time.
19225 (time): New strong alias and hidden definition of __libc_time.
19226 (__GI_time): Remove strong alias.
19227 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
19228 Include <stddef.h>.
19229 (memmove): Redefined to __redirect_memmove.
19230 (__memmove_sse2): Use typeof __redirect_memmove.
19231 (__memmove_ssse3): Likewise.
19232 (__memmove_ssse3_back): Likewise.
19233 (__libc_memmove): New prototype.
19234 (memmove): Renamed to ...
19235 (__libc_memmove): This.
19236 (memmove): New strong alias of __libc_memmove.
19238 2012-08-08 Mark Salter <msalter@redhat.com>
19241 (R_MN10300_TLS_GD): Define.
19242 (R_MN10300_TLS_LD): Likewise.
19243 (R_MN10300_TLS_LDO): Likewise.
19244 (R_MN10300_TLS_GOTIE): Likewise.
19245 (R_MN10300_TLS_IE): Likewise.
19246 (R_MN10300_TLS_LE): Likewise.
19247 (R_MN10300_TLS_DTPMOD): Likewise.
19248 (R_MN10300_TLS_DTPOFF): Likewise.
19249 (R_MN10300_TLS_TPOFF): Likewise.
19250 (R_MN10300_SYM_DIFF): Likewise.
19251 (R_MN10300_ALIGN): Likewise.
19252 (R_MN10300_NUM): Update.
19254 2012-08-08 Joseph Myers <joseph@codesourcery.com>
19256 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
19259 2012-08-08 Roland McGrath <roland@hack.frob.com>
19261 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
19263 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
19264 sysdeps/unix -> sysdeps/posix move.
19265 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19267 2012-08-07 Allan McRae <allan@archlinux.org>
19270 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
19271 (SUNOS_CPP): Likewise.
19272 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
19274 (open_input): Call CPP using execvp.
19276 2012-08-07 Joseph Myers <joseph@codesourcery.com>
19278 * sysdeps/unix/sysv/linux/kernel-features.h
19279 (__ASSUME_PROT_GROWSUPDOWN): Remove.
19280 (__ASSUME_NO_CLONE_DETACHED): Likewise.
19281 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
19282 (__ASSUME_WAITID_SYSCALL): Likewise.
19283 * sysdeps/unix/sysv/linux/dl-execstack.c
19284 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
19285 code unconditional.
19286 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
19288 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
19289 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
19290 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
19292 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
19294 [__ASSUME_WAITID_SYSCALL]: Likewise.
19295 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
19297 2012-08-07 Roland McGrath <roland@hack.frob.com>
19299 * sysdeps/unix/closedir.c: Renamed to ...
19300 * sysdeps/posix/closedir.c: ... here.
19301 * sysdeps/unix/dirfd.c: Renamed to ...
19302 * sysdeps/posix/dirfd.c: ... here.
19303 * sysdeps/unix/dirstream.h: Renamed to ...
19304 * sysdeps/posix/dirstream.h: ... here.
19305 * sysdeps/unix/fdopendir.c: Renamed to ...
19306 * sysdeps/posix/fdopendir.c: ... here.
19307 * sysdeps/unix/opendir.c: Renamed to ...
19308 * sysdeps/posix/opendir.c: ... here.
19309 * sysdeps/unix/readdir.c: Renamed to ...
19310 * sysdeps/posix/readdir.c: ... here.
19311 * sysdeps/unix/readdir_r.c: Renamed to ...
19312 * sysdeps/posix/readdir_r.c: ... here.
19313 * sysdeps/unix/rewinddir.c: Renamed to ...
19314 * sysdeps/posix/rewinddir.c: ... here.
19315 * sysdeps/unix/seekdir.c: Renamed to ...
19316 * sysdeps/posix/seekdir.c: ... here.
19317 * sysdeps/unix/telldir.c: Renamed to ...
19318 * sysdeps/posix/telldir.c: ... here.
19319 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
19320 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
19321 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
19322 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
19324 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
19325 * bits/fcntl.h: ... here.
19327 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
19329 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
19330 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
19331 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
19332 (struct flock): Move l_start, l_len to the beginning.
19333 Use __pid_t for l_pid.
19334 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
19335 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
19336 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
19337 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
19338 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
19339 [__USE_LARGEFILE64] (struct flock64): New type.
19340 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
19342 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
19343 * bits/dirent.h: ... here.
19345 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
19346 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
19348 2012-08-07 Joseph Myers <joseph@codesourcery.com>
19350 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19351 Change from 2.6.0 to 2.6.16.
19352 * sysdeps/unix/sysv/linux/configure: Regenerated.
19353 * sysdeps/unix/sysv/linux/kernel-features.h
19354 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
19355 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
19357 (__ASSUME_UTIMES): Likewise.
19358 (__ASSUME_CLONE_STOPPED): Remove.
19359 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
19360 architectures, not kernel version.
19361 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
19362 (__ASSUME_NO_CLONE_DETACHED): Likewise.
19363 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
19364 (__ASSUME_WAITID_SYSCALL): Likewise.
19365 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
19366 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
19367 * README: State 2.6.16 as minimum Linux kernel version. Do not
19368 refer to older versions.
19370 2012-08-06 Roland McGrath <roland@hack.frob.com>
19372 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
19373 Define alphasort64 as an alias.
19374 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
19375 Define versionsort64 as an alias.
19376 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
19377 Define scandir64 as an alias.
19378 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
19379 Define scandirat64 as an alias.
19380 * dirent/alphasort64.c (alphasort64):
19381 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
19382 * dirent/versionsort64.c: Likewise.
19383 * dirent/scandir64.c: Likewise.
19384 * dirent/scandirat64.c: Likewise.
19385 * sysdeps/wordsize-64/alphasort.c: File removed.
19386 * sysdeps/wordsize-64/alphasort64.c: File removed.
19387 * sysdeps/wordsize-64/scandir.c: File removed.
19388 * sysdeps/wordsize-64/scandir64.c: File removed.
19389 * sysdeps/wordsize-64/scandirat.c: File removed.
19390 * sysdeps/wordsize-64/scandirat64.c: File removed.
19391 * sysdeps/wordsize-64/versionsort.c: File removed.
19392 * sysdeps/wordsize-64/versionsort64.c: File removed.
19393 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
19394 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
19395 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
19396 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
19397 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
19398 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
19399 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
19400 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
19402 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
19403 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
19404 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
19405 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19406 [defined __arch64__ || defined __sparcv9]
19407 (__INO_T_MATCHES_INO64_T): New macro.
19408 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19409 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
19410 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
19411 * sysdeps/unix/sysv/linux/bits/dirent.h
19412 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
19413 (_DIRENT_MATCHES_DIRENT64): New macro.
19415 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
19416 Define lockf64 as an alias.
19417 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
19418 Define fseeko64 as an alias.
19419 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
19420 Define ftello64 as an alias.
19421 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
19422 Define _IO_fgetpos64 and fgetpos64 as aliases.
19423 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
19424 Define _IO_fsetpos64 and fsetpos64 as aliases.
19425 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
19426 Conditionalize body on this.
19427 * libio/fseeko64.c: Likewise.
19428 * libio/ftello64.c: Likewise.
19429 * libio/iofgetpos64.c: Likewise.
19430 * libio/iofsetpos64.c: Likewise.
19431 * sysdeps/wordsize-64/lockf.c: File removed.
19432 * sysdeps/wordsize-64/lockf64.c: File removed.
19433 * sysdeps/wordsize-64/fseeko.c: File removed.
19434 * sysdeps/wordsize-64/fseeko64.c: File removed.
19435 * sysdeps/wordsize-64/ftello.c: File removed.
19436 * sysdeps/wordsize-64/ftello64.c: File removed.
19437 * sysdeps/wordsize-64/iofgetpos.c: File removed.
19438 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
19439 * sysdeps/wordsize-64/iofsetpos.c: File removed.
19440 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
19441 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
19442 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
19443 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
19444 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
19445 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
19446 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
19447 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
19448 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
19449 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
19450 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
19452 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
19453 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
19454 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
19455 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19456 [defined __arch64__ || defined __sparcv9]
19457 (__OFF_T_MATCHES_OFF64_T): New macro.
19458 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19459 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
19460 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19461 (__OFF_T_MATCHES_OFF64_T): New macro.
19463 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
19465 * stdlib/secure-getenv.c (__secure_getenv): Replace
19466 GLIBC_2_16 with GLIBC_2_17.
19468 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
19470 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
19471 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
19473 2012-08-03 David S. Miller <davem@davemloft.net>
19475 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19477 2012-08-03 Joseph Myers <joseph@codesourcery.com>
19479 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
19481 (__ASSUME_CORRECT_SI_PID): Likewise.
19482 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
19483 (__ASSUME_TMPFS_NAME): Likewise.
19484 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
19485 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
19486 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
19487 (HAVE_AUX_SECURE): Make definition unconditional.
19488 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
19489 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
19491 2012-08-03 Roland McGrath <roland@hack.frob.com>
19493 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
19494 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
19495 * sysdeps/mach/hurd/eloop-threshold.h: New file.
19496 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19497 __eloop_threshold instead of SYMLOOP_MAX.
19499 * sysdeps/generic/eloop-threshold.h: New file.
19500 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
19502 * elf/chroot_canon.c (chroot_canon): Likewise.
19504 2012-08-03 Joseph Myers <joseph@codesourcery.com>
19507 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19508 Change to 2.6.0 everywhere.
19509 * sysdeps/unix/sysv/linux/configure: Regenerated.
19510 * sysdeps/unix/sysv/linux/kernel-features.h
19511 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
19512 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
19514 (__ASSUME_POSIX_TIMERS): Define unconditionally.
19515 (__ASSUME_FUTEX_REQUEUE): Remove.
19516 (__ASSUME_STATFS64): Define unconditionally.
19517 (__ASSUME_AT_SECURE): Likewise.
19518 (__ASSUME_CORRECT_SI_PID): Likewise.
19519 (__ASSUME_TGKILL): Define without depending on kernel version for
19521 (__ASSUME_UTIMES): Likewise.
19522 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
19524 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
19525 (__ASSUME_TMPFS_NAME): Likewise.
19526 * README: Update reference to Linux kernel versions.
19528 2012-08-02 Marek Polacek <polacek@redhat.com>
19531 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
19532 libc_cv_asm_type_prefix with %.
19533 * configure: Regenerated.
19534 * include/libc-symbols.h: Remove comment about
19535 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
19536 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
19537 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
19538 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
19539 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
19540 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
19541 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
19542 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
19543 * elf/tst-unique2mod1.c: Likewise.
19544 * elf/tst-unique1mod2.c: Likewise.
19545 * elf/tst-unique1mod1.c: Likewise.
19546 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
19547 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
19548 Replace ASM_TYPE_DIRECTIVE with .type.
19549 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19550 * sysdeps/i386/sysdep.h: Likewise.
19551 * sysdeps/x86_64/sysdep.h: Likewise.
19552 * sysdeps/sh/sysdep.h: Likewise.
19553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
19554 Do not define ASM_TYPE_DIRECTIVE.
19555 * sysdeps/powerpc/sysdep.h: Likewise.
19556 * sysdeps/powerpc/powerpc32/sysdep.h:
19557 Replace ASM_TYPE_DIRECTIVE with .type.
19558 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
19559 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19560 * sysdeps/i386/fpu/e_powf.S: Likewise.
19561 * sysdeps/i386/fpu/e_expl.S: Likewise.
19562 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19563 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19564 * sysdeps/i386/fpu/e_pow.S: Likewise.
19565 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19566 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19567 * sysdeps/i386/fpu/s_expm1.S: Likewise.
19568 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19569 * sysdeps/i386/fpu/e_log2.S: Likewise.
19570 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19571 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19572 * sysdeps/i386/fpu/e_powl.S: Likewise.
19573 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19574 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19575 * sysdeps/i386/fpu/e_logl.S: Likewise.
19576 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19577 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19578 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19579 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19580 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19581 * sysdeps/i386/fpu/e_log.S: Likewise.
19582 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19583 * sysdeps/i386/fpu/e_logf.S: Likewise.
19584 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19585 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19586 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19587 * sysdeps/i386/fpu/e_log10.S: Likewise.
19588 * sysdeps/i386/fpu/s_frexp.S: Likewise.
19589 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19590 * sysdeps/i386/fpu/s_asinh.S: Likewise.
19591 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19592 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19593 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
19594 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19595 * sysdeps/i386/i686/strtok.S: Likewise.
19596 * sysdeps/i386/i386-mcount.S: Likewise.
19597 * sysdeps/i386/strtok.S: Likewise.
19598 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
19599 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19600 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19601 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19602 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
19603 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19604 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19605 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19606 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19607 * sysdeps/x86_64/_mcount.S: Likewise.
19608 * sysdeps/x86_64/strtok.S: Likewise.
19609 * sysdeps/sh/_mcount.S: Likewise.
19611 2012-08-01 Roland McGrath <roland@hack.frob.com>
19613 * libio/iofopen.c: Include <fcntl.h>.
19614 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
19615 (_IO_fopen64, fopen64): Define as aliases.
19616 * libio/iofopen64.c: Include <fcntl.h>.
19617 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
19618 Conditionalize body on this.
19619 * sysdeps/wordsize-64/iofopen.c: File removed.
19620 * sysdeps/wordsize-64/iofopen64.c: File removed.
19622 2012-08-01 Marek Polacek <polacek@redhat.com>
19624 * libc/Makeconfig: Use elf in place of binfmt-subdir.
19625 Use dlfcn directly instead of a variable.
19626 (binfmt-subdir): Do not define.
19629 2012-08-01 Joseph Myers <joseph@codesourcery.com>
19631 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
19632 Remove all definitions.
19633 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
19634 <kernel-features.h>.
19635 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
19636 (miss_F_GETOWN_EX): Remove all definitions.
19637 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
19639 [!__ASSUME_FCNTL64]: Remove conditional code.
19640 [__ASSUME_FCNTL64]: Make code unconditional.
19641 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
19642 <kernel-features.h>.
19643 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
19644 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
19645 (lockf64) [__NR_fcntl64]: Make code unconditional.
19646 (lockf64) [__ASSUME_FCNTL64]: Likewise.
19648 * sysdeps/unix/sysv/linux/kernel-features.h
19649 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
19650 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
19651 Make code unconditional.
19652 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19653 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
19655 [__NR_vfork]: Make code unconditional.
19656 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19657 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
19659 [__NR_vfork]: Make code unconditional.
19660 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19661 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19663 2012-08-01 Roland McGrath <roland@hack.frob.com>
19665 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
19666 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
19668 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19669 Define mkstemp64 as an alias.
19670 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19671 Define mkstemps64 as an alias.
19672 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19673 Define mkostemp64 as an alias.
19674 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19675 Define mkostemps64 as an alias.
19676 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
19677 Conditionalize body on this.
19678 * misc/mkostemp64.c: Likewise.
19679 * misc/mkostemps64.c: Likewise.
19680 * misc/mkstemps64.c: Likewise.
19681 * sysdeps/wordsize-64/mkstemp64.c: File removed.
19682 * sysdeps/wordsize-64/mkostemp64.c: File removed.
19683 * sysdeps/wordsize-64/mkostemp.c: File removed.
19684 * sysdeps/wordsize-64/mkstemp.c: File removed.
19685 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
19686 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
19687 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
19688 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
19691 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
19692 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
19693 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
19694 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
19696 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
19697 compat_symbol macros from <shlib-compat.h> rather than the underlying
19698 default_symbol_version and symbol_version macros, so that DEFAULT
19699 lines in shlib-versions are respected.
19700 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
19702 2012-08-01 Florian Weimer <fweimer@redhat.com>
19704 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
19705 Declare with warn_unused_result.
19706 (setgid, setregid, setegid, setresgid): Likewise.
19707 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
19709 * WUR-REPORT: Remove set*id functions.
19711 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
19713 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
19715 2012-07-31 Roland McGrath <roland@hack.frob.com>
19718 * include/sys/socket.h (__libc_accept, __libc_accept4):
19719 Add attribute_hidden.
19720 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
19722 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
19724 * inet/getnetgrent_r.c (setup): Likewise.
19726 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
19728 2012-07-31 David S. Miller <davem@davemloft.net>
19730 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19732 2012-07-31 Joseph Myers <joseph@codesourcery.com>
19735 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
19736 value between 1.0 and 2.0 and smaller part has absolute value less
19738 * math/s_clog10.c (__clog10): Likewise.
19739 * math/s_clog10f.c (__clog10f): Likewise.
19740 * math/s_clog10l.c (__clog10l): Likewise.
19741 * math/s_clogf.c (__clogf): Likewise.
19742 * math/s_clogl.c (__clogl): Likewise.
19743 * math/libm-test.inc (clog_test): Add more tests.
19744 (clog10_test): Likewise.
19745 * sysdeps/i386/fpu/libm-test-ulps: Update.
19746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19748 2012-07-31 Florian Weimer <fweimer@redhat.com>
19750 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
19751 Exit with zero in case no suitable GID is found, and write a
19752 message to standard error.
19754 2012-07-30 Roland McGrath <roland@hack.frob.com>
19756 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
19758 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
19759 (MAXPATHLEN): Removed.
19760 (NOGROUP, NODEV): New macros.
19761 (setbit, clrbit, isset, isclr): New macros.
19762 (howmany, roundup, powerof2): New macros.
19763 (DEV_BSIZE): New macro.
19765 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
19766 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
19768 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
19769 definition on [!__NO_LONG_DOUBLE_MATH].
19771 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
19772 PTR_MANGLE and PTR_DEMANGLE.
19774 * socket/accept4.c (accept4): Rename to __libc_accept4.
19775 Define accept4 as a weak alias.
19777 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
19778 on [_DIRENT_HAVE_D_TYPE].
19779 * io/ftw.c (ftw_dir): Likewise.
19781 * io/xmknod.c (__xmknod): Don't check PATH for being null.
19783 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
19785 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
19786 Use the BSD numbers rather than the arbitrary ones we had.
19787 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
19788 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
19789 (SIGXCPU, SIGXFSZ): New macros.
19792 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
19793 initializer on [_LIBC_REENTRANT].
19795 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
19796 definitions inside [_POSIX_MAPPED_FILES].
19798 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
19800 * dirent/opendir.c: Include <fcntl.h>.
19802 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
19803 (__libc_getspecific): Likewise.
19804 (__libc_key_create): Likewise.
19806 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
19807 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
19808 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
19809 (tmpfile64): Define as alias.
19810 * sysdeps/wordsize-64/tmpfile.c: File removed.
19811 * sysdeps/wordsize-64/tmpfile64.c: File removed.
19812 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
19813 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
19815 * stdio-common/vfscanf.c: Include <stdbool.h>.
19816 * nss/makedb.c: Likewise.
19817 * stdio-common/_i18n_number.h: Likewise.
19818 * argp/argp-help.c: Likewise.
19819 * posix/wordexp.c: Likewise.
19820 * sysdeps/posix/spawni.c: Likewise.
19821 * nss/nss_files/files-initgroups.c: Likewise.
19822 * stdio-common/reg-modifier.c: Include <stdlib.h>.
19823 * nss/nss_files/files-initgroups.c: Likewise.
19824 * nss/nss_db/db-netgrp.c: Likewise.
19825 * nss/nss_db/db-initgroups.c: Likewise.
19826 * io/fchmodat.c: Include <sys/stat.h>.
19828 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
19829 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
19831 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
19834 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
19835 Add multiple inclusion protection.
19837 2012-07-27 David S. Miller <davem@davemloft.net>
19839 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19841 2012-07-27 Gary Benson <gbenson@redhat.com>
19844 * elf/rtld.c: Include <stap-probe.h>.
19845 (dl_main): Added static probes "init_start" and "init_complete".
19846 * elf/dl-load.c: Include <stap-probe.h>.
19847 (lose): Take new parameter "nsid".
19848 Added static probe "map_failed".
19849 (_dl_map_object_from_fd): Pass namespace id to lose.
19850 Added static probe "map_start".
19851 (open_verify): Pass namespace id to lose.
19852 * elf/dl-open.c: Include <stap-probe.h>.
19853 (dl_open_worker) Added static probes "map_complete", "reloc_start"
19854 and "reloc_complete".
19855 * elf/dl-close.c: Include <stap-probe.h>.
19856 (_dl_close_worker): Added static probes "unmap_start" and
19858 * elf/rtld-debugger-interface.txt: New file documenting the above.
19860 2012-07-26 Roland McGrath <roland@hack.frob.com>
19862 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
19863 rather than a string variable.
19864 * sunrpc/rpc_main.c (h_output): Likewise.
19865 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
19867 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
19869 * inet/check_native.c: New file.
19871 2012-07-26 Joseph Myers <joseph@codesourcery.com>
19874 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
19875 if larger part has absolute value 1.0.
19876 * math/s_clog10.c (__clog10): Likewise.
19877 * math/s_clog10f.c (__clog10f): Likewise.
19878 * math/s_clog10l.c (__clog10l): Likewise.
19879 * math/s_clogf.c (__clogf): Likewise.
19880 * math/s_clogl.c (__clogl): Likewise.
19881 * math/libm-test.inc (clog_test): Add more tests.
19882 (clog10_test): Likewise.
19883 * sysdeps/i386/fpu/libm-test-ulps: Update.
19884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19886 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
19887 (pltexit): Likewise.
19888 (La_regs): Likewise.
19889 (La_retval): Likewise.
19890 (int_retval): Likewise.
19891 Update #error for removed macros to refer only to definitions in
19893 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
19895 (pltexit): Likewise.
19896 (La_regs): Likewise.
19897 (La_retval): Likewise.
19898 (int_retval): Likewise.
19899 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
19901 (pltexit): Likewise.
19902 (La_regs): Likewise.
19903 (La_retval): Likewise.
19904 (int_retval): Likewise.
19905 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
19907 (pltexit): Likewise.
19908 (La_regs): Likewise.
19909 (La_retval): Likewise.
19910 (int_retval): Likewise.
19911 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
19913 (pltexit): Likewise.
19914 (La_regs): Likewise.
19915 (La_retval): Likewise.
19916 (int_retval): Likewise.
19917 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
19919 (pltexit): Likewise.
19920 (La_regs): Likewise.
19921 (La_retval): Likewise.
19922 (int_retval): Likewise.
19923 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
19925 (pltexit): Likewise.
19926 (La_regs): Likewise.
19927 (La_retval): Likewise.
19928 (int_retval): Likewise.
19929 * sysdeps/generic/tst-audit.h: Update comment to refer only to
19930 macro definitions in tst-audit.h.
19931 * sysdeps/i386/tst-audit.h: New file.
19932 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
19933 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
19934 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
19935 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
19936 * sysdeps/sh/tst-audit.h: Likewise.
19937 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
19938 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
19939 * sysdeps/x86_64/tst-audit.h: Likewise.
19941 2012-07-26 Andreas Jaeger <aj@suse.de>
19943 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
19946 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
19947 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
19948 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
19950 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
19951 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
19952 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
19954 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
19957 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
19959 (si_call_addr, si_syscall, si_arch): Define new macro.
19960 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
19962 (si_call_addr, si_syscall, si_arch): Define new marcro.
19963 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
19965 (si_call_addr, si_syscall, si_arch): Define new macro.
19966 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
19968 (si_call_addr, si_syscall, si_arch): Define new macro.
19970 2012-07-25 Joseph Myers <joseph@codesourcery.com>
19973 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19974 Change to 2.4.21 where previously 2.4.1.
19975 * sysdeps/unix/sysv/linux/configure: Regenerated.
19976 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
19977 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
19978 Linux kernel version.
19979 (__ASSUME_STD_AUXV): Remove.
19980 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
19982 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
19983 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
19984 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
19985 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
19986 (__ASSUME_NETLINK_SUPPORT): Likewise.
19987 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
19988 (__no_netlink_support): Remove conditional definition.
19989 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
19991 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
19992 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
19993 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
19994 (if_nameindex_ioctl): Remove.
19995 (if_nameindex_netlink): Do not handle __no_netlink_support.
19996 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
19998 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
19999 Remove conditional code.
20000 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20002 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
20004 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20005 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
20006 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
20008 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
20009 [!__ASSUME_STD_AUXV]: Remove conditional code.
20010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
20011 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
20012 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
20013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
20014 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
20015 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20017 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20019 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
20020 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20022 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20024 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20027 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
20030 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20031 code unconditional.
20032 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20034 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20036 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20039 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20041 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
20044 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20045 code unconditional.
20046 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20048 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20050 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
20053 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20054 code unconditional.
20055 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20057 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20059 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20062 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
20064 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
20065 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
20066 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
20067 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
20068 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
20069 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
20070 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
20071 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
20072 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
20073 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
20074 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
20075 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
20076 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
20077 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
20078 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
20079 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
20080 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
20081 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
20082 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
20083 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
20084 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
20085 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
20086 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20088 2012-07-25 Florian Weimer <fweimer@redhat.com>
20090 * Versions.def: Add GLIBC_2.17.
20091 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
20092 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
20093 Introduce __libc_secure_getenv.
20094 * stdlib/Versions (2.17): Add secure_getenv
20095 (GLIBC_PRIVATE): Add __libc_secure_getenv.
20096 * stdlib/secure-getenv.c: Rename __secure_getenv to
20097 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
20098 symbol __secure_getenv for GLIBC_2.0.
20099 * stdlib/tst-secure-getenv.c: New.
20100 * stdlib/Makefile (tests): Add testcase.
20101 * manual/startup.texi (Environment Access): Document
20103 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
20104 __libc_secure_getenv.
20105 * inet/ruserpass.c (ruserpass): Likewise.
20106 * malloc/mtrace.c (mtrace): Likewise.
20107 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
20108 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
20109 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
20110 * sysdeps/posix/tempname.c: Likewise. Evaluate
20111 HAVE_SECURE_GETENV.
20112 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
20113 __secure_getenv to __libc_secure_getenv.
20114 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
20115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20119 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
20120 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
20121 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20122 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
20123 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
20124 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20125 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
20127 2012-07-25 Joseph Myers <joseph@codesourcery.com>
20129 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
20130 (struct La_i86_retval): Likewise.
20131 (struct La_x86_64_regs): Likewise.
20132 (struct La_x86_64_retval): Likewise.
20133 (struct La_x32_regs): Likewise.
20134 (struct La_x32_retval): Likewise.
20135 (struct La_ppc32_regs): Likewise.
20136 (struct La_ppc32_retval): Likewise.
20137 (struct La_ppc64_regs): Likewise.
20138 (struct La_ppc64_retval): Likewise.
20139 (struct La_sh_regs): Likewise.
20140 (struct La_sh_retval): Likewise.
20141 (struct La_s390_32_regs): Likewise.
20142 (struct La_s390_32_retval): Likewise.
20143 (struct La_s390_64_regs): Likewise.
20144 (struct La_s390_64_retval): Likewise.
20145 (struct La_sparc32_regs): Likewise.
20146 (struct La_sparc32_retval): Likewise.
20147 (struct La_sparc64_regs): Likewise.
20148 (struct La_sparc64_retval): Likewise.
20149 (struct audit_ifaces): Remove architecture-specific pltenter and
20151 * sysdeps/i386/ldsodefs.h: New file.
20152 * sysdeps/powerpc/ldsodefs.h: Likewise.
20153 * sysdeps/s390/ldsodefs.h: Likewise.
20154 * sysdeps/sh/ldsodefs.h: Likewise.
20155 * sysdeps/sparc/ldsodefs.h: Likewise.
20156 * sysdeps/x86_64/ldsodefs.h: Likewise.
20158 2012-07-25 Marek Polacek <polacek@redhat.com>
20161 * math/libm-test.inc (yn_test): Add another test.
20162 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
20163 to ERANGE when the result is +-Inf.
20164 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20165 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
20166 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
20167 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
20169 2012-07-24 Joseph Myers <joseph@codesourcery.com>
20171 * conform/data/time.h-data (NULL): Use macro-constant. Require
20173 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
20175 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
20177 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
20179 * configure.in <sysdeps resolving>: Correct printing
20181 * configure: Regenerate.
20183 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
20185 * math/w_ilogb.c: Include <limits.h>.
20186 * math/w_ilogbl.c: Likewise.
20188 2012-07-20 Joseph Myers <joseph@codesourcery.com>
20190 * manual/lang.texi (__va_copy): Document primarily as ISO C99
20191 va_copy. Document allowing for unavailable va_copy only as
20192 pre-C99 compatibility.
20193 * manual/string.texi (Copying and Concatenation): Use va_copy
20194 instead of __va_copy in concat example.
20196 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
20198 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
20199 (__sendto): Use create_address_port. Initialize APORT and deallocate
20202 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
20203 with O_NOLINK passed to __file_name_lookup.
20205 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
20206 with O_NOLINK passed to __file_name_lookup.
20208 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
20209 negative N or less than NGIDS.
20211 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
20212 type to string_t. Set ERANGE as errno and return it if NAME is not big
20213 enough. Use memcpy instead of strncpy.
20215 2012-07-20 Joseph Myers <joseph@codesourcery.com>
20217 * elf/Makefile (check-data): Remove.
20218 (localplt.data): New vpath directive.
20219 ($(objpfx)check-localplt.out): Use localplt.data from vpath
20220 instead of $(check-data).
20221 * scripts/data/localplt-generic.data: Move to ...
20222 * sysdeps/generic/localplt.data: ... here.
20223 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
20224 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
20225 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
20226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
20228 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
20229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
20231 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
20232 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
20234 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
20235 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
20237 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
20238 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
20240 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
20241 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
20244 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20246 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
20247 PPC32 and PPC64 files.
20248 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
20249 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
20251 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20253 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
20254 __makecontext_ret to ...
20255 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
20256 ... here and call exit if uc_link is NULL. New file.
20257 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
20258 __makecontext_ret.S.
20259 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
20260 __makecontext_ret to ...
20261 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
20262 ... here and call exit if uc_link is NULL. New file.
20263 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
20264 __makecontext_ret.S.
20266 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20268 * elf/elf.h (R_390_IRELATIVE): New definition.
20269 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
20270 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
20271 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
20272 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
20273 (elf_machine_lazy_rel): Likewise.
20274 * sysdeps/s390/dl-irel.h: New file.
20275 * sysdeps/s390/s390-64/memcpy.S: New asm code.
20276 * sysdeps/s390/s390-64/memset.S: New asm code.
20277 * sysdeps/s390/s390-64/memcmp.S: New asm code.
20278 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
20279 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
20280 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
20281 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
20282 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
20283 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
20284 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
20285 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
20286 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
20287 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
20288 * sysdeps/s390/s390-32/memcpy.S: New asm code.
20289 * sysdeps/s390/s390-32/memset.S: New asm code.
20290 * sysdeps/s390/s390-32/memcmp.S: New asm code.
20292 2012-07-17 Marek Polacek <polacek@redhat.com>
20295 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
20296 * sysdeps/s390/s390-64/configure.in: Likewise.
20297 * sysdeps/sparc/configure.in: Likewise.
20298 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
20299 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
20300 * sysdeps/i386/configure.in: Likewise.
20301 * sysdeps/x86_64/configure.in: Likewise.
20302 * sysdeps/sh/configure.in: Likewise.
20303 * sysdeps/s390/s390-32/configure: Regenerated.
20304 * sysdeps/s390/s390-64/configure: Likewise.
20305 * sysdeps/x86_64/configure: Likewise.
20306 * sysdeps/sh/configure: Likewise.
20307 * sysdeps/powerpc/powerpc64/configure: Likewise.
20308 * sysdeps/powerpc/powerpc32/configure: Likewise.
20309 * sysdeps/sparc/configure: Likwise.
20310 * sysdeps/i386/configure: Likewise.
20312 * elf/dl-open.c: Comment fixes.
20314 2012-07-17 Joseph Myers <joseph@codesourcery.com>
20316 * Makefile [CXX] (check-data): Remove.
20317 [CXX] (c++-types.data): New vpath directive.
20318 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
20319 vpath. Do not allow for C++ type data being missing.
20320 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
20321 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
20322 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
20323 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
20324 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
20325 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
20326 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
20327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
20329 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
20330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
20332 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
20333 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
20335 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
20336 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
20338 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
20339 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
20341 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
20342 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
20344 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
20345 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
20347 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
20348 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
20350 * elf/tls-macros.h (TLS_LE): Move architecture-specific
20351 definitions to architecture-specific files.
20352 (TLS_IE): Likewise.
20353 (TLS_LD): Likewise.
20354 (TLS_GD): Likewise.
20355 * sysdeps/i386/tls-macros.h: New file.
20356 * sysdeps/powerpc/tls-macros.h: Likewise.
20357 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
20358 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
20359 * sysdeps/sh/tls-macros.h: Likewise.
20360 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
20361 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
20362 * sysdeps/x86_64/tls-macros.h: Likewise.
20364 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
20366 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
20367 zero value for regular exit case.
20369 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
20370 (__start_context): Preserve zero value for regular exit case.
20372 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
20373 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20375 * manual/setjmp.texi (setcontext): Clarify normal process
20376 termination when uc_link is the null pointer.
20377 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
20380 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
20382 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
20383 preprocessor. Test for each exception mask separately.
20385 2012-07-16 Andreas Jaeger <aj@suse.de>
20387 * po/ru.po: Update from translation team.
20389 2012-07-15 Joseph Myers <joseph@codesourcery.com>
20391 * conform/data/string.h-data (NULL): Use macro-constant. Require
20393 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
20394 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
20395 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
20396 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
20397 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20399 2012-07-13 Andreas Jaeger <aj@suse.de>
20401 * po/fr.po: Update from translation team.
20403 2012-07-12 Marek Polacek <polacek@redhat.com>
20406 * math/libm-test.inc (yn_test): Add test for BZ #14173.
20407 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
20410 2012-07-12 Joseph Myers <joseph@codesourcery.com>
20413 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20414 Change to 2.4.1 where previously 2.4.0.
20415 * sysdeps/unix/sysv/linux/configure: Regenerated.
20416 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
20417 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
20419 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
20420 (__ASSUME_AT_CLKTCK): Remove.
20421 (__ASSUME_AT_PAGESIZE): Likewise.
20422 (__ASSUME_AT_XID): Likewise.
20423 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
20424 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
20425 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
20427 (HAVE_AUX_PAGESIZE): Likewise.
20428 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
20429 [__ASSUME_AT_CLKTCK]: Make code unconditional.
20430 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
20432 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
20435 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
20436 the temporary buffer used to invoke __gethostbyname2_r,
20437 __gethostbyaddr_r and gethostbyname4_r to make room for struct
20438 host_data / struct gaih_addrtuple.
20439 * resolv/nss_dns/dns-host.c (global scope): Move definition of
20440 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
20441 header file nss/nsswitch.h.
20442 * nss/nsswitch.h (global scope): Add definition of implementation
20443 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
20444 resolv/nss_dns/dns-host.c).
20446 2012-07-11 Andreas Jaeger <aj@suse.de>
20448 * po/fr.po: Update from translation team.
20450 * po/sv.po: Update from translation team
20451 * po/fr.po: Another update from translation team.
20453 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20455 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
20456 for subnormals or multiply small sinh result by itself.
20457 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20458 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20460 2012-07-11 David S. Miller <davem@davemloft.net>
20462 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20464 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
20467 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
20468 (INTERNAL_MARK): Shift it here.
20470 2012-07-10 Marek Polacek <polacek@redhat.com>
20473 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
20474 libc_cv_asm_global_directive with .globl.
20475 * configure: Regenerated.
20476 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
20478 * sysdeps/i386/configure: Regenerated.
20479 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
20481 * sysdeps/x86_64/configure: Regenerated.
20482 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
20483 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
20484 * elf/tst-unique2mod2.c: Likewise.
20485 * elf/tst-unique2mod1.c: Likewise.
20486 * elf/tst-unique1mod2.c: Likewise.
20487 * elf/tst-unique1mod1.c: Likewise.
20488 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20489 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20490 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20491 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20492 * sysdeps/mach/sysdep.h: Likewise.
20493 * sysdeps/i386/sysdep.h: Likewise.
20494 * sysdeps/i386/i386-mcount.S: Likewise.
20495 * sysdeps/x86_64/_mcount.S: Likewise.
20496 * sysdeps/x86_64/sysdep.h: Likewise.
20497 * sysdeps/sh/_mcount.S: Likewise.
20498 * sysdeps/sh/sysdep.h: Likewise.
20499 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
20500 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
20501 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
20502 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20503 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
20504 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
20505 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
20506 * locale/localeinfo.h: Likewise.
20507 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
20508 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
20510 2012-07-09 Roland McGrath <roland@hack.frob.com>
20513 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
20515 * manual/message.texi (The Uniforum approach): Likewise.
20516 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
20517 (glibc iconv Implementation): Likewise.
20519 2012-07-09 Joseph Myers <joseph@codesourcery.com>
20522 * math/s_clog.c (__clog): Avoid scaling a value down where that
20523 could result in underflow.
20524 * math/s_clog10.c (__clog10): Likewise.
20525 * math/s_clog10f.c (__clog10f): Likewise.
20526 * math/s_clog10l.c (__clog10l): Likewise.
20527 * math/s_clogf.c (__clogf): Likewise.
20528 * math/s_clogl.c (__clogl): Likewise.
20529 * math/libm-test.inc (clog_test): Add more tests.
20530 (clog10_test): Likewise.
20531 * sysdeps/i386/fpu/libm-test-ulps: Update.
20532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20534 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
20537 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
20538 by 7 not 8 to examine high bit of fractional part.
20541 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
20542 for call to __mcount_internal.
20543 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
20544 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
20545 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
20547 2012-07-06 Joseph Myers <joseph@codesourcery.com>
20550 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
20551 approximation for values within 0x1p-13f of an odd multiple of
20553 * math/libm-test.inc (tan_test): Do not allow spurious underflow
20554 exception. Add more tests.
20555 * sysdeps/i386/fpu/libm-test-ulps: Update.
20558 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
20559 inputs and return -1 for them. Do not check for +Inf in case not
20560 reachable for +Inf.
20561 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20562 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
20563 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
20564 and return -1 for them. Do not check for +Inf in case not
20565 reachable for +Inf.
20566 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
20568 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
20569 and return -1 for them. Do not check for +Inf in case not
20570 reachable for +Inf.
20571 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
20572 spurious underflow.
20573 * sysdeps/i386/fpu/libm-test-ulps: Update.
20574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20576 2012-07-06 Mike Frysinger <vapier@gentoo.org>
20578 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
20580 2012-07-05 Joseph Myers <joseph@codesourcery.com>
20584 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
20585 could result in spurious underflow. Scale down values above
20586 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
20587 * math/s_csqrtf.c (__csqrtf): Likewise.
20588 * math/s_csqrtl.c (__csqrtl): Likewise.
20589 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
20590 spurious underflow.
20591 * sysdeps/i386/fpu/libm-test-ulps: Update.
20592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20594 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
20596 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
20598 * catgets/xopen-msg.awk: New file.
20599 * catgets/xopen-msg.sed: Removed.
20601 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
20603 * intl/po2test.awk: New file.
20604 * intl/po2test.sed: Removed.
20606 2012-07-04 Joseph Myers <joseph@codesourcery.com>
20609 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
20610 or multiply small sinh result by itself.
20611 * math/s_ctanf.c (__ctanf): Likewise.
20612 * math/s_ctanh.c (__ctanh): Likewise.
20613 * math/s_ctanhf.c (__ctanhf): Likewise.
20614 * math/s_ctanhl.c (__ctanhl): Likewise.
20615 * math/s_ctanl.c (__ctanl): Likewise.
20616 * math/libm-test.inc (ctan_test_tonearest): New function.
20617 (ctan_test_towardzero): Likewise.
20618 (ctan_test_downward): Likewise.
20619 (ctan_test_upward): Likewise.
20620 (ctanh_test_tonearest): Likewise.
20621 (ctanh_test_towardzero): Likewise.
20622 (ctanh_test_downward): Likewise.
20623 (ctanh_test_upward): Likewise.
20624 (main): Call these new functions.
20625 * sysdeps/i386/fpu/libm-test-ulps: Update.
20626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20628 2012-07-03 Mike Frysinger <vapier@gentoo.org>
20630 * .gitignore: Delete /ports entry.
20632 2012-07-03 Andreas Jaeger <aj@suse.de>
20634 * po/bg.po: Update from translation team.
20635 * po/cs.po: Likewise.
20636 * po/de.po: Likewise.
20637 * po/hr.po: Likewise.
20638 * po/nl.pl: Likewise.
20639 * po/pl.po: Likewise.
20640 * po/vi.po: Likewise.
20642 2012-07-03 Joseph Myers <joseph@codesourcery.com>
20644 * Makeconfig [!+link] (+link-before-libc): New variable.
20645 [!+link] (+link-after-libc): Likewise.
20646 [!+link] (+link-tests): Likewise.
20647 [!+link] (+link): Define in terms of $(+link-before-libc) and
20648 $(+link-after-libc).
20649 [!+link-static] (+link-static-before-libc): New variable.
20650 [!+link-static] (+link-static-after-libc): Likewise.
20651 [!+link-static] (+link-static-tests): Likewise.
20652 [!+link-static] (+link-static): Define in terms of
20653 $(+link-static-before-libc) and $(+link-static-after-libc).
20654 [build-shared] (link-libc-before-gnulib): New variable.
20655 [build-shared] (link-libc-tests): Likewise.
20656 [build-shared] (link-libc): Define in terms of
20657 $(link-libc-before-gnulib).
20658 [!build-shared] (link-libc-tests): New variable.
20659 (link-libc-static-tests): New variable.
20660 [!gnulib] (gnulib-arch): New variable.
20661 [!gnulib] (gnulib-tests): Likewise.
20662 [!gnulib] (static-gnulib-arch): Likewise.
20663 [!gnulib] (static-gnulib-tests): Likewise.
20664 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
20665 Define with "=" instead of ":=".
20666 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
20667 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
20668 * Rules (binaries-all-notests): New variable.
20669 (binaries-all-tests): Likewise.
20670 (binaries-static-notests): Likewise.
20671 (binaries-static-tests): Likewise.
20672 (binaries-all): Define using $(binaries-all-notests) and
20673 $(binaries-all-tests).
20674 (binaries-static): Define using $(binaries-static-notests) and
20675 $(binaries-static-tests).
20676 (binaries-shared-tests): New variable.
20677 (binaries-shared-notests): Likewise.
20678 (binaries-shared): Remove variable.
20679 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
20680 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
20681 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
20682 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
20683 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
20684 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
20685 * elf/Makefile (sln-modules): New variable.
20686 (extra-objs): Add $(sln-modules:=.o).
20687 (ldconfig-modules): Add static-stubs.
20688 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
20689 * elf/static-stubs.c: New file.
20692 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
20693 by 7 not 8 to examine high bit of fractional part. Use volatile
20694 variables when splitting into final array of floats if
20695 __FLT_EVAL_METHOD__ != 0.
20696 * math/libm-test.inc (cos_test): Add another test.
20697 (sin_test): Likewise.
20698 * sysdeps/i386/fpu/libm-test-ulps: Update.
20701 * math/libm-test.inc (cosh_test): Add more tests.
20703 * version.h (RELEASE): Set to "development".
20704 (VERSION): Set to "2.16.90".
20706 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
20708 * NEWS: Update copyright. Remove last-updated date.
20709 Mention math library bug fixes and timezone data changes.
20710 * README: Mention GNU/Hurd, x32, and HPPA support status.
20712 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
20714 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
20716 2012-06-27 Andreas Jaeger <aj@suse.de>
20718 * manual/contrib.texi (Contributors): Add Samuel Thibault.
20720 2012-06-25 Andreas Jaeger <aj@suse.de>
20722 * sysdeps/s390/fpu/libm-test-ulps: Update.
20724 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
20725 Thomas Schwinge <thomas@codesourcery.com>
20727 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
20728 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
20729 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
20732 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
20734 * sysdeps/mach/start.c: Remove file.
20735 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
20736 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
20737 * sysdeps/sh/init-first.c: Likewise.
20739 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
20740 registers for frame unwinding purposes, add CFI directives.
20741 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
20742 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
20743 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
20746 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
20747 __fortify_fail returning.
20748 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
20750 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
20751 sysdeps/sh/____longjmp_chk.S.
20752 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
20753 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
20754 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
20755 (gen-as-const-headers): Append sigaltstack-offsets.sym.
20757 * sysdeps/sh/abort-instr.h: New file.
20758 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
20759 process in case exit returns.
20761 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
20762 initialize the GOT register before use.
20764 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
20765 calculation of ARGC > 4.
20767 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
20768 meaningful names to some local labels.
20770 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20771 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20773 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
20774 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
20775 (__arch_compare_and_exchange_val_16_acq): Likewise.
20776 (__arch_compare_and_exchange_val_32_acq): Likewise.
20777 (atomic_exchange_and_add): Fix gUSA sequence.
20778 (atomic_add): Likewise.
20779 (atomic_add_negative): Likewise.
20780 (atomic_add_zero): Likewise.
20781 (atomic_bit_test_set): Likewise.
20783 2012-06-22 Andreas Schwab <schwab@redhat.com>
20786 * include/link.h (struct link_map): Add l_free_initfini.
20787 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
20789 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
20790 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
20791 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
20794 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
20796 * configure.in: Use AC_LANG_SOURCE.
20797 * configure: Regenerate.
20799 2012-06-22 Roland McGrath <roland@hack.frob.com>
20801 * configure.in (libc_cv_localstatedir): New substituted variable.
20802 * configure: Regenerated.
20803 * config.make.in (localstatedir): New variable, substituted from
20804 libc_cv_localstatedir.
20805 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
20806 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
20807 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
20808 * sysdeps/gnu/configure: Regenerated.
20810 2012-06-21 Jeff Law <law@redhat.com>
20813 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
20814 free. Simplify list management for _LIBC case.
20816 2012-06-21 Joseph Myers <joseph@codesourcery.com>
20819 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
20820 Clear sign bit of 64-bit integer value before comparing against
20823 * sysdeps/mach/configure: Regenerated.
20825 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
20828 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
20830 2012-06-21 Jeff Law <law@redhat.com>
20833 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
20834 uint16_t for elements in the "seen" array to avoid char overflows.
20835 * elf/dl-fini.c (_dl_sort_fini): Likewise.
20836 * elf/dl-open.c (dl_open_worker): Likewise.
20838 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
20840 * scripts/list-sources.sh: Scan PORTS for translations.
20841 * po/libc.pot: Regenerated.
20843 2012-06-21 Andreas Jaeger <aj@suse.de>
20846 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
20848 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
20849 * bits/byteswap-16.h (__bswap_16): Likewise.
20850 * bits/byteswap.h (__bswap_constant_16): Likewise.
20852 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
20855 * sysdeps/i386/fpu_control.h: Removed.
20856 * sysdeps/x86_64/fpu_control.h: Moved to ...
20857 * sysdeps/x86/fpu_control.h: Here.
20859 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
20860 (_FPU_SETCW): Likewise.
20862 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
20865 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
20866 * sysdeps/x86/fpu/bits/mathinline.h: This.
20867 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
20871 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
20872 functions if __x86_64__ is defined.
20874 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
20876 * string/endian.h: Add !__ASSEMBLER__ condition for including
20877 conversion interfaces.
20879 2012-06-15 Joseph Myers <joseph@codesourcery.com>
20882 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
20883 of ABS(x) in calculating zero to negative powers other than odd
20885 * math/libm-test.inc (pow_test): Add more tests.
20887 2012-06-15 Andreas Jaeger <aj@suse.de>
20889 * manual/contrib.texi (Contributors): Update entry of Liubov
20890 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
20893 2012-06-15 Cyril Hrubis <metan@ucw.cz>
20895 * string/string.h: Add __wur to GNU version of strerror_r.
20897 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
20900 * string/Makefile (tests): Add tst-strtok_r.
20901 * string/tst-strtok_r.c: New file.
20902 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
20903 RAX_LP/RDX_LP on SAVE_PTR.
20905 2012-06-14 Roland McGrath <roland@hack.frob.com>
20907 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
20909 2012-06-14 Joseph Myers <joseph@codesourcery.com>
20911 * libm_test.inc (csqrt_test): Allow more spurious underflow
20913 (j0_test): Likewise.
20914 (j1_test): Likewise.
20915 (y0_test): Likewise.
20916 (y1_test): Likewise.
20918 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
20920 * po/Makefile (libc.pot): Use UTF-8 charset.
20922 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
20925 Suppress sign-conversion warning from FD_SET.
20926 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
20927 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
20928 not unsigned long int.
20929 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
20931 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
20935 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
20936 __extern_always_inline instead of __extern_inline.
20937 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
20938 (__signbit): Likewise.
20939 (__signbitl): Support C++ namespace.
20940 (lrintf): New inline function.
20942 (llrintf): Likewise.
20943 (llrint): Likewise.
20953 (floorf): Likewise.
20954 (nearbyint): Likewise.
20955 (nearbyintf): Likewise.
20957 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
20959 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
20960 non-default versions.
20962 2012-06-11 Roland McGrath <roland@hack.frob.com>
20965 * manual/argp.texi (Argp): Reword argp_parse description slightly.
20967 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
20969 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
20970 (FE_UPWARD, FE_DOWNWARD): Don't define.
20971 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
20972 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
20974 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
20976 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
20977 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20979 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20981 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20982 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
20983 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
20984 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
20986 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
20989 * sysdeps/i386/fpu/bits/fenv.h: Removed.
20990 * sysdeps/i386/fpu/Implies: New file.
20991 * sysdeps/x86_64/fpu/Implies: Likewise.
20992 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
20993 * sysdeps/x86/fpu/bits/fenv.h: This.
20995 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
20998 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21001 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
21002 character 0xffff that matches the last element of the
21005 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21007 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
21010 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21012 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
21013 values higher than 25.6283.
21015 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21017 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
21018 subnormal exponent extraction and add some __builtin_expect.
21019 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
21020 Fix for subnormal mantissa calculation.
21022 2012-06-04 Mike Frysinger <vapier@gentoo.org>
21024 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
21025 cpu2 is -1 and errno is not ENOSYS.
21027 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
21030 * sysdeps/i386/i486/bits/string.h: Renamed to ...
21031 * sysdeps/x86/bits/string.h: This.
21032 * sysdeps/x86_64/bits/string.h: Removed.
21034 * sysdeps/i386/i486/bits/string.h: Define inline functions only
21035 if not compiling for x86-64, but compiling for >= i486.
21037 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
21038 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
21040 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
21041 New macro from Linux kernel 3.4.0.
21042 (FP_XSTATE_MAGIC2): Likewise.
21043 (FP_XSTATE_MAGIC2_SIZE): Likewise.
21044 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
21045 (struct _fpx_sw_bytes): New struct.
21046 (struct _xsave_hdr): Likewise.
21047 (struct _ymmh_state): Likewise.
21048 (struct _xstate): Likewise.
21050 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
21051 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
21052 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
21053 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
21054 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
21055 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
21057 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
21058 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
21059 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
21060 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
21061 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
21062 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
21064 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21067 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
21068 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
21069 (sysdep_headers): Include sys/platform/ppc.h.
21070 * sysdeps/powerpc/test-gettimebase.c: Test for
21071 __ppc_get_timebase() to catch future ISA opcode/insn changes.
21072 * manual/Makefile (appendices): Include platform.texi.
21073 * manual/contrib.texi (Contributors): Update @node pointers.
21074 * manual/maint.texi (Maintenance): Likewise.
21075 (Platform): New node.
21076 * manual/platform.texi: New file. Document the new features.
21078 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21079 Jakub Jelinek <jakub@redhat.com>
21082 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
21083 where __builtin_expect is unavailable.
21085 2012-06-03 David S. Miller <davem@davemloft.net>
21087 * stdlib/longlong.h: Updated from GCC.
21089 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
21092 * sysdeps/powerpc/powerpc32/mcount.c: New file.
21093 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
21095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
21096 (GLIBC_2.16): Likewise.
21098 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21100 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
21102 2012-06-01 Joseph Myers <joseph@codesourcery.com>
21104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
21105 (default-abi): New variable.
21106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
21107 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
21109 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
21111 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
21113 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
21116 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
21117 definition. Document in comment.
21119 2012-06-01 David S. Miller <davem@davemloft.net>
21121 * stdlib/longlong.h: Updated from GCC.
21123 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21126 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
21127 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
21128 sys/debugreg.h sys/io.h here.
21129 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
21130 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
21132 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
21133 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
21134 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
21135 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
21136 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
21137 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
21139 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
21140 Define only if __x86_64__ is defined.
21142 2012-06-01 Joseph Myers <joseph@codesourcery.com>
21145 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
21146 Use int64_t for variable i.
21147 * math/libm-test.inc (fmod_test): Add more tests.
21149 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
21150 z computation is not scheduled after fetestexcept.
21151 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
21152 Use math_force_eval instead of asm to ensure calculation scheduled
21153 before exception test.
21154 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
21155 Ensure a1 + u.d computation is not scheduled after fetestexcept.
21157 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
21159 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
21160 computation is not scheduled after fetestexcept.
21162 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21165 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
21166 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
21168 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21170 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
21171 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
21173 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
21176 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
21178 (__WCHAR_MIN): Support __WORDSIZE == 64.
21179 (__WCHAR_MAX): Likewise.
21181 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
21182 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
21185 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
21186 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
21189 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
21190 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
21192 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
21193 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
21195 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
21196 Defined to 1 if __x86_64__ isn't defined.
21197 (_STAT_VER_LINUX_OLD): New.
21198 (st_atime): Remove duplicate.
21199 (st_mtime): Likewise.
21200 (st_ctime): Likewise.
21202 2012-05-31 David S. Miller <davem@davemloft.net>
21204 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
21207 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
21209 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
21213 * elf/dl-reloc.c: Include <_itoa.h>.
21214 (_dl_reloc_bad_type): Remove use of INTUSE.
21215 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
21216 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
21217 * stdio-common/psiginfo.c (psiginfo): Likewise.
21218 * stdio-common/psignal.c (psignal): Likewise.
21219 * string/strsignal.c (strsignal): Likewise.
21220 * include/signal.h (_sys_siglist): Declare hidden proto.
21221 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
21222 INTVARDEF with libc_hidden_data_def.
21223 * stdio-common/itoa-udigits.c: Likewise.
21224 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
21225 (_itoa_lower_digits_internal): Remove declaration.
21226 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
21227 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
21228 (_sys_sigabbrev_internal): Remove aliases.
21229 (_sys_siglist): Define hidden alias.
21231 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
21233 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21236 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
21239 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
21240 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
21242 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
21243 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
21244 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
21245 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
21246 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
21247 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
21249 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
21250 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
21251 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
21253 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
21261 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
21262 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
21263 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
21265 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
21266 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
21267 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
21268 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
21269 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
21270 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
21272 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
21273 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
21275 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
21276 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
21278 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
21279 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
21280 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
21282 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
21283 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
21285 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
21287 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
21288 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
21289 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
21291 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
21293 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
21295 2012-05-31 Joseph Myers <joseph@codesourcery.com>
21297 * math/math.h (M_El): Use two more decimal places.
21298 (M_LOG2El): Likewise.
21299 (M_LOG10El): Likewise.
21300 (M_LN2l): Likewise.
21301 (M_LN10l): Likewise.
21303 (M_PI_2l): Likewise.
21304 (M_PI_4l): Likewise.
21305 (M_1_PIl): Likewise.
21306 (M_2_PIl): Likewise.
21307 (M_2_SQRTPIl): Likewise.
21308 (M_SQRT2l): Likewise.
21309 (M_SQRT1_2l): Likewise.
21311 2012-05-31 David S. Miller <davem@davemloft.net>
21313 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
21314 values between float registers.
21315 * sysdeps/sparc/sparc64/memset.S: Likewise.
21316 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21318 2012-05-31 Mike Frysinger <vapier@gentoo.org>
21320 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
21321 -D_FORTIFY_SOURCE=1.
21322 (CPPFLAGS-tst-longjmp_chk.c): Define.
21323 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
21324 (CPPFLAGS-tst-longjmp_chk2.c): Define.
21325 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
21326 CFLAGS-tst-wchar-h.c.
21328 2012-05-31 Marek Polacek <polacek@redhat.com>
21331 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
21332 __endmntent_internal): Remove declaration.
21333 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
21334 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
21335 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
21337 2012-05-30 David S. Miller <davem@davemloft.net>
21339 * sysdeps/sparc/sparc32/soft-fp/q_util.c
21340 (___Q_simulate_exceptions): Use real FP ops rather than writing
21342 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
21345 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21348 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
21349 * sysdeps/x86/bits/xtitypes.h: This.
21351 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
21352 * sysdeps/x86/bits/wordsize.h: This.
21354 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
21355 * sysdeps/x86/bits/huge_vall.h: This.
21357 * sysdeps/i386/bits/select.h: Removed.
21358 * sysdeps/x86_64/bits/select.h: Renamed to ...
21359 * sysdeps/x86/bits/select.h: This.
21361 * sysdeps/i386/bits/setjmp.h: Removed.
21362 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
21363 * sysdeps/x86/bits/setjmp.h: This.
21365 * sysdeps/i386/bits/mathdef.h: Removed.
21366 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
21367 * sysdeps/x86/bits/mathdef.h: This.
21369 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
21372 * include/sys/socket.h (__connect_internal)
21373 (__libc_sa_len_internal): Remove declaration.
21374 (__connect, __libc_sa_len): Declare hidden_proto.
21375 (SA_LEN): Remove use of INTUSE.
21376 * socket/connect.c: Add libc_hidden_def.
21377 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
21378 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
21379 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
21381 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
21382 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
21383 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
21384 of adding _internal alias.
21386 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21389 * sysdeps/i386/bits/link.h: Removed.
21390 * sysdeps/i386/bits/linkmap.h: Likewise.
21391 * sysdeps/x86_64/bits/link.h: Renamed to ...
21392 * sysdeps/x86/bits/link.h: This.
21393 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
21394 * sysdeps/x86/bits/linkmap.h: This.
21396 * sysdeps/i386/bits/endian.h: Removed.
21397 * sysdeps/x86_64/bits/endian.h: Renamed to ...
21398 * sysdeps/x86/bits/endian.h: This.
21400 * sysdeps/i386/bits/byteswap.h: Removed.
21401 * sysdeps/i386/bits/byteswap-16.h: Likewise.
21402 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
21403 * sysdeps/x86/bits/byteswap.h: This.
21404 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
21405 * sysdeps/x86/bits/byteswap-16.h: This.
21406 * sysdeps/i386/Implies: Add x86.
21407 * sysdeps/x86_64/Implies: Likewise.
21409 2012-05-30 David S. Miller <davem@davemloft.net>
21411 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
21412 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
21413 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
21414 (FP_TRAPPING_EXCEPTIONS): Define.
21415 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
21416 (FP_TRAPPING_EXCEPTIONS): Define.
21417 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
21418 subnormals only when inexact has been signalled or underflow
21419 exceptions are enabled.
21420 (_FP_PACK_CANONICAL): Likewise.
21422 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21425 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
21426 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
21428 2012-05-30 Richard Henderson <rth@twiddle.net>
21430 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
21431 with #ifndef NOT_IN_libc.
21433 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
21434 marked to avoid plt entry.
21436 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21439 * Makeconfig (default-abi): New macro.
21440 (abi-includes): Likewise.
21441 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
21442 $(abi-$(default-abi)-lib-soname) for soname if defined.
21443 ($(common-objpfx)gnu/lib-names.stmp): Generate from
21445 * Makefile (installed-stubs): Likewise.
21446 * include/stubs-biarch.h: Removed.
21447 * scripts/lib-names.awk: Only handle one library at a time.
21448 * scripts/soversions.awk: Remove WORDSIZE support.
21449 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
21451 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
21453 (syscall-list-default-condition): Likewise.
21454 (syscall-list-default-condition): Likewise.
21455 (syscall-list-includes): Likewise.
21456 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
21457 syscall-list-* with abi-*. Handle undefined abi-variants.
21458 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
21459 * sysdeps/unix/sysv/linux/i386/Implies: New file.
21460 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
21461 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
21462 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
21463 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
21465 (syscall-list-32-options): Likewise.
21466 (syscall-list-32-condition): Likewise.
21467 (syscall-list-64-options): Likewise.
21468 (syscall-list-64-condition): Likewise.
21469 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
21471 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
21474 (abi-64-ld-soname): New macro.
21475 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
21476 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
21479 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
21480 * sysdeps/x86_64/x32/shlib-versions: Likewise.
21482 2012-05-30 Joseph Myers <joseph@codesourcery.com>
21484 * sysdeps/unix/sysv/linux/kernel-features.h
21485 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
21486 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
21487 include <kernel-features.h>.
21488 [!__NR_ftruncate64]: Remove conditional code.
21489 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21490 [__NR_ftruncate64]: Make code unconditional.
21491 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21492 * sysdeps/unix/sysv/linux/truncate64.c: Do not
21493 include <kernel-features.h>.
21494 [!__NR_ftruncate64]: Remove conditional code.
21495 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21496 [__NR_ftruncate64]: Make code unconditional.
21497 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
21499 include <kernel-features.h>.
21500 [!__NR_ftruncate64]: Remove conditional code.
21501 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21502 [__NR_ftruncate64]: Make code unconditional.
21503 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21505 include <kernel-features.h>.
21506 [!__NR_ftruncate64]: Remove conditional code.
21507 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21508 [__NR_ftruncate64]: Make code unconditional.
21509 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21511 * configure.in (libc_cv_fpie): Weaken to a compile test using
21512 LIBC_TRY_CC_OPTION.
21513 * configure: Regenerated.
21515 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21517 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
21518 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
21519 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
21520 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21522 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
21523 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
21524 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
21525 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
21526 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
21527 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21530 2012-05-27 David S. Miller <davem@davemloft.net>
21532 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
21534 (__Q_simulate_exceptions): Return void. Change to simulate
21535 exceptions by writing into the %fsr.
21536 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
21537 (__Qp_handle_exceptions): Likewise.
21539 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
21540 __Qp_handle_exceptions.
21541 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
21542 __Qp_handle_exceptions.
21543 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
21544 as unused and give dummy FP_RND_NEAREST initializer.
21545 (FP_INHIBIT_RESULTS): Define.
21546 (___Q_simulate_exceptions): Update declaration.
21547 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
21549 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
21550 as unused and give dummy FP_RND_NEAREST initializer.
21551 (__Qp_handle_exceptions): Update declaration.
21552 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
21555 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
21557 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
21558 the temporary FPU control word.
21559 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
21560 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
21561 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
21562 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21563 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21564 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
21565 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
21566 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21567 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21568 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
21569 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21571 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21573 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
21576 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
21578 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
21579 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
21580 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
21581 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
21583 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
21584 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
21587 2012-05-27 Ulrich Drepper <drepper@gmail.com>
21589 * po/h.po: Update from translation team.
21591 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
21593 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
21595 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
21596 handling of denormals.
21597 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21598 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
21599 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21600 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21601 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21602 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
21603 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
21606 2012-05-26 Marek Polacek <polacek@redhat.com>
21609 * math/libm-test.inc (fma_test): Don't always expect underflow
21612 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21615 * elf/tst-execstack.c: Include stackinfo.h.
21616 (do_test): Adjust test case to ensure that pthread_getattr_np
21617 behaviour remains the same after marking stack executable.
21619 2012-05-25 Joseph Myers <joseph@codesourcery.com>
21621 * sysdeps/unix/sysv/linux/kernel-features.h
21622 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
21623 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
21625 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
21626 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
21627 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
21629 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
21630 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
21632 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
21634 * configure.in: Define the default includes to being none.
21635 * configure: Regenerated.
21637 2012-05-25 Roland McGrath <roland@hack.frob.com>
21639 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
21640 * sysdeps/x86_64/setjmp.S: Likewise.
21641 * sysdeps/i386/bsd-setjmp.S: Likewise.
21642 * sysdeps/i386/bsd-_setjmp.S: Likewise.
21643 * sysdeps/i386/setjmp.S: Likewise.
21644 * sysdeps/i386/__longjmp.S: Likewise.
21645 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
21646 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
21648 * include/stap-probe.h: New file.
21649 * configure.in: Handle --enable-systemtap.
21650 * configure: Regenerated.
21651 * config.h.in (USE_STAP_PROBE): New #undef.
21652 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
21653 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
21654 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
21656 2012-05-25 Joseph Myers <joseph@codesourcery.com>
21659 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
21660 to 2.4.0 where earlier.
21661 * sysdeps/unix/sysv/linux/configure: Regenerated.
21662 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
21663 <kernel-features.h>.
21664 [__ASSUME_32BITUIDS]: Make code unconditional.
21665 [!__ASSUME_32BITUIDS]: Remove conditional code.
21666 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
21667 <kernel-features.h>.
21668 [__ASSUME_32BITUIDS]: Make code unconditional.
21669 [!__ASSUME_32BITUIDS]: Remove conditional code.
21670 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
21671 [__ASSUME_32BITUIDS]: Make code unconditional.
21672 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
21673 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
21674 <kernel-features.h>.
21675 [__ASSUME_32BITUIDS]: Make code unconditional.
21676 [!__ASSUME_32BITUIDS]: Remove conditional code.
21677 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
21678 <kernel-features.h>.
21679 [__ASSUME_32BITUIDS]: Make code unconditional.
21680 [!__ASSUME_32BITUIDS]: Remove conditional code.
21681 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
21682 <kernel-features.h>.
21683 [__ASSUME_32BITUIDS]: Make code unconditional.
21684 [!__ASSUME_32BITUIDS]: Remove conditional code.
21685 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
21686 <kernel-features.h>.
21687 [__ASSUME_32BITUIDS]: Make code unconditional.
21688 [!__ASSUME_32BITUIDS]: Remove conditional code.
21689 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21690 <kernel-features.h>.
21691 [__ASSUME_32BITUIDS]: Make code unconditional.
21692 [!__ASSUME_32BITUIDS]: Remove conditional code.
21693 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21694 <kernel-features.h>.
21695 [__ASSUME_32BITUIDS]: Make code unconditional.
21696 [!__ASSUME_32BITUIDS]: Remove conditional code.
21697 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
21698 <kernel-features.h>.
21699 [__ASSUME_32BITUIDS]: Make code unconditional.
21700 [!__ASSUME_32BITUIDS]: Remove conditional code.
21701 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
21702 <kernel-features.h>.
21703 [__ASSUME_32BITUIDS]: Make code unconditional.
21704 [!__ASSUME_32BITUIDS]: Remove conditional code.
21705 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21706 <kernel-features.h>.
21707 [__ASSUME_32BITUIDS]: Make code unconditional.
21708 [!__ASSUME_32BITUIDS]: Remove conditional code.
21709 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
21710 <kernel-features.h>.
21711 [__ASSUME_32BITUIDS]: Make code unconditional.
21712 [!__ASSUME_32BITUIDS]: Remove conditional code.
21713 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
21714 <kernel-features.h>.
21715 [__NR_setresgid] (__setresgid): Do not declare.
21716 [__ASSUME_32BITUIDS]: Make code unconditional.
21717 [!__ASSUME_32BITUIDS]: Remove conditional code.
21718 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
21719 <kernel-features.h>.
21720 [__NR_setresuid] (__setresuid): Do not declare.
21721 [__ASSUME_32BITUIDS]: Make code unconditional.
21722 [!__ASSUME_32BITUIDS]: Remove conditional code.
21723 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
21724 <kernel-features.h>.
21725 [__ASSUME_32BITUIDS]: Make code unconditional.
21726 [!__ASSUME_32BITUIDS]: Remove conditional code.
21727 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
21728 <kernel-features.h>.
21729 [__ASSUME_32BITUIDS]: Make code unconditional.
21730 [!__ASSUME_32BITUIDS]: Remove conditional code.
21731 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
21732 <kernel-features.h>.
21733 [__ASSUME_32BITUIDS]: Make code unconditional.
21734 [!__ASSUME_32BITUIDS]: Remove conditional code.
21735 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
21736 <kernel-features.h>.
21737 [__ASSUME_32BITUIDS]: Make code unconditional.
21738 [!__ASSUME_32BITUIDS]: Remove conditional code.
21739 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
21740 <kernel-features.h>.
21741 [__ASSUME_32BITUIDS]: Make code unconditional.
21742 [!__ASSUME_32BITUIDS]: Remove conditional code.
21743 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
21744 <kernel-features.h>.
21745 [__ASSUME_32BITUIDS]: Make code unconditional.
21746 [!__ASSUME_32BITUIDS]: Remove conditional code.
21747 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
21748 <kernel-features.h>.
21749 [__ASSUME_32BITUIDS]: Make code unconditional.
21750 [!__ASSUME_32BITUIDS]: Remove conditional code.
21751 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
21752 <kernel-features.h>.
21753 [__ASSUME_32BITUIDS]: Make code unconditional.
21754 [!__ASSUME_32BITUIDS]: Remove conditional code.
21755 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
21756 <kernel-features.h>.
21757 [__ASSUME_32BITUIDS]: Make code unconditional.
21758 [!__ASSUME_32BITUIDS]: Remove conditional code.
21759 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21760 <kernel-features.h>.
21761 [__ASSUME_32BITUIDS]: Make code unconditional.
21762 [!__ASSUME_32BITUIDS]: Remove conditional code.
21763 * sysdeps/unix/sysv/linux/kernel-features.h
21764 (__ASSUME_SETRESUID_SYSCALL): Remove.
21765 (__ASSUME_SETRESGID_SYSCALL): Likewise.
21766 (__ASSUME_32BITUIDS): Likewise.
21767 (__ASSUME_LDT_WORKS): Likewise.
21768 (__ASSUME_O_DIRECTORY): Likewise.
21769 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
21770 architecture but not kernel version.
21771 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
21772 (__ASSUME_MMAP2_SYSCALL): Likewise.
21773 (__ASSUME_STAT64_SYSCALL): Likewise.
21774 (__ASSUME_IPC64): Likewise.
21775 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
21776 <kernel-features.h>.
21777 [__ASSUME_32BITUIDS]: Make code unconditional.
21778 [!__ASSUME_32BITUIDS]: Remove conditional code.
21779 * sysdeps/unix/sysv/linux/opendir.c: Do not include
21780 <kernel-features.h>.
21781 [__ASSUME_O_DIRECTORY]: Make code unconditional.
21782 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
21783 132096]: Remove conditional code.
21784 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
21785 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
21786 <kernel-features.h>.
21787 [__ASSUME_32BITUIDS]: Make code unconditional.
21788 [!__ASSUME_32BITUIDS]: Remove conditional code.
21789 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
21790 <kernel-features.h>.
21791 [__ASSUME_32BITUIDS]: Make code unconditional.
21792 [!__ASSUME_32BITUIDS]: Remove conditional code.
21793 * sysdeps/unix/sysv/linux/setegid.c: Do not include
21794 <kernel-features.h>.
21795 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
21797 (__setresgid): Do not declare.
21798 [__ASSUME_32BITUIDS]: Make code unconditional.
21799 [!__ASSUME_32BITUIDS]: Remove conditional code.
21800 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
21801 <kernel-features.h>.
21802 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
21804 (__setresuid): Do not declare.
21805 [__ASSUME_32BITUIDS]: Make code unconditional.
21806 [!__ASSUME_32BITUIDS]: Remove conditional code.
21807 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
21808 <kernel-features.h>.
21809 [__ASSUME_32BITUIDS]: Make code unconditional.
21810 [!__ASSUME_32BITUIDS]: Remove conditional code.
21811 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
21812 <kernel-features.h>.
21813 [__ASSUME_32BITUIDS]: Make code unconditional.
21814 [!__ASSUME_32BITUIDS]: Remove conditional code.
21816 2012-05-25 Richard Henderson <rth@twiddle.net>
21818 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
21819 dl_hwcap to ifunc resolver.
21820 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
21822 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
21823 dl_hwcap to ifunc resolver.
21824 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
21826 2012-05-24 Joseph Myers <joseph@codesourcery.com>
21829 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
21830 for |x| <= 2**-26, not 2**-57.
21831 * math/libm-test.inc (acos_test): Do not allow spurious underflow
21834 2012-05-24 Jeff Law <law@redhat.com>
21836 * stdio-common/Makefile (tests): Add bug25.
21837 * stdio-common/bug25.c: New test.
21839 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
21842 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
21843 multiple of MALLOC_ALIGNMENT in size.
21844 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
21846 2012-05-24 Joseph Myers <joseph@codesourcery.com>
21848 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
21850 (FILENAME_MAX): Use macro-int-constant.
21851 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
21852 (_IOFBF): Use macro-int-constant.
21853 (_IOLBF): Likewise.
21854 (_IONBF): Likewise.
21855 (SEEK_CUR): Likewise.
21856 (SEEK_END): Likewise.
21857 (SEEK_SET): Likewise.
21858 (TMP_MAX): Likewise.
21859 (EOF): Use macro-int-constant. Require < 0.
21860 (NULL): Use macro-constant. Require == 0.
21861 (stdin): Require type to be FILE *.
21862 (stdout): Likewise.
21863 (stderr): Likewise.
21864 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
21865 macro-int-constant.
21866 (EXIT_SUCCESS): Likewise.
21867 (NULL): Use macro-constant. Require == 0.
21868 (RAND_MAX): Use macro-int-constant.
21869 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
21870 [C99-based standards] (strtof): Require function.
21871 [C99-based standards] (strtold): Likewise.
21872 [C99-based standards] (strtoll): Likewise.
21873 [C99-based standards] (strtoull): Likewise.
21874 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21875 [ISO || ISO99 || ISO11] (limits.h): Likewise.
21876 [ISO || ISO99 || ISO11] (math.h): Likewise.
21877 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
21878 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21879 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21881 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
21884 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
21885 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
21886 * intl/dgettext.c (DCGETTEXT): Likewise.
21887 * intl/gettext.c (DCGETTEXT): Likewise.
21888 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
21889 * posix/regex_internal.h (gettext): Likewise.
21890 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
21891 Remove declaration.
21892 * include/argz.h (__argz_count_internal)
21893 (__argz_stringify_internal): Remove declaration.
21894 (__argz_count, __argz_stringify): Declare hidden proto.
21895 * intl/dcgettext.c: Remove use of INTDEF.
21896 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
21897 * string/argz-stringify.c: Likewise.
21898 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
21899 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
21900 Declare hidden proto.
21901 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
21902 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
21903 Declare hidden proto.
21904 * include/stdio.h (__asprintf_internal): Don't declare.
21905 (__asprintf): Don't define as macro. Declare hidden proto.
21906 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
21907 (__fsetlocking): Declare hidden proto.
21908 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
21909 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
21911 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
21912 (_IO_setlinebuf): Remove use of INTUSE.
21913 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
21914 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
21915 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
21916 Remove declaration.
21917 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
21918 (_IO_do_flush): Remove use of INTUSE.
21919 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
21920 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
21921 (_IO_adjust_column, _IO_least_wmarker)
21922 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
21923 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
21924 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
21925 (_IO_default_doallocate, _IO_wdefault_doallocate)
21926 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
21927 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
21928 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
21929 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
21930 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
21931 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
21932 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
21933 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
21934 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
21935 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
21936 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
21937 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
21938 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
21940 (_IO_flush_all_internal, _IO_adjust_column_internal)
21941 (_IO_default_uflow_internal, _IO_default_finish_internal)
21942 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
21943 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
21944 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
21945 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
21946 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
21947 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
21948 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
21949 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
21950 (_IO_file_close_internal, _IO_file_close_it_internal)
21951 (_IO_file_underflow_internal, _IO_file_overflow_internal)
21952 (_IO_file_init_internal, _IO_file_attach_internal)
21953 (_IO_file_fopen_internal, _IO_file_read_internal)
21954 (_IO_file_sync_internal, _IO_file_seek_internal)
21955 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
21956 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
21957 (_IO_str_underflow_internal, _IO_str_overflow_internal)
21958 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
21959 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
21960 (_IO_list_all_internal, _IO_link_in_internal)
21961 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
21962 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
21963 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
21964 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
21965 (_IO_do_write_internal, _IO_padn_internal)
21966 (_IO_getline_info_internal, _IO_getline_internal)
21967 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
21968 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
21969 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
21970 (_IO_vfscanf_internal, _IO_vfprintf_internal)
21971 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
21972 (_IO_init_internal, _IO_un_link_internal): Don't declare.
21973 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
21974 with libc_hidden_ver, remove use of INTUSE.
21975 * libio/genops.c: Likewise.
21976 * libio/freopen.c: Likewise.
21977 * libio/freopen64.c: Likewise.
21978 * libio/iofclose.c: Likewise.
21979 * libio/iofdopen.c: Likewise.
21980 * libio/iofflush.c: Likewise.
21981 * libio/iofflush_u.c: Likewise.
21982 * libio/iofgets.c: Likewise.
21983 * libio/iofgets_u.c: Likewise.
21984 * libio/iofopen.c: Likewise.
21985 * libio/iofopncook.c: Likewise.
21986 * libio/iofread.c: Likewise.
21987 * libio/iofread_u.c: Likewise.
21988 * libio/ioftell.c: Likewise.
21989 * libio/iofwrite.c: Likewise.
21990 * libio/iogetline.c: Likewise.
21991 * libio/iogets.c: Likewise.
21992 * libio/iogetwline.c: Likewise.
21993 * libio/iopadn.c: Likewise.
21994 * libio/iopopen.c: Likewise.
21995 * libio/ioseekoff.c: Likewise.
21996 * libio/ioseekpos.c: Likewise.
21997 * libio/iosetbuffer.c: Likewise.
21998 * libio/iosetvbuf.c: Likewise.
21999 * libio/ioungetc.c: Likewise.
22000 * libio/ioungetwc.c: Likewise.
22001 * libio/iovdprintf.c: Likewise.
22002 * libio/iovsprintf.c: Likewise.
22003 * libio/iovsscanf.c: Likewise.
22004 * libio/memstream.c: Likewise.
22005 * libio/obprintf.c: Likewise.
22006 * libio/oldfileops.c: Likewise.
22007 * libio/oldiofclose.c: Likewise.
22008 * libio/oldiofdopen.c: Likewise.
22009 * libio/oldiofopen.c: Likewise.
22010 * libio/oldiopopen.c: Likewise.
22011 * libio/oldstdfiles.c: Likewise.
22012 * libio/putc.c: Likewise.
22013 * libio/setbuf.c: Likewise.
22014 * libio/setlinebuf.c: Likewise.
22015 * libio/stdfiles.c: Likewise.
22016 * libio/strops.c: Likewise.
22017 * libio/vasprintf.c: Likewise.
22018 * libio/vscanf.c: Likewise.
22019 * libio/vsnprintf.c: Likewise.
22020 * libio/vswprintf.c: Likewise.
22021 * libio/wfiledoalloc.c: Likewise.
22022 * libio/wfileops.c: Likewise.
22023 * libio/wgenops.c: Likewise.
22024 * libio/wmemstream.c: Likewise.
22025 * libio/wstrops.c: Likewise.
22026 * libio/__fpurge.c: Likewise.
22027 * libio/__fsetlocking.c: Likewise.
22028 * assert/assert.c: Likewise.
22029 * debug/fgets_chk.c: Likewise.
22030 * debug/fgets_u_chk.c: Likewise.
22031 * debug/fread_chk.c: Likewise.
22032 * debug/fread_u_chk.c: Likewise.
22033 * debug/gets_chk.c: Likewise.
22034 * debug/obprintf_chk.c: Likewise.
22035 * debug/vasprintf_chk.c: Likewise.
22036 * debug/vdprintf_chk.c: Likewise.
22037 * debug/vsnprintf_chk.c: Likewise.
22038 * debug/vsprintf_chk.c: Likewise.
22039 * malloc/mtrace.c: Likewise.
22040 * misc/error.c: Likewise.
22041 * misc/syslog.c: Likewise.
22042 * stdio-common/asprintf.c: Likewise.
22043 * stdio-common/fxprintf.c: Likewise.
22044 * stdio-common/getw.c: Likewise.
22045 * stdio-common/isoc99_fscanf.c: Likewise.
22046 * stdio-common/isoc99_scanf.c: Likewise.
22047 * stdio-common/isoc99_vfscanf.c: Likewise.
22048 * stdio-common/isoc99_vscanf.c: Likewise.
22049 * stdio-common/isoc99_vsscanf.c: Likewise.
22050 * stdio-common/printf-prs.c: Likewise.
22051 * stdio-common/printf_fp.c: Likewise.
22052 * stdio-common/printf_fphex.c: Likewise.
22053 * stdio-common/printf_size.c: Likewise.
22054 * stdio-common/putw.c: Likewise.
22055 * stdio-common/scanf.c: Likewise.
22056 * stdio-common/sprintf.c: Likewise.
22057 * stdio-common/tmpfile.c: Likewise.
22058 * stdio-common/vfprintf.c: Likewise.
22059 * stdio-common/vfscanf.c: Likewise.
22060 * stdlib/strfmon_l.c: Likewise.
22061 * sunrpc/openchild.c: Likewise.
22062 * sunrpc/xdr_stdio.c: Likewise.
22063 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
22064 * sysdeps/mach/hurd/tmpfile.c: Likewise.
22066 2012-05-24 Roland McGrath <roland@hack.frob.com>
22068 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22070 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
22071 in the third column, to generate for the shared library an IFUNC
22072 that uses _dl_vdso_vsym.
22073 * Makerules (COMPILE.c, compile-stdin.c): New variables.
22074 * Makeconfig (object-suffixes-noshared): New variable.
22076 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
22077 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
22078 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
22079 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
22082 * include/sys/time.h (__gettimeofday): Remove macro.
22083 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
22084 * time/gettimeofday.c (__gettimeofday): Remove #undef.
22086 (__gettimeofday): Add libc_hidden_def.
22087 (gettimeofday): Add libc_hidden_weak.
22088 * sysdeps/mach/gettimeofday.c: Likewise.
22089 * sysdeps/posix/gettimeofday.c: Likewise.
22090 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
22091 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
22092 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
22093 (__gettimeofday_internal): Remove strong_alias.
22094 (__gettimeofday): Add libc_hidden_def.
22095 (gettimeofday): Add libc_hidden_weak.
22096 * sysdeps/unix/syscalls.list (gettimeofday):
22097 Remove __gettimeofday_internal alias.
22099 2012-05-24 Daniel Jacobowitz <drow@false.org>
22100 H.J. Lu <hongjiu.lu@intel.com>
22103 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
22104 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
22105 (largebin_index_32_big): New.
22106 (largebin_index): Use it for 16-byte alignment.
22107 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
22108 correction with front_misalign.
22110 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
22112 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
22113 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
22115 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
22117 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22119 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
22121 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
22123 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
22125 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
22127 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22129 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
22131 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
22133 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
22135 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
22138 * scripts/data/c++-types-x32-linux-gnu.data: New file.
22139 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
22141 2012-05-24 Joseph Myers <joseph@codesourcery.com>
22145 * math/libm-test.inc (exp_test): Add test from bug 14036.
22146 (pow_test): Add test from bug 10846.
22148 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
22150 (special_function): Do not include flags in test name.
22151 (parse_args): Likewise.
22152 * sysdeps/i386/fpu/libm-test-ulps: Update.
22153 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22154 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22155 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22158 * math/gen-libm-test.pl (%beautify): Add entries for underflow
22160 * math/libm-test.inc ("Philosophy"): Update comment about
22162 (UNDERFLOW_EXCEPTION): New macro.
22163 (UNDERFLOW_EXCEPTION_OK): Likewise.
22164 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
22165 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
22166 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
22167 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
22168 (INVALID_EXCEPTION_OK): Update value.
22169 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22170 (OVERFLOW_EXCEPTION_OK): Likewise.
22171 (IGNORE_ZERO_INF_SIGN): Likewise.
22172 (test_exceptions): Handle underflow exceptions.
22173 (acos_test): Update for underflow exception expectations.
22174 (cexp_test): Likewise.
22175 (clog_test): Likewise.
22176 (clog10_test): Likewise.
22177 (csqrt_test): Likewise.
22178 (ctan_test): Likewise.
22179 (ctanh_test): Likewise.
22180 (exp_test): Likewise.
22181 (exp10_test): Likewise.
22182 (exp2_test): Likewise.
22183 (expm1_test): Likewise.
22184 (fma_test): Likewise.
22185 (j0_test): Likewise.
22186 (jn_test): Likewise.
22187 (nexttoward_test): Likewise.
22188 (pow_test): Likewise.
22189 (scalbn_test): Likewise.
22190 (scalbln_test): Likewise.
22191 (tan_test): Likewise.
22192 (y1_test): Likewise.
22193 * sysdeps/i386/fpu/libm-test-ulps: Update.
22194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22196 2012-05-23 David S. Miller <davem@davemloft.net>
22198 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
22199 (__libc_sigaction): Remove unused local variables.
22201 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22203 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
22205 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
22207 mktime: avoid signed integer overflow
22208 * time/mktime.c (__mktime_internal): Do not mishandle the case
22209 where diff == INT_MIN.
22211 mktime: simplify computation of average
22212 * time/mktime.c (ranged_convert): Use new time_t_avg function
22213 instead of rolling our own (probably-slower) code.
22215 mktime: do not assume signed right shift propagates sign bit
22216 * time/mktime.c (isdst_differ): New static function.
22217 (__mktime_internal): No need to normalize tm_isdst now.
22218 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
22221 mktime: merge another wrapv change from gnulib
22222 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
22223 from some compilers.
22225 mktime: remove incorrect attempt at unusual arithmetics
22226 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
22227 The code didn't really work on such machines anyway.
22228 (TYPE_MINIMUM): Assume two's complement.
22229 (twos_complement_arithmetic): Verify that long_int and time_t
22230 are two's complement (or unsigned, in the latter case).
22232 mktime: check signed shifts on long_int and time_t, too
22233 * time/mktime.c (SHR): Check that shifts work as desired
22234 on the types long_int and time_t too, as SHR is used on
22237 mktime: do not assume 'long' is wide enough
22238 * time/mktime.c (verify): Move decl up.
22239 (long_int): New type.
22240 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
22241 to remove assumption in the code that 'long' is wide enough to
22242 store year values. This assumption is not true on x32 and on
22243 some non-glibc platforms.
22245 mktime: merge wrapv change from gnulib
22246 * time/mktime.c (WRAPV): New macro.
22247 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
22248 (guess_time_tm, __mktime_internal): Do not assume that signed
22249 integer overflow wraps around; modern compilers generate code
22250 where this assumption is no longer valid.
22252 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22254 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22255 Replace "jmp L(pseudo_end)" with "ret".
22256 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
22259 2012-05-23 Andreas Jaeger <aj@suse.de>
22261 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
22262 * sysdeps/unix/sysv/linux/poll.c: Remove file.
22264 2012-05-23 Andreas Jaeger <aj@suse.de>
22265 Maximilian Attems <max@stro.at>
22267 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
22270 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22272 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
22273 code so that pseudo_end is just ret and the stack pointer is
22274 correct also for static library in error case.
22276 2012-05-23 Joseph Myers <joseph@codesourcery.com>
22278 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
22279 move to syscalls.list.
22280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
22281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
22282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
22283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
22285 * manual/install.texi (Running make install): Do not mention Linux
22286 kernel version for which pt_chown is not needed.
22287 (Linux): Do not mention problems with nscd with 2.0 kernels.
22288 * INSTALL: Regenerated.
22290 2012-05-23 Andreas Jaeger <aj@suse.de>
22292 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
22293 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
22295 * sysdeps/unix/sysv/linux/s390/bits/mman.h
22296 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22297 * sysdeps/unix/sysv/linux/sh/bits/mman.h
22298 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22299 * sysdeps/unix/sysv/linux/i386/bits/mman.h
22300 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22301 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
22302 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22303 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
22304 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22305 * sysdeps/unix/sysv/linux/bits/in.h
22306 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
22308 2012-05-22 Roland McGrath <roland@hack.frob.com>
22310 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
22311 (PREPARE_VERSION): Just use assert instead, it will be elided
22312 under [NDEBUG] anyway.
22314 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22316 * sysdeps/unix/sysv/linux/Makefile: Include
22317 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
22318 (sysdep_routines): Remove sysctl.
22319 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
22320 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
22321 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
22322 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
22323 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
22325 2012-05-22 Andreas Jaeger <aj@suse.de>
22327 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
22328 that pseudo_end is just ret and the stack pointer is correct also
22329 for static library in error case.
22331 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
22334 * nss/nsswitch.c (defconfig_entries): New variable.
22335 (__nss_database_lookup): Don't leak defconfig entries.
22336 (nss_parse_service_list): Don't leak on error paths.
22337 (free_database_entries): New function.
22338 (free_defconfig): New function.
22339 (free_mem): Move common code to free_database_entries.
22341 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22343 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
22345 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
22347 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22348 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
22349 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
22351 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
22352 (INTERNAL_SYSCALL_TYPES): Likewise.
22353 (LOAD_ARGS_TYPES_[1-6]): Likewise.
22354 (LOAD_REGS_TYPES_[1-6]): Likewise.
22355 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
22356 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
22358 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22360 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
22361 copysignl for GLIBC_2_0.
22362 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
22363 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
22364 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
22365 logbl for GLIBC_2_0.
22366 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
22367 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
22369 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22371 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
22372 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
22374 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22377 * time/mktime.c: Update copyright years.
22379 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
22381 mktime: merge comment-quoting-style change from gnulib
22382 * time/mktime.c: Quote 'like this' in comments.
22383 The GNU coding standards suggest that we no longer quote `like this',
22384 as "`" and "'" are typically rendered asymmetrically nowadays.
22385 The typical gnulib style is to quote 'like this' when quoting
22386 code, and "like this" when quoting English.
22388 * time/mktime.c (compile-command): Add "-I.".
22390 mktime: merge mktime-internal.h change from gnulib
22391 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
22393 mktime: merge time_r change from gnulib
22394 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
22396 mktime: merge DEBUG change from gnulib
22397 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
22398 case system <time.h> has a #define.
22400 mktime: merge <sys/types.h> change from gnulib
22401 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
22402 since <time.t> is now guaranteed to define time_t.
22404 mktime: merge HAVE_CONFIG_H change from gnulib
22405 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
22407 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22409 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
22412 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
22414 (struct rusage): Use anonymous union to pad each field to
22417 2012-05-21 David S. Miller <davem@davemloft.net>
22419 * Makefules (o-iterator): Remove .s cases.
22420 (compile-command.s): Delete.
22421 (COMPILE.s): Delete.
22422 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
22424 2012-05-21 Joseph Myers <joseph@codesourcery.com>
22426 * configure.in (libc_cv_predef_stack_protector): Only consider
22427 "foobar" and "__stack_chk_fail" lines in libc_undefs.
22428 * configure: Regenerated.
22430 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22432 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
22433 New macro. Use R*LP on int and pointer.
22434 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
22435 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
22436 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
22437 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
22439 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
22440 [__WORDSIZE_TIME64_COMPAT32] instead of
22441 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
22442 (struct utmp): Likewise.
22443 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
22444 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
22446 (__WORDSIZE_TIME64_COMPAT32): This.
22447 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
22448 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
22449 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
22450 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
22451 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
22452 (__WORDSIZE_TIME64_COMPAT32): New macro.
22454 2012-05-21 Andreas Jaeger <aj@suse.de>
22456 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
22457 only if [SHARED]. Add prototype for __wcschr_ia32.
22459 2012-05-21 Roland McGrath <roland@hack.frob.com>
22461 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
22462 of %rbp unmolested in the jmp_buf while mangling the low bits.
22463 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
22464 unmolested high bits of %rbp while demangling the low bits.
22465 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22467 2012-05-21 Andreas Jaeger <aj@suse.de>
22469 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
22470 * sunrpc/svc_simple.c: Use it for registerrpc.
22471 * sunrpc/xcrypt.c: Use it for passwd2des.
22473 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
22475 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22477 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
22478 Don't define if [__SYSCALL_WORDSIZE != 32].
22479 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
22482 2012-05-21 Bruno Haible <bruno@clisp.org>
22483 Andreas Jaeger <aj@suse.de>
22485 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
22486 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
22487 inptr and inend for must_buffer_ch.
22488 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
22489 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
22490 * stdio-common/Makefile (tests): Remove bug15.
22491 (bug15-ENV): Remove macro.
22492 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
22495 2012-05-19 Andreas Jaeger <aj@suse.de>
22496 Roland McGrath <roland@hack.frob.com>
22498 * manual/contrib.texi: Completely rewritten. It contains now an
22499 alphabetical list of contributors and their contributions.
22501 2012-05-21 Richard Henderson <rth@twiddle.net>
22503 * misc/getauxval.c (__getauxval): Use unsigned long int.
22504 * misc/sys/auxv.h: Include <sys/cdefs.h>.
22505 (getauxval): Use unsigned long int.
22507 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22509 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22511 2012-05-21 Roland McGrath <roland@hack.frob.com>
22513 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
22514 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
22515 __alignof__ (long double).
22517 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22519 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22521 2012-05-20 Richard Henderson <rth@twiddle.net>
22523 * misc/getauxval.c: New file.
22524 * misc/sys/auxv.h: New file.
22525 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
22526 (routines): Add getauxval.
22527 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
22528 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
22529 * elf/dl-sysdep.c (_dl_auxv): Remove.
22530 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
22531 * elf/dl-support.c (_dl_auxv): New variable.
22532 (_dl_aux_init): Initialize it.
22533 * manual/startup.texi (Auxiliary Vector): New node.
22534 * sysdeps/generic/bits/hwcap.h: New file.
22535 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
22536 * sysdeps/powerpc/sysdep.h: ... here. Include it.
22537 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
22538 * sysdeps/sparc/sysdep.h: ... here. Include it.
22539 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
22540 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
22541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
22544 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
22545 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
22546 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
22547 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
22548 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
22549 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
22550 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
22552 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22554 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22556 2012-05-19 David S. Miller <davem@davemloft.net>
22558 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22560 2012-05-19 Joseph Myers <joseph@codesourcery.com>
22563 * math/s_ccosh.c: Include <float.h>
22564 (__ccosh): Avoid internal overflow calculating sinh and cosh
22565 values before multiplying by sin and cos values.
22566 * math/s_ccoshf.c: Likewise.
22567 * math/s_ccoshl.c: Likewise.
22568 * math/s_csin.c: Likewise.
22569 * math/s_csinf.c: Likewise.
22570 * math/s_csinl.c: Likewise.
22571 * math/s_csinh.c: Likewise.
22572 * math/s_csinhf.c: Likewise.
22573 * math/s_csinhl.c: Likewise.
22574 * math/libm-test.inc (ccos_test): Add more tests.
22575 (ccosh_test): Likewise.
22576 (csin_test): Likewise.
22577 (csinh_test): Likewise.
22578 * sysdeps/i386/fpu/libm-test-ulps: Update.
22579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22581 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
22583 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
22584 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
22586 * sysdeps/x86_64/x32/_itoa.h: Add comment.
22588 2012-05-19 Joseph Myers <joseph@codesourcery.com>
22590 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
22591 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
22592 * sysdeps/powerpc/soft-fp/Versions: Likewise.
22593 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
22594 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
22595 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
22596 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
22597 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
22598 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
22599 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
22600 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
22601 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
22602 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
22603 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
22604 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
22605 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
22606 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
22607 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
22608 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
22609 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
22610 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
22611 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
22612 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
22613 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
22614 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
22615 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
22616 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
22617 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
22618 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
22619 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
22620 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
22622 2012-05-18 Andreas Jaeger <aj@suse.de>
22624 * csu/.gitignore: Delete.
22626 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
22628 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
22629 (timex): Use __syscall_slong_t.
22631 2012-05-18 Andreas Jaeger <aj@suse.de>
22632 Carlos O'Donell <carlos_odonell@mentor.com>
22634 * manual/install.texi (Configuring and compiling): Update
22635 description about files modified in the source directory.
22636 * INSTALL: Regenerated.
22638 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
22640 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
22641 value. Use "or" to set return value to -1.
22642 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
22643 negate return value.
22645 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22647 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
22648 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
22649 failure if the compiler has Graphite support disabled.
22650 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
22652 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
22653 CFLAGS-memmove.c): Likewise.
22654 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
22657 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
22659 * sysdeps/x86_64/x32/_itoa.h: New file.
22661 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
22662 getdents system call only if kernel and user dirents have the
22663 same d_ino and d_off.
22665 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22666 LLONG_MAX != LONG_MAX.
22667 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22668 (_fitoa_word): Likewise.
22670 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
22672 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
22673 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
22674 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
22676 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
22677 include <bits/wordsize.h>. Check __x86_64__ instead of
22679 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
22680 if __x86_64__ is defined. Use anonymous union on fpstate.
22682 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
22685 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
22687 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
22688 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
22689 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
22690 Refer to _rtld_local_ro instead of _rtld_global_ro.
22691 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
22693 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
22695 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
22697 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
22698 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
22699 of _rtld_global, and rtld_progname instead of _dl_argv[0].
22701 * sysdeps/powerpc/powerpc32/dl-machine.c
22702 (__elf_machine_runtime_setup) [PROF]: Don't reference
22705 2012-05-18 Andreas Jaeger <aj@suse.de>
22707 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
22708 function only available for GCCs before 3.4 since GCC 3.4
22709 introduced a builtin.
22711 (llrintf): Likewise.
22712 (llrint): Likewise.
22719 (nearbyint): Likewise.
22720 (nearbyintf): Likewise.
22724 (floorf): Likewise.
22726 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
22728 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
22729 on both fields and cast pointer to __syscall_ulong_t.
22731 * bits/types.h (__fsword_t): New type.
22732 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
22733 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
22734 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22735 (__FSWORD_T_TYPE): Likewise.
22736 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22737 (__FSWORD_T_TYPE): Likewise.
22738 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22739 (__FSWORD_T_TYPE): Likewise.
22740 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
22741 (__FSWORD_T_TYPE): Likewise.
22742 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
22743 __SWORD_TYPE with __fsword_t.
22744 (statfs64): Likewise.
22746 2012-05-17 David S. Miller <davem@davemloft.net>
22748 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
22750 2012-05-17 Andreas Jaeger <aj@suse.de>
22752 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
22755 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
22757 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
22759 2012-05-17 Andreas Jaeger <aj@suse.de>
22761 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
22764 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
22766 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
22768 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
22770 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
22771 * sysdeps/x86_64/tst-mallocalign1.c: New file.
22773 2012-05-17 Andreas Jaeger <aj@suse.de>
22774 Carlos O'Donell <carlos_odonell@mentor.com>
22777 * sysdeps/x86_64/multiarch/init-arch.h
22778 (bit_YMM_Usable): Rename to...
22779 (bit_AVX_Usable): ... this.
22780 (bit_FMA4_Usable): New macro.
22781 (bit_XMM_state): New macro.
22782 (bit_YMM_state): New macro.
22783 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
22784 [__ASSEMBLER__] (index_AVX_Usable): ... this.
22785 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
22786 (CPUID_OSXSAVE): New macro.
22787 (CPUID_AVX): New macro.
22788 (CPUID_FMA4): New macro.
22789 (index_YMM_Usable): Rename to...
22790 (index_AVX_Usable): ... this.
22791 (HAS_AVX): Use HAS_ARCH_FEATURE.
22792 (HAS_FMA4): Likewise.
22793 (HAS_YMM_USABLE): Remove.
22794 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22795 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
22797 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
22798 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
22799 * sysdeps/x86_64/multiarch/Makefile: Likewise.
22800 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
22801 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
22803 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
22805 * math/libm-test.c: Support platforms without multiple rounding modes.
22806 * math/bug-nextafter.c: Support platforms without FP exceptions.
22807 * math/bug-nexttoward.c: Likewise.
22808 * math/test-fenv.c: Likewise.
22809 * math/test-misc.c: Likewise.
22810 * stdlib/bug-getcontext.c: Likewise.
22812 2012-05-17 Andreas Jaeger <aj@suse.de>
22814 * manual/examples/search.c (critter_cmp): Change signature to
22816 * manual/string.texi (Collation Functions): Likewise.
22818 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22820 * bits/types.h: Fold copyright years.
22821 * bits/typesizes.h: Likewise.
22822 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
22823 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
22824 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
22825 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
22826 * time/time.h: Likewise.
22828 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
22831 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
22832 in instead of returning them. Return void.
22833 (__libc_mallinfo): Accumulate over all arenas.
22834 (__malloc_stats): Adjust for change in int_mallinfo interface.
22836 2012-05-16 Roland McGrath <roland@hack.frob.com>
22839 * configure.in (NM): Add AC_CHECK_TOOL for it.
22840 (libc_extra_cflags): New substituted variable.
22841 Check for -fstack-protector being used implicitly.
22842 * configure: Regenerated.
22843 * config.make.in (config-extra-cflags): New variable,
22844 gets @libc_extra_cflags@.
22845 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
22848 * configure.in: Check for _FORTIFY_SOURCE being predefined.
22849 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
22850 * configure: Regenerated.
22851 * config.make.in (CPPUNDEFS): New substituted variable.
22852 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
22853 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
22854 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
22856 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22858 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
22859 (mq_attr): Use __syscall_slong_t.
22861 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22863 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
22864 Check __x86_64__ instead of __WORDSIZE.
22865 (_STAT_VER_LINUX): Likewise.
22866 (stat): Check __x86_64__ instead of __WORDSIZE. Use
22867 __syscall_ulong_t and __syscall_slong_t.
22868 (stat64): Likewise.
22870 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22872 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
22874 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22876 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
22878 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22880 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
22883 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
22884 include <bits/wordsize.h>. Check __x86_64__ instead of
22886 (greg_t): Use "__extension__ long long int" if __x86_64__ is
22888 (mcontext_t): Replace "unsigned long" with "unsigned long long".
22890 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
22891 include <bits/wordsize.h>. Check __x86_64__ instead of
22893 (user_regs_struct): Use "__extension__ unsigned long long"
22894 instead of "unsigned long" if __x86_64__ is defined.
22895 (user): Likewise. Pad after pointer field if __ILP32__ is
22898 2012-05-16 Joseph Myers <joseph@codesourcery.com>
22900 * configure.in (makeinfo): Require version 4.5 or later. Allow
22902 * configure: Regenerated.
22903 * manual/install.texi (texinfo): Increase version requirement to
22905 * INSTALL: Regenerated.
22907 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
22909 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22911 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
22913 * sysdeps/x86_64/x32/ffs.c: New file.
22915 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
22917 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
22918 defined. Use __syscall_ulong_t.
22919 (shminfo): Use __syscall_ulong_t.
22920 (shm_info): Likewise.
22922 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
22925 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
22927 (msgqnum_t): Use __syscall_ulong_t.
22928 (msglen_t): Likewise.
22929 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
22932 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
22933 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
22935 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
22937 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
22938 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
22940 * sysvipc/sys/msg.h (msgbuf): Replace long int with
22943 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
22944 include <bits/wordsize.h>. Check __x86_64__ instead of
22947 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
22948 "unsigned long long int" if __x86_64__ is defined.
22949 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
22951 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
22952 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
22953 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
22955 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
22957 (GET_PC): Cast to uintptr_t first.
22958 (GET_FRAME): Likewise.
22959 (GET_STACK): Likewise.
22961 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
22962 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
22963 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
22964 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
22965 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
22966 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
22967 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
22968 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
22969 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
22970 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
22971 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
22972 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
22973 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
22974 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
22975 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
22976 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
22977 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
22978 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
22979 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
22980 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
22981 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
22982 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
22983 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
22984 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
22985 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
22986 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
22987 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
22988 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
22989 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
22991 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
22993 * Makerules (+depfiles): Also collect depfiles from .oS in
22995 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
22996 .oS, $(libnldbl-routines)).
22998 * Makerules (native-compile-mkdep-flags): Define.
22999 * sunrpc/Makefile (extra-objs): Add $(addprefix
23000 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
23001 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
23002 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
23003 calling $(make-target-directory).
23005 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23007 * bits/types.h (__snseconds_t): Removed.
23008 * time/time.h (struct timespec): Replace __snseconds_t with
23010 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
23011 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
23013 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23014 (__SNSECONDS_T_TYPE): Likewise.
23015 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23016 (__SNSECONDS_T_TYPE): Likewise.
23017 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23018 (__SNSECONDS_T_TYPE): Likewise.
23020 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23022 * sysdeps/mach/hurd/bits/typesizes.h
23023 (__SYSCALL_SLONG_TYPE): New macro.
23024 (__SYSCALL_ULONG_TYPE): Likewise.
23026 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23028 * bits/types.h (__syscall_slong_t): New type.
23029 (__syscall_ulong_t): Likewise.
23031 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
23032 (__SYSCALL_ULONG_TYPE): Likewise.
23033 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23034 (__SYSCALL_SLONG_TYPE): Likewise.
23035 (__SYSCALL_ULONG_TYPE): Likewise.
23036 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23037 (__SYSCALL_SLONG_TYPE): Likewise.
23038 (__SYSCALL_ULONG_TYPE): Likewise.
23039 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23040 (__SYSCALL_SLONG_TYPE): Likewise.
23041 (__SYSCALL_ULONG_TYPE): Likewise.
23043 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23045 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
23046 Add sigaltstack-offsets.sym.
23047 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
23048 <sigaltstack-offsets.h>.
23049 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
23050 longjmp_msg pointer.
23051 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
23052 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
23054 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
23056 2012-05-15 Joseph Myers <joseph@codesourcery.com>
23058 * elf/stackguard-macros.h: Remove file.
23059 * sysdeps/generic/stackguard-macros.h: New file.
23060 * sysdeps/i386/stackguard-macros.h: Likewise.
23061 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23062 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23063 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23064 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23065 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23066 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23067 * sysdeps/x86_64/stackguard-macros.h: Likewise.
23068 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
23069 <elf/stackguard-macros.h>.
23072 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
23073 __aligned__ in attribute.
23074 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
23075 (gregset_t): Likewise.
23077 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23079 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
23080 * sysdeps/x86_64/64/Implies-after: Here. New file.
23081 * sysdeps/x86_64/x32/Implies-after: New file.
23083 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23085 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
23086 and access return value for _dl_profile_fixup. Use R10_LP to
23089 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23091 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
23093 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23095 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
23096 * sysdeps/x86_64/x32/sysdep.h: New file.
23098 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23100 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
23101 * sysdeps/x86_64/setjmp.S: Likewise.
23103 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23105 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
23106 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
23107 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
23108 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
23109 remove unused global constant.
23111 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
23113 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
23114 include of <not-cancel.h>.
23116 2012-05-15 Roland McGrath <roland@hack.frob.com>
23118 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
23120 2012-05-15 Jeff Law <law@redhat.com>
23121 Andreas Jaeger <aj@suse.de>
23124 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
23126 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
23127 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
23128 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
23129 code changing __hst_map_handle.map.
23131 2012-05-15 Roland McGrath <roland@hack.frob.com>
23133 * configure.in (sysnames): Look for Implies-before and Implies-after
23135 * configure: Regenerated.
23137 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23139 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
23140 8-byte data alignment with LP_SIZE alignment.
23142 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23144 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
23147 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23149 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
23151 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23153 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
23154 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
23155 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
23157 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
23159 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23161 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
23162 (stackinfo_sub_sp): Likewise.
23164 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23166 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
23169 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23171 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
23174 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23176 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
23179 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23181 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
23183 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23185 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
23186 into R11_LP and load __x86_64_shared_cache_size_half into
23189 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23191 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
23194 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23196 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
23198 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
23200 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
23202 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
23203 powerpc32/power7/fpu/s_logb.c via #include.
23204 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
23205 powerpc32/power7/fpu/s_logbf.c via #include.
23206 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
23207 powerpc32/power7/fpu/s_logbl.c via #include.
23209 2012-05-15 Joseph Myers <joseph@codesourcery.com>
23211 * README.libm: Remove file.
23213 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23215 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
23216 count for x32. Use R*_LP and omit operand-size suffix.
23218 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23220 * shlib-versions: Move x86_64-.*-linux.* entries to ...
23221 * sysdeps/x86_64/64/shlib-versions: Here. New file.
23222 * sysdeps/x86_64/x32/shlib-versions: New file.
23224 2012-05-14 Roland McGrath <roland@hack.frob.com>
23226 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
23227 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
23228 Use _dl_fatal_printf instead.
23230 2012-05-14 Joseph Myers <joseph@codesourcery.com>
23232 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
23233 set if not set by the user. Do not allow for being unset.
23234 * sysdeps/unix/sysv/linux/configure: Regenerated.
23236 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23238 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
23239 the `q' suffix from lea and replace .quad with ASM_ADDR.
23241 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23243 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
23244 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
23246 (PTR_DEMANGLE): Likewise.
23248 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23250 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
23252 (ASM_ADDR): Likewise.
23253 (RAX_LP): Likewise.
23254 (RBP_LP): Likewise.
23255 (RBX_LP): Likewise.
23256 (RCX_LP): Likewise.
23257 (RDI_LP): Likewise.
23258 (RSI_LP): Likewise.
23259 (RSP_LP): Likewise.
23262 (R10_LP): Likewise.
23263 (R10_LP): Likewise.
23264 (R11_LP): Likewise.
23265 (R12_LP): Likewise.
23266 (R13_LP): Likewise.
23267 (R14_LP): Likewise.
23268 (R15_LP): Likewise.
23270 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23272 * sysdeps/x86_64/x32/dl-machine.h: New file.
23274 2012-05-14 Andreas Jaeger <aj@suse.de>
23276 * manual/Makefile (subdir): Remove export of subdir.
23277 (all): Remove target.
23278 (.PHONY): Remove all from list.
23279 (mkinstalldirs): Remove.
23280 (.PHONY): Remove installdirs from list.
23281 ($(inst_infodir)/libc.info): Use make-target-directory.
23282 (installdirs): Remove.
23283 (subdir_%): Remove.
23284 (glibc-targets): Remove.
23287 ($(objpfx)stubs ../po/manual.pot): Remove.
23288 ($(objpfx)stamp%): Remove.
23289 (make-target-directory): Remove.
23290 (subdir_install): Remove.
23291 (routines): Remove.
23298 * manual/.gitignore: Remove, it's not needed anymore.
23299 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
23301 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
23303 (texis): Renamed to $(objpfx)texis.
23304 (texis-path): New, contains path to generated files.
23305 (chapters.%): Use texis-path for complete path, add extra argument
23307 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
23308 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
23309 (summary,texi, stamp-summary): Use complete path of
23310 files. Generate files in build dir.
23311 (dir-add.texi): Build in build dir.
23312 (libm-err.texi,stamp-libm-err): Likewise.
23313 (version.texi, stamp-version): Likewise.
23314 (.%c.texi): Likewise.
23315 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
23316 (mostlyclean): Remove target.
23317 (realclean): Remove target.
23318 (generated): Add new variable with contents from mostlyclean and
23319 realclean, remove entries duplicated in common-mostlyclean, add
23320 stamp-libm-err and stamp-version.
23321 (generated-dirs): Add libc directory.
23322 ($(inst_infodir)/libc.info): Install files from build dir.
23324 * manual/install.texi (Configuring and compiling): Adjust since
23325 the info files are not part of the tar ball anymore.
23327 2012-05-14 Andreas Jaeger <aj@suse.de>
23329 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
23332 2012-05-14 Joseph Myers <joseph@codesourcery.com>
23335 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
23336 to 2.2.0 where earlier.
23337 * sysdeps/unix/sysv/linux/configure: Regenerated.
23338 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
23339 Remove conditional code.
23340 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
23341 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
23342 Remove conditional code.
23343 [!__NR_lchown]: Likewise.
23344 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23345 [__NR_lchown]: Likewise.
23346 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
23347 comment referencing __ASSUME_LCHOWN_SYSCALL.
23348 * sysdeps/unix/sysv/linux/i386/sigaction.c
23349 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23350 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23351 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
23352 Remove conditional code.
23353 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
23354 (__protocol_available): Remove #if 0 code.
23355 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
23357 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
23358 * sysdeps/unix/sysv/linux/kernel-features.h
23359 (__ASSUME_GETCWD_SYSCALL): Don't define.
23360 (__ASSUME_REALTIME_SIGNALS): Likewise.
23361 (__ASSUME_PREAD_SYSCALL): Likewise.
23362 (__ASSUME_PWRITE_SYSCALL): Likewise.
23363 (__ASSUME_POLL_SYSCALL): Likewise.
23364 (__ASSUME_LCHOWN_SYSCALL): Likewise.
23365 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
23367 (__ASSUME_SIOCGIFNAME): Don't define.
23368 (__ASSUME_MSG_NOSIGNAL): Likewise.
23369 (__ASSUME_SENDFILE): Define unconditionally.
23370 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
23371 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
23373 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
23374 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
23375 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
23376 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23377 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
23378 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
23379 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
23381 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23382 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
23384 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23385 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
23387 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23388 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
23390 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23391 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
23393 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23394 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
23396 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23397 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
23399 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23400 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
23402 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23403 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23404 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
23405 Remove conditional code.
23406 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23407 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
23408 Remove conditional code.
23409 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23410 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
23411 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
23412 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
23413 Remove conditional code.
23414 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23415 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
23416 Remove conditional code.
23417 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23418 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
23419 Remove conditional code.
23420 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23421 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
23422 Remove conditional code.
23423 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23424 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
23425 Remove conditional code.
23426 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23427 * sysdeps/unix/sysv/linux/sh/pwrite64.c
23428 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23429 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23430 * sysdeps/unix/sysv/linux/sigaction.c
23431 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23432 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23433 * sysdeps/unix/sysv/linux/sigpending.c
23434 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23435 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23436 * sysdeps/unix/sysv/linux/sigprocmask.c
23437 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23438 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23439 * sysdeps/unix/sysv/linux/sigsuspend.c
23440 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23441 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23442 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23443 (__libc_missing_rt_sigs): Remove.
23444 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
23445 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
23446 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
23447 Remove conditional code.
23448 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
23449 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
23451 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
23452 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
23453 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
23454 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
23456 2012-05-14 Andreas Jaeger <aj@suse.de>
23458 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
23459 it's not used in glibc.
23460 (__coshm1): Likewise.
23461 (__acosh1p): Likewise.
23464 * manual/string.texi (Copying and Concatenation): Add missing
23465 variable in concat example.
23466 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
23468 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23471 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
23472 __builtin_clzl with __builtin_clzll.
23474 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23477 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
23480 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23482 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
23483 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
23484 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
23485 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
23487 2012-05-14 Mike Frysinger <vapier@gentoo.org>
23489 * NEWS: Update ia64 info.
23491 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
23493 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
23496 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
23498 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
23499 * sysdeps/unix/syscalls.list (dup3): Likewise.
23500 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
23501 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
23503 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
23505 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
23506 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
23508 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
23510 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
23512 (TLS_IE): Use mov/add instead of movq/addq to load thread
23514 (TLS_GD_PREFIX): New.
23517 2012-05-11 David S. Miller <davem@davemloft.net>
23519 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
23520 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
23521 (_FPU_SETCW): Likewise.
23523 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23525 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
23526 is 32-byte aligned.
23528 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
23531 * iconvdata/gb18030.c: Update tables.
23532 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
23533 characters specially.
23534 (BODY for TO_LOOP): Add encoding of missing ranges.
23536 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
23539 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
23540 * sysdeps/mach/hurd/dup3.c: Likewise.
23541 * sysdeps/mach/hurd/readlinkat.c: Likewise.
23542 * sysdeps/powerpc/memmove.c:: Likewise.
23544 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23546 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
23547 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
23549 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23551 * elf/elf.h (R_X86_64_RELATIVE64): New.
23552 (R_X86_64_NUM): Updated.
23553 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23554 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
23555 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
23556 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
23557 tst-quad1pie tst-quad2pie
23558 (modules-names): Add tst-quadmod1 tst-quadmod2.
23559 ($(objpfx)tst-quad1): New dependency.
23560 ($(objpfx)tst-quad2): Likewise.
23561 ($(objpfx)tst-quad1pie): Likewise.
23562 ($(objpfx)tst-quad2pie): Likewise.
23563 * sysdeps/x86_64/tst-quad1.c: New file.
23564 * sysdeps/x86_64/tst-quad1pie.c: New file.
23565 * sysdeps/x86_64/tst-quad2.c: Likewise.
23566 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
23567 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
23568 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
23569 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
23570 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
23572 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23574 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
23575 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
23576 * streams/stropts.h (t_scalar_t): Define type.
23578 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
23579 (_PATH_PRESERVE): Set to "/var/lib".
23580 (_PATH_RWHODIR): Set to "/var/spool/rwho".
23582 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
23585 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
23586 if __dir_mkfile succeeded.
23588 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
23589 checking for _hurd_dtablesize. Unlock it right after having
23590 finished _hurd_dtable allocation.
23592 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23594 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
23595 * sysdeps/mach/hurd/configure: Regenerated.
23596 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
23597 special-casing to...
23598 * sysdeps/gnu/configure.in: ... this new file.
23599 * sysdeps/unix/sysv/linux/configure: Regenerated.
23600 * sysdeps/gnu/configure: New generated file.
23602 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
23603 for Linux: use nsec instead of usec, as well as:
23604 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
23605 members of type struct timespec.
23606 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
23608 (struct stat64): Likewise.
23609 (_STATBUF_ST_NSEC): New macro.
23610 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
23612 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
23613 __strtoul_internal rather than strtoul.
23615 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23617 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
23620 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23622 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
23623 which preserves existing values.
23624 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
23626 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23628 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
23629 TIMEOUT values. Return EINVAL for NFDS values either negative or
23630 greater than FD_SETSIZE.
23632 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23634 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
23635 allocated, call __vm_protect to finish enabling the existing space, and
23636 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
23637 allocate the remainder.
23639 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23641 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
23642 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
23644 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23646 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
23647 sysdeps/mach/hurd/readlink.c.
23649 * posix/tst-sysconf.c (posix_options): Only use
23650 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
23651 _POSIX_SYNCHRONIZED_IO when they are defined
23652 * sysdeps/mach/hurd/bits/posix_opt.h:
23653 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
23654 (_XOPEN_REALTIME): Undefine macro.
23655 (_XOPEN_REALTIME_THREADS): Undefine macro.
23656 (_XOPEN_SHM): Undefine macro.
23657 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
23659 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
23661 (_POSIX_ASYNC_IO): Undefine macro.
23662 (_POSIX_PRIORITIZED_IO): Undefine macro.
23663 (_POSIX_SPIN_LOCKS): Define macro to -1.
23665 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
23666 SA_NODEFER, SA_RESETHAND.
23667 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
23668 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
23671 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23673 * elf/Makefile (pldd-modules): Define unconditionally.
23675 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23677 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
23679 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23681 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
23682 Return ENOENT when name is empty.
23683 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
23685 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23687 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
23689 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
23691 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23693 Fix mlock in all cases except non-readable pages.
23694 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
23695 instead of VM_PROT_ALL as parameter to __vm_wire function.
23697 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
23698 (__mkdir): When path is `/', just fail with EEXIST.
23699 * sysdeps/mach/hurd/mkdirat.c: Likewise.
23701 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23703 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
23704 <sys/uio.h> (for writev).
23705 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
23706 and <sys/param.h> (for MIN).
23708 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23710 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
23711 REQUESTED_TIME. Properly set the remaining time and return EINTR
23714 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23716 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
23717 Depend on against $(link-rpcuserlibs).
23719 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23721 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
23722 (__libc_stack_end): Do not use attribute_relro.
23723 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
23724 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
23725 to libthread-provided value.
23726 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
23729 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23732 * bits/libc-lock.h (__libc_once_get): New macro.
23733 * sysdeps/mach/bits/libc-lock.h: Likewise.
23734 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
23735 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
23736 instead of using implementation details.
23738 * libio/fileops.c: Unconditionally include <kernel-features.h>.
23739 * libio/freopen.c: Likewise.
23740 * libio/freopen64.c: Likewise.
23741 * misc/syslog.c: Likewise.
23742 * nscd/connections.c: Likewise.
23743 * nscd/netgroupcache.c: Likewise.
23744 * sysdeps/posix/getcwd.c: Likewise.
23746 2012-05-10 Roland McGrath <roland@hack.frob.com>
23748 * math/w_ilogbf.c: Add #include <limits.h>.
23750 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23752 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
23753 path instead of returning without unlocking.
23755 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
23756 immediate-write ioctls.
23757 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
23759 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23761 * sysdeps/mach/hurd/i386/init-first.c (init): Use
23762 __builtin_frame_address instead of making assumptions about the
23763 location of the return address relative to DATA. Force early load of
23764 the return address.
23765 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
23766 __builtin_frame_address.
23769 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
23770 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
23771 implement dup3 and do some further code clean-ups.
23772 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
23773 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
23775 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23777 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
23779 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
23780 HURD_CRITICAL_END around holding _hurd_dtable_lock.
23781 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
23782 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
23783 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
23786 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
23787 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
23788 when handler == SIG_ERR, not when handler != SIG_ERR.
23790 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23792 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
23793 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
23796 accept4 for GNU Hurd.
23797 * include/sys/socket.h (__libc_accept4): New prototype.
23798 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
23799 to implement __libc_accept4.
23800 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
23802 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
23804 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
23805 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
23806 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
23807 signal-defines.sym.
23809 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23811 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
23813 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23815 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
23816 assertion on O_CLOEXEC flag.
23817 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
23818 * hurd/intern-fd.c: Likewise.
23819 * hurd/port2fd.c: Likewise.
23821 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23824 * bits/in.h (IPV6_PKTINFO): Define new macro.
23825 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
23827 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23832 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
23833 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23834 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
23835 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
23836 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23837 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
23838 * math/libm-test.inc (logb_test) : Additional logb tests.
23840 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
23841 Andreas Jaeger <aj@suse.de>
23843 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
23844 * configure: Regenerated.
23845 * config.h.in (LINK_OBSOLETE_RPC): New macro.
23846 * config.make.in (link-obsolete-rpc): New substituted variable.
23847 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
23848 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
23849 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
23850 (shared-only-routines): Don't set it under [link-obsolete-rpc],
23851 so that libc.a contains the symbols.
23852 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
23853 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
23854 * sunrpc/auth_none.c: Likewise.
23855 * sunrpc/auth_unix.c: Likewise.
23856 * sunrpc/authdes_prot.c: Likewise.
23857 * sunrpc/authuxprot.c: Likewise.
23858 * sunrpc/clnt_gen.c: Likewise.
23859 * sunrpc/clnt_perr.c: Likewise.
23860 * sunrpc/clnt_raw.c: Likewise.
23861 * sunrpc/clnt_simp.c: Likewise.
23862 * sunrpc/clnt_tcp.c: Likewise.
23863 * sunrpc/clnt_udp.c: Likewise.
23864 * sunrpc/clnt_unix.c: Likewise.
23865 * sunrpc/des_crypt.c: Likewise.
23866 * sunrpc/des_soft.c: Likewise.
23867 * sunrpc/get_myaddr.c: Likewise.
23868 * sunrpc/key_call.c: Likewise.
23869 * sunrpc/key_prot.c: Likewise.
23870 * sunrpc/netname.c: Likewise.
23871 * sunrpc/pm_getmaps.c: Likewise.
23872 * sunrpc/pm_getport.c: Likewise.
23873 * sunrpc/pmap_clnt.c: Likewise.
23874 * sunrpc/pmap_prot.c: Likewise.
23875 * sunrpc/pmap_prot2.c: Likewise.
23876 * sunrpc/pmap_rmt.c: Likewise.
23877 * sunrpc/publickey.c: Likewise.
23878 * sunrpc/rpc_cmsg.c: Likewise.
23879 * sunrpc/rpc_common.c: Likewise.
23880 * sunrpc/rpc_dtable.c: Likewise.
23881 * sunrpc/rpc_prot.c: Likewise.
23882 * sunrpc/rpc_thread.c: Likewise.
23883 * sunrpc/rtime.c: Likewise.
23884 * sunrpc/svc.c: Likewise.
23885 * sunrpc/svc_auth.c: Likewise.
23886 * sunrpc/svc_raw.c: Likewise.
23887 * sunrpc/svc_run.c: Likewise.
23888 * sunrpc/svc_tcp.c: Likewise.
23889 * sunrpc/svc_udp.c: Likewise.
23890 * sunrpc/svc_unix.c: Likewise.
23891 * sunrpc/svcauth_des.c: Likewise.
23892 * sunrpc/xcrypt.c: Likewise.
23893 * sunrpc/xdr.c: Likewise.
23894 * sunrpc/xdr_array.c: Likewise.
23895 * sunrpc/xdr_float.c: Likewise.
23896 * sunrpc/xdr_intXX_t.c: Likewise.
23897 * sunrpc/xdr_mem.c: Likewise.
23898 * sunrpc/xdr_rec.c: Likewise.
23899 * sunrpc/xdr_ref.c: Likewise.
23900 * sunrpc/xdr_sizeof.c: Likewise.
23901 * sunrpc/xdr_stdio.c: Likewise.
23903 2012-05-10 Roland McGrath <roland@hack.frob.com>
23905 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
23906 change. Update copyright years.
23908 2012-05-10 Joseph Myers <joseph@codesourcery.com>
23910 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
23912 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
23913 Joseph Myers <joseph@codesourcery.com>
23914 Paul Pluzhnikov <ppluzhnikov@google.com>
23917 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
23919 [cross-compiling] (extra-libs): Likewise.
23920 [cross-compiling] (extra-libs-others): Likewise.
23921 [cross-compiling] (librpcsvc-routines): Likewise.
23922 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
23923 [cross-compiling] (omit-deps): Likewise.
23924 (sunrpc-CPPFLAGS): New variable.
23925 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
23926 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
23927 (cross-rpcgen-objs): New variable.
23928 (extra-objs): Append $(cross-rpcgen-objs).
23929 ($(cross-rpcgen-objs)): New rule.
23930 ($(objpfx)cross-rpcgen): Likewise.
23931 (rpcgen-cmd): Define to use $(built-program-file). Expand
23933 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
23934 ($(objpfx)x%.stmp): Likewise.
23935 * sunrpc/proto.h [IS_IN_build] (_): Define.
23936 [IS_IN_build] (_libc_intl_domainname): Likewise.
23938 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23940 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
23941 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
23942 and R_X86_64_TPOFF64.
23944 2012-05-10 Joseph Myers <joseph@codesourcery.com>
23946 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
23947 sysdeps/unix/sysv/syscalls.list.
23950 * sysdeps/unix/sysv/syscalls.list: Remove file.
23952 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
23955 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
23956 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
23957 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
23958 (__LC_IDENTIFICATION): Make these macros useful in #if
23959 expressions, as required by C99.
23961 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
23963 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
23964 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
23967 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
23969 * stdlib/longlong.h: Updated from GCC.
23971 2012-05-09 Andreas Jaeger <aj@suse.de>
23973 * nscd/nscd.c (run_modes): Make named enum, reorder so that
23974 default is first entry.
23975 (run_mode): Set type.
23976 (main): Remove informal message about syslog.
23977 (options): Fix typo.
23980 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
23983 (llrintf): Likewise.
23984 (llrint): Likewise.
23987 (nearbyint): Likewise.
23988 (nearbyintf): Likewise.
23990 2012-05-09 Andreas Jaeger <aj@suse.de>
23991 Pedro Alves <palves@redhat.com>
23993 * nscd/nscd.c (run_mode): Use enum.
23994 (main): Cleanup coding style issue.
23996 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
23997 Andreas Jaeger <aj@suse.de>
23999 * nscd/nscd.c (go_background): Replaced with...
24000 (run_mode): ... this.
24001 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
24002 (options): Add -F --foreground.
24003 (main): Implement it.
24004 (parse_opt): Parse it.
24006 2012-05-09 Andreas Jaeger <aj@suse.de>
24009 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
24010 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
24011 -Wconversion warning.
24012 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
24015 2012-05-09 Joseph Myers <joseph@codesourcery.com>
24017 * conform/data/locale.h-data (NULL): Use macro-constant. Require
24019 (LC_ALL): Use macro-int-constant.
24020 (LC_COLLATE): Likewise.
24021 (LC_CTYPE): Likewise.
24022 (LC_MESSAGES): Likewise.
24023 (LC_MONETARY): Likewise.
24024 (LC_NUMERIC): Likewise.
24025 (LC_TIME): Likewise.
24026 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
24027 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24028 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24029 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
24031 [C99-based standards] (float_t): Expect type.
24032 [C99-based standards] (double_t): Expect type.
24033 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
24035 [C99-based standards] (HUGE_VALL): Likewise.
24036 [C99-based standards] (INFINITY): Likewise.
24037 [C99-based standards] (NAN): Likewise.
24038 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
24039 [C99-based standards] (FP_NAN): Likewise.
24040 [C99-based standards] (FP_NORMAL): Likewise.
24041 [C99-based standards] (FP_SUBNORMAL): Likewise.
24042 [C99-based standards] (FP_ZERO): Likewise.
24043 [C99-based standards] (FP_FAST_FMA): Use
24044 optional-macro-int-constant. Specify type. Require == 1.
24045 [C99-based standards] (FP_FAST_FMAF): Likewise.
24046 [C99-based standards] (FP_FAST_FMAL): Likewise.
24047 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
24048 [C99-based standards] (FP_ILOGBNAN): Likewise.
24049 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
24051 [C99-based standards] (MATH_ERREXCEPT): Likewise.
24052 [C99-based standards] (math_errhandling): Specify type.
24053 [ISO99 || ISO11] (signgam): Do not allow.
24054 [non-C99-based standards] (copysignf): Do not allow.
24055 [non-C99-based standards] (exp2f): Likewise.
24056 [non-C99-based standards] (log2f): Likewise.
24057 [non-C99-based standards] (modff): Allow.
24058 [non-C99-based standards] (erff): Do not allow.
24059 [non-C99-based standards] (erfcf): Likewise.
24060 [non-C99-based standards] (gammaf): Likewise.
24061 [non-C99-based standards] (hypotf): Likewise.
24062 [non-C99-based standards] (j0f): Likewise.
24063 [non-C99-based standards] (j1f): Likewise.
24064 [non-C99-based standards] (jnf): Likewise.
24065 [non-C99-based standards] (lgammaf): Likewise.
24066 [non-C99-based standards] (tgammaf): Likewise.
24067 [non-C99-based standards] (y0f): Likewise.
24068 [non-C99-based standards] (y1f): Likewise.
24069 [non-C99-based standards] (ynf): Likewise.
24070 [non-C99-based standards] (isnanf): Likewise.
24071 [non-C99-based standards] (acoshf): Likewise.
24072 [non-C99-based standards] (asinhf): Likewise.
24073 [non-C99-based standards] (atanhf): Likewise.
24074 [non-C99-based standards] (cbrtf): Likewise.
24075 [non-C99-based standards] (expm1f): Likewise.
24076 [non-C99-based standards] (ilogbf): Likewise.
24077 [non-C99-based standards] (log1pf): Likewise.
24078 [non-C99-based standards] (logbf): Likewise.
24079 [non-C99-based standards] (nextafterf): Likewise.
24080 [non-C99-based standards] (remainderf): Likewise.
24081 [non-C99-based standards] (rintf): Likewise.
24082 [non-C99-based standards] (scalbf): Likewise.
24083 [non-C99-based standards] (copysignl): Likewise.
24084 [non-C99-based standards] (exp2l): Likewise.
24085 [non-C99-based standards] (log2l): Likewise.
24086 [non-C99-based standards] (modfl): Allow.
24087 [non-C99-based standards] (erfl): Do not allow.
24088 [non-C99-based standards] (erfcl): Likewise.
24089 [non-C99-based standards] (gammal): Likewise.
24090 [non-C99-based standards] (hypotl): Likewise.
24091 [non-C99-based standards] (j0l): Likewise.
24092 [non-C99-based standards] (j1l): Likewise.
24093 [non-C99-based standards] (jnl): Likewise.
24094 [non-C99-based standards] (lgammal): Likewise.
24095 [non-C99-based standards] (tgammal): Likewise.
24096 [non-C99-based standards] (y0l): Likewise.
24097 [non-C99-based standards] (y1l): Likewise.
24098 [non-C99-based standards] (ynl): Likewise.
24099 [non-C99-based standards] (isnanl): Likewise.
24100 [non-C99-based standards] (acoshl): Likewise.
24101 [non-C99-based standards] (asinhl): Likewise.
24102 [non-C99-based standards] (atanhl): Likewise.
24103 [non-C99-based standards] (cbrtl): Likewise.
24104 [non-C99-based standards] (expm1l): Likewise.
24105 [non-C99-based standards] (ilogbl): Likewise.
24106 [non-C99-based standards] (log1pl): Likewise.
24107 [non-C99-based standards] (logbl): Likewise.
24108 [non-C99-based standards] (nextafterl): Likewise.
24109 [non-C99-based standards] (remainderl): Likewise.
24110 [non-C99-based standards] (rintl): Likewise.
24111 [non-C99-based standards] (scalbl): Likewise.
24112 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24113 [non-C99-based standards] (FP_*): Do not allow.
24114 [C99-based standards] (FP_*): Change to
24115 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24116 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24118 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
24119 (SIG_ERR): Likewise.
24120 [X/Open-based standards] (SIG_HOLD): Likewise.
24121 (SIG_IGN): Likewise.
24122 (SIGABRT): Use macro-int-constant. Specify type. Require
24124 (SIGFPE): Likewise.
24125 (SIGILL): Likewise.
24126 (SIGINT): Likewise.
24127 (SIGSEGV): Likewise.
24128 (SIGTER): Likewise.
24129 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
24130 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
24131 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
24132 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
24133 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
24134 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
24135 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
24136 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
24137 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
24138 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
24139 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
24140 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
24141 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
24142 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
24143 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
24144 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
24145 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
24146 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
24147 [X/Open-based standards] (SIGTRAP): Likewise.
24148 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
24149 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
24150 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
24151 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
24152 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24155 2012-05-08 Ian Wienand <ianw@vmware.com>
24158 * time/tzset.c (__tzset_parse_tz): Update default rules for
24159 daylight time changes in the Energy Policy Act of 2005.
24161 2012-05-09 Andreas Jaeger <aj@suse.de>
24164 * elf/ldconfig.c (parse_conf): Change string to make clear that
24165 ldconfig only issued a warning if ld.so.conf does not exist.
24167 2012-05-08 David S. Miller <davem@davemloft.net>
24169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
24170 movxtod instead of popping the value on the stack.
24172 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24174 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
24176 * config.h.in: Add HAVE_ARM_PCS_VFP.
24178 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
24181 * include/features.h: Warn if user requests __FORTIFY_SOURCE
24182 checking but the checks are disabled for any reason.
24184 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
24186 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
24187 and ELF64_R_TYPE with ELFW(R_TYPE).
24189 2012-05-08 Joseph Myers <joseph@codesourcery.com>
24191 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
24192 (ulimit): Likewise.
24194 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
24195 (settimeofday): Likewise.
24197 2012-05-08 Mike Frysinger <vapier@gentoo.org>
24199 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
24200 a struct th_u2 inside the union, and move tu_block/tu_code into
24201 a new th_u3 union of tu_block/tu_code inside of that. Move
24202 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
24203 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
24204 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
24205 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
24206 (th_stuff): Change to th_u1.tu_stuff.
24208 (th_msg): Change to th_u1.th_u2.tu_data.
24210 2012-05-07 David S. Miller <davem@davemloft.net>
24212 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24215 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
24216 (SETUP_PIC_REG): Use it.
24217 (SETUP_PIC_REG_LEAF): Use it.
24219 2012-05-07 Joseph Myers <joseph@codesourcery.com>
24223 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24225 (EXPL_FINITE): Likewise.
24226 (FLDLOG): Likewise.
24227 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24228 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24230 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24232 (EXPL_FINITE): Likewise.
24233 (FLDLOG): Likewise.
24234 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24235 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24237 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
24238 test of -max_value argument for long double.
24239 * sysdeps/i386/fpu/libm-test-ulps: Update.
24240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24242 2012-05-06 David S. Miller <davem@davemloft.net>
24244 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
24245 quad soft-float symbols whose references which are compiler
24247 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24249 2012-05-06 Joseph Myers <joseph@codesourcery.com>
24253 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24255 (EXPL_FINITE): Likewise.
24256 (FLDLOG): Likewise.
24259 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
24260 Adjust comments for base varying.
24261 (__expl_finite): Change alias to EXPL_FINITE.
24262 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
24264 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
24265 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
24266 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24267 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
24268 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24270 (EXPL_FINITE): Likewise.
24271 (FLDLOG): Likewise.
24274 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
24275 Adjust comments for base varying.
24276 (__expl_finite): Change alias to EXPL_FINITE.
24277 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
24279 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24282 * math/libm-test.inc (check_float_internal): Correct ulp
24283 calculation for subnormal expected results.
24285 2012-05-06 Andreas Jaeger <aj@suse.de>
24287 * Makeconfig (+math-flags): New, set to -frounding-math.
24288 (+cflags): Add +math-flags so that all of glibc gets compiled with
24291 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
24293 2012-05-05 Joseph Myers <joseph@codesourcery.com>
24295 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
24301 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
24302 (__ieee754_expl): Allow for and saturate large arguments.
24303 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
24304 (u_threshold): Likewise.
24305 (__exp): Call __ieee754_exp before checking for overflow and
24307 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
24308 (u_threshold): Likewise.
24309 (__expf): Call __ieee754_expf before checking for overflow and
24311 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
24312 (u_threshold): Likewise.
24313 (__expl): Call __ieee754_expl before checking for overflow and
24315 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
24316 (__ieee754_expl): Allow for and saturate large arguments.
24317 * math/libm-test.inc (exp_test): Add another test. Do not allow
24318 missing overflow exception on overflow.
24319 (expm1_test): Do not allow missing overflow exception on overflow.
24321 * sysdeps/i386/fpu/e_expl.c: Move to ...
24322 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
24323 rather than using inline asm.
24324 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
24325 * sysdeps/x86_64/fpu/e_expl.S: Copy from
24326 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
24328 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
24331 (signal): Likewise.
24335 2012-05-04 Joseph Myers <joseph@codesourcery.com>
24337 * sysdeps/unix/syscalls.list (adjtime): Add entry from
24338 sysdeps/unix/common/syscalls.list.
24339 (fchmod): Likewise.
24340 (fchown): Likewise.
24341 (ftruncate): Likewise.
24342 (getrusage): Likewise.
24343 (gettimeofday): Likewise.
24344 (setpgid): Likewise.
24345 (setregid): Likewise.
24346 (setreuid): Likewise.
24347 (sigaction): Likewise.
24348 (truncate): Likewise.
24349 (vhangup): Likewise.
24350 * sysdeps/unix/common/syscalls.list: Remove file.
24351 * sysdeps/unix/bsd/Implies: Don't include unix/common.
24352 * sysdeps/unix/sysv/linux/Implies: Likewise.
24354 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
24356 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
24357 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
24358 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
24360 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
24362 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
24364 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
24365 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
24367 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
24368 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
24370 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
24371 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
24373 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
24374 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
24376 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
24377 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
24379 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
24380 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
24382 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
24384 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
24386 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
24388 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
24390 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
24391 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
24393 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
24395 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
24397 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
24399 2012-05-04 Joseph Myers <joseph@codesourcery.com>
24401 * sysdeps/unix/common/bits/dirent.h: Remove file.
24402 * sysdeps/unix/common/bits/fcntl.h: Likewise.
24404 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
24405 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
24406 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
24407 * sysdeps/unix/bsd/isatty.c: Likewise.
24408 * sysdeps/unix/bsd/tcdrain.c: Likewise.
24409 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
24410 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
24412 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24415 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
24416 long double comparison inaccuracies.
24417 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
24418 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24420 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
24422 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
24423 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
24425 2012-05-04 Joseph Myers <joseph@codesourcery.com>
24428 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
24429 nonzero digits before rounding a hex value.
24430 * stdlib/tst-strtod.c (tests): Add another test.
24432 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24434 * sysdeps/s390/fpu/libm-test-ulps: Update.
24436 2012-05-03 Andreas Jaeger <aj@suse.de>
24438 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
24439 does not get optimized out.
24440 (malloc_opt_barrier): New.
24442 2012-05-03 Andreas Jaeger <aj@suse.de>
24443 Roland McGrath <roland@hack.frob.com>
24445 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
24446 intermediate file deletion.
24447 (generated): Add .symlist files.
24449 2012-05-03 Joseph Myers <joseph@codesourcery.com>
24452 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
24453 Redirect under this condition.
24454 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
24455 [__USE_GNU] (__dprintf_chk): Not under this condition.
24456 [__USE_GNU] (__vdprintf_chk): Likewise.
24457 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
24458 under this condition.
24459 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
24460 [__USE_XOPEN2K8] (dprintf): Define under this condition.
24461 [__USE_XOPEN2K8] (vdprintf): Likewise.
24462 [__USE_GNU] (__dprintf_chk): Not under this condition.
24463 [__USE_GNU] (__vdprintf_chk): Likewise.
24464 [__USE_GNU] (dprintf): Likewise.
24465 [__USE_GNU] (vdprintf): Likewise.
24467 2012-05-03 Roland McGrath <roland@hack.frob.com>
24469 * elf/Makefile (common-generated): Set this instead of generated for
24470 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
24471 $(all-built-dso)-derived lists.
24473 2012-05-03 Andreas Jaeger <aj@suse.de>
24475 * sysdeps/i386/fpu/libm-test-ulps: Update.
24478 * FAQ.in: Likewise.
24479 * scripts/gen-FAQ.pl: Likewise.
24480 * manual/install.texi (Installation): Point to online location of
24482 * Makefile (files-for-dist): Remove FAQ.
24485 2012-05-02 Allan McRae <allan@archlinux.org>
24487 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
24488 (LDFLAGS-reldepmod5.so): Likewise.
24489 (LDFLAGS-reldep6mod1.so): Likewise.
24490 (LDFLAGS-reldep6mod4.so): Likewise.
24491 (LDFLAGS-reldep8mod3.so): Likewise.
24492 (LDFLAGS-unload4mod1.so): Likewise.
24493 (LDFLAGS-unload4mod2.so): Likewise.
24494 (LDFLAGS-tst-initorder): Likewise.
24495 (LDFLAGS-tst-initordera2.so): Likewise.
24496 (LDFLAGS-tst-initordera3.so): Likewise.
24497 (LDFLAGS-tst-initordera4.so): Likewise.
24498 (LDFLAGS-tst-initorderb2.so): Likewise.
24499 (LDFLAGS-noload): Likewise.
24500 (LDFLAGS-next): Likewise.
24501 (LDFLAGS-order2mod1.so): Likewise.
24502 (LDFLAGS-order2mod2.so): Likewise.
24503 (LDFLAGS-tst-initorder2): Likewise.
24504 (LDFLAGS-tst-initorder2a.so): Likewise.
24505 (LDFLAGS-tst-initorder2b.so): Likewise.
24506 (LDFLAGS-tst-initorder2c.so): Likewise.
24507 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
24509 2012-05-02 David S. Miller <davem@davemloft.net>
24511 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24513 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
24516 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
24518 2012-05-02 Andreas Jaeger <aj@suse.de>
24520 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
24521 since we manipulate rounding mode.
24522 (CPPFLAGS-test-idouble.c): Likewise.
24523 (CPPFLAGS-test-ifloat.c): Likewise.
24524 (CFLAGS-test-ldouble.c): Likewise.
24525 (CFLAGS-test-double.c): Likewise.
24526 (CFLAGS-test-float.c): Likewise.
24527 (CFLAGS-test-misc.c): Likewise.
24528 (CFLAGS-test-test-fenv.c): Likewise.
24530 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24534 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
24535 comparisons to determine direction to adjust input.
24537 2012-05-01 Roland McGrath <roland@hack.frob.com>
24539 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
24540 output to the target.
24542 * scripts/localplt.awk: New file.
24543 * elf/Makefile ($(objpfx)check-localplt): Target removed.
24544 (check-localplt-CFLAGS): Variable removed.
24545 ($(all-built-dso:=.jmprel)): New static pattern rule.
24546 (generated): Add those targets.
24547 (localplt-built-dso): New variable.
24548 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
24550 * elf/check-localplt.c: File removed.
24552 * scripts/check-execstack.awk: New file.
24553 * elf/Makefile ($(objpfx)check-execstack): Target removed.
24554 (check-execstack-CFLAGS): Variable removed.
24555 ($(objpfx)check-execstack.h): Target removed.
24556 ($(objpfx)execstack-default): New target.
24557 (generated): Add that instead of check-execstack.h.
24558 ($(all-built-dso:=.phdr)): New static pattern rule.
24559 (generated): Add those targets.
24560 * elf/check-execstack.c: File removed.
24562 * scripts/check-textrel.awk: New file.
24563 * elf/Makefile ($(objpfx)check-textrel): Target removed.
24564 (check-textrel-CFLAGS): Variable removed.
24565 (all-built-dso): Use := to define.o
24566 ($(all-built-dso:=.dyn)): New static pattern rule.
24567 (generated): Add those targets.
24568 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
24569 * config.make.in (READELF): New substituted variable.
24570 * elf/check-textrel.c: File removed.
24572 2012-05-01 Joseph Myers <joseph@codesourcery.com>
24574 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24576 * conform/data/ctype.h-data [C99-based standards] (isblank):
24578 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
24579 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
24580 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24581 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
24582 Specify type. Require positive value.
24583 (EILSEQ): Likewise.
24584 (ERANGE): Likewise.
24585 [ISO || POSIX] (EILSEQ): Do not expect.
24586 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
24587 Specify type. Require positive value.
24588 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
24589 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
24590 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
24591 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
24592 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
24593 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
24594 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
24595 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
24596 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
24597 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
24598 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
24599 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
24600 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
24601 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
24602 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
24603 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
24604 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
24605 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
24606 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
24607 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
24608 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
24609 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
24610 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
24611 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
24612 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
24613 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
24614 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
24615 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
24616 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
24617 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
24618 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
24619 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
24620 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
24621 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
24622 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
24623 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
24624 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
24625 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
24626 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
24627 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
24628 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
24629 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
24630 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
24631 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
24632 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
24633 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
24634 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
24635 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
24636 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
24637 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
24638 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
24639 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
24640 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
24641 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
24642 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
24643 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
24644 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
24645 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
24646 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
24647 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
24648 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
24649 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
24650 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
24651 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
24652 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
24653 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
24654 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
24655 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
24656 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
24657 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
24658 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
24659 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
24660 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
24661 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
24662 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
24663 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
24664 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
24666 (FLT_ROUNDS): Expect as macro, not constant.
24667 (FLT_MANT_DIG): Use macro-int-constant.
24668 (DBL_MANT_DIG): Likewise.
24669 (LDBL_MANT_DIG): Likewise.
24670 (FLT_DIG): Likewise.
24671 (DBL_DIG): Likewise.
24672 (LDBL_DIG): Likewise.
24673 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
24674 (DBL_MIN_EXP): Likewise.
24675 (LDBL_MIN_EXP): Likewise.
24676 (FLT_MAX_EXP): Use macro-int-constant.
24677 (DBL_MAX_EXP): Likewise.
24678 (LDBL_MAX_EXP): Likewise.
24679 (FLT_MAX_10_EXP): Likewise.
24680 (DBL_MAX_10_EXP): Likewise.
24681 (LDBL_MAX_10_EXP): Likewise.
24682 (FLT_MAX): Use macro-constant.
24683 (DBL_MAX): Likewise.
24684 (LDBL_MAX): Likewise.
24685 (FLT_EPSILON): Use macro-constant. Give upper bound.
24686 (DBL_EPSILON): Likewise.
24687 (LDBL_EPSILON): Likewise.
24688 (FLT_MIN): Likewise.
24689 (DBL_MIN): Likewise.
24690 (LDBL_MIN): Likewise.
24691 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
24692 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
24693 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
24694 [ISO11] (FLT_HAS_SUBNORM): Likewise.
24695 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
24696 [ISO11] (DBL_DECIMAL_DIG): Likewise.
24697 [ISO11] (FLT_DECIMAL_DIG): Likewise.
24698 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
24699 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
24700 [ISO11] (FLT_TRUE_MIN): Likewise.
24701 [ISO11] (LDBL_TRUE_MIN): Likewise.
24702 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24703 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
24704 (SCHAR_MIN): Use macro-int-constant. Specify type.
24705 (SCHAR_MAX): Likewise.
24706 (UCHAR_MAX): Likewise.
24707 (CHAR_MIN): Likewise.
24708 (CHAR_MAX): Likewise.
24709 (MB_LEN_MAX): Use macro-int-constant.
24710 (SHRT_MIN): Use macro-int-constant. Specify type.
24711 (SHRT_MAX): Likewise.
24712 (USHRT_MAX): Likewise.
24713 (INT_MAX): Likewise.
24714 (INT_MIN): Use macro-int-constant. Specify type. Make upper
24716 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
24718 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
24720 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
24721 bound negative. Suffix upper bound with "L".
24722 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
24724 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
24726 [C99-based standards] (LLONG_MAX): Likewise.
24727 [C99-based standards] (ULLONG_MAX): Likewise.
24728 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
24730 [ISO11] (max_align_t): Require type.
24731 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24733 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
24734 from $CFLAGS, without defining away __attribute__ calls.
24735 (checknamespace): Use $CFLAGS_namespace.
24737 * conform/conformtest.pl (@keywords): Only include C99 keywords
24738 for standards based on C99 or C11.
24740 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
24742 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
24745 * conform/conformtest.pl: Handle "macro-int-constant" and test for
24746 usability of symbols in #if.
24748 * conform/conformtest.pl: If macro or constant types start
24749 "promoted:", expect the symbol to be of the following type
24750 promoted by the integer promotions.
24752 * conform/conformtest.pl: Parse all "constant" and "macro" lines
24753 in one place. Also handle "macro-constant".
24755 * conform/conformtest.pl: Only accept expected macro values with
24756 "==". Parse all "macro" lines in one place.
24757 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
24759 * conform/conformtest.pl: Handle braced types on "constant" lines
24760 instead of handling "typed-constant".
24761 * conform/data/signal.h-data: Use "constant" instead of
24764 * conform/conformtest.pl: Handle "optional-" at start of lines in
24765 one place rather than duplicating several cases. Handle each
24766 format of "macro" line with initial "optional-".
24768 * conform/conformtest.pl: Only accept expected constant or
24769 optional-constant values with "==". Parse all "constant" lines in
24770 one place. Parse all "optional-constant" lines in one place.
24771 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
24772 * conform/data/fmtmsg.h-data: Likewise.
24773 * conform/data/netinet/in.h-data: Likewise.
24774 * conform/data/tar.h-data: Likewise.
24775 * conform/data/limits.h-data: Use "==" form on "constant" and
24776 "optional-constant" lines.
24778 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
24779 Use -std=c99 for XOPEN2K.
24780 (@knownproblems): Remove.
24781 (newtoken): Don't check %isknown.
24783 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
24784 Do not expect macro.
24785 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
24786 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
24787 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
24788 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
24789 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
24790 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
24791 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
24792 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
24793 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
24794 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
24795 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
24796 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
24797 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
24798 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
24799 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
24800 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
24801 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
24802 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
24803 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
24804 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
24805 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
24806 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
24807 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
24808 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
24809 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
24810 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
24811 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
24812 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
24813 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
24814 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
24815 [XPG3] (acosh): Likewise.
24816 [XPG3] (asinh): Likewise.
24817 [XPG3] (atanh): Likewise.
24818 [XPG3] (cbrt): Likewise.
24819 [XPG3] (expm1): Likewise.
24820 [XPG3] (ilogb): Likewise.
24821 [XPG3] (log1p): Likewise.
24822 [XPG3] (logb): Likewise.
24823 [XPG3] (nextafter): Likewise.
24824 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
24825 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
24826 [XPG3] (remainder): Likewise.
24827 [XPG3] (rint): Likewise.
24828 [XPG3 || XPG4 || UNIX98] (round): Likewise.
24829 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
24830 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
24831 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
24832 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
24833 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
24834 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
24835 [UNIX98 || XOPEN2K] (scalb): Expect.
24836 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
24837 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
24838 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
24839 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
24840 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
24841 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
24842 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
24843 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
24844 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
24845 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
24846 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
24847 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
24848 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
24849 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
24850 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
24851 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
24852 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
24853 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
24854 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
24855 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
24856 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
24857 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
24858 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
24859 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
24860 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
24861 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
24862 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
24863 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
24864 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
24865 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
24866 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
24867 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
24868 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
24869 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
24870 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
24871 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
24872 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
24873 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
24874 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
24875 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
24876 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
24877 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
24878 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
24879 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
24880 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
24881 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
24882 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
24883 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
24884 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
24885 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
24886 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
24887 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
24888 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
24889 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
24890 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
24891 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
24892 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
24893 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
24894 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
24895 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
24896 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
24897 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
24898 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
24899 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
24900 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
24901 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
24902 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
24903 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
24904 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
24905 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
24906 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
24907 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
24908 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
24909 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
24910 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
24911 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
24912 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
24913 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
24914 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
24915 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
24916 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
24917 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
24918 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
24919 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
24920 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
24921 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
24922 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
24923 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
24924 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
24925 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
24926 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
24927 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
24928 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
24929 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
24930 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
24931 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
24932 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
24933 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
24934 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
24935 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
24936 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
24937 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
24938 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
24939 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
24940 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
24941 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
24942 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
24943 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
24944 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
24945 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
24946 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
24947 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
24948 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
24949 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
24950 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
24951 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
24952 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
24953 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
24954 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
24955 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
24956 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
24957 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
24958 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
24959 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
24960 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
24961 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
24962 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
24963 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
24964 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
24965 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
24966 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
24967 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
24968 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
24969 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
24970 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
24971 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
24972 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
24974 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
24975 _XOPEN_SOURCE_EXTENDED for XPG4.
24977 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
24979 * Makeconfig (localtime): Remove variable.
24980 (inst_localtime-file): Likewise.
24982 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
24984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
24986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
24990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
24992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
24994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
24996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
25000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25003 2012-05-01 Joseph Myers <joseph@codesourcery.com>
25007 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
25008 comparisons to determine direction to adjust input.
25009 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
25010 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
25011 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
25013 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
25015 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
25017 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
25018 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
25020 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
25022 * math/libm-test.inc (nexttoward_test): Add more tests.
25024 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
25027 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
25028 in version GLIBC_2.1, not GLIBC_2.0.
25029 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
25032 2012-04-30 Joseph Myers <joseph@codesourcery.com>
25035 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
25037 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25038 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
25039 * math/libm-test.inc (acos_test): Add more tests.
25040 (asin_test): Likewise.
25041 * sysdeps/i386/fpu/libm-test-ulps: Update.
25042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25045 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
25047 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
25048 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25049 * math/libm-test.inc (acos_test_tonearest): New function.
25050 (acos_test_towardzero): Likewise.
25051 (acos_test_downward): Likewise.
25052 (acos_test_upward): Likewise.
25053 (asin_test_tonearest): Likewise.
25054 (asin_test_towardzero): Likewise.
25055 (asin_test_downward): Likewise.
25056 (asin_test_upward): Likewise.
25057 (main): Call the new functions.
25058 * sysdeps/i386/fpu/libm-test-ulps: Update.
25059 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25063 * math/e_exp10.c: Include <float.h>.
25064 (__ieee754_exp10): Handle underflow here rather than multiplying
25065 large negative argument by M_LN10.
25066 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
25068 * math/e_exp10l.c: Include <float.h>.
25069 (__ieee754_exp10l): Handle underflow here rather than multiplying
25070 large negative argument by M_LN10l.
25071 * math/libm-test.inc (exp10_test): Add another test. Do not allow
25072 spurious overflow exception on underflow.
25074 2012-04-29 Marek Polacek <polacek@redhat.com>
25076 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
25077 (__fortify_function): New macro.
25078 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
25079 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
25080 __extern_always_inline.
25081 * libio/bits/stdio2.h: Likewise.
25082 * libio/bits/stdio.h: Likewise.
25083 * string/string.h: Likewise.
25084 * string/bits/string3.h: Likewise.
25085 * include/stdio.h: Likewise.
25086 * stdlib/bits/stdlib.h: Likewise.
25087 * stdlib/stdlib.h: Likewise.
25088 * rt/bits/mqueue2.h: Likewise.
25089 * rt/mqueue.h: Likewise.
25090 * posix/bits/unistd.h: Likewise.
25091 * posix/unistd.h: Likewise.
25092 * io/bits/poll2.h: Likewise.
25093 * io/bits/fcntl2.h: Likewise.
25094 * io/fcntl.h: Likewise.
25095 * io/sys/poll.h: Likewise.
25096 * misc/bits/syslog.h: Likewise.
25097 * misc/bits/syslog-ldbl.h: Likewise.
25098 * misc/sys/syslog.h: Likewise.
25099 * socket/bits/socket2.h: Likewise.
25100 * socket/sys/socket.h: Likewise.
25101 * debug/tst-chk1.c: Likewise.
25102 * wcsmbs/bits/wchar2.h: Likewise.
25103 * wcsmbs/bits/wchar-ldbl.h: Likewise.
25104 * wcsmbs/wchar.h: Likewise.
25106 2012-04-29 Andreas Jaeger <aj@suse.de>
25108 * Makerules (tests): Remove enable-check-abi protection.
25109 (check-abi-warn): Remove.
25110 (check-abi-%): Remove check-abi-warn usage.
25112 * configure.in: Remove check-abi configure option.
25113 * configure: Regenerated.
25114 * config.make.in (enable-check-abi): Remove.
25116 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
25119 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
25120 double functions to double *_finite functions.
25123 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
25124 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
25126 * stdio-common/Makefile (tests): Add tst-sprintf3.
25127 * stdio-common/tst-sprintf3.c: New file.
25129 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
25130 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
25132 2012-04-28 Joseph Myers <joseph@codesourcery.com>
25134 * conform/conformtest.pl: Remove duplicate typed-constant
25137 2012-04-28 David S. Miller <davem@davemloft.net>
25139 * Makerules (%.abilist): Add vpath on sysdep_dirs.
25140 (check-abi-%): Remove AWK script prerequisite and explicit
25142 (check-abi): Rewrite to just diff the symlist with the abilist.
25143 (config-tls, config-abi-config): Delete, no longer used.
25144 (update-abi-%): Remove AWK script and explicit abilist directory.
25145 (update-abi): Rewrite to simply compare and conditionally copy the
25146 symlist and the sysdep abilist file. Remove update-abi-config
25148 * abilist/ld.abilist: Remove.
25149 * abilist/libBrokenLocale.abilist: Remove.
25150 * abilist/libanl.abilist: Remove.
25151 * abilist/libcrypt.abilist: Remove.
25152 * abilist/libdl.abilist: Remove.
25153 * abilist/librt.abilist: Remove.
25154 * abilist/libthread_db.abilist: Remove.
25155 * abilist/libutil.abilist: Remove.
25156 * scripts/extract-abilist.awk: Remove.
25157 * scripts/merge-abilist.awk: Remove.
25158 * sysdeps/generic/libcidn.abilist: New file.
25159 * sysdeps/generic/libnss_compat.abilist: New file.
25160 * sysdeps/generic/libnss_db.abilist: New file.
25161 * sysdeps/generic/libnss_dns.abilist: New file.
25162 * sysdeps/generic/libnss_files.abilist: New file.
25163 * sysdeps/generic/libnss_hesiod.abilist: New file.
25164 * sysdeps/generic/libnss_nis.abilist: New file.
25165 * sysdeps/generic/libnss_nisplus.abilist: New file.
25166 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
25167 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
25168 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
25170 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
25171 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
25172 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
25173 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
25174 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
25175 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
25176 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
25177 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
25178 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
25180 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
25181 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
25182 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
25183 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
25185 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
25186 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
25187 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
25188 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
25189 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
25190 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
25192 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
25193 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
25194 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
25196 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
25197 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
25199 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
25201 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
25203 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
25205 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
25207 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
25209 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
25211 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
25213 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
25215 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
25217 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
25219 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
25221 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
25223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
25225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
25227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
25229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
25231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
25233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
25235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
25237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
25239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
25243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
25245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
25247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
25249 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
25250 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
25252 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
25254 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
25256 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
25258 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
25260 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
25262 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
25264 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25266 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
25268 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
25270 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
25272 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
25274 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
25275 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
25277 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
25279 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
25281 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
25283 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
25285 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
25287 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
25289 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25291 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
25293 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
25295 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
25297 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
25299 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
25300 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
25301 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
25303 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
25304 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
25305 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
25306 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
25307 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
25308 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
25309 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
25310 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
25311 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
25312 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
25313 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
25314 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
25316 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
25318 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
25320 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
25322 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
25324 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
25326 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
25328 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25330 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
25332 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
25334 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
25336 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
25338 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
25339 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
25341 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
25343 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
25345 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
25347 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
25349 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
25351 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
25353 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25355 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
25357 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
25359 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
25361 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
25364 2012-04-28 Joseph Myers <joseph@codesourcery.com>
25366 * conform/conformtest.pl: Fix typo in handling typed-constant from
25369 2012-04-27 Joseph Myers <joseph@codesourcery.com>
25371 * README: Cut down references to pre-2.6 Linux kernels and
25372 Linuxthreads. Update lists of configurations in libc and ports
25373 and sort alphabetically. Say "or newer" with Linux kernel version
25376 * config.h.in [IS_IN_build]: Allow compiling without optimization.
25378 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25381 * math/libm-test.inc (logb_test_downward): New test to expose
25382 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
25385 2012-04-27 Joseph Myers <joseph@codesourcery.com>
25388 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
25390 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
25391 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
25393 2012-04-26 Joseph Myers <joseph@codesourcery.com>
25395 * sysdeps/unix/i386/brk.S: Remove file.
25396 * sysdeps/unix/i386/dl-brk.S: Likewise.
25397 * sysdeps/unix/i386/pipe.S: Likewise.
25398 * sysdeps/unix/i386/sigreturn.S: Likewise.
25399 * sysdeps/unix/i386/syscall.S: Likewise.
25400 * sysdeps/unix/i386/vfork.S: Likewise.
25401 * sysdeps/unix/i386/wait.S: Likewise.
25403 * sysdeps/unix/common/tcsendbrk.c: Move to ...
25404 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
25406 * configure.in (arm*-none*): Do not allow without
25407 --enable-hacker-mode.
25408 (netbsd*): Remove case setting base_os.
25409 (386bsd*): Likewise.
25410 (freebsd*): Likewise.
25413 (sunos*): Likewise.
25414 (ultrix*): Likewise.
25415 (newsos*): Likewise.
25416 (dynix*): Likewise.
25422 (minix*): Likewise.
25423 (irix4*): Likewise.
25424 (irix6*): Likewise.
25425 (solaris[2-9]*): Likewise.
25427 * configure: Regenerated.
25429 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25432 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
25433 overflow or cancellation in calculating denominator.
25434 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
25435 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
25436 down expression to avoid unexpected rounding in newer GCCs.
25437 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
25439 2012-04-26 David S. Miller <davem@davemloft.net>
25441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
25442 long-double compat symbols.
25443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
25445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
25447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
25448 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
25449 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
25450 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
25451 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
25452 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
25453 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
25454 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
25455 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
25457 2012-04-25 David S. Miller <davem@davemloft.net>
25459 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
25460 HWCAP_* values only after the memory barriers have been defined.
25461 (atomic_full_barrier): Define.
25462 (atomic_read_barrier): Define.
25463 (atomic_write_barrier): Define.
25465 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25467 * shlib-versions: Add libgcc_s version information.
25468 * sysdeps/generic/libgcc_s.h: Remove.
25469 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
25471 * sysdeps/gnu/unwind-resume.c: Likewise.
25472 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
25474 2012-04-25 David S. Miller <davem@davemloft.net>
25476 * sysdeps/unix/sparc/brk.S: Delete.
25477 * sysdeps/unix/sparc/dl-brk.S: Delete.
25478 * sysdeps/unix/sparc/pipe.S: Delete.
25479 * sysdeps/unix/sparc/sysdep.S: Delete.
25480 * sysdeps/unix/sparc/sysdep.h: Delete.
25481 * sysdeps/unix/sparc/vfork.S: Delete.
25482 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
25483 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
25484 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
25485 ret_ERRVAL, r0, r1, MOVE): Define.
25486 (JUMPTARGET): Remove.
25487 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
25488 sysdeps/unix/sparc/sysdep.h
25489 (ENTRY, END): Remove.
25490 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25492 2012-04-25 Joseph Myers <joseph@codesourcery.com>
25494 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
25495 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
25498 * timezone/README: Update upstream location and email address for
25500 * timezone/zdump.c: Update from tzcode 2012b.
25501 * timezone/zic.c: Likewise.
25503 * configure.in (libc_cv_as_needed): Remove test.
25504 * configure: Regenerated.
25505 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
25506 conditional definition.
25507 [$(have-as-needed) != yes] (no-as-needed): Likewise.
25508 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
25509 * config.make.in (have-as-needed): Remove variable.
25511 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25512 Paul Pluzhnikov <ppluzhnikov@google.com>
25514 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
25517 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
25519 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
25520 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
25521 * sysdeps/sh/strlen.S: Likewise.
25523 2012-04-24 Joseph Myers <joseph@codesourcery.com>
25525 * sysdeps/unix/fork.S: Remove file.
25526 * sysdeps/unix/i386/fork.S: Likewise.
25527 * sysdeps/unix/sparc/fork.S: Likewise.
25529 * sysdeps/unix/system.c: Remove file.
25530 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
25532 * sysdeps/unix/getegid.S: Remove file.
25533 * sysdeps/unix/geteuid.S: Likewise.
25535 2012-04-24 Roland McGrath <roland@hack.frob.com>
25537 * scripts/check-localplt.awk: New file.
25538 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
25540 * scripts/data/localplt-generic.data: Add a comment.
25542 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
25543 NODE when __dir_mkfile failed.
25544 * sysdeps/mach/hurd/symlinkat.c: Likewise.
25545 Reported by Ludovic Courtès <ludo@gnu.org>.
25547 2012-04-24 Andreas Jaeger <aj@suse.de>
25549 * Makerules (common-clean): Also remove gen-as-const-headers
25552 2012-04-24 Joseph Myers <joseph@codesourcery.com>
25554 * Makerules (native-compile): Do not change working directory for
25555 build. Use $(OUTPUT_OPTION) in command.
25556 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
25558 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25561 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
25562 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
25563 * math/libm-test.inc (floor_test): Add more tests.
25564 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
25566 2012-04-24 Joseph Myers <joseph@codesourcery.com>
25568 * sysdeps/unix/getdents.c: Remove file.
25569 * sysdeps/unix/sysv/getdents.c: Likewise.
25570 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
25572 * sysdeps/unix/syscalls.list (madvise): Add syscall from
25573 sysdeps/unix/mman/syscalls.list.
25575 (mprotect): Likewise.
25577 (munmap): Likewise.
25578 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
25579 * sysdeps/unix/mman/syscalls.list: Remove.
25580 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
25582 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
25583 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
25584 * configure: Regenerated.
25585 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
25586 $(libgcc_s_suffix).
25587 * config.make.in (libgcc_s_suffix): Remove variable.
25589 2012-04-23 Joseph Myers <joseph@codesourcery.com>
25591 * sysdeps/unix/sysv/gethostname.c: Move to ...
25592 * sysdeps/posix/gethostname.c: ... here.
25594 * sysdeps/unix/execve.S: Remove file.
25596 * sysdeps/unix/_exit.S: Remove file.
25598 2012-04-23 Andreas Jaeger <aj@suse.de>
25601 * manual/Makefile: Remove make dist support, there's no
25602 need for a stand-alone documentation tar ball.
25603 (TEXI2DVI): Define always, it's not in Makeconfig.
25606 (edition): Removed.
25607 (glibc-doc-$(edition).tar): Removed
25611 (ETAGS): Remove, it's in Makeconfig.
25612 (move-if-change): Remove, it's in Makeconfig.
25614 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
25617 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
25618 (strtod, strtof, strtold, strtol, strtoul, strtoq)
25619 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
25620 (strtod_l, strtof_l, strtold_l): Remove __wur.
25621 It is not necessarily an error to ignore strtol's return value.
25622 One can reliably look at the stored endptr to decide whether
25623 the number had valid syntax.
25625 2012-04-21 Andreas Jaeger <aj@suse.de>
25628 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
25630 2012-04-21 Joseph Myers <joseph@codesourcery.com>
25632 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
25633 * sysdeps/unix/sysv/Versions: Remove file.
25635 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
25638 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25640 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
25643 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
25644 version from __vm86.
25646 2012-04-20 Joseph Myers <joseph@codesourcery.com>
25648 * sysdeps/unix/common/lxstat.c: Remove file.
25649 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
25651 * sysdeps/unix/sysv/Makefile: Remove file.
25653 * sysdeps/unix/sysv/direct.h: Remove file.
25655 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
25656 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
25657 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
25658 * sysdeps/unix/sysv/bits/signum.h: Likewise.
25659 * sysdeps/unix/sysv/bits/stat.h: Likewise.
25660 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
25661 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
25663 * sysdeps/unix/sysv/setrlimit.c: Remove file.
25665 * sysdeps/unix/xmknod.c: Remove file.
25666 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
25668 * sysdeps/unix/sysv/settimeofday.c: Remove file.
25670 * sysdeps/unix/sysv/i386/time.S: Remove file.
25672 * sysdeps/unix/fxstat.c: Remove file.
25673 * sysdeps/unix/xstat.c: Likewise.
25674 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
25676 * sysdeps/unix/sysv/sigaction.c: Remove file.
25678 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
25679 (sysdep_headers): Remove variable.
25680 [termio.h not in sysdep_headers] (generated): Likewise.
25681 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
25682 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
25683 * sysdeps/unix/sysv/tcdrain.c: Likewise.
25684 * sysdeps/unix/sysv/tcflow.c: Likewise.
25685 * sysdeps/unix/sysv/tcflush.c: Likewise.
25686 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
25687 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
25688 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
25689 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
25690 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
25692 * sysdeps/unix/siglist.c: Remove file.
25694 * sysdeps/unix/getppid.S: Remove file.
25696 * sysdeps/unix/mkdir.c: Remove file.
25697 * sysdeps/unix/rmdir.c: Likewise.
25699 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
25701 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
25703 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
25704 errlist-compat value.
25706 2012-04-18 David S. Miller <davem@davemloft.net>
25708 * sysdeps/generic/memcopy.h (reg_char): Delete.
25709 * debug/strcat_chk.c: Use char, not reg_char.
25710 * debug/strcpy_chk.c: Likewise.
25711 * debug/strncat_chk.c: Likewise.
25712 * debug/strncpy_chk.c: Likewise.
25713 * string/memchr.c: Likewise.
25714 * string/memrchr.c: Likewise.
25715 * string/rawmemchr.c: Likewise.
25716 * string/strcat.c: Likewise.
25717 * string/strchr.c: Likewise.
25718 * string/strchrnul.c: Likewise.
25719 * string/strcmp.c: Likewise.
25720 * string/strcpy.c: Likewise.
25721 * string/strncat.c: Likewise.
25722 * string/strncmp.c: Likewise.
25723 * string/strncpy.c: Likewise.
25725 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
25727 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
25728 __builtin_memcopy is called when src and dest ranges are known to not
25731 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
25733 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
25734 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
25735 fwd_align_merge macro call.
25736 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
25737 bwd_align_merge macro call.
25738 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25740 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
25742 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
25743 bwd_align_merge macros.
25744 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
25745 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
25746 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25748 2012-04-18 David S. Miller <davem@davemloft.net>
25750 * sysdeps/sparc/sparc64/memcopy.h: Delete.
25752 2012-04-18 Andreas Jaeger <aj@suse.de>
25755 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
25756 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
25757 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25759 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
25760 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
25761 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25763 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
25764 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
25765 Adjust for changed ldbl-128 files.
25767 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
25768 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
25769 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25771 2012-04-17 David S. Miller <davem@davemloft.net>
25773 * sysdeps/sparc/sparc32/memcopy.h: Delete.
25775 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
25777 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
25778 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
25779 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
25780 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
25781 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
25782 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
25784 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25787 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
25788 * math/libm-test.inc: Add ilogb errno and exception tests.
25789 * math/w_ilogb.c: New file: ilogb wrapper.
25790 * math/w_ilogbf.c: New file: ilogbf wrapper.
25791 * math/w_ilogbl.c: New file: ilogbl wrapper.
25792 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
25793 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
25794 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
25795 exception being thrown with 0.0 as argument.
25796 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
25797 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
25798 exception being thrown with 0.0 as argument.
25799 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
25800 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
25801 exception being thrown with 0.0 as argument.
25802 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
25803 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
25804 exception being thrown with 0.0 as argument.
25805 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
25806 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
25807 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
25808 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
25809 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
25810 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
25811 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
25812 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
25813 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
25815 2012-04-17 Petr Baudis <pasky@ucw.cz>
25817 * include/sys/uio.h: Change __vector to __iovec to avoid clash
25820 2012-04-16 Marek Polacek <polacek@redhat.com>
25822 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
25824 2012-04-16 Marek Polacek <polacek@redhat.com>
25826 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
25827 operands of fdivp instruction.
25829 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
25831 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
25832 * elf/tst-auditmod3b.c: Likewise.
25833 * elf/tst-auditmod4b.c: Likewise.
25834 * elf/tst-auditmod5b.c: Likewise.
25835 * elf/tst-auditmod6b.c: Likewise.
25836 * elf/tst-auditmod6c.c: Likewise.
25837 * elf/tst-auditmod7b.c: Likewise.
25838 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
25839 * sysdeps/x86_64/preconfigure.in: Likewise.
25840 * sysdeps/x86_64/preconfigure: Regenerated.
25842 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
25844 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
25847 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
25849 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25850 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
25852 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
25855 * locale/iso-639.def: Fix gl language name. Spotted by
25858 2012-04-12 Roland McGrath <roland@hack.frob.com>
25861 * libio/libio.h (__io_write_fn): Update comment.
25863 2012-04-12 Petr Baudis <pasky@ucw.cz>
25866 * stdio.texi (Hook Functions): The user provided writer function
25867 is not allowed to return -1.
25869 2012-04-11 David S. Miller <davem@davemloft.net>
25871 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25873 2012-04-11 Mike Frysinger <vapier@gentoo.org>
25875 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
25876 Add a leading slash to rtkaio.
25878 2012-04-11 Jim Meyering <meyering@redhat.com>
25881 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
25882 It is not necessarily an error to ignore fwrite's return
25883 value. One can reliably use ferror to test for errors after
25886 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
25888 * bits/types.h (__snseconds_t): New type.
25889 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
25891 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
25892 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25893 (__SNSECONDS_T_TYPE): Likewise.
25894 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25895 (__SNSECONDS_T_TYPE): Likewise.
25896 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25897 (__SNSECONDS_T_TYPE): Likewise.
25899 2012-04-10 Andreas Jaeger <aj@suse.de>
25902 * manual/time.texi (Processor Time): Return type of times is
25903 elapsed real time since an arbitrary point in the past.
25904 (CPU Time): Move CLK_TCK from here...
25905 (Processor Time): ...to here. Correct description.
25906 * manual/conf.texi (Constants for Sysconf): Correct description of
25909 2012-04-10 David S. Miller <davem@davemloft.net>
25912 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
25913 where the is a gap between DT_REL(A) and DT_JMPREL.
25915 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
25917 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
25918 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
25919 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
25921 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25923 * elf/dl-support.c (_dl_inhibit_cache): New variable.
25924 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
25925 (dl_main): Handle --inhibit-cache.
25926 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
25928 * elf/dl-load.c (_dl_map_object): Use it.
25929 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
25931 2012-04-09 Joseph Myers <joseph@codesourcery.com>
25934 * sysdeps/i386/fpu/e_powl.S (p78): New object.
25935 (__ieee754_powl): Saturate large exponents rather than testing for
25936 overflow of y*log2(x).
25937 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25938 * math/libm-test.inc (pow_test): Do not permit spurious overflow
25942 * math/s_ctan.c: Include <float.h>.
25943 (__ctan): Avoid internal overflow or cancellation in calculating
25945 * math/s_ctanf.c: Likewise.
25946 * math/s_ctanl.c: Likewise.
25947 * math/s_ctanh.c: Likewise.
25948 * math/s_ctanhf.c: Likewise.
25949 * math/s_ctanhl.c: Likewise.
25950 * math/libm-test.inc (ctan_test): Add more tests.
25951 (ctanh_test): Likewise.
25952 * sysdeps/i386/fpu/libm-test-ulps: Update.
25953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25955 2012-04-09 Andreas Jaeger <aj@suse.de>
25958 * manual/filesys.texi (Directory Entries): Mention that d_namlen
25959 is an optional BSD extension.
25962 * manual/stdio.texi (Opening Streams): Document additional fopen
25965 2012-04-09 Roland McGrath <roland@hack.frob.com>
25967 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
25968 %eax without telling the compiler.
25970 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
25973 * manual/install.texi: Use sourceware.org.
25975 2012-04-09 Joseph Myers <joseph@codesourcery.com>
25978 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
25979 (__ieee754_pow): Generate overflow and underflow using huge*huge
25980 and tiny*tiny rather than just returning constant infinity or zero
25981 for large exponents.
25982 * math/libm-test.inc (pow_test): Require overflow exceptions for
25983 applicable cases of large exponents.
25986 * sysdeps/i386/fpu/e_pow.S (p10): New object.
25987 (__ieee754_pow): Use iterative multiplication algorithm only for
25988 integer exponents with absolute value below 1024. Check for odd
25989 integer exponents when using algorithm for real exponents.
25990 * math/libm-test.inc (pow_test): Add more tests.
25991 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25993 2012-04-08 Joseph Myers <joseph@codesourcery.com>
25996 * math/libm-test.inc (exp_test): Do not allow overflow exception
25999 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
26002 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
26003 instead of __kernel_standard_f.
26005 2012-04-08 Mike Frysinger <vapier@gentoo.org>
26007 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
26008 * sysdeps/x86_64/memset_chk.S: Likewise.
26010 2012-04-08 Andreas Jaeger <aj@suse.de>
26013 * manual/startup.texi (Environment Access): Describe return value
26014 for putenv and setenv.
26017 * manual/filesys.texi (Directory Entries): Add description for
26021 * manual/filesys.texi (Directory Entries): Clarify that it's file
26022 system not operating system in the description of DT_UNKNOWN.
26025 * manual/syslog.texi (closelog): Fix reference, it's openlog.
26027 2012-04-08 Stephen Compall <s11@member.fsf.org>
26030 * manual/llio.texi (Opening and Closing Files): Add cross
26031 reference to explain mode argument.
26033 2012-04-07 Mike Frysinger <vapier@gentoo.org>
26035 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
26036 * sysdeps/x86_64/memset_chk.S: Likewise.
26038 2012-04-07 David S. Miller <davem@davemloft.net>
26040 * elf/elf.h (R_SPARC_WDISP10): Define.
26041 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
26043 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
26044 R_SPARC_SIZE64 and R_SPARC_H34.
26046 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
26048 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
26049 conditions and remove no longer applicable assertion.
26051 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
26053 * bits/byteswap.h: Include <features.h>.
26054 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26055 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26057 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
26059 * bits/byteswap.h (__bswap_16): Removed.
26060 Include <bits/byteswap-16.h> to get __bswap_16.
26061 * sysdeps/i386/bits/byteswap.h: Likewise.
26062 * sysdeps/s390/bits/byteswap.h: Likewise.
26063 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26064 * bits/byteswap-16.h: New file.
26065 * sysdeps/i386/bits/byteswap-16.h: Likewise.
26066 * sysdeps/s390/bits/byteswap-16.h: Likewise.
26067 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
26068 * string/Makefile (headers): Add bits/byteswap-16.h.
26070 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26073 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
26075 * nss/Makefile (tests-static, tests): Add tst-nss-static.
26076 * nss/tst-nss-static.c: New.
26078 2012-04-06 Robert Millan <rmh@gnu.org>
26081 * manual/llio.texi (File Position Primitive): lseek
26082 refers to WHENCE when it really means OFFSET.
26084 2012-04-06 Andreas Jaeger <aj@suse.de>
26086 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
26087 strncmp declarations.
26089 * abilist/libc.abilist: Add __poll and __ppoll.
26091 2012-04-05 David S. Miller <davem@davemloft.net>
26093 * scripts/check-local-headers.sh: Accept a host triplet in the
26094 path matched by the exclude regexp.
26096 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
26098 * sysdeps/powerpc/powerpc32/dl-machine.h
26099 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
26100 * sysdeps/s390/s390-32/dl-machine.h
26101 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26102 * sysdeps/sparc/sparc32/dl-machine.h
26103 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26104 * sysdeps/sparc/sparc64/dl-machine.h
26105 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26107 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
26109 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
26110 undefined symbol errors.
26112 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
26115 2012-04-05 Michael Matz <matz@suse.de>
26118 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
26120 2012-04-05 Andreas Jaeger <aj@suse.de>
26123 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
26126 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26128 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
26129 which ROUND is no valid rounding mode.
26131 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26133 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
26135 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
26137 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26139 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
26140 an exception using FPU order intentionally.
26142 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26144 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
26145 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
26146 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
26147 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
26149 2012-04-05 Simon Josefsson <simon@josefsson.org>
26152 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
26153 EINVAL when BUFLEN is too smal.
26155 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
26158 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
26159 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
26161 2012-04-03 Andreas Jaeger <aj@suse.de>
26164 * manual/setjmp.texi (System V contexts): Fix sentence.
26167 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
26168 New macro for this case.
26169 [!__GNUC__] (__bswap_64): New inline function for this case.
26170 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26171 * bits/byteswap.h: Likewise.
26172 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
26173 ull, guard with __GLIBC_HAVE_LONG_LONG.
26175 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
26176 __GLIBC_HAVE_LONG_LONG.
26178 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
26179 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
26181 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26184 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
26185 inptr and inend, rather than using last_ch.
26187 2012-04-02 David S. Miller <davem@davemloft.net>
26189 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
26190 * stdio-common/printf-parse.h (read_int): Change return type to
26191 'int', return -1 on INT_MAX overflow.
26192 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
26193 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
26194 overflows INT_MAX. Check for overflow of in-format-string precision
26195 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
26196 SIZE_MAX not INT_MAX for integer overflow test.
26197 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
26198 skip the construct in the format string but do not record anything.
26199 * stdio-common/bug22.c: Adjust to test both width/prevision
26200 INT_MAX overflow as well as total length INT_MAX overflow. Check
26201 explicitly for proper errno values.
26203 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
26205 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
26207 * string/test-strcmp.c [! WIDE]: Likewise.
26208 * time/tst-mktime2.c: Likewise for INT_MAX.
26209 * string/test-string.h: #include <sys/param.h> for MIN.
26211 * csu/init-first.c (__libc_init_first): Call __ctype_init.
26212 * sysdeps/i386/init-first.c (init): Likewise.
26213 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
26214 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
26215 * sysdeps/sh/init-first.c (init): Likewise.
26217 2012-04-01 Ulrich Drepper <drepper@gmail.com>
26219 * po/ru.po: Update from translation team.
26220 * po/vi.po: Likewise.
26222 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
26224 * resolv/nss_dns/dns-host.c: Merge copyright years.
26226 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26228 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26229 Optimize memcpy with prefetch if
26230 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
26231 src, dst pointers have unequal 16 byte alignments.
26233 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26236 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
26237 from a CNAME entry and return the minimum ttl for the query.
26238 (gaih_getanswer_slice): Likewise.
26240 2012-03-30 Jeff Law <law@redhat.com>
26242 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
26244 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
26245 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
26247 * resolv/nss_dns/dns-host.c: Update copyright year.
26249 2012-03-30 Ulrich Drepper <drepper@gmail.com>
26251 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
26252 requests to save a system call. Fix check that all bytes are sent.
26254 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
26255 comments for sendmmsg.
26257 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26260 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
26261 with only 1 character between 0x0041 and 0x01b0.
26262 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
26263 * wcsmbs/tst-mbsnrtowcs.c: New file.
26265 2012-03-29 David S. Miller <davem@davemloft.net>
26267 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
26268 small copies by hand.
26270 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26273 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
26274 _nss_compat_initgroups_dyn): Fall back to malloc/free
26275 for large group memberships.
26277 2012-03-28 David S. Miller <davem@davemloft.net>
26279 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
26280 that branches into memcpy.
26281 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
26282 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
26283 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26284 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
26285 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
26287 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
26288 implementation too.
26289 * sysdeps/sparc/mempcpy.S: New file.
26291 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
26292 the IFUNC routine in the libc case.
26293 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26295 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
26296 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
26297 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
26298 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
26299 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
26300 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
26301 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
26302 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
26304 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
26305 loop to 256 bytes instead of 64 bytes and fix test signedness.
26307 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
26308 * sysdeps/sparc/sparc32/Makefile: rather than here...
26309 * sysdeps/sparc/sparc64/Makefile: and here.
26311 2012-03-28 Ulrich Drepper <drepper@gmail.com>
26313 * malloc/mallocbug.c: Avoid warnings about unused variables.
26315 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
26318 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
26319 in the right place. Discard and retry query if response is
26320 larger than input buffer size.
26322 2012-03-28 Joseph Myers <joseph@codesourcery.com>
26327 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
26328 x for large integer exponent.
26329 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
26330 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
26331 sign of result as needed afterwards.
26332 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
26333 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
26334 result for underflowing pow the same as for overflow.
26335 (__kernel_standard_l): Handle powl overflow and underflow here
26336 rather than calling __kernel_standard.
26337 * math/libm-test.inc (pow_test): Add more tests.
26352 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
26353 * sysdeps/ieee754/k_standard.c: Include <float.h>.
26354 (__kernel_standard_l): New function.
26355 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
26357 * math/w_acosl.c (__acosl): Likewise.
26358 * math/w_asinl.c (__asinl): Likewise.
26359 * math/w_atan2l.c (__atan2l): Likewise.
26360 * math/w_atanhl.c (__atanhl): Likewise.
26361 * math/w_coshl.c (__coshl): Likewise.
26362 * math/w_exp10l.c (__exp10l): Likewise.
26363 * math/w_exp2l.c (__exp2l): Likewise.
26364 * math/w_fmodl.c (__fmodl): Likewise.
26365 * math/w_hypotl.c (__hypotl): Likewise.
26366 * math/w_j0l.c (__j0l, __y0l): Likewise.
26367 * math/w_j1l.c (__j1l, __y1l): Likewise.
26368 * math/w_jnl.c (__jnl, __ynl): Likewise.
26369 * math/w_lgammal.c (__lgammal): Likewise.
26370 * math/w_log10l.c (__log10l): Likewise.
26371 * math/w_log2l.c (__log2l): Likewise.
26372 * math/w_logl.c (__logl): Likewise.
26373 * math/w_powl.c (__powl): Likewise.
26374 * math/w_remainderl.c (__remainderl): Likewise.
26375 * math/w_scalbl.c (sysv_scalbl): Likewise.
26376 * math/w_sinhl.c (__sinhl): Likewise.
26377 * math/w_sqrtl.c (__sqrtl): Likewise.
26378 * math/w_tgammal.c (__tgammal): Likewise.
26379 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
26380 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
26381 * math/libm-test.inc (acos_test): Add more tests.
26382 (acosh_test): Likewise.
26383 (asin_test): Likewise.
26384 (atanh_test): Likewise.
26385 (exp_test): Likewise.
26386 (exp10_test): Likewise.
26387 (exp2_test): Likewise.
26388 (expm1_test): Likewise.
26389 (lgamma_test): Likewise.
26390 (log_test): Likewise.
26391 (log10_test): Likewise.
26392 (log1p_test): Likewise.
26393 (log2_test): Likewise.
26394 (pow_test): Do not allow some spurious overflow exceptions.
26395 (sqrt_test): Add more tests.
26396 (tgamma_test): Likewise.
26397 (y0_test): Likewise.
26398 (y1_test): Likewise.
26399 (yn_test): Likewise.
26401 2012-03-27 Anton Blanchard <anton@samba.org>
26403 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
26405 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26406 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26407 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26409 2012-03-27 David S. Miller <davem@davemloft.net>
26411 * conform/Makefile: Run run-conformtest.sh using $(BASH).
26413 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
26414 have-as-vis3 check.
26416 2012-03-27 Andreas Jaeger <aj@suse.de>
26418 * sysdeps/x86_64/elf/configure.in: Moved to ...
26419 * sysdeps/x86_64/configure.in: ... here.
26420 * sysdeps/x86_64/elf/start.S: Moved to ...
26421 * sysdeps/x86_64/start.S: ... here.
26422 * sysdeps/x86_64/elf/configure: Delete.
26424 * sysdeps/x86_64/configure.in: Merge contents from
26425 sysdeps/i386/configure.in (without i686 check).
26427 * sysdeps/i386/elf/Versions: Merge into ...
26428 * sysdeps/i386/Versions: ... this.
26429 * sysdeps/i386/elf/Versions: Delete file.
26430 * sysdeps/i386/elf/start.S: Moved to ...
26431 * sysdeps/i386/start.S: ...here.
26432 * sysdeps/i386/elf/configure.in: Merge into...
26433 * sysdeps/i386/configure.in: ...here.
26434 * sysdeps/i386/elf/configure.in: Delete file.
26435 * sysdeps/i386/elf/configure: Delete file.
26437 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
26438 * debug/backtracesyms.c: ... here.
26439 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
26440 * debug/backtracesymsfd.c: ... here.
26441 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
26442 * sysdeps/generic/ifunc-sel.h: ... here.
26444 * sysdeps/unix/i386/start.c: Delete file.
26445 * sysdeps/unix/sparc/start.c: Delete file.
26446 * sysdeps/unix/start.c: Delete file.
26448 * sysdeps/sh/elf/configure.in: Moved to ...
26449 * sysdeps/sh/configure.in: ... here.
26450 * sysdeps/sh/elf/start.S: Moved to ...
26451 * sysdeps/sh/start.S: ... here.
26452 * sysdeps/sh/elf/configure: Delete file.
26454 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
26455 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
26456 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
26457 * sysdeps/powerpc/powerpc64/entry.h: ... here.
26458 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
26459 * sysdeps/powerpc/powerpc64/start.S: here.
26460 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
26461 * sysdeps/powerpc/powerpc64/Makefile: ... this.
26462 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
26463 * sysdeps/powerpc/powerpc64/configure.in: ... this.
26464 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
26466 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
26467 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
26468 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
26469 * sysdeps/powerpc/powerpc32/start.S: ... here.
26470 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
26471 * sysdeps/powerpc/powerpc32/configure.in: ... this.
26472 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
26474 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
26475 * sysdeps/powerpc/ifunc-sel.h: ... here.
26476 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
26477 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
26479 * sysdeps/sparc/elf/configure.in: Moved to ...
26480 * sysdeps/sparc/configure.in: ... here.
26481 * sysdeps/sparc/elf/configure: Delete file.
26482 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
26483 * sysdeps/sparc/sparc32/start.S: ... here.
26484 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
26485 * sysdeps/sparc/sparc64/start.S: ... here.
26486 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
26487 * sysdeps/sparc/sparc32/Makefile: ... this.
26488 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
26489 * sysdeps/sparc/sparc64/Makefile: ... this.
26491 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
26492 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
26493 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
26494 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
26495 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
26496 * sysdeps/s390/s390-32/setjmp.S: ... here.
26497 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
26498 * sysdeps/s390/s390-32/configure.in: ... here.
26499 * sysdeps/s390/s390-32/elf/configure: Delete file.
26500 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
26501 * sysdeps/s390/s390-32/start.S: ... here.
26503 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
26504 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
26505 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
26506 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
26507 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
26508 * sysdeps/s390/s390-64/setjmp.S: ... here.
26509 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
26510 * sysdeps/s390/s390-64/configure.in: ... here
26511 * sysdeps/s390/s390-64/elf/configure: Delete file.
26512 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
26513 * sysdeps/s390/s390-64/start.S: ... here.
26514 * sysdeps/s390/s390-64/elf/configure: Delete.
26516 * configure.in: Remove support for elf directories in sysdeps.
26518 * configure: Regenerated.
26519 * sysdeps/i386/configure: Regenerated.
26520 * sysdeps/powerpc/powerpc32/configure: Regenerated.
26521 * sysdeps/powerpc/powerpc64/configure: Regenerated.
26522 * sysdeps/s390/s390-32/configure: Regenerated.
26523 * sysdeps/s390/s390-64/configure: Regenerated.
26524 * sysdeps/sh/configure: Regenerated.
26525 * sysdeps/sparc/configure: Regenerated.
26526 * sysdeps/x86_64/configure: Regenerated.
26528 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
26530 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26532 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
26533 denormal result into account.
26535 2012-03-25 Roland McGrath <roland@hack.frob.com>
26537 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
26538 Reported by Allan McRae <allan@archlinux.org>.
26540 2012-03-23 Jeff Law <law@redhat.com>
26542 * nss/getnssent.c (__nss_getent): Fix typo.
26544 2012-03-23 David S. Miller <davem@davemloft.net>
26546 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26548 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
26550 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
26551 to pad to uint64_t for each field.
26552 (dl_tls_index): Replace unsigned long with uint64_t.
26554 2012-03-23 Daniel Jacobowitz <dmj@google.com>
26555 Paul Pluzhnikov <ppluzhnikov@google.com>
26558 * grp/Makefile (otherlibs): Don't set it.
26559 * inet/Makefile (otherlibs): Likewise.
26560 * login/Makefile (otherlibs): Likewise.
26561 * nscd/Makefile (otherlibs): Likewise.
26562 * posix/Makefile (otherlibs): Likewise.
26563 * pwd/Makefile (otherlibs): Likewise.
26564 * rt/Makefile (otherlibs): Likewise.
26565 * sunrpc/Makefile (otherlibs): Likewise.
26566 * nss/Makefile (otherlibs): Likewise.
26567 Add libnss_files to routines and static-only-routines.
26568 ($(objpfx)getent): Remove rule.
26569 * resolv/Makefile: Add libnss_dns and libresolv to routines and
26570 static-only-routines.
26572 2012-03-22 Joseph Myers <joseph@codesourcery.com>
26575 * math/s_cexp.c: Include <float.h>.
26576 (__cexp): Handle exp result overflowing not necessarily
26577 overflowing both real and imaginary parts of result.
26578 * math/s_cexpf.c: Likewise.
26579 * math/s_cexpl.c: Likewise.
26580 * math/libm-test.inc (cexp_test): Add more tests.
26581 * sysdeps/i386/fpu/libm-test-ulps: Update.
26582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26584 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26586 * include/link.h (ELFW): New macro.
26587 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
26588 Replace ELF64_R_TYPE with ELFW(R_TYPE).
26590 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26592 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
26595 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26597 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
26599 (struct La_x32_retval): Likewise.
26601 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26603 * sysdeps/x86_64/preconfigure.in: New file.
26604 * sysdeps/x86_64/preconfigure: New generated file.
26606 2012-03-22 Joseph Myers <joseph@codesourcery.com>
26609 * math/e_exp2l.c: Include <float.h>.
26610 (__ieee754_exp2l): Handle overflow and underflow cases
26611 separately. Only pass fractional part of argument to
26613 * math/libm-test.inc (exp2_test): Add more tests.
26615 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
26616 negating x to take absolute value.
26617 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
26619 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
26620 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
26622 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
26623 computing low part if x was negated.
26624 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
26626 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
26628 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
26629 la_x32_gnu_pltexit.
26630 (pltexit): Cast int_retval to ptrdiff_t.
26631 * elf/tst-auditmod3b.c: Likewise.
26632 * elf/tst-auditmod4b.c: Likewise.
26633 * elf/tst-auditmod5b.c: Likewise.
26634 * elf/tst-auditmod6b.c: Likewise.
26635 * elf/tst-auditmod6c.c: Likewise.
26636 * elf/tst-auditmod7b.c: Likewise.
26638 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
26639 and x32_gnu_pltexit.
26641 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
26642 __ELF_NATIVE_CLASS.
26643 (La_x32_regs): New macro.
26644 (La_x32_retval): Likewise.
26645 (la_x32_gnu_pltenter): New function prototype.
26646 (la_x32_gnu_pltexit): Likewise.
26648 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
26650 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
26653 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26655 * configure.in (libc_cv_cc_nofma): Check for option to disable
26656 generation of FMA instructions.
26657 * configure: Regenerate.
26658 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
26659 * sysdeps/ieee754/dbl-64/Makefile: New file.
26660 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26661 Remove brandred-fma4.
26662 (CFLAGS-brandred-fma4.c): Remove.
26663 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
26664 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
26666 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
26669 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
26671 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
26672 LLONG_MAX != LONG_MAX.
26673 (_itoa_word): Use _ITOA_WORD_TYPE on value.
26674 (_fitoa_word): Likewise.
26675 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
26676 LLONG_MAX != LONG_MAX.
26677 * stdio-common/_itowa.h: Include <_itoa.h>.
26678 (_itowa_word): Use _ITOA_WORD_TYPE on value.
26679 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
26680 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
26681 only if not defined.
26682 (_ITOA_WORD_TYPE): Likewise.
26683 (_itoa_word): Use _ITOA_WORD_TYPE on value.
26684 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
26686 2012-03-21 David S. Miller <davem@davemloft.net>
26688 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26690 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
26692 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
26693 of x86_64 when setting libc_cv_slibdir, libdir and
26695 * sysdeps/unix/sysv/linux/configure: Regenerated.
26697 2012-03-21 Joseph Myers <joseph@codesourcery.com>
26699 * manual/lang.texi (Old Varargs): Remove section.
26700 (How Variadic): Update menu.
26701 (va_start): Do not mention varargs.h.
26703 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
26704 Joseph Myers <joseph@codesourcery.com>
26706 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
26708 * configure: Regenerated.
26710 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
26712 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
26713 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
26716 2012-03-21 Joseph Myers <joseph@codesourcery.com>
26719 * Makefile (files-for-dist): Remove NOTES.
26720 (NOTES): Remove rule.
26721 * README: Don't refer to NOTES.
26722 * manual/creature.texi: Don't include macros.texi.
26723 * manual/intro.texi (creature.texi): Remove comment referring to
26726 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
26727 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
26728 * configure: Regenerated.
26729 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
26730 LIBC_TRY_CC_OPTION.
26731 (libc_cv_as_i686): Likewise.
26732 (libc_cv_cc_avx): Likewise.
26733 (libc_cv_cc_sse2avx): Likewise.
26734 (libc_cv_cc_fma4): Likewise.
26735 (libc_cv_cc_novzeroupper): Likewise.
26736 * sysdeps/i386/configure: Regenerated.
26739 * sysdeps/i386/fpu/s_cexp.S: Remove.
26740 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
26741 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
26742 * math/libm-test.inc (cexp_test): Add more tests.
26743 * sysdeps/i386/fpu/libm-test-ulps: Update.
26744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26746 2012-03-21 Allan McRae <allan@archlinux.org>
26748 * timezone/Makefile: Do not install iso3166.tab and zone.tab
26750 2012-03-21 Joseph Myers <joseph@codesourcery.com>
26753 * math/w_exp2.c: Do not include <float.h>.
26754 (o_threshold, u_threshold): Remove.
26755 (__exp2): Calculate result before checking finiteness and calling
26757 * math/w_exp2f.c: Likewise.
26758 * math/w_exp2l.c: Likewise.
26759 * math/libm-test.inc (exp2_test): Require overflow exception for
26763 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
26764 range of signed 64-bit integers before using fistpll. Remove
26765 checks for whether integers fit in mantissa bits.
26766 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
26767 the range of signed 32-bit integers before using fistpl. Remove
26768 checks for whether integers fit in mantissa bits.
26769 * sysdeps/i386/fpu/e_powl.S (p64): New object.
26770 (__ieee754_powl): Test for y outside the range of signed 64-bit
26771 integers before using fistpll. Reduce 64-bit values to 63-bit
26773 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
26774 divide-by-zero is raised for zero to large negative powers.
26775 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
26776 (__ieee754_powl): Test for y outside the range of signed 64-bit
26777 integers before using fistpll. Reduce 64-bit values to 63-bit
26779 * math/libm-test.inc (pow_test): Add more tests.
26781 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
26783 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
26784 <stdio-common/_itoa.h>.
26785 * debug/segfault.c: Likewise.
26786 * elf/dl-cache.c: Likewise.
26787 * elf/dl-minimal.c: Likewise.
26788 * elf/dl-misc.c: Likewise.
26789 * elf/dl-sysdep.c: Likewise.
26790 * elf/dl-version.c: Likewise.
26791 * elf/rtld.c: Likewise.
26792 * hurd/hurdsock.c: Likewise.
26793 * hurd/lookup-retry.c: Likewise.
26794 * malloc/malloc.c: Likewise.
26795 * malloc/mtrace.c: Likewise.
26796 * nscd/nscd_getgr_r.c: Likewise.
26797 * nscd/nscd_getpw_r.c: Likewise.
26798 * nscd/nscd_getserv_r.c: Likewise.
26799 * posix/getopt_init.c: Likewise.
26800 * posix/wordexp.c: Likewise.
26801 * stdio-common/_itoa.c: Likewise.
26802 * stdio-common/printf_fphex.c: Likewise.
26803 * stdio-common/vfprintf.c: Likewise.
26804 * string/_strerror.c: Likewise.
26805 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
26806 * sysdeps/i386/i686/hp-timing.h: Likewise.
26807 * sysdeps/mach/_strerror.c: Likewise.
26808 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
26809 * sysdeps/mach/hurd/sethostid.c: Likewise.
26810 * sysdeps/mach/hurd/xmknodat.c: Likewise.
26811 * sysdeps/mach/xpg-strerror.c: Likewise.
26812 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26813 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26814 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
26815 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
26816 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26817 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
26818 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
26819 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
26820 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
26821 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
26822 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
26823 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
26824 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
26825 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
26826 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
26827 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
26828 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
26829 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
26830 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
26831 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
26832 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
26834 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
26836 * stdio-common/_itoa.h: Moved to ...
26837 * sysdeps/generic/_itoa.h: Here.
26839 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
26841 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
26842 instead of "_itoa.h" and "_itowa.h".
26843 * stdio-common/vfprintf.: Likewise.
26845 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
26847 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
26849 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
26850 (__signbit): Likwise.
26851 (llrintf): Likwise.
26854 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
26856 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
26859 2012-03-20 Joseph Myers <joseph@codesourcery.com>
26861 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
26862 OVERFLOW_EXCEPTION_OK.
26863 * math/libm-test.inc ("Philosophy"): Update comment about
26865 (OVERFLOW_EXCEPTION): Define.
26866 (OVERFLOW_EXCEPTION_OK): Likewise.
26867 (INVALID_EXCEPTION_OK): Renumber.
26868 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26869 (IGNORE_ZERO_INF_SIGN): Likewise.
26870 (test_exceptions): Handle FE_OVERFLOW.
26871 (exp10_test): Expect overflow exceptions.
26872 (exp2_test): Likewise.
26873 (expm1_test): Likewise.
26874 (nextafter_test): Likewise.
26875 (pow_test): Likewise.
26876 (scalbn_test): Likewise.
26877 (scalbln_test): Likewise.
26879 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26881 * sysdeps/x86_64/bits/atomic.h
26882 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
26884 (atomic_exchange_acq): Likewise.
26885 (__arch_exchange_and_add_body): Likewise.
26886 (__arch_add_body): Likewise.
26887 (atomic_add_negative): Likewise.
26888 (atomic_add_zero): Likewise.
26890 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26892 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
26893 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
26895 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26897 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
26898 Check __x86_64__ instead of __WORDSIZE.
26900 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26902 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
26904 2012-03-19 David S. Miller <davem@davemloft.net>
26906 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26908 * sysdeps/sparc/fpu/fenv_private.h: New file.
26909 * sysdeps/sparc/fpu/math_private.h: Use it.
26910 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
26912 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
26913 (libc_feholdexcept_setroundl): Remove.
26914 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
26916 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
26917 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
26919 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26921 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
26922 int64_t instead of long int.
26923 (INSERT_WORDS64): Likwise.
26925 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26927 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
26928 _Unwind_GetCFA return to _Unwind_Ptr first.
26930 2012-03-19 Joseph Myers <joseph@codesourcery.com>
26933 * math/s_clog.c: Include <float.h>.
26934 (__clog): Scale large or subnormal inputs.
26935 * math/s_clogf.c: Likewise.
26936 * math/s_clogl.c: Likewise.
26937 * math/s_clog10.c: Include <float.h>.
26938 (M_LOG10_2): Define.
26939 (__clog10): Scale large or subnormal inputs.
26940 * math/s_clog10f.c: Likewise.
26941 * math/s_clog10l.c: Likewise.
26942 * math/libm-test.inc (clog_test): Add more tests.
26943 (clog10_test): Likewise.
26944 * sysdeps/i386/fpu/libm-test-ulps: Update.
26945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26948 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
26950 * math/libm-test.inc (atan2_test): Add another test.
26952 * Makerules (common-objdir-compile): Remove.
26953 * sysdeps/unix/Makefile (config-generated): Do not add
26954 $(unix-generated) to variable.
26955 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
26956 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
26958 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
26960 [generic bits/local_lim.h] (before-compile): Do not append to
26962 [generic bits/local_lim.h] (common-generated): Likewise.
26963 [generic sys/param.h] (before-compile): Do not append to variable.
26964 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
26965 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
26966 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
26967 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
26969 [generic sys/param.h] (sys/param.h-includes): Remove variable.
26970 [generic sys/param.h] (sys/param.h-includes): Remove rule.
26971 [generic sys/param.h] ($(addprefix
26972 $(common-objpfx),$(sys/param.h-includes))): Likewise.
26973 [generic sys/param.h] (common-generated): Do not append to
26975 [generic sys/param.h] (sysdep_headers): Likewise.
26976 [generic bits/errno.h] (before-compile): Do not append to
26978 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
26980 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
26981 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
26982 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
26983 [generic bits/errno.h] (common-generated): Do not append to
26985 [generic bits/ioctls.h] (before-compile): Do not append to
26987 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
26989 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
26990 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
26991 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
26993 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
26994 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
26995 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
26996 [generic bits/ioctls.h] (common-generated): Do not append to
26998 [generic sys/syscall.h] (syscall.h): Remove variable.
26999 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
27001 [generic sys/syscall.h] (before-compile): Do not append to
27003 [generic sys/syscall.h] (common-generated): Likewise.
27004 * sysdeps/unix/errnos-tmpl.c: Remove file.
27005 * sysdeps/unix/errnos.awk: Likewise.
27006 * sysdeps/unix/ioctls-tmpl.c: Likewise.
27007 * sysdeps/unix/ioctls.awk: Likewise.
27008 * sysdeps/unix/mk-local_lim.c: Likewise.
27009 * sysdeps/unix/snarf-ioctls: Likewise.
27011 2012-03-19 Richard Henderson <rth@twiddle.net>
27013 * sysdeps/i386/fpu/fenv_private.h: New file.
27014 * sysdeps/i386/fpu/math_private.h: Use it.
27015 (math_opt_barrier, math_force_eval): Remove.
27016 (libc_feholdexcept_setround_53bit): Remove.
27017 (libc_feupdateenv_53bit): Remove.
27018 * sysdeps/x86_64/fpu/math_private.h: Likewise.
27019 (math_opt_barrier, math_force_eval): Remove.
27020 (libc_feholdexcept): Remove.
27021 (libc_feholdexcept_setround): Remove.
27022 (libc_fetestexcept, libc_fesetenv): Remove.
27023 (libc_feupdateenv_test): Remove.
27024 (libc_feupdateenv, libc_feholdsetround): Remove.
27025 (libc_feresetround): Remove.
27027 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
27028 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
27030 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
27031 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
27032 (libc_feupdateenv_testl): New.
27033 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
27034 (libc_feupdateenv_testf): New.
27035 (libc_feupdateenv): Use libc_feupdateenv_test.
27036 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
27037 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
27039 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
27040 (libc_feholdsetroundf, libc_feholdsetroundl): New.
27041 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
27042 (libc_feresetround_noex): New.
27043 (libc_feresetround_noexf): New.
27044 (libc_feresetround_noexl): New.
27045 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
27046 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
27047 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
27048 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
27050 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
27051 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
27053 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
27054 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
27055 SET_RESTORE_ROUND_NOEX.
27056 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
27057 SET_RESTORE_ROUND_NOEXF.
27058 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
27059 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
27060 (libc_feholdsetroundf): New.
27061 (libc_feresetround, libc_feresetroundf): New.
27063 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
27064 (libc_feholdexcept_setround_53bit): Convert from macro to function.
27065 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
27067 * sysdeps/generic/math_private.h: Include <fenv.h>.
27068 (default_libc_feholdexcept): New.
27069 (default_libc_feholdexcept_setround): New.
27070 (default_libc_fesetenv, default_libc_feupdateenv): New.
27071 (libc_feholdexcept): Only define if undefined.
27072 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
27073 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
27074 (libc_feholdexcept_setroundl): Likewise.
27075 (libc_feholdexcept_setround_53bit): Likewise.
27076 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
27077 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
27078 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
27079 (libc_feupdateenv_53bit): Likewise.
27080 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
27081 (libc_feholdexcept): Convert from macro to inline function.
27082 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
27083 (libc_fesetenv, libc_feupdateenv): Likewise.
27085 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
27086 not previously defined.
27087 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
27088 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
27089 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
27090 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
27091 * sysdeps/ieee754/flt-32/math_private.h: New file.
27092 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
27093 math_private.h below SET_FLOAT_WORD.
27094 (__isnan, __isinf_ns, __finite): Remove.
27095 (__isnanf, __isinf_nsf, __finitef): Remove.
27097 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
27099 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27101 2012-03-17 David S. Miller <davem@davemloft.net>
27104 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
27107 2012-03-16 David S. Miller <davem@davemloft.net>
27109 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
27113 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
27115 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
27116 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
27117 sysdep_routines when subdir is sysvipc.
27118 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
27119 __getshmlba helper.
27121 * sysdeps/sparc/fpu/libm-test/ulps: Update.
27123 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27125 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
27128 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27130 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
27131 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
27132 (__lround): Renamed to ...
27133 (__llround): This. Replace long int with long long int.
27134 Define lround functions as aliases of llround functions.
27135 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
27137 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27139 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
27140 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
27141 adresses to uintptr_t. Replace "long int" and "unsigned long
27142 int" with "greg_t" on va_arg.
27144 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27146 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
27147 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
27149 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
27150 Move e_machine check before EI_CLASS check. Handle x32
27151 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
27152 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
27153 SKIP_EM_IA_64 and include
27154 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
27156 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
27157 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
27158 (add_system_dir): New macro.
27160 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
27161 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
27163 2012-03-16 Joseph Myers <joseph@codesourcery.com>
27174 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
27176 * math/w_j0f.c (j0f): Likewise.
27178 * math/w_j0l.c (__j0l): Likewise.
27180 * math/w_j1.c (j1): Likewise.
27182 * math/w_j1f.c (j1f): Likewise.
27184 * math/w_j1l.c (__j1l): Likewise.
27186 * math/w_jn.c (jn): Likewise.
27188 * math/w_jnf.c (jnf): Likewise.
27190 * math/w_jnl.c (__jnl): Likewise.
27192 * math/libm-test.inc (j0_test): Add more tests.
27193 (j1_test): Likewise.
27194 (jn_test): Likewise. Add trailing semicolon to existing test.
27195 (y0_test): Likewise.
27196 (y1_test): Likewise.
27197 * sysdeps/i386/fpu/libm-test-ulps: Update.
27198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27202 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
27203 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
27204 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
27205 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
27206 (__tanl): Set errno for infinite argument.
27207 * sysdeps/i386/fpu/mptan.c: Remove.
27208 * sysdeps/i386/fpu/s_tan.S: Likewise.
27209 * sysdeps/i386/fpu/s_tanl.S: Likewise.
27210 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
27211 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
27212 * math/libm-test.inc (tan_test): Add more tests and enable more
27213 tests for double and long double.
27214 * sysdeps/i386/fpu/libm-test-ulps: Update.
27215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27217 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
27219 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
27220 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
27222 2012-03-16 Roland McGrath <roland@hack.frob.com>
27224 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
27225 * configure.in: Use it for both main tree and add-ons.
27226 * configure: Regenerated.
27228 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27230 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
27232 2012-03-16 Joseph Myers <joseph@codesourcery.com>
27234 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
27238 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
27239 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
27240 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
27241 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
27242 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
27244 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
27245 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
27246 != 0 for prec == 2.
27247 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
27248 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
27249 * sysdeps/i386/fpu/s_cosl.S: Likewise.
27250 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
27251 * sysdeps/i386/fpu/s_sinl.S: Likewise.
27252 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
27253 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
27254 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
27255 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
27256 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
27257 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
27258 * math/libm-test.inc (cos_test): Add more tests and enable more
27259 tests for long double.
27260 (sin_test): Likewise.
27261 (sincos_test): Likewise.
27262 * sysdeps/i386/fpu/libm-test-ulps: Update.
27263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27265 2012-03-16 David S. Miller <davem@davemloft.net>
27267 * sysdeps/sparc/fpu/math_private.h: New file.
27269 2012-03-15 David S. Miller <davem@davemloft.net>
27271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
27273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
27274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
27276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
27277 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
27278 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
27279 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
27280 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
27281 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
27283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27285 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
27286 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
27288 * sysdeps/sparc/sparc-ifunc.h: New file.
27289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
27291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
27292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
27294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
27296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
27297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
27298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
27301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
27302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
27303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
27304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
27305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
27307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
27309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
27310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
27311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
27312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
27313 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
27314 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
27315 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
27316 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
27317 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
27318 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
27319 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
27320 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
27321 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
27322 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
27323 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
27324 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
27325 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
27326 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
27327 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
27328 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
27329 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
27330 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
27331 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
27332 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
27334 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
27336 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
27338 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27340 2012-03-15 Andreas Jaeger <aj@suse.de>
27343 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
27344 ieee754/flt-32 implementation for sin, cos and sincos.
27345 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
27346 * sysdeps/i386/fpu/s_cosf.S: Likewise.
27347 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
27348 * sysdeps/i386/fpu/s_sinf.S: Likewise.
27349 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
27350 ieee754/flt-32 implementation for tan.
27352 * math/libm-test.inc (cos_test): Enable some large input tests for
27354 (sin_test): Likewise.
27355 (sincos_test): Likewise.
27356 (tan_test): Add tests for large input.
27358 * sysdeps/i386/fpu/libm-test-ulps: Update.
27360 2012-03-15 Andreas Jaeger <aj@suse.de>
27363 * math/libm-test.inc (cos_test): Add more test cases.
27364 (sin_test): Likewise.
27365 (sincos_test): Likewise.
27367 2012-03-15 Andreas Jaeger <aj@suse.de>
27370 * math/libm-test.inc (cos_test): Add a test case for large input
27372 (sin_test): Likewise.
27373 (sincos_test): Likewise.
27375 2012-03-15 Andreas Jaeger <aj@suse.de>,
27376 Joseph Myers <joseph@codesourcery.com>
27379 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
27380 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
27381 * sysdeps/i386/fpu/branred.c: Likewise.
27382 * sysdeps/i386/fpu/dosincos.c: Likewise.
27383 * sysdeps/i386/fpu/mpa.c: Likewise.
27384 * sysdeps/i386/fpu/s_cos.S: Likewise.
27385 * sysdeps/i386/fpu/s_sin.S: Likewise.
27386 * sysdeps/i386/fpu/s_sincos.S: Likewise.
27387 * sysdeps/i386/fpu/sincos32.c: Likewise.
27389 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
27391 (libc_feupdateenv_53bit): Define.
27392 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
27394 (libc_feupdateenv_53bit): Define.
27396 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
27397 53 bit (without extend i386 double precision).
27399 * math/libm-test.inc (sincos_test): Add tests for large input.
27403 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
27405 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
27407 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27409 2012-03-15 David S. Miller <davem@davemloft.net>
27411 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
27412 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
27413 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
27414 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
27415 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
27416 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
27417 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
27418 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
27419 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
27420 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
27421 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
27422 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
27423 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
27424 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
27425 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
27426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
27428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
27429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
27431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
27432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
27434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
27435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
27437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
27438 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
27439 fmin/fmax sysdep routines.
27440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27442 2012-03-14 David S. Miller <davem@davemloft.net>
27444 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
27445 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
27446 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
27447 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
27448 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
27449 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
27450 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
27451 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
27452 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
27453 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
27454 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
27455 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
27456 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
27457 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
27458 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
27459 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
27460 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
27461 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
27462 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
27463 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
27464 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
27465 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
27466 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
27467 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
27468 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
27469 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
27470 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
27471 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
27472 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
27474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
27476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
27477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
27479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
27480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
27482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
27483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
27485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
27486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
27488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
27489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
27491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
27493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
27495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
27497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
27499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
27501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
27503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
27504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
27506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
27507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
27509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
27510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
27512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
27513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
27516 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
27519 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27521 * sysdeps/sparc/configure.in: New file.
27522 * sysdeps/sparc/configure: Generate.
27523 * configure.in (libc_cv_sparc_as_vis3): Substitute.
27524 * configure: Regenerate.
27525 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
27526 * config.make.in (have-as-vis3): New.
27527 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
27528 available use -Av9d instead of -Av9a.
27529 * sysdeps/sparc/sparc64/Makefile: Likewise.
27530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
27531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
27533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
27535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
27537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
27539 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
27540 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
27541 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
27542 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
27543 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
27545 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
27546 fzeros/fnegs to load 0x80000000 into a float register instead of
27548 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
27550 2012-03-14 Joseph Myers <joseph@codesourcery.com>
27552 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27554 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
27555 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
27556 ($(inst_includedir)/bits/syscall.h): Remove rule.
27557 ($(objpfx)bits/syscall.d): Include instead of
27558 $(objpfx)syscall-list.d.
27559 (generated): Change syscall-list.h and syscall-list.d to
27560 bits/syscall.h and bits/syscall.d.
27562 2012-03-14 Roland McGrath <roland@hack.frob.com>
27565 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
27567 2012-03-14 Joseph Myers <joseph@codesourcery.com>
27570 * math/s_csqrt.c: Include <float.h>.
27571 (__csqrt): Scale large or subnormal inputs.
27572 * math/s_csqrtf.c: Likewise.
27573 * math/s_csqrtl.c: Likewise.
27574 * math/libm-test.inc (csqrt_test): Add more tests.
27575 * sysdeps/i386/fpu/libm-test-ulps: Update.
27576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27579 * math/libm-test.inc (hypot_test): Add more tests.
27581 2012-03-13 David S. Miller <davem@davemloft.net>
27584 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
27585 double-precision for the calculation instead of scaling.
27587 2012-03-13 Joseph Myers <joseph@codesourcery.com>
27589 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
27590 manipulate bits before adding and subtracting TWO52[sx].
27591 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
27592 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
27594 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
27596 2012-03-13 David S. Miller <davem@davemloft.net>
27598 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
27599 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
27600 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
27601 rtld-global-offsets.h
27602 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27604 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
27607 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
27609 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
27610 'err' in the ifdef scope in which it is actually used.
27612 * nss/nss_db/db-init.c: Include string.h
27614 2012-03-12 David S. Miller <davem@davemloft.net>
27616 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
27617 masking out of the most significant byte of random value used.
27618 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27619 Fix coding style in previous change.
27621 * sysdeps/unix/sysv/linux/kernel-features.h
27622 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
27623 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
27625 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
27628 2012-03-11 David S. Miller <davem@davemloft.net>
27630 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27631 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
27632 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
27633 for 'resultvar' otherwise things get truncated on 64-bit.
27635 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27636 Fix masking out of the most significant byte of random value used.
27638 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27640 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
27642 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27644 2012-03-09 David S. Miller <davem@davemloft.net>
27646 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
27647 variables with appropriate CPP guards.
27648 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
27649 frame pointer, not the stack pointer. Correct layout comments. Fix test
27650 on resulting framesize and the management of the outregs buffer for pltexit.
27651 Preserve floating point return values across _dl_call_pltexit call.
27652 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
27653 framesize and the management of the outregs buffer for pltexit.
27654 Preserve floating point return values across _dl_call_pltexit
27656 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
27657 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
27658 (print_exit): Fix format string for return register value.
27660 2012-03-10 Joseph Myers <joseph@codesourcery.com>
27662 * sunrpc/Makefile (others): Add rpcgen.
27663 ($(objpfx)rpcgen): Remove special build rule and dependency on
27665 * sunrpc/rpcgen.c: New file.
27667 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
27670 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
27671 * stdio-common/bug-vfprintf-nargs.c: Likewise.
27672 * sysdeps/i386/crti.S: Likewise.
27673 * sysdeps/i386/crtn.S: Likewise.
27674 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
27675 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
27676 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
27677 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
27678 * sysdeps/sh/crti.S: Likewise.
27679 * sysdeps/sh/crtn.S: Likewise.
27680 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27683 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
27685 * locale/programs/locfile-kw.gperf: Likewise.
27686 * locale/programs/charmap-kw.h: Regenerated.
27687 * locale/programs/locfile-kw.h: Likewise.
27690 * intl/plural.y: Replace FSF snail mail address with URL.
27691 * intl/plural.c: Regenerated.
27693 2012-03-09 Richard Henderson <rth@twiddle.net>
27695 * include/math_private.h: Remove file.
27696 * math/math_private.h: Move file ...
27697 * sysdeps/generic/math_private.h: ... here.
27699 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
27700 * sysdeps/powerpc/fpu/math_private.h: Likewise.
27701 * sysdeps/x86_64/fpu/math_private.h: Likewise.
27703 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
27704 and <math_private.h>.
27705 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27706 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27707 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27708 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27709 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27710 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
27711 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27712 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27713 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27714 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27715 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27716 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27717 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27718 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27719 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27720 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27721 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27722 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27723 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27724 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27725 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27726 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27727 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27728 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27729 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
27730 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27731 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27732 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27733 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27734 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27735 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27736 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27737 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
27738 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27739 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27740 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27741 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27742 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27743 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27744 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27745 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
27746 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27747 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27748 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
27749 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
27750 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27751 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
27752 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
27753 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27754 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27755 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
27756 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
27757 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
27758 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27759 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
27760 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27761 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27762 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
27763 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
27764 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
27765 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27766 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
27767 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27768 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27769 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
27770 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27771 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27772 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27773 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
27774 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
27775 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
27776 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27777 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
27778 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27779 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
27780 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
27781 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
27782 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27783 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
27784 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
27785 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
27786 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
27787 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
27788 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27789 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27790 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
27791 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
27792 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
27793 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27794 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27795 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27796 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27797 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27798 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27799 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27800 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27801 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27802 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27803 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27804 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27805 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27806 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27807 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27808 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27809 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27810 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27811 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27812 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27813 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27814 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27815 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27816 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27817 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27818 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27819 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
27820 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27821 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27822 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27823 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27824 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27825 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27826 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27827 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27828 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
27829 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27830 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27831 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27832 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
27833 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27834 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
27835 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
27836 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27837 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27838 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
27839 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
27840 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
27841 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27842 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27843 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
27844 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
27845 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27846 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
27847 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
27848 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
27849 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
27850 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27851 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27852 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27853 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
27854 * sysdeps/ieee754/k_standard.c: Likewise.
27855 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27856 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27857 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27858 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27859 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27860 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27861 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27862 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27863 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27864 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27865 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27866 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27867 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27868 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27869 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27870 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27871 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
27872 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27873 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27874 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
27875 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
27876 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
27877 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27878 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27879 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
27880 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
27881 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27882 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27883 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27884 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27885 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
27886 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27887 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27888 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27889 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
27890 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27891 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27892 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
27893 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
27894 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27895 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
27896 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
27897 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
27898 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27899 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
27900 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
27901 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27902 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27903 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27904 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27905 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27906 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
27907 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27908 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
27909 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27910 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27911 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
27912 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
27913 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27914 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27915 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27916 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
27917 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27918 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27919 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27920 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27921 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27922 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27923 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27924 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27925 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27926 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27927 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27928 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27929 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27930 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27931 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
27932 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27933 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27934 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
27935 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
27936 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
27937 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27938 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27939 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
27940 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27941 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
27942 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
27943 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27944 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27945 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
27946 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27947 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
27948 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
27949 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27950 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27951 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
27952 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
27953 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
27954 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
27955 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27956 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27957 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27958 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27959 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
27960 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27961 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27962 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
27963 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
27964 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27965 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27966 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27967 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27968 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27969 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27970 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27971 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27972 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27973 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27974 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27975 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27976 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27977 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27978 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27979 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27980 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
27981 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27982 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
27983 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27984 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27985 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27986 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27987 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27988 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
27989 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
27990 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
27991 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
27992 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
27993 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27994 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
27995 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
27996 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27997 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
27998 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
27999 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28000 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28001 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28002 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28003 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28004 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
28005 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28006 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28007 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28008 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28009 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
28010 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
28011 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28012 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28013 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28014 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28015 * sysdeps/ieee754/s_lib_version.c: Likewise.
28016 * sysdeps/ieee754/s_matherr.c: Likewise.
28017 * sysdeps/ieee754/s_signgam.c: Likewise.
28018 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28019 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28020 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
28021 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
28022 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
28023 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28024 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
28025 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
28026 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
28027 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
28028 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
28029 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
28030 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28031 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28032 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
28033 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28034 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28035 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28036 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28037 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28038 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28040 2012-03-09 Joseph Myers <joseph@codesourcery.com>
28042 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
28043 * sunrpc/rpc_main.c: Likewise.
28044 * sunrpc/rpc_svcout.c: Likewise.
28046 2012-03-09 David S. Miller <davem@davemloft.net>
28048 * include/math_private.h: New file.
28050 2012-03-09 Joseph Myers <joseph@codesourcery.com>
28052 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
28053 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
28054 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
28055 from <bits/socket_type.h>.
28056 (enum __socket_type): Don't define here.
28057 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
28058 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28059 bits/socket_type.h.
28062 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
28063 checking __USE_GNU.
28065 * Makerules ($(inst_includedir)/%.h): New rule.
28066 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
28067 (install-others): Remove variable setting.
28068 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
28070 2012-03-08 Richard Henderson <rth@twiddle.net>
28072 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
28073 from macro to inline function; merge with the
28074 !__LIBC_INTERNAL_MATH_INLINES version.
28075 (__ieee754_sqrtf): Likewise.
28077 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
28078 to inline function.
28079 (__rintf, __floor, __floorf): Likewise.
28081 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
28082 macro to inline function.
28083 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
28085 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
28086 not <math/math_private.h>.
28088 2012-03-08 David S. Miller <davem@davemloft.net>
28090 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
28092 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
28094 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
28096 * resolv/gai_misc.c (handle_requests): Fix struct timespec
28098 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
28099 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
28101 2012-03-08 Ulrich Drepper <drepper@gmail.com>
28103 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
28104 be defined individually, they must be defined as a block. Define
28105 S for printing a string instead of hidint the different by using a
28106 macro for adding the 'l'.
28107 * stdio-common/tst-fphex-wide.c: Adjust.
28109 2012-03-07 Marek Polacek <polacek@redhat.com>
28111 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
28113 2012-03-08 Marek Polacek <polacek@redhat.com>
28116 * stdio-common/Makefile (tests): Add tst-fphex-wide.
28117 * stdio-common/tst-fphex.c: Define a few macros to make the
28118 test reusable. Use them.
28119 * stdio-common/tst-fphex-wide.c: New file.
28121 2012-03-08 Joseph Myers <joseph@codesourcery.com>
28124 * manual/macros.texi (gnusystems): New macro.
28125 (nongnusystems): Likewise.
28126 (gnulinuxhurdsystems): Likewise.
28127 (gnuhurdsystems): Likewise..
28128 (gnulinuxsystems): Likewise.
28129 * manual/charset.texi: Use new macros or @theglibc{} to refer to
28130 variants of the GNU system, not "GNU system".
28131 * manual/conf.texi: Likewise.
28132 * manual/errno.texi: Likewise. Update example of errno macro
28134 * manual/filesys.texi: Likewise.
28135 (getumask): Document as specific to GNU/Hurd.
28136 * manual/install.texi: Likewise. Reword some references to
28138 * manual/intro.texi: Likewise.
28139 * manual/io.texi: Likewise.
28140 (File Name Portability): Detail which constraints are inapplicable
28141 to all GNU systems and which are only inapplicable to GNU/Hurd.
28142 * manual/job.texi: Likewise.
28143 * manual/llio.texi: Likewise.
28144 (O_NOCTTY): Document as present on GNU/Linux.
28145 * manual/maint.texi: Likewise.
28146 * manual/memory.texi: Likewise.
28147 * manual/pattern.texi: Likewise.
28148 * manual/pipe.texi: Likewise.
28149 * manual/process.texi: Likewise.
28150 * manual/resource.texi: Likewise.
28151 (RUSAGE_CHILDREN): Remove statement about specifying a particular
28153 * manual/setjmp.texi: Likewise.
28154 * manual/signal.texi: Likewise.
28155 * manual/startup.texi: Likewise.
28156 * manual/stdio.texi: Likewise.
28157 * manual/terminal.texi: Likewise.
28158 (ONLCR): Document as POSIX.
28159 (OXTABS): Document availability on GNU/Linux as XTABS.
28160 (ONOEOT): Document availability separately from other bits.
28161 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
28162 * manual/time.texi: Likewise.
28163 * manual/users.texi: Likewise.
28164 * INSTALL: Regenerated.
28165 * sysdeps/gnu/errlist.c: Regenerated.
28167 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
28168 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
28169 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
28171 * configure: Regenerated.
28173 2012-03-07 Joseph Myers <joseph@codesourcery.com>
28175 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
28176 default includes instead of AC_HEADER_CHECK.
28177 * sysdeps/i386/configure: Regenerated.
28180 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
28181 * math/s_cacoshf.c (__cacoshf): Likewise.
28182 * math/s_cacoshl.c (__cacoshl): Likewise.
28183 * math/s_casinh.c (__casinh): Set signs of result from argument.
28184 * math/s_casinhf.c (__casinhf): Likewise.
28185 * math/s_casinhl.c (__casinhl): Likewise.
28186 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
28187 (casinh_test): Add more tests.
28188 * sysdeps/i386/fpu/libm-test-ulps: Update.
28189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28191 2012-03-07 Ulrich Drepper <drepper@gmail.com>
28193 * po/zh_TW.po: Update from translation team.
28195 * login/Makefile (distribute): Remove variable.
28196 * catgets/Makefile: Likewise.
28197 * mach/Makefile: Likewise.
28198 * malloc/Makefile: Likewise.
28199 * misc/Makefile: Likewise.
28200 * iconv/Makefile: Likewise.
28201 * nscd/Makefile: Likewise.
28202 * hurd/Makefile: Likewise.
28203 * manual/Makefile: Likewise.
28204 * locale/Makefile: Likewise.
28205 * intl/Makefile: Likewise.
28206 * conform/Makefile: Likewise.
28207 * nss/Makefile: Likewise.
28208 * time/Makefile: Likewise.
28209 * soft-fp/Makefile: Likewise.
28210 * dirent/Makefile: Likewise.
28211 * gmon/Makefile: Likewise.
28212 * po/Makefile: Likewise.
28213 * rt/Makefile: Likewise.
28214 * socket/Makefile: Likewise.
28215 * math/Makefile: Likewise.
28216 * signal/Makefile: Likewise.
28217 * debug/Makefile: Likewise.
28218 * elf/Makefile: Likewise.
28219 * timezone/Makefile: Likewise.
28220 * stdlib/Makefile: Likewise.
28221 * iconvdata/Makefile: Likewise.
28222 * sunrpc/Makefile: Likewise.
28223 * io/Makefile: Likewise.
28224 * argp/Makefile: Likewise.
28225 * inet/Makefile: Likewise.
28226 * hesiod/Makefile: Likewise.
28227 * grp/Makefile: Likewise.
28228 * csu/Makefile: Likewise.
28229 * wctype/Makefile: Likewise.
28230 * crypt/Makefile: Likewise.
28231 * libio/Makefile: Likewise.
28232 * string/Makefile: Likewise.
28233 * nis/Makefile: Likewise.
28234 * resolv/Makefile: Likewise.
28235 * stdio-common/Makefile: Likewise.
28236 * wcsmbs/Makefile: Likewise.
28237 * dlfcn/Makefile: Likewise.
28238 * posix/Makefile: Likewise.
28241 * timezone/Makefile: Don't install timezone files, just the programs
28244 2012-03-06 Ulrich Drepper <drepper@gmail.com>
28246 * nss/databases.def: Add missing gshadow entry.
28248 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
28250 2012-03-06 Marek Polacek <polacek@redhat.com>
28253 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
28254 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
28255 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
28256 * stdio-common/tst-long-dbl-fphex.c: New file.
28258 2012-03-06 David S. Miller <davem@davemloft.net>
28260 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28261 (set_obp_int): New function.
28262 (get_obp_int): New function.
28263 (__get_clockfreq_via_dev_openprom): Likewise.
28264 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
28265 Avoid unused variable warnings on 'val' and use builtin_expect.
28266 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
28268 (INLINE_CLONE_SYSCALL): Likewise.
28270 2012-03-05 David S. Miller <davem@davemloft.net>
28272 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28274 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
28276 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28278 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
28279 only for |x| >= 40.
28280 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28282 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
28284 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
28285 Replace gettimeofday with __vdso_gettimeofday.
28287 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28288 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
28289 __vdso_clock_gettime and __vdso_getcpu.
28291 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
28292 time with __vdso_time.
28294 2012-03-05 Joseph Myers <joseph@codesourcery.com>
28296 * manual/lang.texi (size_t): Note types to which size_t may be
28297 equivalent with the GNU C Library, but do not describe when
28298 differences between them are significant.
28300 2012-03-05 Andreas Jaeger <aj@suse.de>
28302 * sysdeps/i386/fpu/libm-test-ulps: Update.
28304 2012-03-05 Joseph Myers <joseph@codesourcery.com>
28307 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
28308 (__ieee754_pow): Save and restore rounding mode and use
28309 round-to-nearest for main computations.
28310 * math/libm-test.inc (pow_test_tonearest): New function.
28311 (pow_test_towardzero): Likewise.
28312 (pow_test_downward): Likewise.
28313 (pow_test_upward): Likewise.
28314 (main): Call the new functions.
28315 * sysdeps/i386/fpu/libm-test-ulps: Update.
28316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28319 * math/libm-test.inc (cosh_test_tonearest): New function.
28320 (cosh_test_towardzero): Likewise.
28321 (cosh_test_downward): Likewise.
28322 (cosh_test_upward): Likewise.
28323 (sinh_test_tonearest): Likewise.
28324 (sinh_test_towardzero): Likewise.
28325 (sinh_test_downward): Likewise.
28326 (sinh_test_upward): Likewise.
28327 (main): Call the new functions.
28328 * sysdeps/i386/fpu/libm-test-ulps: Update.
28329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28331 2012-03-05 Tom de Vries <tom@codesourcery.com>
28333 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
28334 default stack guard is set in last bytes.
28335 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
28337 2012-03-05 Kees Cook <keescook@chromium.org>
28339 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
28342 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
28343 possibly allocate from heap instead of stack.
28344 * stdio-common/bug-vfprintf-nargs.c: New file.
28345 * stdio-common/Makefile (tests): Add nargs overflow test.
28347 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
28349 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28351 2012-03-03 Marek Polacek <polacek@redhat.com>
28353 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
28354 * math/math_private.h: Likewise.
28355 * stdlib/tst-strtod.c: Likewise.
28356 * sysdeps/i386/i486/bits/atomic.h: Likewise.
28357 * sysdeps/x86_64/bits/atomic.h: Likewise.
28359 2012-03-02 David S. Miller <davem@davemloft.net>
28361 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
28362 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
28363 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
28364 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
28365 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
28366 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
28367 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
28368 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
28370 2012-03-02 Roland McGrath <roland@hack.frob.com>
28373 * manual/examples/README: New file, says the example source files
28374 can be used under GPL>=2.
28375 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
28376 line containing just "*/".
28377 * manual/examples/add.c: Add copyright header (GPL>=2).
28378 * manual/examples/argp-ex1.c: Likewise.
28379 * manual/examples/argp-ex2.c: Likewise.
28380 * manual/examples/argp-ex3.c: Likewise.
28381 * manual/examples/argp-ex4.c: Likewise.
28382 * manual/examples/atexit.c: Likewise.
28383 * manual/examples/db.c: Likewise.
28384 * manual/examples/dir.c: Likewise.
28385 * manual/examples/dir2.c: Likewise.
28386 * manual/examples/execinfo.c: Likewise.
28387 * manual/examples/filecli.c: Likewise.
28388 * manual/examples/filesrv.c: Likewise.
28389 * manual/examples/fmtmsgexpl.c: Likewise.
28390 * manual/examples/genpass.c: Likewise.
28391 * manual/examples/inetcli.c: Likewise.
28392 * manual/examples/inetsrv.c: Likewise.
28393 * manual/examples/isockad.c: Likewise.
28394 * manual/examples/longopt.c: Likewise.
28395 * manual/examples/memopen.c: Likewise.
28396 * manual/examples/memstrm.c: Likewise.
28397 * manual/examples/mkfsock.c: Likewise.
28398 * manual/examples/mkisock.c: Likewise.
28399 * manual/examples/mygetpass.c: Likewise.
28400 * manual/examples/pipe.c: Likewise.
28401 * manual/examples/popen.c: Likewise.
28402 * manual/examples/rprintf.c: Likewise.
28403 * manual/examples/search.c: Likewise.
28404 * manual/examples/select.c: Likewise.
28405 * manual/examples/setjmp.c: Likewise.
28406 * manual/examples/sigh1.c: Likewise.
28407 * manual/examples/sigusr.c: Likewise.
28408 * manual/examples/stpcpy.c: Likewise.
28409 * manual/examples/strdupa.c: Likewise.
28410 * manual/examples/strftim.c: Likewise.
28411 * manual/examples/strncat.c: Likewise.
28412 * manual/examples/subopt.c: Likewise.
28413 * manual/examples/swapcontext.c: Likewise.
28414 * manual/examples/termios.c: Likewise.
28415 * manual/examples/testopt.c: Likewise.
28416 * manual/examples/testpass.c: Likewise.
28417 * manual/examples/timeval_subtract.c: Likewise.
28420 * manual/time.texi (Elapsed Time): Move timeval_subtract example
28422 * manual/timeval_subtract.c.texi: ... here, new file.
28424 2012-03-02 David S. Miller <davem@davemloft.net>
28426 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
28428 2012-03-02 Joseph Myers <joseph@codesourcery.com>
28431 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
28432 (__sin): Save and restore rounding mode and use round-to-nearest
28433 for all computations.
28434 (__cos): Save and restore rounding mode and use round-to-nearest
28435 for all computations.
28436 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
28438 (tan): Save and restore rounding mode and use round-to-nearest for
28440 * math/libm-test.inc (cos_test_tonearest): New function.
28441 (cos_test_towardzero): Likewise.
28442 (cos_test_downward): Likewise.
28443 (cos_test_upward): Likewise.
28444 (sin_test_tonearest): Likewise.
28445 (sin_test_towardzero): Likewise.
28446 (sin_test_downward): Likewise.
28447 (sin_test_upward): Likewise.
28448 (tan_test_tonearest): Likewise.
28449 (tan_test_towardzero): Likewise.
28450 (tan_test_downward): Likewise.
28451 (tan_test_upward): Likewise.
28452 (main): Call the new functions.
28453 * sysdeps/i386/fpu/libm-test-ulps: Update.
28454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28457 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
28458 small n, then large n, before computing and testing k+n.
28459 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
28460 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
28462 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
28464 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
28465 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
28466 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
28467 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
28468 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
28469 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
28470 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
28471 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
28472 * math/libm-test.inc (scalbn_test): Add more tests.
28473 (scalbln_test): Likewise.
28475 * manual/filesys.texi (mode_t): Describe constraints on size and
28476 signedness, not exact equivalence to a particular type.
28478 (ino64_t): Likewise.
28480 (nlink_t): Likewise.
28481 (blkcnt_t): Likewise.
28482 (blkcnt64_t): Likewise.
28483 * manual/llio.texi (off_t): Likewise.
28486 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
28487 (__ieee754_exp): Save and restore rounding mode and use
28488 round-to-nearest for all computations.
28489 * math/libm-test.inc (exp_test_tonearest): New function.
28490 (exp_test_towardzero): Likewise.
28491 (exp_test_downward): Likewise.
28492 (exp_test_upward): Likewise.
28493 (main): Call the new functions.
28494 * sysdeps/i386/fpu/libm-test-ulps: Update.
28495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28497 2012-03-01 Chris Demetriou <cgd@google.com>
28499 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
28500 have predictable order.
28502 2012-03-01 David S. Miller <davem@davemloft.net>
28504 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
28506 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
28507 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
28508 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
28509 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
28511 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
28512 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
28513 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
28514 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
28515 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
28516 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
28517 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
28518 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
28519 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
28521 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28523 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
28524 * sysdeps/sparc/fpu/libm-test-ulps: to here.
28525 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
28527 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
28528 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28529 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
28530 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
28531 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
28532 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
28533 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
28534 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28535 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
28536 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
28537 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
28538 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28539 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28540 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
28541 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28542 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28543 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
28544 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
28545 * sysdeps/sparc/elf/configure: Regenerated.
28547 2012-03-01 Joseph Myers <joseph@codesourcery.com>
28549 * configure.in (AS, LD): Require binutils 2.20 or later.
28550 * configure: Regenerated.
28551 * manual/install.texi (Tools for Compilation): Give binutils 2.20
28552 as required minimum version.
28553 * INSTALL: Regenerated.
28557 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
28558 before squaring exponent.
28559 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
28560 bottom long double and 27 bits of top long double before squaring
28562 * math/libm-test.inc (erfc_test): Add more tests.
28563 * sysdeps/i386/fpu/libm-test-ulps: Update.
28564 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28567 2012-03-01 Kai Tietz <ktietz@redhat.com>
28569 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
28570 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
28571 containing bit-fields.
28572 * soft-fp/extended.h (_FP_UNION_E): Likewise.
28573 * soft-fp/single.h (_FP_UNION_S): Likewise.
28574 * soft-fp/double.h (_FP_UNION_D): Likewise.
28576 2012-02-29 Joseph Myers <joseph@codesourcery.com>
28579 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
28580 not include ../strcmp.S.
28581 [USE_AS_STRNCASECMP_L]: Likewise.
28582 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
28583 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
28584 * sysdeps/i386/i686/multiarch/strncase_l-c.c
28585 (__strncasecmp_l_ia32): Define as alias to
28586 __strncasecmp_l_nonascii.
28589 * math/libm-test.inc (expm1_test): Add test for bug 5794.
28590 * sysdeps/i386/fpu/libm-test-ulps: Update.
28591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28593 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
28594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28596 2012-02-29 Jeff Law <law@redhat.com>
28598 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
28599 out of bounds read.
28601 2012-02-29 Marek Polacek <polacek@redhat.com>
28604 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
28605 * elf/Makefile: Add rules to run tst-unused-dep.out.
28607 2012-02-28 David S. Miller <davem@davemloft.net>
28609 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
28610 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
28611 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
28612 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
28613 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
28614 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
28616 2012-02-29 Joseph Myers <joseph@codesourcery.com>
28618 * math/libm-test.inc (llround_test): Move one test from
28619 lround_test. Use TEST_f_L in moved test.
28620 (lround_test): Move misplaced test to llround_test. Add testcase
28623 2012-02-28 Ulrich Drepper <drepper@gmail.com>
28625 * sysdeps/x86_64/fpu/e_expf.S: New file.
28626 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
28628 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
28631 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
28632 of remain_len that may cause incomplete multi-byte character and
28634 * posix/bug-regex33.c: New file.
28635 * posix/Makefile (tests): Add bug-regex33.
28637 2012-02-28 Joseph Myers <joseph@codesourcery.com>
28639 * manual/macros.texi: New file.
28640 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
28641 * manual/libc.texinfo: Include macros.texi.
28642 * manual/creatute.texi: Likewise.
28643 * manual/install.texi: Likewise.
28644 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
28645 @glibcadj{} in references to the GNU C Library.
28646 * manual/charset.texi: Likewise.
28647 * manual/conf.texi: Likewise.
28648 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
28649 when not using those macros.
28650 * manual/creature.texi: Likewise.
28651 * manual/crypt.texi: Likewise.
28652 * manual/errno.texi: Likewise.
28653 * manual/filesys.texi: Likewise.
28654 * manual/header.texi: Likewise.
28655 * manual/install.texi: Likewise.
28656 * manual/intro.texi: Likewise.
28657 * manual/io.texi: Likewise.
28658 * manual/job.texi: Likewise.
28659 * manual/lang.texi: Likewise.
28660 * manual/libc.texiinfo: Likewise.
28661 * manual/llio.texi: Likewise.
28662 * manual/locale.texi: Likewise.
28663 * manual/maint.texi: Likewise.
28664 * manual/math.texi: Likewise.
28665 * manual/memory.texi: Likewise.
28666 * manual/message.texi: Likewise.
28667 * manual/nss.texi: Likewise.
28668 * manual/pattern.texi: Likewise.
28669 * manual/process.texi: Likewise.
28670 * manual/resource.texi: Likewise.
28671 * manual/search.texi: Likewise.
28672 * manual/setjmp.texi: Likewise.
28673 * manual/signal.texi: Likewise.
28674 * manual/socket.texi: Likewise.
28675 * manual/startup.texi: Likewise.
28676 * manual/stdio.texi: Likewise.
28677 * manual/string.texi: Likewise.
28678 * manual/sysinfo.texi: Likewise.
28679 * manual/syslog.texi: Likewise.
28680 * manual/terminal.texi: Likewise.
28681 * manual/time.texi: Likewise.
28682 * manual/users.texi: Likewise.
28683 * INSTALL: Regenerated.
28684 * NOTES: Regenerated.
28685 * sysdeps/gnu/errlist.c: Regenerated.
28687 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
28689 * include/dirent.h: Include <dirstream.h> before
28692 2012-02-28 David S. Miller <davem@davemloft.net>
28694 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
28695 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
28696 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
28697 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
28699 2012-02-27 David S. Miller <davem@davemloft.net>
28701 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
28702 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
28703 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
28704 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
28706 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
28707 frame pointer instead of stack pointer relative arg slot.
28708 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
28709 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
28710 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
28712 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
28715 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
28717 2012-02-27 David S. Miller <davem@davemloft.net>
28719 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
28720 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
28721 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
28722 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
28723 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
28724 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
28725 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
28726 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
28728 2012-02-27 Joseph Myers <joseph@codesourcery.com>
28730 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
28731 later. Allow versions 5-9.
28732 * configure: Regenerated.
28733 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
28734 required minimum version and 4.6 as recommended version. Do not
28735 mention bugs in GCC 2.7 and 2.8.
28736 * INSTALL: Regenerated.
28738 2012-02-27 David S. Miller <davem@davemloft.net>
28740 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
28741 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
28742 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
28743 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
28744 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
28745 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
28746 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
28747 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
28749 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
28750 manipulate bits before adding and subtracting TWO112[sx].
28751 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
28753 2012-02-27 Roland McGrath <roland@hack.frob.com>
28756 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
28757 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
28758 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
28759 being in POSIX, because they are in 1003.1-2008.
28761 * rt/tst-aio.c: Include <fcntl.h>.
28762 * rt/tst-aio7.c: Likewise.
28763 * rt/tst-aio64.c: Likewise.
28765 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
28767 2012-02-27 Joseph Myers <joseph@codesourcery.com>
28769 * manual/install.texi (--with-headers): Describe headers as
28770 interface headers, not private headers.
28771 (Specific advice for GNU/Linux systems): Describe use of headers
28772 from "make headers_install", not private headers from older
28774 * INSTALL: Regenerated.
28775 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
28777 * sysdeps/unix/sysv/linux/configure: Regenerated.
28779 * manual/llio.texi (fclean): Remove documentation.
28781 * manual/Makefile (libc-texi-generated): New variable. Include
28783 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
28784 $(libc-texi-generated), not duplicated list of files.
28785 (version.texi, stamp-version): New rules.
28786 (realclean): Remove $(libc-texi-generated), not individual files
28787 from that list. Do not remove dir-add.texinfo.
28788 * manual/libc.texinfo: Comment out uses of edition numbers and
28789 references to printed manual. Remove last-updated dates.
28790 (EDITION): Comment out.
28792 (VERSION, UPDATED): Remove.
28793 (version.texi): Include.
28795 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
28797 * sysdeps/posix/spawni.c: Include <signal.h>.
28798 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
28799 * sysdeps/pthread/aio_fsync.c: Likewise.
28801 2012-02-26 Ulrich Drepper <drepper@gmail.com>
28803 * conform/Makefile (tests): Run only when not cross-compiling and
28804 when fast-check is not defined.
28806 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
28807 * conform/data/limits.h-data: Fixes for POSIX2008.
28808 * conform/run-conformtest.sh: Run all tests.
28809 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
28811 * include/bits/dlfcn.h: Likewise.
28812 * include/langinfo.h: Likewise.
28813 * include/monetary.h: Likewise.
28814 * include/sys/poll.h: Likewise.
28816 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
28818 * posix/spawn.h: Define __need_sigset_t.
28819 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
28820 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
28821 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
28822 to get sigevent_t only.
28823 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
28824 only for __USE_GNU.
28825 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28826 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
28827 process_vm_writev only for __USE_GNU.
28828 * termios/termios.h: Declare tcgetsid also for POSIX2008.
28830 * conform/Makefile: For now ignore errors from run-conformtest.
28831 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
28832 POSIX to avoid namespace pollution. Don't prepend headers.
28833 * conform/data/aio.h-data: Fixes for POSIX testing.
28834 * conform/data/fcntl.h-data: Likewise.
28835 * conform/data/glob.h-data: Likewise.
28836 * conform/data/grp.h-data: Likewise.
28837 * conform/data/pthread.h-data: Likewise.
28838 * conform/data/pwd.h-data: Likewise.
28839 * conform/data/signal.h-data: Likewise.
28840 * conform/data/spawn.h-data: Likewise.
28841 * conform/data/stdio.h-data: Likewise.
28842 * conform/data/stdlib.h-data: Likewise.
28843 * conform/data/stropts.h-data: Likewise.
28844 * conform/data/sys/mman.h-data: Likewise.
28845 * conform/data/sys/stat.h-data: Likewise.
28846 * conform/data/sys/types.h-data: Likewise.
28847 * conform/data/sys/wait.h-data: Likewise.
28848 * conform/data/time.h-data: Likewise.
28849 * conform/data/unistd.h-data: Likewise.
28850 * conform/data/utime.h-data: Likewise.
28852 * io/sys/stat.h: fchmod was always in POSIX.
28853 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
28854 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
28855 * rt/aio.h: Define __need_timespec before including <time.h>.
28856 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
28857 struct. Add forward declaration of pthread_attr_t and use it in
28859 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
28860 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28861 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
28862 always remove CLK_TCK definition.
28864 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
28866 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
28868 2012-02-25 Ulrich Drepper <drepper@gmail.com>
28870 * conform/run-conformtest.sh: New file.
28871 * conform/Makefile: Run run-conformtest for tests.
28872 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
28875 * conform/data/uchar.h-data: New file.
28876 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
28877 * conform/data/arpa/inet.h-data: Likewise.
28878 * conform/data/assert.h-data: Likewise.
28879 * conform/data/complex.h-data: Likewise.
28880 * conform/data/cpio.h-data: Likewise.
28881 * conform/data/ctype.h-data: Likewise.
28882 * conform/data/dirent.h-data: Likewise.
28883 * conform/data/dlfcn.h-data: Likewise.
28884 * conform/data/errno.h-data: Likewise.
28885 * conform/data/fcntl.h-data: Likewise.
28886 * conform/data/float.h-data: Likewise.
28887 * conform/data/fmtmsg.h-data: Likewise.
28888 * conform/data/fnmatch.h-data: Likewise.
28889 * conform/data/ftw.h-data: Likewise.
28890 * conform/data/glob.h-data: Likewise.
28891 * conform/data/grp.h-data: Likewise.
28892 * conform/data/iconv.h-data: Likewise.
28893 * conform/data/inttypes.h-data: Likewise.
28894 * conform/data/langinfo.h-data: Likewise.
28895 * conform/data/libgen.h-data: Likewise.
28896 * conform/data/limits.h-data: Likewise.
28897 * conform/data/locale.h-data: Likewise.
28898 * conform/data/math.h-data: Likewise.
28899 * conform/data/monetary.h-data: Likewise.
28900 * conform/data/mqueue.h-data: Likewise.
28901 * conform/data/ndbm.h-data: Likewise.
28902 * conform/data/net/if.h-data: Likewise.
28903 * conform/data/netdb.h-data: Likewise.
28904 * conform/data/netinet/in.h-data: Likewise.
28905 * conform/data/nl_types.h-data: Likewise.
28906 * conform/data/poll.h-data: Likewise.
28907 * conform/data/pthread.h-data: Likewise.
28908 * conform/data/pwd.h-data: Likewise.
28909 * conform/data/regex.h-data: Likewise.
28910 * conform/data/sched.h-data: Likewise.
28911 * conform/data/search.h-data: Likewise.
28912 * conform/data/semaphore.h-data: Likewise.
28913 * conform/data/setjmp.h-data: Likewise.
28914 * conform/data/signal.h-data: Likewise.
28915 * conform/data/spawn.h-data: Likewise.
28916 * conform/data/stdarg.h-data: Likewise.
28917 * conform/data/stdio.h-data: Likewise.
28918 * conform/data/stdlib.h-data: Likewise.
28919 * conform/data/string.h-data: Likewise.
28920 * conform/data/strings.h-data: Likewise.
28921 * conform/data/stropts.h-data: Likewise.
28922 * conform/data/sys/ipc.h-data: Likewise.
28923 * conform/data/sys/mman.h-data: Likewise.
28924 * conform/data/sys/msg.h-data: Likewise.
28925 * conform/data/sys/resource.h-data: Likewise.
28926 * conform/data/sys/select.h-data: Likewise.
28927 * conform/data/sys/sem.h-data: Likewise.
28928 * conform/data/sys/shm.h-data: Likewise.
28929 * conform/data/sys/socket.h-data: Likewise.
28930 * conform/data/sys/stat.h-data: Likewise.
28931 * conform/data/sys/statvfs.h-data: Likewise.
28932 * conform/data/sys/time.h-data: Likewise.
28933 * conform/data/sys/timeb.h-data: Likewise.
28934 * conform/data/sys/times.h-data: Likewise.
28935 * conform/data/sys/types.h-data: Likewise.
28936 * conform/data/sys/uio.h-data: Likewise.
28937 * conform/data/sys/un.h-data: Likewise.
28938 * conform/data/sys/utsname.h-data: Likewise.
28939 * conform/data/sys/wait.h-data: Likewise.
28940 * conform/data/syslog.h-data: Likewise.
28941 * conform/data/tar.h-data: Likewise.
28942 * conform/data/termios.h-data: Likewise.
28943 * conform/data/utime.h-data: Likewise.
28944 * conform/data/utmpx.h-data: Likewise.
28945 * conform/data/varargs.h-data: Likewise.
28946 * conform/data/wchar.h-data: Likewise.
28947 * conform/data/wctype.h-data: Likewise.
28948 * conform/data/wordexp.h-data: Likewise.
28950 * include/stropts.h: New file.
28951 * include/uchar.h: New file.
28952 * include/aio.h: Changes to allow conformtest.pl to use the headers.
28953 * include/assert.h: Likewise.
28954 * include/ctype.h: Likewise.
28955 * include/dirent.h: Likewise.
28956 * include/dlfcn.h: Likewise.
28957 * include/fcntl.h: Likewise.
28958 * include/fnmatch.h: Likewise.
28959 * include/glob.h: Likewise.
28960 * include/grp.h: Likewise.
28961 * include/libio.h: Likewise.
28962 * include/locale.h: Likewise.
28963 * include/math.h: Likewise.
28964 * include/net/if.h: Likewise.
28965 * include/netdb.h: Likewise.
28966 * include/netinet/in.h: Likewise.
28967 * include/pthread.h: Likewise.
28968 * include/pwd.h: Likewise.
28969 * include/regex.h: Likewise.
28970 * include/sched.h: Likewise.
28971 * include/search.h: Likewise.
28972 * include/setjmp.h: Likewise.
28973 * include/signal.h: Likewise.
28974 * include/stdio.h: Likewise.
28975 * include/stdlib.h: Likewise.
28976 * include/string.h: Likewise.
28977 * include/sys/cdefs.h: Likewise.
28978 * include/sys/mman.h: Likewise.
28979 * include/sys/msg.h: Likewise.
28980 * include/sys/resource.h: Likewise.
28981 * include/sys/select.h: Likewise.
28982 * include/sys/socket.h: Likewise.
28983 * include/sys/stat.h: Likewise.
28984 * include/sys/statvfs.h: Likewise.
28985 * include/sys/time.h: Likewise.
28986 * include/sys/times.h: Likewise.
28987 * include/sys/uio.h: Likewise.
28988 * include/sys/utsname.h: Likewise.
28989 * include/sys/wait.h: Likewise.
28990 * include/termios.h: Likewise.
28991 * include/time.h: Likewise.
28992 * include/ulimit.h: Likewise.
28993 * include/unistd.h: Likewise.
28994 * include/utime.h: Likewise.
28995 * include/wchar.h: Likewise.
28996 * include/wctype.h: Likewise.
28997 * include/wordexp.h: Likewise.
28999 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
29001 * time/time.h: TIME_UTC must be a macro.
29002 Make timespec_get available for ISO C11 only as well.
29004 2012-02-24 Ulrich Drepper <drepper@gmail.com>
29006 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
29007 Reported by Peng Haitao <penght@cn.fujitsu.com>.
29009 2012-02-24 Joseph Myers <joseph@codesourcery.com>
29011 * configure.in: Use -o not -a in test for unsupported multi-arch.
29013 2012-02-24 Joseph Myers <joseph@codesourcery.com>
29015 * manual/texinfo.tex: Update to version 2012-01-19.16.
29017 2012-02-24 Joseph Myers <joseph@codesourcery.com>
29019 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
29021 2012-02-24 Roland McGrath <roland@hack.frob.com>
29024 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
29025 * manual/fdl-1.3.texi: New file.
29026 * manual/fdl-1.1.texi: File removed.
29029 * manual/libc.texinfo (FDL_VERSION): New @set.
29030 Use it for mention of FDL in cover text.
29031 (Documentation License): Use it in @include file name.
29033 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29034 Roland McGrath <roland@hack.frob.com>
29037 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
29038 not LONG_LONG_MAX and LONG_LONG_MIN.
29039 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
29040 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
29042 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
29044 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29048 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
29049 manipulate bits before adding and subtracting TWO23[sx].
29050 * math/libm-test.inc (nearbyint_test): Add more tests.
29052 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29055 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
29056 bits before adding and subtracting TWO23[sx].
29057 * math/libm-test.inc (rint_test): Add more tests.
29058 (rint_test_tonearest): Likewise.
29059 (rint_test_towardzero): Likewise.
29060 (rint_test_downward): Likewise.
29061 (rint_test_upward: Likewise.
29063 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29066 * include/stdc-predef.h: New file. Extracted from features.h.
29067 * include/features.h: Include stdc-predef.h.
29068 * Makefile (headers): Add stdc-predef.h.
29069 * CONFORMANCE (Compiler limitations): Update.
29071 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29073 * manual/libc.texinfo (VERSION, UPDATED): Revert.
29075 2012-02-21 David S. Miller <davem@davemloft.net>
29077 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
29078 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29080 2012-02-20 David S. Miller <davem@davemloft.net>
29082 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
29083 using a normal save/restore sequence, rather than allocating a
29084 dummy stack frame just to store a frame pointer and restore.
29085 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29087 2012-02-21 Joseph Myers <joseph@codesourcery.com>
29089 * manual/install.texi: Fix stray word in line-wrapped comment.
29091 2012-02-20 David S. Miller <davem@davemloft.net>
29093 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
29094 both binutils and gcc support GOTDATA.
29096 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
29097 "rd %pc" in the PIC register setup sequences.
29099 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
29100 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
29101 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29102 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
29103 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29104 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29105 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29106 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29107 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
29108 (SYSCALL_ERROR_HANDLER): Likewise.
29109 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29110 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29111 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
29112 (SYSCALL_ERROR_HANDLER): Likewise.
29114 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
29115 (HAVE_GCC_GOTDATA): New.
29116 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
29117 relocation support in both binutils and gcc.
29118 * sysdeps/sparc/elf/configure: Regenerate.
29120 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
29121 * sysdeps/sparc/sparc32/elf/configure: Delete.
29122 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
29123 * sysdeps/sparc/sparc64/elf/configure: Delete.
29124 * sysdeps/sparc/elf/configure.in: New file.
29125 * sysdeps/sparc/elf/configure: Generate.
29127 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
29128 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
29129 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29130 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
29131 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
29133 2012-02-21 Joseph Myers <joseph@codesourcery.com>
29135 * manual/install.texi: Do not mention specific glibc version
29137 * manual/libc.texinfo (VERSION, UPDATED): Update.
29138 (@copying): Use @copyright{} and range of years.
29140 2012-02-21 Joseph Myers <joseph@codesourcery.com>
29143 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
29144 [crti.S not in sysdirs] (generated): Do not append.
29145 [crti.S not in sysdirs] (omit-deps): Likewise.
29146 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
29147 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
29148 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
29149 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
29150 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
29152 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
29153 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
29154 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
29155 * csu/defs.awk: Remove file.
29156 * sysdeps/generic/initfini.c: Likewise.
29157 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
29159 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
29162 2012-02-20 Joseph Myers <joseph@codesourcery.com>
29164 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
29165 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
29166 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
29167 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
29168 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29169 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
29171 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
29172 (__EPOLL_PACKED): Define to empty if not defined by
29174 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
29175 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29178 2012-02-20 Joseph Myers <joseph@codesourcery.com>
29180 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
29181 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
29182 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
29183 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
29185 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
29186 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29189 2012-02-20 Joseph Myers <joseph@codesourcery.com>
29191 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
29193 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29194 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
29195 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
29196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29198 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
29200 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29201 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29203 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
29205 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
29206 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
29208 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
29210 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
29213 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
29215 * math/w_acos.c: Use non-signaling floating-point comparisons.
29216 * math/w_acosf.c: Likewise.
29217 * math/w_acosh.c: Likewise.
29218 * math/w_acoshf.c: Likewise.
29219 * math/w_acoshl.c: Likewise.
29220 * math/w_acosl.c: Likewise.
29221 * math/w_asin.c: Likewise.
29222 * math/w_asinf.c: Likewise.
29223 * math/w_asinl.c: Likewise.
29224 * math/w_atanh.c: Likewise.
29225 * math/w_atanhf.c: Likewise.
29226 * math/w_atanhl.c: Likewise.
29227 * math/w_exp2.c: Likewise.
29228 * math/w_exp2f.c: Likewise.
29229 * math/w_exp2l.c: Likewise.
29230 * math/w_j0.c: Likewise.
29231 * math/w_j0f.c: Likewise.
29232 * math/w_j0l.c: Likewise.
29233 * math/w_j1.c: Likewise.
29234 * math/w_j1f.c: Likewise.
29235 * math/w_j1l.c: Likewise.
29236 * math/w_jn.c: Likewise.
29237 * math/w_jnf.c: Likewise.
29238 * math/w_log.c: Likewise.
29239 * math/w_log10.c: Likewise.
29240 * math/w_log10f.c: Likewise.
29241 * math/w_log10l.c: Likewise.
29242 * math/w_log2.c: Likewise.
29243 * math/w_log2f.c: Likewise.
29244 * math/w_log2l.c: Likewise.
29245 * math/w_logf.c: Likewise.
29246 * math/w_logl.c: Likewise.
29247 * math/w_sqrt.c: Likewise.
29248 * math/w_sqrtf.c: Likewise.
29249 * math/w_sqrtl.c: Likewise.
29250 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29251 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
29252 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29253 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29254 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29256 2012-02-19 Joseph Myers <joseph@codesourcery.com>
29259 * manual/string.texi (strnlen): Use correct parameter name in
29260 equivalent expression.
29262 2012-02-19 Joseph Myers <joseph@codesourcery.com>
29265 * manual/users.texi (seteuid): Consistently use neweuid for
29268 2012-02-19 Joseph Myers <joseph@codesourcery.com>
29271 * manual/nss.texi (Services in the NSS configuration): Correct
29272 list of services in example configuration file.
29274 2012-02-19 Nick Bowler <nbowler@draconx.ca>
29277 * manual/arith.texi: Remove statements about negative zero
29278 behaving identically to zero.
29280 2012-02-18 Joseph Myers <joseph@codesourcery.com>
29283 * manual/install.texi: Do not document upgrading from libc5.
29285 2012-02-18 Joseph Myers <joseph@codesourcery.com>
29288 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
29290 2012-02-18 David S. Miller <davem@davemloft.net>
29292 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
29293 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
29294 %o7 across the call.
29295 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
29297 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
29298 SETUP_PIC_REG_LEAF.
29299 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29300 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
29301 * sysdeps/sparc/crtn.S: Likewise.
29303 2012-02-17 Ulrich Drepper <drepper@gmail.com>
29305 * aout/Makefile: Remove.
29307 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
29310 * manual/examples/argp-ex1.c (main): Format definition in GNU
29312 * manual/examples/argp-ex2.c (main): Likewise.
29313 * manual/examples/argp-ex3.c (main): Likewise.
29314 * manual/examples/argp-ex4.c (main): Likewise.
29315 * manual/examples/longopt.c (main): Use new-style prototype
29317 * manual/examples/strncat.c (main): Specify return type and use
29318 (void) for arguments.
29319 * manual/examples/subopt.c (main): Use char **argv argument.
29321 2012-02-17 Joseph Myers <joseph@codesourcery.com>
29324 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
29327 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
29330 * manual/string.texi (strchr): Change when strchrnul is
29333 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
29336 * manual/locale.texi (setlocale): Document LOCPATH.
29338 2012-02-17 Joseph Myers <joseph@codesourcery.com>
29341 * manual/process.texi (execle): Move @dots{} before last argument.
29343 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
29346 * manual/charset.texi (Generic Charset Conversion): Fix typo
29347 (LC_TYPE -> LC_CTYPE).
29349 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
29352 * manual/arith.texi (scalbn): Use @var{} on parameter names.
29353 (scalbnf): Likewise.
29354 (scalbnl): Likewise.
29355 (scalbln): Likewise.
29356 (scalblnf): Likewise.
29357 (scalblnl): Likewise.
29358 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
29359 (vwarnx): Likewise.
29362 * manual/filesys.texi (telldir): Use braces around return type.
29363 * manual/llio.texi (mmap): Add space after comma.
29364 (mmap64): Likewise.
29365 * manual/math.texi (jn): Use @var{} on parameter names.
29371 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
29373 * manual/resource.texi (ulimit): Use @dots{} instead of literal
29375 (sched_get_priority_min): Remove semicolon on @deftypefun line.
29376 (sched_get_priority_max): Likewise.
29377 * manual/signal.texi (sigvec): Add space after comma.
29378 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
29380 (if_indextoname): Likewise.
29381 (if_freenameindex): Likewise.
29382 (sendto): Use ',' instead of '.' in prototype.
29383 * manual/startup.texi (syscall): Use @dots{} instead of literal
29385 * manual/stdio.texi (__fpending): Separate initial words of
29386 paragraph from @deftypefun line.
29387 * manual/syslog.texi (syslog): Use @dots{} instead of literal
29389 (vsyslog): Use @var{} on parameter names.
29390 * manual/terminal.texi (stty): Use @var{} on parameter names.
29391 * manual/users.texi (getutmp): Use @var{} on parameter names.
29392 (getutmpx): Likewise.
29394 2012-02-17 Joseph Myers <joseph@codesourcery.com>
29397 * manual/stdio.texi (fopen): Fix typos in description of
29400 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
29403 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
29404 get clock_id definition.
29406 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
29409 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
29410 (madvise): Cast every argument to void on its own.
29412 2012-02-17 Joseph Myers <joseph@codesourcery.com>
29415 * manual/startup.texi (Exit Status): Fix typo.
29417 2012-02-17 Joseph Myers <joseph@codesourcery.com>
29420 * manual/examples/argp-ex1.c: Include <stdlib.h>.
29421 * manual/examples/argp-ex2.c: Likewise.
29422 * manual/examples/argp-ex3.c: Likewise.
29424 2012-02-16 Richard Henderson <rth@redhat.com>
29426 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
29427 * sysdeps/s390/s390-32/initfini.c: Remove.
29428 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
29429 * sysdeps/s390/s390-64/initfini.c: Remove.
29431 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29433 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
29434 compiler output for sysdeps/generic/initfini.c.
29435 * sysdeps/sh/elf/initfini.c: Remove file.
29437 2012-02-16 David S. Miller <davem@davemloft.net>
29440 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
29442 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
29443 * sysdeps/sparc/crti.S: New file.
29444 * sysdeps/sparc/crtn.S: New file.
29445 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
29446 * sysdeps/sparc/sparc64/Makefile: Likewise.
29448 2012-02-15 Mike Frysinger <vapier@gentoo.org>
29451 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
29453 2012-02-15 Roland McGrath <roland@hack.frob.com>
29456 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
29458 * mach/devstream.c (cookie_io_functions_t): Macro removed.
29459 (write, read, close): Likewise.
29460 Patch by Aurelien Jarno <aurelien@aurel32.net>.
29462 2012-02-15 Joseph Myers <joseph@codesourcery.com>
29464 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
29465 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
29466 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
29467 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
29469 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
29470 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29473 2012-02-14 Marek Polacek <polacek@redhat.com>
29475 * sysdeps/x86_64/crti.S: New file.
29476 * sysdeps/x86_64/crtn.S: New file.
29477 * sysdeps/x86_64/elf/initfini.c: Remove file.
29479 2012-02-13 Joseph Myers <joseph@codesourcery.com>
29481 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
29482 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
29483 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
29484 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
29486 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
29487 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29490 2012-02-13 Joseph Myers <joseph@codesourcery.com>
29492 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
29493 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
29494 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
29495 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
29497 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
29498 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29501 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
29503 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
29504 __feraiseexcept instead of feraiseexcept.
29506 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
29507 nanosleep invocations.
29508 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
29509 strings, and add error checking for a nanosleep invocations.
29511 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
29513 Replace FSF snail mail address with URLs, as per GNU coding standards.
29514 Most of the snail mail addresses were wrong anyway, and omitting
29515 them makes the source code easier to maintain. Almost all of the
29516 changes are to license notices and to locale LC_IDENTIFICATION
29517 addresses, except for this one:
29518 * manual/libc.texinfo: In "Published by", give the FSF's URL,
29519 not its snail mail address.
29521 2012-02-09 Richard Henderson <rth@twiddle.net>
29523 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
29524 of kernel-features.h.
29526 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
29528 2012-02-08 Marek Polacek <polacek@redhat.com>
29530 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
29531 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
29532 * sysdeps/gnu/_G_config.h: Likewise.
29533 * sysdeps/generic/_G_config.h: Likewise.
29535 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
29537 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
29539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29541 * sysdeps/powerpc/powerpc32/crti.S: New file.
29542 * sysdeps/powerpc/powerpc32/crtn.S: New file.
29543 * sysdeps/powerpc/powerpc64/crti.S: New file.
29544 * sysdeps/powerpc/powerpc64/crtn.S: New file.
29546 * Makeconfig (have-initfini): Don't set.
29547 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
29548 * configure.in (nopic_initfini): Don't substitute.
29549 * config.h.in (HAVE_INITFINI): Don't #undef.
29550 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
29551 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
29553 2012-02-08 Joseph Myers <joseph@codesourcery.com>
29555 Support crti.S and crtn.S provided directly by architectures.
29556 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
29557 [crti.S in sysdirs] (omit-deps): Likewise.
29558 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
29559 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
29560 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
29561 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
29562 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
29563 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
29564 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
29565 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
29566 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
29567 compiler output for sysdeps/generic/initfini.c.
29568 * sysdeps/i386/elf/Makefile: Remove file.
29569 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
29571 2012-02-07 Marek Polacek <polacek@redhat.com>
29573 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
29574 * sysdeps/gnu/_G_config.h: Likewise.
29575 * sysdeps/mach/hurd/_G_config.h: Likewise.
29577 2012-02-07 Marek Polacek <polacek@redhat.com>
29579 * math/Makefile (tests): Add tst-CMPLX2.
29580 * math/tst-CMPLX2.c: New file.
29582 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
29584 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29586 * math/libm-test.inc (jn_test): Add missing L suffix.
29588 2012-02-06 Marek Polacek <polacek@redhat.com>
29590 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
29591 * sysdeps/i386/fpu/e_powf.S: Likewise.
29592 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29593 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
29594 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29595 * sysdeps/i386/fpu/e_pow.S: Likewise.
29596 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
29597 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29598 * sysdeps/i386/fpu/s_expm1.S: Likewise.
29599 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
29600 * sysdeps/i386/fpu/e_log2.S: Likewise.
29601 * sysdeps/i386/fpu/e_log2l.S: Likewise.
29602 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29603 * sysdeps/i386/fpu/e_powl.S: Likewise.
29604 * sysdeps/i386/fpu/s_log1p.S: Likewise.
29605 * sysdeps/i386/fpu/e_log10f.S: Likewise.
29606 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
29607 * sysdeps/i386/fpu/e_logl.S: Likewise.
29608 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
29609 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
29610 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
29611 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
29612 * sysdeps/i386/fpu/e_log2f.S: Likewise.
29613 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29614 * sysdeps/i386/fpu/e_log.S: Likewise.
29615 * sysdeps/i386/fpu/s_cexp.S: Likewise.
29616 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29617 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
29618 * sysdeps/i386/fpu/e_logf.S: Likewise.
29619 * sysdeps/i386/fpu/e_log10l.S: Likewise.
29620 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29621 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
29622 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
29623 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
29624 * sysdeps/i386/fpu/e_log10.S: Likewise.
29625 * sysdeps/i386/fpu/s_frexp.S: Likewise.
29626 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29627 * sysdeps/i386/fpu/s_asinh.S: Likewise.
29628 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
29629 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29630 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
29631 * sysdeps/i386/asm-syntax.h: Likewise.
29632 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29633 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29634 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29635 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
29636 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
29637 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29638 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
29639 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
29640 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29641 * sysdeps/powerpc/sysdep.h: Likewise.
29642 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
29643 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29645 2012-02-06 Joseph Myers <joseph@codesourcery.com>
29648 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
29650 2012-02-06 Joseph Myers <joseph@codesourcery.com>
29652 * sysdeps/i386/sysdep.h: Include <features.h>.
29653 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
29656 2012-02-05 Joseph Myers <joseph@codesourcery.com>
29658 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
29660 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
29663 2012-02-03 Joseph Myers <joseph@codesourcery.com>
29665 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
29666 (SETUP_PIC_REG): Use GET_PC_THUNK.
29667 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
29670 2012-02-03 Joseph Myers <joseph@codesourcery.com>
29672 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
29673 for non-PIC compilation.
29674 (SETUP_PIC_REG): Add .p2align directive.
29675 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
29676 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
29677 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29678 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29679 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
29680 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29681 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
29682 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29683 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29684 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29685 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29686 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29687 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29688 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29689 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29690 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29691 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29692 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29693 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29694 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29695 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29696 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29697 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29698 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29699 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
29700 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
29701 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29702 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29703 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29704 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29705 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29706 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29707 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29708 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29709 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29710 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29711 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29712 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29713 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29714 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29715 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29717 2012-02-03 Joseph Myers <joseph@codesourcery.com>
29719 * math/tst-CMPLX.c: Include <stdio.h>.
29721 2012-01-31 Joseph Myers <joseph@codesourcery.com>
29723 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
29725 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
29726 * sysdeps/sparc/bits/mathdef.h: Likewise.
29728 2012-01-31 Marek Polacek <polacek@redhat.com>
29730 * libio/libio.h: Don't define _PARAMS.
29731 * locale/programs/config.h: Don't define PARAMS.
29732 * stdlib/strtol_l.c: Likewise.
29733 (__strtol_l): Remove PARAMS from the prototype.
29735 2012-01-31 Ulrich Drepper <drepper@gmail.com>
29737 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
29738 names. Just use the correct names. Remove unnecessary wrapper
29740 * malloc/arena.c: Likewise.
29741 * malloc/hooks.c: Likewise.
29743 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
29744 ARENA_TEST says not to. Simplify test for creation of a new arena.
29745 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
29747 2012-01-30 Ulrich Drepper <drepper@gmail.com>
29749 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
29751 (update_get_addr): New function.
29752 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
29753 GET_ADDR_MODULE parameter.
29755 2012-01-30 Joseph Myers <joseph@codesourcery.com>
29757 * crypt/cert.c: Remove __STDC__ conditionals.
29758 * crypt/crypt-entry.c: Likewise.
29759 * crypt/crypt_util.c: Likewise.
29760 * libio/filedoalloc.c: Likewise.
29761 * libio/fileops.c: Likewise.
29762 * libio/genops.c: Likewise.
29763 * libio/iofclose.c: Likewise.
29764 * libio/iofdopen.c: Likewise.
29765 * libio/iofopen.c: Likewise.
29766 * libio/iofopen64.c: Likewise.
29767 * libio/iogetdelim.c: Likewise.
29768 * libio/iopopen.c: Likewise.
29769 * libio/obprintf.c: Likewise.
29770 * libio/oldfileops.c: Likewise.
29771 * libio/oldiofclose.c: Likewise.
29772 * libio/oldiofdopen.c: Likewise.
29773 * libio/oldiofopen.c: Likewise.
29774 * libio/oldiopopen.c: Likewise.
29775 * libio/wfiledoalloc.c: Likewise.
29776 * libio/wgenops.c: Likewise.
29777 * locale/programs/xmalloc.c: Likewise.
29778 * misc/syslog.c: Likewise.
29779 * stdio-common/xbug.c: Likewise.
29780 * string/memchr.c: Likewise.
29781 * string/memcmp.c: Likewise.
29782 * string/memrchr.c: Likewise.
29783 * string/rawmemchr.c: Likewise.
29784 * sysdeps/posix/getcwd.c: Likewise.
29785 * time/strftime_l.c: Likewise.
29787 2012-01-30 Joseph Myers <joseph@codesourcery.com>
29789 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
29790 * config.make.in (config-cflags-sse2avx): Define.
29791 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
29794 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
29796 * scripts/config.guess: Update from upstream config git repository.
29797 * scripts/config.sub: Likewise.
29799 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
29801 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
29803 (R_TILEPRO_*, R_TILEGX_*): New macros.
29805 * scripts/firstversions.awk: Fix bug in version range handling.
29807 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
29809 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
29811 * include/sys/epoll.h: New file.
29812 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
29815 2012-01-28 Ulrich Drepper <drepper@gmail.com>
29817 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
29818 Avoid unnecessary __WORDSIZE == 64 test.
29819 (fmaxf): Use VEX format if possible.
29824 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
29825 * math/math_private.h: Remove libc_fegetround* and
29827 * sysdeps/i386/configure.in: Check for -msse2avx.
29828 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
29829 also if SSE2AVX is defined.
29830 Remove libc_fegetround* and libc_fesetround*.
29831 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
29832 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
29833 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
29835 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29836 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29837 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29838 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29839 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29841 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
29843 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29845 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
29847 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
29849 2012-01-27 Ulrich Drepper <drepper@gmail.com>
29852 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
29854 * Makeconfig (libm): Define.
29855 * elf/Makefile: Add rules to build and run tst-relsort1.
29856 * elf/tst-relsort1.c: New file.
29857 * elf/tst-relsort1mod1.c: New file.
29858 * elf/tst-relsort1mod2.c: New file.
29860 2012-01-27 Joseph Myers <joseph@codesourcery.com>
29862 * math/s_ldexp.c: Remove __STDC__ conditionals.
29863 * math/s_ldexpf.c: Likewise.
29864 * math/s_ldexpl.c: Likewise.
29865 * math/s_nextafter.c: Likewise.
29866 * math/s_nexttowardf.c: Likewise.
29867 * math/s_significand.c: Likewise.
29868 * math/s_significandf.c: Likewise.
29869 * math/s_significandl.c: Likewise.
29870 * math/w_jnl.c: Likewise.
29871 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
29872 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
29873 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
29874 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
29875 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
29876 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29877 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
29878 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29879 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29880 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29881 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29882 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29883 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29884 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29885 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29886 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29887 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29888 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29889 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29890 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29891 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29892 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29893 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29894 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29895 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29896 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29897 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29898 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29899 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29900 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29901 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29902 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29903 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29904 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29905 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29906 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29907 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29908 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29909 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29910 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29911 * sysdeps/ieee754/k_standard.c: Likewise.
29912 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29913 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29914 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29915 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29916 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29917 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29918 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29919 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29920 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29921 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29922 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29923 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29924 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29925 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29926 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29927 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29928 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29929 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29930 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29931 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29932 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29933 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29934 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29935 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29936 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29937 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29938 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29939 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29940 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29941 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
29942 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29943 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
29944 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29945 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29946 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
29947 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
29948 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
29949 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29950 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
29951 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
29952 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
29953 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
29954 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
29955 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
29956 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29957 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
29958 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
29959 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29960 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
29961 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
29962 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
29963 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29964 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29965 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
29966 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
29967 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
29968 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
29969 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29970 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29971 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29972 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29973 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
29974 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
29975 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29976 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29977 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29978 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29979 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
29980 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
29981 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29982 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29983 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29984 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29985 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29986 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
29987 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29988 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29989 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29990 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29991 * sysdeps/ieee754/s_matherr.c: Likewise.
29992 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29993 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29994 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29995 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29997 2012-01-26 Joseph Myers <joseph@codesourcery.com>
29999 * crypt/md5.h: Remove __STDC__ conditionals.
30000 * libio/libioP.h: Likewise.
30001 * locale/programs/config.h: Likewise.
30002 * sysdeps/generic/sysdep.h: Likewise.
30003 * sysdeps/i386/asm-syntax.h: Likewise.
30004 * sysdeps/s390/asm-syntax.h: Likewise.
30005 * sysdeps/unix/sysdep.h: Likewise.
30006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30009 2012-01-26 Joseph Myers <joseph@codesourcery.com>
30011 * libio/libio.h: Remove __STDC__ conditionals.
30012 * malloc/obstack.h: Likewise.
30013 * math/complex.h: Likewise.
30014 * math/math.h: Likewise.
30015 * sysdeps/generic/_G_config.h: Likewise.
30016 * sysdeps/gnu/_G_config.h: Likewise.
30017 * sysdeps/mach/hurd/_G_config.h: Likewise.
30018 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30019 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30020 * sysdeps/sparc/bits/mathdef.h: Likewise.
30022 2012-01-26 Ulrich Drepper <drepper@gmail.com>
30025 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
30026 Clean up HAS_* macros.
30027 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
30028 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
30030 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
30032 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30033 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30034 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30035 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30036 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30038 2012-01-25 Joseph Myers <joseph@codesourcery.com>
30040 * elf/tst-unique3.cc (gets): Remove declaration.
30041 * elf/tst-unique3lib.cc (gets): Likewise.
30042 * elf/tst-unique3lib2.cc (gets): Likewise.
30043 * elf/tst-unique4.cc (gets): Likewise.
30045 2012-01-24 Ulrich Drepper <drepper@gmail.com>
30047 * include/stdio.h: Add C++ protection. Add gets declarations and
30049 * debug/tst-chk1.c: Don't declare gets here.
30050 * stdio-common/tst-gets.c: Likewise.
30052 2012-01-24 Joseph Myers <joseph@codesourcery.com>
30054 * posix/glob: Remove directory.
30056 2012-01-24 Joseph Myers <joseph@codesourcery.com>
30058 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
30060 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
30062 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
30063 of the non-standard EPFNOSUPPORT.
30065 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
30067 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
30068 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
30069 ANYWHERE set to 1 only on KERN_NO_SPACE error.
30071 2012-01-21 Ulrich Drepper <drepper@gmail.com>
30073 * wcsmbs/uchar.h: Test __STDC_VERSION__.
30075 2012-01-20 Ulrich Drepper <drepper@gmail.com>
30077 * nscd/aicache.c (addhstaiX): Do not cache negative results of
30079 * nscd/grpcache.c (cache_addgr): Likewise.
30080 * nscd/hstcache.c (cache_addhst): Likewise.
30081 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30082 * nscd/pwdcache.c (cache_addpw): Likewise.
30083 * nscd/servicescache.c (cache_addserv): Likewise.
30085 2012-01-16 Ulrich Drepper <drepper@gmail.com>
30087 * malloc/malloc.c: Various cleanups.
30088 * malloc/hooks.c: Likewise.
30090 * stdlib/Makefile (tests): Add bug-fmtmsg1.
30091 * stdlib/bug-fmtmsg1.c: New file.
30093 * stdlib/fmtmsg.c (init): Add missing unlock.
30094 Patch by Peng Haitao <penght@cn.fujitsu.com>.
30096 2012-01-12 Marek Polacek <polacek@redhat.com>
30098 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
30101 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
30103 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
30104 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
30105 macro to ensure uniqueness of label name.
30106 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30107 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30109 2012-01-11 Ulrich Drepper <drepper@gmail.com>
30111 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
30113 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
30114 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30115 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30116 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
30118 2012-01-10 Ulrich Drepper <drepper@gmail.com>
30120 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
30122 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
30123 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30124 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30126 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
30128 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
30129 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30130 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30131 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
30133 * math/bits/math-finite.h: Add ldexp support.
30135 2012-01-10 Marek Polacek <polacek@redhat.com>
30137 * locale/programs/localedef.h (show_archive_content): Add noreturn
30140 2012-01-09 Ulrich Drepper <drepper@gmail.com>
30142 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
30144 2012-01-08 Ulrich Drepper <drepper@gmail.com>
30146 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
30148 * io/Makefile (headers): Add bits/poll2.h.
30150 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
30152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
30153 typo #include statement.
30155 2012-01-08 Ulrich Drepper <drepper@gmail.com>
30157 * include/sys/cdefs.h: Define __attribute_alloc_size.
30158 * catgets/gencat.c: Add alloc_size attribute and apply consistently
30159 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
30160 * elf/pldd.c: Likewise.
30161 * iconv/iconv_charmap.c: Likewise.
30162 * iconv/iconvconfig.c: Likewise.
30163 * iconv/strtab.c: Likewise.
30164 * locale/programs/locale.c: Likewise.
30165 * locale/programs/localedef.h: Likewise.
30166 * locale/programs/simple-hash.c: Likewise.
30167 * nscd/nscd.h: Likewise.
30168 * nss/makedb.c: Likewise.
30169 * sysdeps/generic/ldconfig.h: Likewise.
30170 * locale/programs/localedef.c: Remove xmalloc prototype.
30171 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
30173 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30175 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
30178 2012-01-08 Ulrich Drepper <drepper@gmail.com>
30180 * math/Makefile (tests): Add tst-CMPLX.
30181 * math/tst-CMPLX.c: New file.
30183 * math/complex.h (CMPLXL): Fix typo.
30185 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
30186 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
30188 * debug/tst-chk1.c: Add poll and ppoll tests.
30189 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
30190 * include/sys/poll.h: Add hidden proto for ppoll.
30191 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
30192 * sysdeps/mach/hurd/ppoll.c: Likewise.
30193 * io/ppoll.c: Likewise.
30194 * debug/poll_chk.c: New file.
30195 * debug/ppoll_chk.c: New file.
30196 * include/bits/poll2.h: New file.
30197 * io/bits/poll2.h: New file.
30200 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
30202 * configure.in: static is always set to yes. Remove.
30203 * config.make.in: Don't set build-static.
30204 * Makeconfig: Remove use of build-static.
30205 * dlfcn/Makefile: Likewise.
30206 * elf/Makefile: Likewise.
30207 * math/Makefile: Likewise.
30208 * misc/Makefile: Likewise.
30209 * nptl/Makefile: Likewise.
30210 * sysdeps/mach/hurd/Makefile: Likewise.
30212 * configure.in: PWD_P is not used anymore.
30213 * config.make.in: Remove PWD_P entry.
30215 * configure.in: Remove last remnants of RANLIB.
30216 No need to check for signed size_t anymore.
30217 Don't set libc_commonpagesize and libc_relro_required here for Alpha
30219 Remove __builtin_expect test because we require at least gcc 3.4.
30220 * aclocal.m4: Likewise.
30222 * wcsmbs/mbrtoc16.c: Implement using towc function.
30223 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
30224 * wcsmbs/wcsmbsload.c: Likewise.
30225 * iconv/gconv_simple.c: Likewise.
30226 * iconv/gconv_int.h: Likewise.
30227 * iconv/gconv_builtin.h: Likewise.
30228 * iconv/iconv_prog.c: Remove CHAR16 handling.
30230 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
30232 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
30234 * configure.in: Remove --with-elf and --enable-bounded options.
30235 Dont set base_machine for ia64. More non-ELF conditions removed.
30236 Remove testing and setting of leading underscore information.
30237 * config.make.in (build-bounded): Set to no.
30238 * config.h.in: Remove NO_UNDERSCORES entry.
30239 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
30241 * csu/start.c: Remove !NO_UNDERSCORE code.
30242 * locale/localeinfo.h: Likewise.
30243 * sysdeps/generic/machine-gmon.h: Likewise.
30244 * sysdeps/generic/sysdep.h: Likewise.
30245 * sysdeps/i386/sysdep.h: Likewise.
30246 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30247 * sysdeps/mach/sysdep.h: Likewise.
30248 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30249 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30250 * sysdeps/sh/sysdep.h: Likewise.
30251 * sysdeps/sparc/sparc32/alloca.S: Likewise.
30252 * sysdeps/unix/i386/sysdep.S: Likewise.
30253 * sysdeps/unix/sparc/start.c: Likewise.
30254 * sysdeps/unix/sparc/sysdep.S: Likewise.
30255 * sysdeps/unix/sparc/sysdep.h: Likewise.
30256 * sysdeps/unix/start.c: Likewise.
30257 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30258 * sysdeps/x86_64/sysdep.h: Likewise.
30260 2012-01-07 Ulrich Drepper <drepper@gmail.com>
30263 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
30265 * argp/argp-fmtstream.h: Use const instead __const.
30266 * argp/argp.h: Likewise.
30267 * assert/assert.h: Likewise.
30268 * bits/fenv.h: Likewise.
30269 * bits/sched.h: Likewise.
30270 * bits/sigset.h: Likewise.
30271 * bits/sigthread.h: Likewise.
30272 * catgets/nl_types.h: Likewise.
30273 * conform/data/pthread.h-data: Likewise.
30274 * crypt/crypt-private.h: Likewise.
30275 * crypt/crypt.h: Likewise.
30276 * crypt/crypt_util.c: Likewise.
30277 * ctype/ctype.h: Likewise.
30278 * debug/execinfo.h: Likewise.
30279 * debug/mbsnrtowcs_chk.c: Likewise.
30280 * debug/mbsrtowcs_chk.c: Likewise.
30281 * debug/wcsnrtombs_chk.c: Likewise.
30282 * debug/wcsrtombs_chk.c: Likewise.
30283 * debug/wcstombs_chk.c: Likewise.
30284 * dirent/dirent.h: Likewise.
30285 * dlfcn/dlfcn.h: Likewise.
30286 * elf/neededtest4.c: Likewise.
30287 * grp/grp.h: Likewise.
30288 * gshadow/gshadow.h: Likewise.
30289 * iconv/gconv.h: Likewise.
30290 * iconv/gconv_int.h: Likewise.
30291 * iconv/gconv_simple.c: Likewise.
30292 * iconv/iconv.h: Likewise.
30293 * iconv/loop.c: Likewise.
30294 * iconv/skeleton.c: Likewise.
30295 * include/aio.h: Likewise.
30296 * include/aliases.h: Likewise.
30297 * include/argz.h: Likewise.
30298 * include/arpa/inet.h: Likewise.
30299 * include/assert.h: Likewise.
30300 * include/dirent.h: Likewise.
30301 * include/dlfcn.h: Likewise.
30302 * include/execinfo.h: Likewise.
30303 * include/fcntl.h: Likewise.
30304 * include/fenv.h: Likewise.
30305 * include/glob.h: Likewise.
30306 * include/grp.h: Likewise.
30307 * include/libintl.h: Likewise.
30308 * include/mntent.h: Likewise.
30309 * include/netdb.h: Likewise.
30310 * include/pwd.h: Likewise.
30311 * include/rpc/netdb.h: Likewise.
30312 * include/sched.h: Likewise.
30313 * include/search.h: Likewise.
30314 * include/shadow.h: Likewise.
30315 * include/signal.h: Likewise.
30316 * include/stdio.h: Likewise.
30317 * include/stdlib.h: Likewise.
30318 * include/string.h: Likewise.
30319 * include/sys/socket.h: Likewise.
30320 * include/sys/stat.h: Likewise.
30321 * include/sys/statfs.h: Likewise.
30322 * include/sys/statvfs.h: Likewise.
30323 * include/sys/syslog.h: Likewise.
30324 * include/sys/time.h: Likewise.
30325 * include/sys/uio.h: Likewise.
30326 * include/time.h: Likewise.
30327 * include/unistd.h: Likewise.
30328 * include/utmp.h: Likewise.
30329 * include/wchar.h: Likewise.
30330 * include/wctype.h: Likewise.
30331 * inet/aliases.h: Likewise.
30332 * inet/arpa/inet.h: Likewise.
30333 * inet/netinet/ether.h: Likewise.
30334 * inet/netinet/in.h: Likewise.
30335 * intl/libintl.h: Likewise.
30336 * io/bits/fcntl2.h: Likewise.
30337 * io/fcntl.h: Likewise.
30338 * io/ftw.h: Likewise.
30339 * io/sys/poll.h: Likewise.
30340 * io/sys/stat.h: Likewise.
30341 * io/sys/statfs.h: Likewise.
30342 * io/sys/statvfs.h: Likewise.
30343 * io/utime.h: Likewise.
30344 * libio/bits/stdio.h: Likewise.
30345 * libio/bits/stdio2.h: Likewise.
30346 * libio/libio.h: Likewise.
30347 * libio/libioP.h: Likewise.
30348 * libio/stdio.h: Likewise.
30349 * locale/lc-ctype.c: Likewise.
30350 * locale/locale.h: Likewise.
30351 * login/utmp.h: Likewise.
30352 * malloc/arena.c: Likewise.
30353 * malloc/malloc.c: Likewise.
30354 * malloc/malloc.h: Likewise.
30355 * malloc/mcheck.c: Likewise.
30356 * malloc/mtrace.c: Likewise.
30357 * math/bits/mathcalls.h: Likewise.
30358 * math/fenv.h: Likewise.
30359 * math/math_private.h: Likewise.
30360 * misc/bits/error.h: Likewise.
30361 * misc/bits/syslog.h: Likewise.
30362 * misc/err.h: Likewise.
30363 * misc/error.h: Likewise.
30364 * misc/fstab.h: Likewise.
30365 * misc/mntent.h: Likewise.
30366 * misc/regexp.h: Likewise.
30367 * misc/search.h: Likewise.
30368 * misc/sgtty.h: Likewise.
30369 * misc/sys/mman.h: Likewise.
30370 * misc/sys/syslog.h: Likewise.
30371 * misc/sys/uio.h: Likewise.
30372 * misc/sys/xattr.h: Likewise.
30373 * misc/ttyent.h: Likewise.
30374 * nis/rpcsvc/ypclnt.h: Likewise.
30375 * nss/nss.h: Likewise.
30376 * posix/bits/unistd.h: Likewise.
30377 * posix/fnmatch.h: Likewise.
30378 * posix/glob.h: Likewise.
30379 * posix/sched.h: Likewise.
30380 * posix/spawn.h: Likewise.
30381 * posix/sys/wait.h: Likewise.
30382 * posix/unistd.h: Likewise.
30383 * posix/wordexp.h: Likewise.
30384 * pwd/pwd.h: Likewise.
30385 * resolv/netdb.h: Likewise.
30386 * resource/sys/resource.h: Likewise.
30387 * rt/aio.h: Likewise.
30388 * rt/bits/mqueue2.h: Likewise.
30389 * rt/mqueue.h: Likewise.
30390 * shadow/shadow.h: Likewise.
30391 * signal/signal.h: Likewise.
30392 * socket/send.c: Likewise.
30393 * socket/sendto.c: Likewise.
30394 * socket/sys/socket.h: Likewise.
30395 * stdio-common/printf.h: Likewise.
30396 * stdlib/bits/stdlib.h: Likewise.
30397 * stdlib/fmtmsg.h: Likewise.
30398 * stdlib/monetary.h: Likewise.
30399 * stdlib/stdlib.h: Likewise.
30400 * stdlib/ucontext.h: Likewise.
30401 * streams/stropts.h: Likewise.
30402 * string/argz.h: Likewise.
30403 * string/bits/string2.h: Likewise.
30404 * string/string.h: Likewise.
30405 * string/strings.h: Likewise.
30406 * sunrpc/rpc/auth.h: Likewise.
30407 * sunrpc/rpc/auth_des.h: Likewise.
30408 * sunrpc/rpc/clnt.h: Likewise.
30409 * sunrpc/rpc/netdb.h: Likewise.
30410 * sunrpc/rpc/pmap_clnt.h: Likewise.
30411 * sunrpc/rpc/xdr.h: Likewise.
30412 * sysdeps/generic/inttypes.h: Likewise.
30413 * sysdeps/generic/net/if.h: Likewise.
30414 * sysdeps/generic/sys/swap.h: Likewise.
30415 * sysdeps/gnu/net/if.h: Likewise.
30416 * sysdeps/gnu/utmpx.h: Likewise.
30417 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
30418 * sysdeps/i386/i486/bits/string.h: Likewise.
30419 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
30420 * sysdeps/s390/bits/string.h: Likewise.
30421 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
30422 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
30423 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
30424 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
30425 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
30426 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
30427 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
30428 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
30429 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
30430 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
30431 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
30432 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
30433 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
30434 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
30435 * sysdeps/unix/sysv/linux/readv.c: Likewise.
30436 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
30437 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
30438 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30439 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
30440 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
30441 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
30442 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
30443 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
30444 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
30445 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
30446 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
30447 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
30448 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30449 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
30450 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
30451 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
30452 * sysvipc/sys/ipc.h: Likewise.
30453 * sysvipc/sys/msg.h: Likewise.
30454 * sysvipc/sys/sem.h: Likewise.
30455 * sysvipc/sys/shm.h: Likewise.
30456 * termios/termios.h: Likewise.
30457 * time/sys/time.h: Likewise.
30458 * time/time.h: Likewise.
30459 * wcsmbs/bits/wchar2.h: Likewise.
30460 * wcsmbs/uchar.h: Likewise.
30461 * wcsmbs/wchar.h: Likewise.
30462 * wctype/wctype.h: Likewise.
30465 * Makeconfig: Remove all but ELF support including AIX support.
30466 * Makerules: Likewise.
30467 * config.h.in: Likewise.
30468 * config.make.in: Likewise.
30469 * configure: Likewise.
30470 * configure.in: Likewise.
30471 * csu/Makefile: Likewise.
30472 * csu/version.c: Likewise.
30473 * debug/Makefile: Likewise.
30474 * dlfcn/Makefile: Likewise.
30475 * elf/Makefile: Likewise.
30476 * extra-lib.mk: Likewise.
30477 * iconv/Makefile: Likewise.
30478 * include/libc-symbols.h: Likewise.
30479 * include/shlib-compat.h: Likewise.
30480 * resolv/Makefile: Likewise.
30481 * resolv/res_libc.c: Likewise.
30482 * rt/Makefile: Likewise.
30483 * sysdeps/i386/asm-syntax.h: Likewise.
30484 * sysdeps/i386/sysdep.h: Likewise.
30485 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30486 * sysdeps/mach/sysdep.h: Likewise.
30487 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
30488 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
30489 * sysdeps/s390/asm-syntax.h: Likewise.
30490 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30491 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30492 * sysdeps/sh/sysdep.h: Likewise.
30493 * sysdeps/unix/sparc/sysdep.h: Likewise.
30494 * sysdeps/wordsize-32/divdi3.c: Likewise.
30495 * sysdeps/x86_64/sysdep.h: Likewise.
30497 * argp/Versions: Remove _argp_unlock_xxx.
30500 * abilist/ld.abilist: Update. Adjust for removal of tls option.
30501 * abilist/libBrokenLocale.abilist: Likewise.
30502 * abilist/libanl.abilist: Likewise.
30503 * abilist/libc.abilist: Likewise.
30504 * abilist/libcrypt.abilist: Likewise.
30505 * abilist/libdl.abilist: Likewise.
30506 * abilist/libm.abilist: Likewise.
30507 * abilist/libnsl.abilist: Likewise.
30508 * abilist/libpthread.abilist: Likewise.
30509 * abilist/libresolv.abilist: Likewise.
30510 * abilist/librt.abilist: Likewise.
30511 * abilist/libthread_db.abilist: Likewise.
30512 * abilist/libutil.abilist: Likewise.
30513 * abilist/libnss_db.abilist: New file.
30515 * scripts/abilist.awk: Add support for indirect functions.
30517 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
30519 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
30521 * shlib-versions: Remove entries for ports architectures.
30523 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
30525 * elf/stackguard-macros.h: Remove support for IA-64.
30526 * elf/tst-auditmod1.c: Likewise.
30527 * sysdeps/generic/ldsodefs.h: Likewise.
30529 * sysdeps/unix/sysv/linux/configure.in: Ports should define
30530 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
30534 * configure.in: Remove --enable-omitfp support.
30536 * config.make.in: Likewise.
30537 * Makeconfig: Likewise.
30538 * manual/install.texi: Likewise.
30540 In case anyone cares, the IA-64 architecture could move to ports.
30541 * sysdeps/ia64/*: Removed.
30542 * sysdeps/unix/sysv/linux/ia64/*: Removed.
30543 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
30546 * configure.in: Remove entries for unsupported architectures.
30549 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
30550 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
30552 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
30553 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
30554 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
30555 fall back to using wcrtomb.
30556 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
30557 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
30559 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
30560 * wcsmbs/tst-c16c32-1.c: New file.
30562 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
30565 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
30567 * elf/tst-unique3.cc: Add explicit declaration of gets.
30568 * elf/tst-unique3lib.cc: Likewise.
30569 * elf/tst-unique3lib2.cc: Likewise.
30570 * elf/tst-unique4.cc: Likewise.
30572 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
30574 2012-01-06 Joseph Myers <joseph@codesourcery.com>
30577 * assert/assert.h (static_assert): Don't define for C++.
30578 * libio/stdio.h (gets): Do declare for C++ <= C++11.
30579 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
30581 2012-01-03 Ulrich Drepper <drepper@gmail.com>
30583 * iconv/loop.c (single loop): Fix assertion in storing of
30586 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
30588 2012-01-01 Ulrich Drepper <drepper@gmail.com>
30590 * posix/getconf.c: Update copyright year.
30591 * nss/getent.c: Likewise.
30592 * nss/makedb.c: Likewise.
30593 * iconv/iconvconfig.c: Likewise.
30594 * iconv/iconv_prog.c: Likewise.
30595 * elf/ldconfig.c: Likewise.
30596 * elf/pldd.c: Likewise.
30597 * elf/sotruss.ksh: Likewise.
30598 * catgets/gencat.c: Likewise.
30599 * csu/version.c: Likewise.
30600 * elf/ldd.bash.in: Likewise.
30601 * elf/sprof.c (print_version): Likewise.
30602 * locale/programs/locale.c: Likewise.
30603 * locale/programs/localedef.c: Likewise.
30604 * login/programs/pt_chown.c: Likewise.
30605 * nscd/nscd.c (print_version): Likewise.
30606 * debug/xtrace.sh: Likewise.
30607 * malloc/memusage.sh: Likewise.
30608 * malloc/mtrace.pl: Likewise.
30609 * debug/catchsegv.sh: Likewise.
30611 2011-12-30 Jakub Jelinek <jakub@redhat.com>
30613 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
30616 2011-12-24 Ulrich Drepper <drepper@gmail.com>
30619 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
30620 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
30622 * iconv/gconv_int.h: Likewise.
30623 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
30624 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
30625 from libc for GLIBC_2.16.
30626 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
30627 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
30628 * wcsmbs/uchar.h: Really define mbstate_t.
30629 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
30630 * wcsmbs/c16rtomb.c: New file.
30631 * wcsmbs/mbrtoc16.c: New file.
30632 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
30633 for C/POSIX locale.
30634 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
30635 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
30637 * wcsmbs/wchar.h: Add missing __restrict.
30639 2011-12-23 Ulrich Drepper <drepper@gmail.com>
30642 * time/Makefile (routines): Add timespec_get.
30643 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
30644 * time/time.h: Define TIME_UTC and declare timespec_get. Define
30645 timespec for ISO C11.
30646 * time/timespec_get.c: New file.
30647 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
30648 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
30651 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
30652 * stdlib/stdlib.h: Declare aligned_alloc.
30653 * Versions.def: Add GLIBC_2.16 for libc.
30654 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
30657 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
30660 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
30664 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
30667 * assert/assert.h (static_assert): Define.
30669 * version.h: Update for 2.16 development version.
30672 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
30675 * version.h (RELEASE): Bump for 2.15 release.
30676 * include/features.h (__GLIBC_MINOR__): Bump to 15.
30678 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
30679 Patch by Marek Polacek <mpolacek@redhat.com>.
30681 * bits/byteswap.h: Protect long long constants with __extension__.
30682 * sysdeps/i386/bits/byteswap.h: Likewise.
30683 * sysdeps/ia64/bits/byteswap.h: Likewise.
30684 * sysdeps/s390/bits/byteswap.h: Likewise.
30685 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30687 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30690 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
30691 destination buffer.
30692 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
30694 2011-12-23 Marek Polacek <polacek@redhat.com>
30696 * elf/dl-addr.c (determine_info): Add inline keyword.
30697 * elf/tst-auditmod4b.c (check_avx): Likewise.
30698 * elf/tst-auditmod6b.c (check_avx): Likewise.
30699 * elf/tst-auditmod6c.c (check_avx): Likewise.
30700 * elf/tst-auditmod7b.c (check_avx): Likewise.
30702 2011-12-23 Ulrich Drepper <drepper@gmail.com>
30704 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
30707 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30710 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
30711 processing for last bytes.
30713 2011-08-06 Bruno Haible <bruno@clisp.org>
30716 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
30717 U+0385, not to U+1FEE.
30720 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
30721 entry for U+00A5 U+0301.
30723 2011-12-22 Ulrich Drepper <drepper@gmail.com>
30726 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
30727 buffer for the output is too small.
30729 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
30733 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
30734 SSE flags if possible.
30736 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30739 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
30740 processing for last bytes.
30742 2011-12-22 Joseph Myers <joseph@codesourcery.com>
30744 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
30745 (syscall-list-default-options, syscall-list-default-condition)
30746 (syscall-list-includes): Define.
30747 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
30748 list of ABIs and options and #if conditions for each ABI. Do not
30749 handle common syscalls between ABIs specially.
30750 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
30752 (syscall-list-variants, syscall-list-32bit-options)
30753 (syscall-list-32bit-condition, syscall-list-64bit-options)
30754 (syscall-list-64bit-condition): Define.
30755 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
30756 (syscall-list-variants, syscall-list-32bit-options)
30757 (syscall-list-32bit-condition, syscall-list-64bit-options)
30758 (syscall-list-64bit-condition): Define.
30759 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
30761 (syscall-list-variants, syscall-list-32bit-options)
30762 (syscall-list-32bit-condition, syscall-list-64bit-options)
30763 (syscall-list-64bit-condition): Define.
30764 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
30766 (syscall-list-variants, syscall-list-32bit-options)
30767 (syscall-list-32bit-condition, syscall-list-64bit-options)
30768 (syscall-list-64bit-condition): Define.
30770 2011-12-22 Ulrich Drepper <drepper@gmail.com>
30772 * locale/iso-639.def: Add brx entry.
30775 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
30776 Proposed by Mariusz_Cukr <marcukr@op.pl>.
30778 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
30779 __feraiseexcept_renamed.
30781 2011-12-21 Ulrich Drepper <drepper@gmail.com>
30784 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
30785 EPOLLET with unsigned values.
30786 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30787 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
30789 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
30790 to large cancellation.
30791 * math/s_cacoshf.c: Likewise.
30792 * math/s_cacoshl.c: Likewise.
30794 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
30798 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
30799 * math/s_cacoshf.c: Likewise.
30800 * math/s_cacoshl.c: Likewise.
30802 2011-12-21 Ulrich Drepper <drepper@gmail.com>
30805 * iconv/gconv.h: Define __GCONV_SWAP.
30806 * iconvdata/unicode.c: The swap bit must be stored in __flags.
30807 * iconvdata/utf-16.c: Likewise.
30808 * iconvdata/utf-32.c: Likewise.
30810 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
30813 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
30814 numerator after shifting it by one limb.
30816 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
30818 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
30819 under [__USE_EXTERN_INLINES].
30821 2011-12-17 Ulrich Drepper <drepper@gmail.com>
30824 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
30826 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30828 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
30829 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
30831 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
30832 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
30833 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
30834 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
30835 for strncasecmp/strncasecmp_l compilation.
30836 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
30837 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
30839 2011-12-08 Marek Polacek <mpolacek@redhat.com>
30842 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
30845 2011-12-17 Ulrich Drepper <drepper@gmail.com>
30848 * time/tzfile.c (__tzfile_read): Check values from file header.
30850 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
30852 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
30853 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
30854 * powerpc/powerpc32/dl-start.S: Likewise.
30855 * powerpc/powerpc32/elf/start.S: Likewise.
30856 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
30857 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
30858 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
30859 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
30860 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
30861 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
30862 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
30863 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
30864 * powerpc/powerpc32/fpu/s_round.S: Likewise.
30865 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
30866 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
30867 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
30868 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
30869 * powerpc/powerpc32/memset.S: Likewise.
30870 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
30871 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30872 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30873 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30874 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30875 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
30876 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
30877 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
30878 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
30879 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
30880 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
30881 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30882 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30884 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30886 * math/libm-test.inc: Added more nearbyint tests.
30887 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
30888 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
30889 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
30890 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
30892 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
30894 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
30897 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30899 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
30900 Add wcscpy-ssse3 wcscpy-c.
30901 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
30902 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
30903 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
30904 * sysdeps/x86_64/wcschr.S: New file.
30905 * sysdeps/x86_64/wcsrchr.S: New file.
30906 * string/test-strcmp.c: Remove checking of wcscmp function for
30908 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
30909 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
30910 wcsrchr-sse2 wcsrchr-c.
30911 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
30912 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
30913 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
30914 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
30915 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
30916 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
30917 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
30918 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
30919 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
30920 * wcsmbc/wcschr.c (WCSCHR): New macro.
30922 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30924 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
30925 * wcsmbs/test-wcsrchr.c: New file.
30926 * string/test-strrchr.c: Add wcsrchr support.
30928 * wcsmbs/test-wcscpy.c: New file.
30929 * string/test-strcpy.c: Add wcscpy support.
30932 2011-12-10 Ulrich Drepper <drepper@gmail.com>
30934 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
30937 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
30940 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
30942 2011-12-04 Ulrich Drepper <drepper@gmail.com>
30944 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
30945 Minor optimizations.
30947 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
30948 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
30949 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
30951 2011-12-03 Ulrich Drepper <drepper@gmail.com>
30953 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
30954 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
30955 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
30956 for gcc to avoid warnings.
30957 * inet/Makefile (tests): Add tst-checks.
30958 * inet/tst-checks.c: New file.
30960 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
30963 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
30966 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
30967 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
30969 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
30971 2011-12-02 Ulrich Drepper <drepper@gmail.com>
30973 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
30976 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
30978 2011-11-29 Joseph Myers <joseph@codesourcery.com>
30980 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
30981 conditional on GCC version.
30982 (__arch_compare_and_exchange_val_8_acq)
30983 (__arch_compare_and_exchange_val_16_acq)
30984 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
30985 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
30986 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
30988 2011-12-02 Joseph Myers <joseph@codesourcery.com>
30990 * sysdeps/sh/backtrace.c: New file.
30992 2011-12-02 Andreas Schwab <schwab@redhat.com>
30994 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
30997 2011-12-01 Andreas Schwab <schwab@redhat.com>
30999 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
31000 falling back to utime.
31002 2011-11-30 Andreas Schwab <schwab@redhat.com>
31004 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
31005 expectations for float.
31007 2011-11-29 Andreas Schwab <schwab@redhat.com>
31009 * locale/weight.h (findidx): Add parameter len.
31010 * locale/weightwc.h (findidx): Likewise.
31011 * posix/fnmatch_loop.c (FCT): Adjust caller.
31012 * posix/regcomp.c (build_equiv_class): Likewise.
31013 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
31014 * posix/regexec.c (check_node_accept_bytes): Likewise.
31015 * string/strcoll_l.c (STRCOLL): Likewise.
31016 * string/strxfrm_l.c (STRXFRM): Likewise.
31018 2011-11-17 Ulrich Drepper <drepper@gmail.com>
31020 * Makefile.in: Remove CVSOPT handling.
31021 * configure.in: Remove use of AC_REVISION.
31022 * iconvdata/Makefile (distribute): No need to filter out CVS.
31023 * scripts/list-sources.sh: Remove CVS, subversion and monotone
31026 2011-11-16 Andreas Schwab <schwab@redhat.com>
31028 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
31029 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
31030 [USE_AS_STRNCASECMP_L]: Likewise.
31031 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
31032 NO_TLS_DIRECT_SEG_REFS.
31033 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
31034 Fix argument offsets for non-PIC.
31035 [USE_AS_STRNCASECMP_L]: Likewise.
31036 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
31037 NO_TLS_DIRECT_SEG_REFS.
31039 2011-11-15 Ulrich Drepper <drepper@gmail.com>
31041 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
31043 * locale/loadlocale.c (_nl_load_locale): Likewise.
31045 2011-11-15 Andreas Schwab <schwab@redhat.com>
31047 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
31048 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
31049 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
31050 (SYSCALL_GETTIME): Set errno on error.
31052 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
31053 count references to noai6ai_cached.
31055 2011-11-15 Ulrich Drepper <drepper@gmail.com>
31057 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
31059 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
31060 FD_CLOEXEC for /proc/self/maps.
31062 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
31063 FD_CLOEXEC for /proc/meminfo.
31065 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
31068 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
31069 FD_CLOEXEC for given file.
31071 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
31073 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
31074 FD_CLOEXEC for /etc/hosts.
31075 (_gethtent): Likewise.
31077 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
31079 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
31080 cancellation and set FD_CLOEXEC for /etc/netgroup.
31082 * nss/nss_files/files-key.c (search): Don't allow cancellation when
31083 reading /etc/publickey.
31085 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
31086 allow cancellation when reading /etc/group.
31088 * nss/nss_files/files-alias.c (internal_setent): Don't allow
31090 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
31092 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
31093 when using data file.
31095 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
31097 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
31098 (write_nis_obj): Use "c" and "e" in fopen.
31100 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
31102 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
31104 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
31106 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
31108 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
31111 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
31113 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
31115 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
31117 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
31118 file parsing and set FD_CLOEXEC.
31120 2011-11-14 Ulrich Drepper <drepper@gmail.com>
31122 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
31124 2011-11-14 Andreas Schwab <schwab@redhat.com>
31126 * malloc/arena.c (arena_get2): Don't call reused_arena when
31127 _int_new_arena failed.
31129 2011-11-14 Ulrich Drepper <drepper@gmail.com>
31131 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
31132 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
31133 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
31134 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31135 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31136 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
31137 to compile strcasecmp and strncasecmp.
31138 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
31139 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
31141 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
31143 2011-11-13 Ulrich Drepper <drepper@gmail.com>
31145 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
31146 locale-defines.sym to gen-as-const-headers.
31147 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
31148 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
31149 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
31150 to compile strcasecmp and strncasecmp.
31151 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
31152 strcasecmp_l and strncasecmp_l.
31153 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
31154 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
31155 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
31156 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
31157 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
31158 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
31159 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
31160 * sysdeps/i386/i686/multiarch/strncase.S: New file.
31161 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
31162 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
31163 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
31165 2011-11-12 Ulrich Drepper <drepper@gmail.com>
31167 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
31168 result of SYSDEP_GETTIME_CPU to retval.
31169 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
31170 parameter list to macro. Remove trailing semicolon. Adjust users.
31172 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
31175 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
31177 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
31179 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
31180 from unused variable.
31182 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
31184 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
31187 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
31190 * sunrpc/rpc_prot.c (rejected): Fix case value.
31192 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
31193 unsigned long long int to avoid warnings in shift.
31195 * posix/regex_internal.c (re_string_reconstruct): Actually use result
31197 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
31200 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
31201 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
31202 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
31204 * nis/nis_table.c (nis_list): Use variable of correct type for
31205 result of __follow_path call.
31207 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31209 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
31210 of math functions ceil, trunc, floor, round, and sqrt, when
31211 avaliable on the platform.
31212 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
31214 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31215 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
31216 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
31218 2011-10-30 Marek Polacek <mpolacek@redhat.com>
31220 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
31221 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31223 2011-11-11 Roland McGrath <roland@hack.frob.com>
31225 * include/unistd.h: Fix __readlink return type.
31226 Reported by Chris Metcalf <cmetcalf@tilera.com>.
31228 2011-11-11 Ulrich Drepper <drepper@gmail.com>
31230 * stdlib/ucontext.h: Undo last change for makecontext.
31232 2011-11-11 Andreas Schwab <schwab@redhat.com>
31234 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
31236 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
31237 * setjmp/setjmp.h: Mark functions as non-leaf.
31238 * setjmp/bits/setjmp2.h: Likewise.
31239 * stdlib/ucontext.h: Likewise.
31241 2011-11-10 Andreas Schwab <schwab@redhat.com>
31243 * malloc/arena.c (_int_new_arena): Don't increment narenas.
31244 (reused_arena): Don't check arena limit.
31245 (arena_get2): Atomically check arena limit.
31247 2011-11-08 Ulrich Drepper <drepper@gmail.com>
31249 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
31250 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
31252 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
31255 2011-11-07 Andreas Schwab <schwab@redhat.com>
31257 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
31258 handler when locking.
31260 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31261 Fix size of allocated buffer.
31263 2011-11-04 Andreas Schwab <schwab@redhat.com>
31266 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
31267 declarations for long double functions.
31268 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
31270 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
31272 2011-11-03 Andreas Schwab <schwab@redhat.com>
31274 * nscd/nscd.c (main): Don't start AVC thread until credentials are
31277 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
31280 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
31282 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
31284 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
31286 * include/alloca.h (stackinfo_alloca_round): Define.
31287 (extend_alloca): Use it.
31288 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
31289 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
31292 * scripts/check-local-headers.sh: Ignore libaudit.h.
31294 * nscd/Makefile (extra-objs): Make recursively expanded.
31296 2011-11-01 Ulrich Drepper <drepper@gmail.com>
31298 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
31299 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
31301 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
31302 * posix/tst-rfc3484-2.c: Likewise.
31303 * posix/tst-rfc3484-3.c: Likewise.
31305 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
31307 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
31309 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
31310 process_vm_writev from libc using GLIBC_2.15 version.
31312 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
31314 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
31316 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
31319 2011-10-31 Ulrich Drepper <drepper@gmail.com>
31322 * nss/getent.c (initgroups_keys): Show error message in case no group
31325 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
31326 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
31327 __bump_nl_timestamp.
31328 * nscd/connections (nscd_init): When host database is served open
31329 netlink socket and request notification about configuration changes.
31330 (main_loop_poll): Track netlink file descriptor and bump timestamp
31331 in case data becomes available.
31332 (main_loop_epoll): Likewise.
31333 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
31334 (database_pers_head): Add extra_data fileds.
31335 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
31336 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
31337 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
31339 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
31340 in6ai data, call __free_in6ai.
31341 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
31342 Add -DHAVE_NETLINK.
31343 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
31344 interface information. Reuse previous data if netlink timestamp
31346 (__bump_nl_timestamp): New function.
31347 (__free_in6ai): New function.
31349 2011-10-30 Ulrich Drepper <drepper@gmail.com>
31351 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
31352 close_not_cancel_no_status here.
31353 (__check_pf): Reorganize code a bit to not call close twice if OOM.
31355 2011-10-29 Ulrich Drepper <drepper@gmail.com>
31358 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
31361 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
31362 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
31363 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
31365 2011-07-03 Andreas Jaeger <aj@suse.de>
31368 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
31369 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
31370 * math/libm-test.inc (sin_test): Add test case.
31372 2011-10-29 Ulrich Drepper <drepper@gmail.com>
31375 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
31376 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
31378 * elf/chroot_canon.c (chroot_canon): Cleanups.
31380 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
31383 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
31384 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
31386 * string/test-strchr.c: Make usable for strchrnul testing.
31387 * string/test-strchrnul.c: New file.
31388 * string/Makefile (strop-tests): Add strchrnul.
31390 * po/it.po: Update from translation team.
31391 * po/es.po: Likewise.
31393 2011-10-28 Ulrich Drepper <drepper@gmail.com>
31395 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
31396 the three constants needed as parameters. Drop the others.
31397 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
31398 __m128i_strloadu_tolower.
31399 Create and initialize variable zero and use it in all the places
31400 where _mm_setzero_si128 was used.
31402 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
31403 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
31404 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
31405 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
31407 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
31408 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
31409 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
31410 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
31411 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
31412 __mpranred, __mptan.
31413 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
31414 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
31415 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
31416 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
31417 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
31418 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
31419 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
31420 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
31421 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
31423 2011-10-28 Andreas Schwab <schwab@redhat.com>
31425 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
31426 redefine if SHARED.
31427 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
31429 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
31430 wide char related routines to wcsmbs subdir.
31432 2011-10-27 Andreas Schwab <schwab@redhat.com>
31435 * misc/sys/cdefs.h (__THROWNL): Define.
31436 * posix/unistd.h: Use __THREADNL instead of __THREAD
31437 for memory synchronization functions.
31439 2011-10-26 Roland McGrath <roland@hack.frob.com>
31442 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
31444 * manual/stdio.texi (Obstack Streams): Node removed.
31446 2011-10-26 Andreas Schwab <schwab@redhat.com>
31448 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
31449 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31450 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31452 * math/math_private.h (math_force_eval): Allow non-addressable
31454 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
31456 2011-10-25 Ulrich Drepper <drepper@gmail.com>
31458 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
31459 file is not needed.
31461 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
31462 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
31463 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31464 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31465 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31466 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31467 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31468 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
31470 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
31471 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
31472 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
31473 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
31474 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
31475 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
31476 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
31477 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
31478 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
31479 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
31480 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
31481 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
31482 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
31483 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
31484 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
31485 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
31486 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
31487 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
31488 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
31490 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
31491 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
31493 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
31494 place. Use VEX encoding when compiling for AVX.
31496 2011-10-25 Andreas Schwab <schwab@redhat.com>
31498 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
31499 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
31501 * string/test-strchr.c (do_test): Don't generate NUL bytes.
31503 2011-10-25 Ulrich Drepper <drepper@gmail.com>
31505 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
31506 useless if() expression.
31507 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31508 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
31509 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31510 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31511 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31512 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31513 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
31514 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31515 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
31516 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31517 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31518 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
31519 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
31520 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
31521 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
31522 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31523 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31524 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31525 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
31527 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
31529 2011-10-25 Andreas Schwab <schwab@redhat.com>
31531 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
31533 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31535 2011-10-25 Ulrich Drepper <drepper@gmail.com>
31537 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
31538 .text section. Avoid duplicate constants.
31539 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
31540 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31541 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31542 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31543 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31544 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31545 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31546 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31547 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31548 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
31549 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31550 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31551 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
31552 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
31553 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
31554 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
31555 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
31556 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31557 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31558 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31559 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31560 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31561 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31562 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
31563 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
31564 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
31565 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
31566 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
31567 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
31568 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
31569 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
31570 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
31571 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31572 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
31573 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
31574 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
31575 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
31576 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
31577 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
31578 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
31579 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
31580 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
31581 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
31582 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
31583 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
31585 2011-10-24 Ulrich Drepper <drepper@gmail.com>
31587 * sysdeps/x86_64/dla.h: Move to ...
31588 * sysdeps/x86_64/fpu/dla.h: ...here.
31589 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
31590 situations. Use __builtin_fma only for gcc 4.6 and up.
31592 * config.make.in: Add have-mfma4 entry.
31593 * configure.in: Substitute libc_cv_cc_fma4.
31594 * math/Makefile (dbl-only-routines): Add sincostab.
31595 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
31596 Use __sincostab not sincos.
31597 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
31599 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31600 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31601 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31602 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
31604 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
31605 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
31606 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
31607 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
31609 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
31610 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
31612 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
31613 define aliases when function name is a macro.
31614 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
31615 sysdeps/ieee754/dbl-64/sincos.tbl.
31616 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
31617 fma4-enabled routines.
31618 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
31619 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
31620 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
31621 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
31622 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
31623 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
31624 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
31625 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
31626 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
31627 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
31628 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
31629 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
31630 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
31631 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
31632 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
31633 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
31634 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
31635 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
31636 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
31637 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
31638 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
31639 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
31640 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
31641 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
31642 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
31643 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
31644 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
31645 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
31646 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
31647 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
31649 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
31651 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31652 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31653 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31654 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31655 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31656 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31657 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31658 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31660 2011-10-24 Andreas Schwab <schwab@redhat.com>
31662 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
31664 2011-10-23 Ulrich Drepper <drepper@gmail.com>
31666 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
31668 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
31670 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
31672 * string/strnlen.c: Don't define STRNLEN, reverse logic.
31673 Remove unused variable magic_bits.
31674 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
31676 * string/strnlen.c: Define and use STRNLEN macro.
31677 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
31678 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
31679 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
31680 * wcsmbs/wcslen.c: Define and use WCSLEN.
31681 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
31682 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
31683 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
31684 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
31685 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
31686 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
31687 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
31689 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31691 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31692 strnlen-sse2-no-bsf.
31693 Rename strlen-no-bsf to strlen-sse2-no-bsf.
31694 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
31695 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
31696 Add strnlen support.
31697 (USE_AS_STRNLEN): New macro.
31698 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
31699 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
31700 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
31701 * sysdeps/x86_64/wcslen.S: New file.
31703 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
31705 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
31706 XMM-moves are used for copying on small sizes.
31708 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31710 * wcsmbs/Makefile (strop-tests): Add wcschr.
31711 * wcsmbs/test-wcschr.c: New file.
31712 * string/test-strchr.c: Update.
31713 Add wcschr support.
31716 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31718 * wcsmbs/Makefile (strop-tests): Add wcslen.
31719 * wcsmbs/test-wcslen.c: New file.
31720 * string/test-strlen.c: Update.
31721 Add wcslen support.
31724 2011-10-23 Ulrich Drepper <drepper@gmail.com>
31726 * po/it.po: Update from translation team.
31728 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31730 * sysdeps/x86_64/wcscmp.S: Update.
31731 Fix wrong comparison semantics.
31732 wcscmp shall use signed comparison not unsigned.
31733 Don't use substraction to avoid overflow bug.
31734 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
31735 * wcsmbc/wcscmp.c: Likewise.
31736 * string/test-strcmp.c: Likewise.
31737 Add new tests to check cases with negative values.
31739 2011-10-23 Ulrich Drepper <drepper@gmail.com>
31741 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
31742 * sysdeps/x86_64/dla.h: ...here. New file.
31743 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
31744 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31745 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31746 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31747 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31748 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31749 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31750 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31751 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31753 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
31755 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
31756 __ynl_finite aliases.
31758 2011-10-22 Ulrich Drepper <drepper@gmail.com>
31760 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31762 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
31764 [DLA_FMA] (EMULV): Use DLA_FMA.
31765 [DLA_FMA] (MUL12): Use EMULV.
31766 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
31767 that are not needed.
31768 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31769 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31770 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31771 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31772 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31773 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31774 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31776 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
31778 * math/s_nan.c: Undef __nan.
31779 * math/s_nanf.c: Undef __nanf.
31780 * math/s_nanl.c: Undef __nanl.
31781 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
31784 2011-10-22 Ulrich Drepper <drepper@gmail.com>
31786 * math/s_catan.c: Add branch predictions.
31787 * math/s_catanf.c: Likewise.
31788 * math/s_catanh.c: Likewise.
31789 * math/s_catanhf.c: Likewise.
31790 * math/s_catanhl.c: Likewise.
31791 * math/s_catanl.c: Likewise.
31792 * math/s_cexp.c: Likewise.
31793 * math/s_cexpf.c: Likewise.
31794 * math/s_cexpl.c: Likewise.
31795 * math/s_clog.c: Likewise.
31796 * math/s_clog10.c: Likewise.
31797 * math/s_clog10f.c: Likewise.
31798 * math/s_clog10l.c: Likewise.
31799 * math/s_clogf.c: Likewise.
31800 * math/s_clogl.c: Likewise.
31801 * math/s_csqrt.c: Likewise.
31802 * math/s_csqrtf.c: Likewise.
31803 * math/s_csqrtl.c: Likewise.
31804 * math/s_ctanf.c: Likewise.
31805 * math/s_ctanh.c: Likewise.
31806 * math/s_ctanhf.c: Likewise.
31807 * math/s_ctanhl.c: Likewise.
31808 * math/s_ctanl.c: Likewise.
31810 * math/math_private.h: Define __nan, __nanf, __nanl.
31811 * math/s_cacosh.c: Include <math_private.h>.
31812 * math/s_cacoshl.c: Likewise.
31813 * math/s_casinh.c: Likewise.
31814 * math/s_casinhf.c: Likewise.
31815 * math/s_casinhl.c: Likewise.
31816 * math/s_ccos.c: Rely entire on ccosh.
31817 * math/s_ccosf.c: Rely entire on ccoshf.
31818 * math/s_ccosl.c: Rely entirely on ccoshl.
31819 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
31820 Remove tests for FE_INVALID.
31821 * math/s_ccoshf.c: Likewise.
31822 * math/s_ccoshl.c: Likewise.
31823 * math/s_csin.c: Likewise.
31824 * math/s_csinf.c: Likewise.
31825 * math/s_csinh.c Likewise.
31826 * math/s_csinhf.c: Likewise.
31827 * math/s_csinhl.c: Likewise.
31828 * math/s_csinl.c: Likewise.
31829 * math/s_ctan.c: Likewise.
31830 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
31831 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
31832 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
31834 2011-10-21 Ulrich Drepper <drepper@gmail.com>
31836 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
31837 compilation problems.
31839 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
31842 2011-10-20 Ulrich Drepper <drepper@gmail.com>
31844 * sysdeps/i386/configure.in: Test for -mfma4 option.
31845 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
31846 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
31847 COMMON_CPUID_INDEX_80000001.
31848 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
31849 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
31850 use it if FMA3 is not supported.
31851 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
31853 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
31854 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31856 2011-10-20 Andreas Schwab <schwab@redhat.com>
31859 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
31860 it would create a cycle with a link time dependency.
31862 2011-10-19 Ulrich Drepper <drepper@gmail.com>
31864 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
31866 * string/Makefile (strop-tests): Add rawmemchr.
31867 * string/test-rawmemchr.c: New file.
31869 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
31870 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
31871 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
31872 when compiling str{,n}casecmp and when AVX is available. Hook up
31873 new optimized code in initializers.
31875 2011-10-19 Andreas Schwab <schwab@redhat.com>
31877 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
31878 __feraiseexcept instead of feraiseexcept.
31880 2011-10-18 Ulrich Drepper <drepper@gmail.com>
31882 * math/math_private.h: Define defaults for libc_fetestexcept and
31884 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
31885 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
31886 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
31887 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
31888 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
31889 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
31890 libc_fetestexcept and libc_feupdateenv.
31892 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
31893 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
31894 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
31895 * sysdeps/x86_64/fpu/math_private.h: Define special version of
31896 libc_feholdexcept_setround.
31898 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
31899 Add s_nearbyint-c and s_nearbyintf-c.
31900 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
31901 nearbyintf inlines.
31902 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
31903 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
31904 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
31905 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
31907 * math/math_private.h: Define defaults for libc_fegetround,
31908 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
31909 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
31910 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
31911 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
31912 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
31913 standard functions.
31914 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31915 Remove comments and hacks for old compiler versions.
31916 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
31917 libc_fegetround, libc_fesetround, libc_feholdexcept, and
31918 libc_feholdexceptl.
31920 2011-10-18 Andreas Schwab <schwab@redhat.com>
31922 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
31923 (__feraiseexcept_renamed): Add __NTH.
31924 (feraiseexcept): Add __NTH. Rename local variables to fix
31925 namespace violations.
31927 2011-10-17 Ulrich Drepper <drepper@gmail.com>
31929 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
31931 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
31933 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
31934 recently added interfaces.
31935 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
31937 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
31938 about macro parameter expansion.
31940 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
31941 __NO_MATH_INLINES is defined. Cleanups.
31943 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
31944 and __floorf is target has SSE4.1.
31945 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
31946 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
31947 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
31948 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
31950 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
31952 (floorf): Likewise.
31954 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
31956 2011-10-17 Andreas Schwab <schwab@redhat.com>
31958 * misc/sys/cdefs.h: Fix last change.
31960 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
31963 2011-10-16 Ulrich Drepper <drepper@gmail.com>
31965 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
31967 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
31968 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31969 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
31970 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
31971 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31972 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
31973 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
31974 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
31975 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
31976 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
31977 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
31978 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
31979 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
31980 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
31981 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
31982 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
31983 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
31984 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
31985 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
31986 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
31987 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
31988 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
31990 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
31991 ceil, ceilf, floor, floorf.
31993 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
31994 Perform IRELATIVE relocations last.
31996 * elf/do-rel.h: Add another parameter nrelative, replacing the
31997 local variable with the same name. Change name of the function
31998 to end in Rel or Rela (uppercase).
31999 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
32000 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
32001 elf_dynamic_do_##reloc function.
32003 2011-10-15 Ulrich Drepper <drepper@gmail.com>
32005 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
32006 is sufficient, at least on modern CPUs.
32008 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
32010 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
32011 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
32013 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
32015 * math/bits/math-finite.h: Add entries for exp.
32016 * math/e_expl.c: Add __*_finite alias.
32017 * sysdeps/i386/fpu/e_exp.S: Likewise.
32018 * sysdeps/i386/fpu/e_expf.S: Likewise.
32019 * sysdeps/i386/fpu/e_expl.c: Likewise.
32020 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32021 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32022 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32023 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32024 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
32025 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
32026 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
32028 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
32029 is sufficient, at least on modern CPUs.
32031 * ctype/ctype-info.c (__ctype_init): Define.
32032 * include/ctype.h (__ctype_init): Declare.
32033 (__ctype_b_loc): The variable is always initialized.
32034 (__ctype_toupper_loc): Likewise.
32035 (__ctype_tolower_loc): Likewise.
32036 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
32037 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
32039 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
32041 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
32043 * configure.in: Also look in $cxxmachine/include for C++ system
32046 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32048 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
32049 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
32050 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
32051 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
32052 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
32053 (USE_AS_WMEMCMP): New macro.
32055 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
32056 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
32057 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
32058 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
32059 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32060 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
32061 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
32062 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
32063 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
32064 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
32065 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
32066 (USE_AS_WMEMCMP): New macro.
32067 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
32068 * sysdeps/string/test-memcmp.c: Update.
32069 Fix simple_wmemcmp.
32071 * wcsmbs/wmemcmp.c: Update.
32072 (WMEMCMP): New macro.
32075 2011-10-12 Andreas Jaeger <aj@suse.de>
32078 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
32080 2011-10-15 Ulrich Drepper <drepper@gmail.com>
32082 * libio/iofwide.c (do_length): Avoid warning.
32084 * ctype/ctype.h (__isctype_f): Add missing __THROW.
32086 2011-10-14 Ulrich Drepper <drepper@gmail.com>
32088 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
32090 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
32091 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
32092 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
32093 * sysdeps/i386/i686/fpu/e_log.S: New file.
32094 * sysdeps/i386/i686/fpu/e_logf.S: New file.
32095 * sysdeps/i386/i686/fpu/e_logl.S: New file.
32097 * ctype/ctype.h: Add support for inlined isXXX functions when
32098 compiling C++ code.
32100 2011-10-14 Andreas Schwab <schwab@redhat.com>
32102 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32104 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
32106 2011-10-13 Roland McGrath <roland@hack.frob.com>
32109 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
32111 2011-10-13 Andreas Schwab <schwab@redhat.com>
32113 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
32114 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
32117 * sysdeps/x86_64/memrchr.S: Check for zero size.
32119 * string/stratcliff.c: Add memrchr tests.
32121 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32123 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32124 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
32125 rawmemchr-sse2 rawmemchr-sse2-bsf.
32126 * sysdeps/i386/i686/multiarch/memchr.S: New file.
32127 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
32128 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
32129 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
32130 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
32131 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
32132 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
32133 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
32134 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
32135 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
32136 * string/memrchr.c (MEMRCHR): New macro.
32138 2011-10-12 Ulrich Drepper <drepper@gmail.com>
32140 Add integration with gcc's -ffinite-math-only and optimize wrapper
32142 * Versions.def: Define GLIBC_2.15 version for libm.
32143 * math/Makefile (headers): Add bits/math-finite.h.
32144 * math/bits/math-finite.h: New file.
32145 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
32146 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
32147 * math/e_acoshl.c: Add __*_finite alias.
32148 * math/e_acosl.c: Likewise.
32149 * math/e_asinl.c: Likewise.
32150 * math/e_atan2l.c: Likewise.
32151 * math/e_atanhl.c: Likewise.
32152 * math/e_coshl.c: Likewise.
32153 * math/e_exp10.c: Likewise.
32154 * math/e_exp10f.c: Likewise.
32155 * math/e_exp10l.c: Likewise.
32156 * math/e_exp2l.c: Likewise.
32157 * math/e_fmodl.c: Likewise.
32158 * math/e_gammal_r.c: Likewise.
32159 * math/e_hypotl.c: Likewise.
32160 * math/e_j0l.c: Likewise.
32161 * math/e_j1l.c: Likewise.
32162 * math/e_jnl.c: Likewise.
32163 * math/e_lgammal_r.c: Likewise.
32164 * math/e_log10l.c: Likewise.
32165 * math/e_log2l.c: Likewise.
32166 * math/e_logl.c: Likewise.
32167 * math/e_powl.c: Likewise.
32168 * math/e_sinhl.c: Likewise.
32169 * math/e_sqrtl.c: Likewise.
32170 * math/e_scalb.c: Completely rewritten and optimized.
32171 * math/e_scalbf.c: Likewise.
32172 * math/e_scalbl.c: Likewise.
32173 * math/w_acos.c: Likewise.
32174 * math/w_acosf.c: Likewise.
32175 * math/w_acosl.c: Likewise.
32176 * math/w_acosh.c: Likewise.
32177 * math/w_acoshf.c: Likewise.
32178 * math/w_acoshl.c: Likewise.
32179 * math/w_asin.c: Likewise.
32180 * math/w_asinf.c: Likewise.
32181 * math/w_asinl.c: Likewise.
32182 * math/w_atan2.c: Likewise.
32183 * math/w_atan2f.c: Likewise.
32184 * math/w_atan2l.c: Likewise.
32185 * math/w_atanh.c: Likewise.
32186 * math/w_atanhf.c: Likewise.
32187 * math/w_atanhl.c: Likewise.
32188 * math/w_exp10.c: Likewise.
32189 * math/w_exp10f.c: Likewise.
32190 * math/w_exp10l.c: Likewise.
32191 * math/w_fmod.c: Likewise.
32192 * math/w_fmodf.c: Likewise.
32193 * math/w_fmodl.c: Likewise.
32194 * math/w_j0.c: Likewise.
32195 * math/w_j0f.c: Likewise.
32196 * math/w_j0l.c: Likewise.
32197 * math/w_j1.c: Likewise.
32198 * math/w_j1f.c: Likewise.
32199 * math/w_j1l.c: Likewise.
32200 * math/w_jn.c: Likewise.
32201 * math/w_jnf.c: Likewise.
32202 * math/w_log.c: Likewise.
32203 * math/w_logf.c: Likewise.
32204 * math/w_logl.c: Likewise.
32205 * math/w_log10.c: Likewise.
32206 * math/w_log10f.c: Likewise.
32207 * math/w_log10l.c: Likewise.
32208 * math/w_log2.c: Likewise.
32209 * math/w_log2f.c: Likewise.
32210 * math/w_log2l.c: Likewise.
32211 * math/w_pow.c: Likewise.
32212 * math/w_powf.c: Likewise.
32213 * math/w_powl.c: Likewise.
32214 * math/w_remainder.c: Likewise.
32215 * math/w_remainderf.c: Likewise.
32216 * math/w_remainderl.c: Likewise.
32217 * math/w_scalb.c: Likewise.
32218 * math/w_scalbf.c: Likewise.
32219 * math/w_scalbl.c: Likewise.
32220 * math/w_sqrt.c: Likewise.
32221 * math/w_sqrtf.c: Likewise.
32222 * math/w_sqrtl.c: Likewise.
32223 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
32224 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
32226 * math/math_private.h: Declare __kernel_standard_f.
32227 * math/w_cosh.c: Remove cruft and optimize a bit.
32228 * math/w_coshf.c: Likewise.
32229 * math/w_coshl.c: Likewise.
32230 * math/w_exp2.c: Likewise.
32231 * math/w_exp2f.c: Likewise.
32232 * math/w_exp2l.c: Likewise.
32233 * math/w_hypot.c: Likewise.
32234 * math/w_hypotf.c: Likewise.
32235 * math/w_hypotl.c: Likewise.
32236 * math/w_lgamma.c: Likewise.
32237 * math/w_lgamma_r.c: Likewise.
32238 * math/w_lgammaf.c: Likewise.
32239 * math/w_lgammaf_r.c: Likewise.
32240 * math/w_lgammal.c: Likewise.
32241 * math/w_lgammal_r.c: Likewise.
32242 * math/w_sinh.c: Likewise.
32243 * math/w_sinhf.c: Likewise.
32244 * math/w_sinhl.c: Likewise.
32245 * math/w_tgamma.c: Likewise.
32246 * math/w_tgammaf.c: Likewise.
32247 * math/w_tgammal.c: Likewise.
32248 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32249 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32250 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
32251 Minor optimizations. Pretty printing. Remove cruft.
32252 * sysdeps/i386/fpu/e_acosf.S: Likewise.
32253 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32254 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32255 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32256 * sysdeps/i386/fpu/e_acosl.c: Likewise.
32257 * sysdeps/i386/fpu/e_asin.S: Likewise.
32258 * sysdeps/i386/fpu/e_asinf.S: Likewise.
32259 * sysdeps/i386/fpu/e_atan2.S: Likewise.
32260 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
32261 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
32262 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32263 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32264 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32265 * sysdeps/i386/fpu/e_exp10.S: Likewise.
32266 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
32267 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
32268 * sysdeps/i386/fpu/e_exp2.S: Likewise.
32269 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
32270 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
32271 * sysdeps/i386/fpu/e_fmod.S: Likewise.
32272 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
32273 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
32274 * sysdeps/i386/fpu/e_hypot.S: Likewise.
32275 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
32276 * sysdeps/i386/fpu/e_log.S: Likewise.
32277 * sysdeps/i386/fpu/e_log10.S: Likewise.
32278 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32279 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32280 * sysdeps/i386/fpu/e_log2.S: Likewise.
32281 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32282 * sysdeps/i386/fpu/e_log2l.S: Likewise.
32283 * sysdeps/i386/fpu/e_logf.S: Likewise.
32284 * sysdeps/i386/fpu/e_logl.S: Likewise.
32285 * sysdeps/i386/fpu/e_pow.S: Likewise.
32286 * sysdeps/i386/fpu/e_powf.S: Likewise.
32287 * sysdeps/i386/fpu/e_powl.S: Likewise.
32288 * sysdeps/i386/fpu/e_remainder.S: Likewise.
32289 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
32290 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
32291 * sysdeps/i386/fpu/e_scalb.S: Likewise.
32292 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32293 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32294 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
32295 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
32296 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
32297 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32298 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32299 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32300 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32301 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32302 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32303 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
32304 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32305 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32306 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32307 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32308 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
32309 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32310 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32311 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32312 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32313 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32314 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
32315 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32316 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32317 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
32318 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
32319 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32320 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32321 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
32322 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
32323 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32324 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
32325 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
32326 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
32327 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32328 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
32329 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32330 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
32331 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
32332 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
32333 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
32334 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
32335 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
32336 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
32337 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
32338 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
32339 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
32340 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
32341 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32342 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
32343 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
32344 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
32345 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
32346 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
32347 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
32348 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
32349 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
32350 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32351 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
32352 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
32353 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
32354 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
32355 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
32356 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
32357 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
32358 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
32359 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32360 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32361 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
32362 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
32363 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
32364 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
32365 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
32366 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
32367 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
32368 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
32369 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
32370 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
32371 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
32372 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
32373 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
32374 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
32375 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32376 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
32377 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32378 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
32379 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
32380 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32381 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32382 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
32383 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32384 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
32385 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
32386 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
32387 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32388 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32389 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32390 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
32391 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32392 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32393 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32394 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
32395 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
32396 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
32397 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
32398 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
32399 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
32400 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
32401 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32402 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32403 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32404 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32405 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
32406 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32407 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
32408 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
32409 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
32410 (__isnanf): Likewise.
32411 (__isinf_ns): Likewise.
32412 (__isinf_nsf): Likewise.
32413 (__finite): Likewise.
32414 (__finitef): Likewise.
32415 (__ieee754_sqrt): Define as macro.
32416 (__ieee754_sqrtf): Define as macro.
32417 (__ieee754_sqrtl): Define as macro.
32418 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
32420 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
32421 __FINITE_MATH_ONLY__ consistent.
32422 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
32424 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
32426 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
32429 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
32431 2011-10-09 Ulrich Drepper <drepper@gmail.com>
32433 * po/ja.po: Update from translation team.
32435 2011-10-08 Roland McGrath <roland@hack.frob.com>
32437 * locale/programs/locarchive.c (prepare_address_space): New function.
32438 (create_archive, enlarge_archive, open_archive): Use it.
32440 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
32441 inside [SHARED], where it is used.
32443 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
32445 * nss/getent.c (netgroup_keys): Remove unused variable.
32446 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
32448 2011-10-08 Ulrich Drepper <drepper@gmail.com>
32450 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
32451 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
32452 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
32453 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
32454 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
32455 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
32456 * math/Makefile (libm-calls): Add s_isinf_ns.
32457 * math/divtc3.c: Use __isinf_nsl instead of isinf.
32458 * math/multc3.c: Likewise.
32459 * math/s_casin.c: Likewise.
32460 * math/s_casinf.c: Likewise.
32461 * math/s_casinl.c: Likewise.
32462 * math/s_ccos.c: Likewise.
32463 * math/s_ccosf.c: Likewise.
32464 * math/s_ccosl.c: Likewise.
32465 * math/s_ctan.c: Likewise.
32466 * math/s_ctanf.c: Likewise.
32467 * math/s_ctanh.c: Likewise.
32468 * math/s_ctanhf.c: Likewise.
32469 * math/s_ctanhl.c: Likewise.
32470 * math/s_ctanl.c: Likewise.
32471 * math/w_fmod.c: Likewise.
32472 * math/w_fmodf.c: Likewise.
32473 * math/w_fmodl.c: Likewise.
32474 * math/w_remainder.c: Likewise.
32475 * math/w_remainderf.c: Likewise.
32476 * math/w_remainderl.c: Likewise.
32477 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
32478 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
32479 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
32480 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
32481 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
32482 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
32483 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
32484 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
32486 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
32488 * stdio-common/printf_fphex.c: Likewise.
32489 * stdio-common/printf_size.c: Likewise.
32491 * math/e_exp10.c: Include math_private.h using <...> not "...".
32492 * math/e_exp10f.c: Likewise.
32493 * math/e_exp10l.c: Likewise.
32494 * math/e_exp2l.c: Likewise.
32495 * math/e_j0l.c: Likewise.
32496 * math/e_j1l.c: Likewise.
32497 * math/e_jnl.c: Likewise.
32498 * math/e_lgammal_r.c: Likewise.
32499 * math/e_rem_pio2l.c: Likewise.
32500 * math/e_scalb.c: Likewise.
32501 * math/e_scalbf.c: Likewise.
32502 * math/e_scalbl.c: Likewise.
32503 * math/k_cosl.c: Likewise.
32504 * math/k_sinl.c: Likewise.
32505 * math/k_tanl.c: Likewise.
32506 * math/s_cacoshf.c: Likewise.
32507 * math/s_catan.c: Likewise.
32508 * math/s_catanf.c: Likewise.
32509 * math/s_catanh.c: Likewise.
32510 * math/s_catanhf.c: Likewise.
32511 * math/s_catanhl.c: Likewise.
32512 * math/s_catanl.c: Likewise.
32513 * math/s_ccosh.c: Likewise.
32514 * math/s_ccoshf.c: Likewise.
32515 * math/s_ccoshl.c: Likewise.
32516 * math/s_cexp.c: Likewise.
32517 * math/s_cexpf.c: Likewise.
32518 * math/s_cexpl.c: Likewise.
32519 * math/s_clog.c: Likewise.
32520 * math/s_clog10.c: Likewise.
32521 * math/s_clog10f.c: Likewise.
32522 * math/s_clog10l.c: Likewise.
32523 * math/s_clogf.c: Likewise.
32524 * math/s_clogl.c: Likewise.
32525 * math/s_csin.c: Likewise.
32526 * math/s_csinf.c: Likewise.
32527 * math/s_csinh.c: Likewise.
32528 * math/s_csinhf.c: Likewise.
32529 * math/s_csinhl.c: Likewise.
32530 * math/s_csinl.c: Likewise.
32531 * math/s_csqrt.c: Likewise.
32532 * math/s_csqrtf.c: Likewise.
32533 * math/s_csqrtl.c: Likewise.
32534 * math/s_ctan.c: Likewise.
32535 * math/s_ctanf.c: Likewise.
32536 * math/s_ctanh.c: Likewise.
32537 * math/s_ctanhf.c: Likewise.
32538 * math/s_ctanhl.c: Likewise.
32539 * math/s_ctanl.c: Likewise.
32540 * math/s_ldexp.c: Likewise.
32541 * math/s_ldexpf.c: Likewise.
32542 * math/s_ldexpl.c: Likewise.
32543 * math/s_significand.c: Likewise.
32544 * math/s_significandf.c: Likewise.
32545 * math/s_significandl.c: Likewise.
32546 * math/w_acos.c: Likewise.
32547 * math/w_acosf.c: Likewise.
32548 * math/w_acosh.c: Likewise.
32549 * math/w_acoshf.c: Likewise.
32550 * math/w_acoshl.c: Likewise.
32551 * math/w_acosl.c: Likewise.
32552 * math/w_asin.c: Likewise.
32553 * math/w_asinf.c: Likewise.
32554 * math/w_asinl.c: Likewise.
32555 * math/w_atan2.c: Likewise.
32556 * math/w_atan2f.c: Likewise.
32557 * math/w_atan2l.c: Likewise.
32558 * math/w_atanh.c: Likewise.
32559 * math/w_atanhf.c: Likewise.
32560 * math/w_atanhl.c: Likewise.
32561 * math/w_cosh.c: Likewise.
32562 * math/w_coshf.c: Likewise.
32563 * math/w_coshl.c: Likewise.
32564 * math/w_dremf.c: Likewise.
32565 * math/w_exp10.c: Likewise.
32566 * math/w_exp10f.c: Likewise.
32567 * math/w_exp10l.c: Likewise.
32568 * math/w_exp2.c: Likewise.
32569 * math/w_exp2f.c: Likewise.
32570 * math/w_fmod.c: Likewise.
32571 * math/w_fmodf.c: Likewise.
32572 * math/w_fmodl.c: Likewise.
32573 * math/w_hypot.c: Likewise.
32574 * math/w_hypotf.c: Likewise.
32575 * math/w_hypotl.c: Likewise.
32576 * math/w_j0.c: Likewise.
32577 * math/w_j0f.c: Likewise.
32578 * math/w_j0l.c: Likewise.
32579 * math/w_j1.c: Likewise.
32580 * math/w_j1f.c: Likewise.
32581 * math/w_j1l.c: Likewise.
32582 * math/w_jn.c: Likewise.
32583 * math/w_jnf.c: Likewise.
32584 * math/w_jnl.c: Likewise.
32585 * math/w_lgamma.c: Likewise.
32586 * math/w_lgamma_r.c: Likewise.
32587 * math/w_lgammaf.c: Likewise.
32588 * math/w_lgammaf_r.c: Likewise.
32589 * math/w_lgammal.c: Likewise.
32590 * math/w_lgammal_r.c: Likewise.
32591 * math/w_log.c: Likewise.
32592 * math/w_log10.c: Likewise.
32593 * math/w_log10f.c: Likewise.
32594 * math/w_log10l.c: Likewise.
32595 * math/w_log2.c: Likewise.
32596 * math/w_log2f.c: Likewise.
32597 * math/w_log2l.c: Likewise.
32598 * math/w_logf.c: Likewise.
32599 * math/w_logl.c: Likewise.
32600 * math/w_pow.c: Likewise.
32601 * math/w_powf.c: Likewise.
32602 * math/w_powl.c: Likewise.
32603 * math/w_remainder.c: Likewise.
32604 * math/w_remainderf.c: Likewise.
32605 * math/w_remainderl.c: Likewise.
32606 * math/w_scalb.c: Likewise.
32607 * math/w_scalbf.c: Likewise.
32608 * math/w_scalbl.c: Likewise.
32609 * math/w_sinh.c: Likewise.
32610 * math/w_sinhf.c: Likewise.
32611 * math/w_sinhl.c: Likewise.
32612 * math/w_sqrt.c: Likewise.
32613 * math/w_sqrtf.c: Likewise.
32614 * math/w_sqrtl.c: Likewise.
32615 * math/w_tgamma.c: Likewise.
32616 * math/w_tgammaf.c: Likewise.
32617 * math/w_tgammal.c: Likewise.
32619 * po/ja.po: Update from translation team.
32621 2011-09-29 Andreas Jaeger <aj@suse.de>
32624 * sunrpc/netname.c (netname2host): Fix logic.
32628 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
32630 * math/w_remainder.c (__remainder): Likewise.
32631 * math/w_remainderf.c (__remainderf): Likewise.
32632 * math/libm-test.inc (remainder_test): Add test cases.
32634 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32636 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
32639 2011-10-07 Ulrich Drepper <drepper@gmail.com>
32641 * string/test-memcmp.c: Avoid unncessary #defines.
32642 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32644 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32646 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
32647 Use new sse2 version for core i3 - i7 as it's faster
32648 than sse42 version.
32649 (bit_Prefer_PMINUB_for_stringop): New.
32650 * sysdeps/x86_64/rawmemchr.S: Update.
32651 Replace with faster SSE2 version.
32652 * sysdeps/x86_64/memrchr.S: New file.
32653 * sysdeps/x86_64/memchr.S: Update.
32654 Replace with faster SSE2 version.
32656 2011-09-12 Marek Polacek <mpolacek@redhat.com>
32658 * elf/dl-load.c (lose): Add cast to avoid warning.
32660 2011-10-07 Ulrich Drepper <drepper@gmail.com>
32662 * po/ca.po: Update from translation team.
32664 * inet/getnetgrent_r.c: Hook up nscd.
32665 * nscd/Makefile (routines): Add nscd_netgroup.
32666 (nscd-modules): Add netgroupcache.
32667 (CFLAGS-netgroupcache.c): Define.
32668 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
32669 (cache_search): Add const to second parameter.
32670 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
32672 (dbs): Add netgrdb entry.
32673 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
32674 (verify_persistent_db): Handle netgrdb.
32675 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
32676 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
32678 (netgroup_response_header): Define.
32679 (innetgroup_response_header): Define.
32680 (datahead): Add netgroup_response_header and innetgroup_response_header
32682 * nscd/nscd.conf: Add entries for netgroup cache.
32683 * nscd/nscd.h (dbtype): Add netgrdb.
32684 (_PATH_NSCD_NETGROUP_DB): Define.
32685 (netgroup_iov_disabled): Declare.
32686 (xmalloc, xcalloc, xrealloc): Move declarations here.
32687 (cache_search): Adjust prototype.
32688 Add netgroup-related prototypes.
32689 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
32690 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
32691 (__nscd_innetgr): Declare.
32692 * nscd/selinux.c (perms): Use access_vector_t as element type and
32693 add netgroup-related initializers.
32694 * nscd/netgroupcache.c: New file.
32695 * nscd/nscd_netgroup.c: New file.
32696 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
32697 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
32698 For four parameters use innetgr.
32699 * nss/nss_files/files-init.c: Add definition and callback for netgr.
32700 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
32701 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
32702 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
32704 * nscd/connections.c (register_traced_file): Don't register file
32705 for disabled databases.
32707 2011-10-06 Ulrich Drepper <drepper@gmail.com>
32709 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
32711 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
32712 from tree and freeing node.
32714 2011-09-25 Jiri Olsa <jolsa@redhat.com>
32716 * nss/nsswitch.c (__nss_database_lookup): Handle
32717 nss_parse_service_list out of memory case.
32719 2011-09-15 Jiri Olsa <jolsa@redhat.com>
32721 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
32722 out of memory case.
32724 2011-10-04 Andreas Schwab <schwab@redhat.com>
32726 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
32727 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
32729 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
32730 elf_machine_rela, elf_machine_lazy_rel.
32731 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
32732 (ELF_DYNAMIC_DO_REL): Likewise.
32733 (ELF_DYNAMIC_DO_RELA): Likewise.
32734 (ELF_DYNAMIC_RELOCATE): Likewise.
32735 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
32736 to ELF_DYNAMIC_DO_REL.
32737 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
32738 (dl_main): In trace mode always set __RTLD_NOIFUNC.
32739 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
32741 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
32742 skip_ifunc, don't call ifunc function if non-zero.
32743 (elf_machine_rela): Likewise.
32744 (elf_machine_lazy_rel): Likewise.
32745 (elf_machine_lazy_rela): Likewise.
32746 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
32747 (elf_machine_lazy_rel): Likewise.
32748 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
32750 (elf_machine_lazy_rel): Likewise.
32751 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32753 (elf_machine_lazy_rel): Likewise.
32754 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
32755 (elf_machine_lazy_rel): Likewise.
32756 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
32757 (elf_machine_lazy_rel): Likewise.
32758 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
32759 (elf_machine_lazy_rel): Likewise.
32760 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
32761 (elf_machine_lazy_rel): Likewise.
32762 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
32763 (elf_machine_lazy_rel): Likewise.
32764 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
32765 (elf_machine_lazy_rel): Likewise.
32767 2011-09-28 Ulrich Drepper <drepper@gmail.com>
32769 * nss/nss_files/files-init.c (_nss_files_init): Use static
32770 initialization for all the *_traced_file variables.
32772 2011-09-28 Andreas Schwab <schwab@redhat.com>
32774 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32776 2011-09-27 Roland McGrath <roland@hack.frob.com>
32779 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
32781 2011-09-27 Andreas Schwab <schwab@redhat.com>
32783 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32784 Reread the line before reparsing it.
32786 2011-09-26 Andreas Schwab <schwab@redhat.com>
32788 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
32790 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
32791 Maxim Kuvyrkov <maxim@codesourcery.com>
32792 Joseph Myers <joseph@codesourcery.com>
32794 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
32795 if needed for __stack_chk_guard.
32797 2011-09-19 Roland McGrath <roland@hack.frob.com>
32799 * sysdeps/posix/spawni.c (script_execute): Always define it.
32800 It will be optimized away if unused.
32801 (maybe_script_execute): New function.
32802 (__spawni): Call it.
32804 * Makerules: Don't include tls.make.
32805 (config-tls): Always set to thread.
32806 * tls.make.c: File removed.
32808 2011-09-19 Mike Frysinger <vapier@gentoo.org>
32810 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
32811 * config.make.in (CPPFLAGS-config): New substituted variable.
32813 2011-09-15 Ulrich Drepper <drepper@gmail.com>
32815 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
32818 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
32819 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
32821 2011-09-15 Roland McGrath <roland@hack.frob.com>
32823 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
32824 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
32825 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32826 (CALL_FAIL): Likewise.
32827 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
32828 (CALL_FAIL): Macro removed.
32829 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
32831 2011-09-15 Ulrich Drepper <drepper@gmail.com>
32833 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
32834 for __FINITE_MATH_ONLY__ == 1.
32836 2011-09-15 Andreas Schwab <schwab@redhat.com>
32838 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
32839 __ieee754_sqrt instead of sqrt.
32840 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
32841 __ieee754_sqrtf instead of sqrtf.
32842 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
32843 __floorf instead of floorf.
32844 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
32845 __floorf, __truncf instead of floorf, truncf.
32847 2011-09-14 Ulrich Drepper <drepper@gmail.com>
32849 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
32851 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
32852 __extern_always_inline.
32853 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
32856 2011-09-14 Andreas Schwab <schwab@redhat.com>
32858 * elf/rtld.c (dl_main): Also relocate in dependency order when
32859 doing symbol dependency testing.
32861 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
32863 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32864 Always define `refsym'.
32866 2011-09-13 Andreas Schwab <schwab@redhat.com>
32868 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
32869 (__FD_ELT): Renamed from __FDELT.
32870 * misc/bits/select2.h (__FD_ELT): Likewise.
32871 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
32872 __FD_MASK instead of __FDELT, __FDMASK.
32873 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
32875 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
32878 * elf/Makefile (gen-ldd): Fix pattern.
32880 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
32881 (init_tls): Likewise.
32883 2011-09-12 Ulrich Drepper <drepper@gmail.com>
32885 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
32887 2011-09-12 Andreas Schwab <schwab@redhat.com>
32889 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
32890 `struct cmsghdr *' instead of `void *'.
32891 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
32894 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
32896 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
32898 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
32899 ldd_rewrite_script.
32901 2011-09-11 Ulrich Drepper <drepper@gmail.com>
32903 * configure.in: Remove --with-tls option.
32904 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
32905 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
32906 out in case it is missing.
32907 * sysdeps/ia64/elf/configure.in: Likewise.
32908 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
32909 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
32910 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
32911 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
32912 * sysdeps/sh/elf/configure.in: Likewise.
32913 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
32914 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
32915 * sysdeps/x86_64/elf/configure.in: Likewise.
32916 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
32917 * sysdeps/mach/hurd/tls.h: Likewise.
32920 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
32923 * configure.in: Fix use of AC_INIT.
32925 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
32927 2011-09-10 Ulrich Drepper <drepper@gmail.com>
32929 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
32931 * malloc/hooks.c: Likewise.
32934 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
32935 variables statically.
32936 (narenas): Initialize.
32937 (list_lock): Initialize.
32938 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
32939 initializtion of main_arena and list_lock. Small cleanups.
32940 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
32941 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
32942 Add initializers to main_arena and mp_.
32943 (malloc_state): Remove pagesize member. Change all users to use
32946 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
32947 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
32948 is always initialized.
32950 * malloc/malloc.c: Removed unused configurations and dead code.
32951 * malloc/arena.c: Likewise.
32952 * malloc/hooks.c: Likewise.
32953 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
32955 * include/tls.h: Removed. USE___THREAD must always be defined.
32956 * bits/libc-tsd.h: Don't handle !USE___THREAD.
32957 * elf/dl-libc.c: Likewise.
32958 * elf/dl-tsd.c: Likewise.
32959 * include/errno.h: Likewise.
32960 * include/netdb.h: Likewise.
32961 * include/resolv.h: Likewise.
32962 * inet/herrno-loc.c: Likewise.
32963 * inet/herrno.c: Likewise.
32964 * malloc/arena.c: Likewise.
32965 * malloc/hooks.c: Likewise.
32966 * malloc/malloc.c: Likewise.
32967 * resolv/res-state.c: Likewise.
32968 * resolv/res_libc.c: Likewise.
32969 * sysdeps/i386/dl-machine.h: Likewise.
32970 * sysdeps/ia64/dl-machine.h: Likewise.
32971 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
32972 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32973 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
32974 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
32975 * sysdeps/sh/dl-machine.h: Likewise.
32976 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
32977 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
32978 * sysdeps/unix/i386/sysdep.S: Likewise.
32979 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32980 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
32981 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
32982 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32983 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
32984 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32985 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
32986 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
32987 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32988 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32989 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32990 * sysdeps/x86_64/dl-machine.h: Likewise.
32991 * tls.make.c: Likewise.
32993 * configure.in: Remove --with-__thread option. Make tests for
32994 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
32995 tls_model attribute fail if no support is available. Remove
32997 * Makeconfig: Adjust for dropped configure option. All features are
32999 * Makerules: Likewise.
33000 * Versions.def: Likewise.
33001 * argp/argp-fmtstream.c: Likewise.
33002 * argp/argp-fmtstream.h: Likewise.
33003 * argp/argp-help.c: Likewise.
33004 * assert/assert.c: Likewise.
33005 * config.h.in: Likewise.
33006 * config.make.in: Likewise.
33007 * configure: Likewise.
33008 * configure.in: Likewise.
33009 * csu/Versions: Likewise.
33010 * csu/init.c: Likewise.
33011 * elf/tst-audit2.c: Likewise.
33012 * elf/tst-tls10.c: Likewise.
33013 * elf/tst-tls10.h: Likewise.
33014 * elf/tst-tls11.c: Likewise.
33015 * elf/tst-tls12.c: Likewise.
33016 * elf/tst-tls14.c: Likewise.
33017 * elf/tst-tlsmod11.c: Likewise.
33018 * elf/tst-tlsmod12.c: Likewise.
33019 * elf/tst-tlsmod13.c: Likewise.
33020 * elf/tst-tlsmod13a.c: Likewise.
33021 * elf/tst-tlsmod14a.c: Likewise.
33022 * elf/tst-tlsmod15b.c: Likewise.
33023 * elf/tst-tlsmod16a.c: Likewise.
33024 * elf/tst-tlsmod16b.c: Likewise.
33025 * elf/tst-tlsmod7.c: Likewise.
33026 * elf/tst-tlsmod8.c: Likewise.
33027 * elf/tst-tlsmod9.c: Likewise.
33028 * gmon/gmon.c: Likewise.
33029 * grp/fgetgrent_r.c: Likewise.
33030 * grp/putgrent.c: Likewise.
33031 * hurd/fopenport.c: Likewise.
33032 * include/libc-symbols.h: Likewise.
33033 * include/tls.h: Likewise.
33034 * intl/gettextP.h: Likewise.
33035 * intl/loadinfo.h: Likewise.
33036 * locale/global-locale.c: Likewise.
33037 * locale/localeinfo.h: Likewise.
33038 * mach/devstream.c: Likewise.
33039 * malloc/arena.c: Likewise.
33040 * malloc/set-freeres.c: Likewise.
33041 * misc/err.c: Likewise.
33042 * misc/getttyent.c: Likewise.
33043 * misc/mntent_r.c: Likewise.
33044 * posix/getopt.c: Likewise.
33045 * posix/wordexp.c: Likewise.
33046 * pwd/fgetpwent_r.c: Likewise.
33047 * resolv/Versions: Likewise.
33048 * resolv/res_hconf.c: Likewise.
33049 * shadow/fgetspent_r.c: Likewise.
33050 * shadow/putspent.c: Likewise.
33051 * stdio-common/printf_fphex.c: Likewise.
33052 * stdio-common/tmpfile.c: Likewise.
33053 * stdlib/abort.c: Likewise.
33054 * stdlib/fmtmsg.c: Likewise.
33055 * sunrpc/auth_unix.c: Likewise.
33056 * sunrpc/clnt_perr.c: Likewise.
33057 * sunrpc/clnt_tcp.c: Likewise.
33058 * sunrpc/clnt_udp.c: Likewise.
33059 * sunrpc/clnt_unix.c: Likewise.
33060 * sunrpc/openchild.c: Likewise.
33061 * sunrpc/svc_simple.c: Likewise.
33062 * sunrpc/svc_tcp.c: Likewise.
33063 * sunrpc/svc_udp.c: Likewise.
33064 * sunrpc/svc_unix.c: Likewise.
33065 * sunrpc/xdr.c: Likewise.
33066 * sunrpc/xdr_array.c: Likewise.
33067 * sunrpc/xdr_rec.c: Likewise.
33068 * sunrpc/xdr_ref.c: Likewise.
33069 * sunrpc/xdr_stdio.c: Likewise.
33071 2011-09-09 Ulrich Drepper <drepper@gmail.com>
33073 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33075 2011-07-03 Andreas Jaeger <aj@suse.de>
33077 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
33078 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
33079 regenerate with gen-libm-tests.pl.
33081 2010-05-12 Petr Baudis <pasky@suse.cz>
33084 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
33085 around j0() zero points by switching to j1().
33086 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33087 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33088 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33089 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33091 2011-09-09 Ulrich Drepper <drepper@gmail.com>
33093 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
33095 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
33097 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33098 Patch in part by Pavel Roskin <proski@gnu.org>.
33101 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
33103 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
33104 Free memory block if necessary.
33107 * libio/genops.c (INTDEF): For string streams the _lock pointer can
33108 be NULL. Don't lock in this case.
33110 2011-09-09 Roland McGrath <roland@hack.frob.com>
33112 * elf/elf.h (ELFOSABI_GNU): New macro.
33113 (ELFOSABI_LINUX): Define to that.
33115 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
33117 * string/strncat.c (strncat): Undef the symbol in case it has been
33118 defined in bits/string.h.
33120 2011-09-09 Ulrich Drepper <drepper@gmail.com>
33122 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
33124 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
33127 2011-08-17 Andreas Jaeger <aj@suse.de>
33129 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
33131 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
33132 Ian Lance Taylor <iant@google.com>
33134 * math/libm-test.inc (lround_test): New testcase.
33135 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
33137 2011-09-08 Ulrich Drepper <drepper@gmail.com>
33139 * Makefile: Remove support for automatic cvs check-ins.
33140 * Makerules: Likewise.
33141 * config.make.in: Likewise.
33142 * configure.in: Likewise.
33143 * intl/Makefile: Likewise.
33144 * locale/Makefile: Likewise.
33145 * po/Makefile: Likewise.
33146 * posix/Makefile: Likewise.
33147 * sysdeps/gnu/Makefile: Likewise.
33148 * sysdeps/mach/hurd/Makefile: Likewise.
33149 * sysdeps/sparc/sparc32/Makefile: Likewise.
33152 * posix/Makefile (bug-regex32-ENV): Define.
33153 Patch by John Stanley <jpsinthemix@verizon.net>.
33155 * misc/Makefile (headers): Add bits/select2.h.
33156 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
33157 * misc/bits/select2.h: New file.
33158 * include/bits/select2.h: New file.
33159 * debug/Makefile (routines): Add fdelt_chk.
33160 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
33161 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
33163 * debug/fdelt_chk.c: New file.
33165 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
33166 * wcsmbs/test-wmemcmp.c: Likewise.
33167 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
33168 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
33170 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33172 * string/Makefile (strop-tests): Add memcmp.
33173 * string/test-wmemcmp.c: New file.
33174 * string/test-memcmp.c: Add wmemcmp support.
33176 2011-09-08 Roland McGrath <roland@hack.frob.com>
33179 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
33182 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
33183 garbage value in a __mach_port_mod_refs call in the cases of the
33184 task-self and thread-self ports.
33186 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
33188 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
33190 2011-09-08 Andreas Schwab <schwab@redhat.com>
33192 * elf/dl-load.c (lose): Check for non-null L.
33194 2011-09-07 Ulrich Drepper <drepper@gmail.com>
33196 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
33198 * elf/dl-libc.c (dlerror_run): Pass back error code from
33202 * elf/dl-load.c (lose): Free l_origin if it is valid.
33204 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
33206 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
33207 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33208 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33209 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33210 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
33211 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
33213 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33215 * sysdeps/powerpc/fpu/e_hypot.c: New file.
33216 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
33217 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
33218 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
33219 * sysdeps/powerpc/fpu/k_cosf.c: New file.
33220 * sysdeps/powerpc/fpu/k_sinf.c: New file.
33221 * sysdeps/powerpc/fpu/s_cosf.c: New file.
33222 * sysdeps/powerpc/fpu/s_sinf.c: New file.
33223 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
33224 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
33226 2011-08-15 Alan Modra <amodra@gmail.com>
33229 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
33230 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
33231 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
33232 ppc_mcount to static-only-routines.
33233 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
33235 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
33236 __mcount_internal with usual JUMPTARGET. Remove useless nop.
33238 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
33240 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
33241 for finite and infinity parameters.
33243 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
33245 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
33246 and add nop instructions for throughput optimization.
33247 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33249 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
33251 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
33252 aligned copy for power7 with vector-scalar instructions.
33253 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
33255 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
33257 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
33260 2011-09-07 Andreas Schwab <schwab@redhat.com>
33263 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
33266 2011-09-07 Ulrich Drepper <drepper@gmail.com>
33268 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33269 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
33270 syscall wrapper around clock_gettime in __vdso_clock_gettime.
33271 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
33274 2011-09-06 Ulrich Drepper <drepper@gmail.com>
33276 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
33277 Forgot to demangle the pointer.
33279 * sysdeps/i386/sysdep.h: Define atom_text_section.
33280 * sysdeps/x86_64/sysdep.h: Likewise.
33281 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
33282 section with atom_text_section.
33283 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33284 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33285 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
33286 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
33287 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
33289 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
33290 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
33291 already be defined. Change to take two parameters and don't assign
33292 result to variable. Adjust all users.
33293 Define INTERNAL_GETTIME if not already defined.
33294 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
33296 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
33297 HAVE_CLOCK_GETTIME_VSYSCALL.
33298 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
33300 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
33301 gettimeofday vsyscall, just use time.
33303 2011-09-06 Andreas Schwab <schwab@redhat.com>
33305 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
33308 2011-09-06 Ulrich Drepper <drepper@gmail.com>
33310 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
33312 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
33314 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
33315 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
33316 syscall if possible.
33318 2011-09-05 Ulrich Drepper <drepper@gmail.com>
33320 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
33321 e_ident. Don't pass to find_mapsXX.
33322 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
33324 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33326 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33327 strchr-sse2-no-bsf strrchr-sse2-no-bsf
33328 * sysdeps/x86_64/multiarch/strchr.S: Update.
33329 Check bit_slow_BSF bit.
33330 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33331 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
33332 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
33334 2011-09-05 Ulrich Drepper <drepper@gmail.com>
33337 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
33339 (tryshell): Define.
33340 (__spawni): Change last parameter to be flag. Test
33341 SPAWN_XFLAGS_USE_PATH flag to use path or not.
33342 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
33343 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
33344 * posix/spawni.c: Likewise.
33345 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
33346 * posix/spawnp.c: Likewise. Change normal version to use
33347 SPAWN_XFLAGS_USE_PATH.
33348 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
33349 SPAWN_XFLAGS_TRY_SHELL.
33352 * posix/glob.h: Remove gcc 1.x support.
33355 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
33357 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33359 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33360 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
33362 * sysdeps/i386/i686/multiarch/strchr.S: New file.
33363 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
33364 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
33365 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
33366 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
33367 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
33369 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33371 * sysdeps/x86_64/wcscmp.S: New file.
33373 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
33374 wcscmp-c wcscmp-sse2
33375 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
33376 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
33377 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
33378 * wcsmbs/wcscmp.c: Allow renaming.
33380 2011-09-05 David S. Miller <davem@davemloft.net>
33382 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
33383 stack slot, rather than the struct return pointer slot.
33384 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
33385 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
33386 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
33387 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
33389 2011-09-05 Ulrich Drepper <drepper@gmail.com>
33391 * po/ja.po: Update from translation team.
33394 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
33395 kernel in 64-bit binaries.
33397 2011-09-01 David S. Miller <davem@davemloft.net>
33399 * elf/elf.h (HWCAP_SPARC_*): Move to..
33400 * sysdeps/sparc/sysdep.h: this new file and add new values.
33401 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
33402 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
33403 _DL_HWCAP_COUNT to 24.
33404 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
33406 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
33407 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
33408 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
33409 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
33410 instead of magic constants.
33411 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33413 2011-08-31 David S. Miller <davem@davemloft.net>
33415 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
33416 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
33417 Reimplement to do errno handling inline.
33418 (SYSCALL_ERROR_HANDLER): New macro.
33419 (__SYSCALL_STRING): Do not do errno handling in asm.
33420 (__CLONE_SYSCALL_STRING): Delete.
33421 (__INTERNAL_SYSCALL_STRING): Delete.
33422 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
33423 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
33424 (PSEUDO): Reimplement to do errno handling inline.
33425 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
33426 (SYSCALL_ERROR_HANDLER): New macro.
33427 (__SYSCALL_STRING): Do not do errno handling in asm.
33428 (__CLONE_SYSCALL_STRING): Delete.
33429 (__INTERNAL_SYSCALL_STRING): Delete.
33430 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
33431 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
33433 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
33434 (inline_syscall*): Add 'err' argument.
33435 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
33436 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
33437 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
33438 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
33440 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
33441 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33443 2011-08-30 Andreas Schwab <schwab@redhat.com>
33445 * elf/rtld.c (dl_main): Relocate objects in dependency order.
33447 2011-08-29 Jiri Olsa <jolsa@redhat.com>
33449 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
33452 2011-08-24 David S. Miller <davem@davemloft.net>
33454 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
33456 2011-08-24 Andreas Schwab <schwab@redhat.com>
33458 * elf/Makefile: Add rules to build and run unload8 test.
33459 * elf/unload8.c: New file.
33460 * elf/unload8mod1.c: New file.
33461 * elf/unload8mod1x.c: New file.
33462 * elf/unload8mod2.c: New file.
33463 * elf/unload8mod3.c: New file.
33465 * elf/dl-close.c (_dl_close_worker): Reset private search list if
33468 2011-08-23 David S. Miller <davem@davemloft.net>
33470 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
33471 subtract stack bias.
33472 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
33473 %sp not %fp in calculations.
33474 (_JMPBUF_UNWINDS_ADJ): Likewise.
33476 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
33477 (aio_suspend): Call it to force an exception region around the
33478 AIO_MISC_WAIT() invocation.
33480 2011-08-23 Andreas Schwab <schwab@redhat.com>
33482 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
33485 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
33487 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
33489 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
33490 and <dl-machine.h>.
33491 (Elf64_FuncDesc): Remove.
33493 2011-08-22 David S. Miller <davem@davemloft.net>
33495 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
33496 sigaltstack check, add missing cfi directives.
33497 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
33498 missing cfi directives, and sigaltstack handling.
33500 2011-08-16 Andreas Schwab <schwab@redhat.com>
33503 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
33504 object is seen twice.
33505 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33507 * elf/Makefile (distribute): Add tst-initorder2.c.
33508 (tests): Add tst-initorder2.
33509 (modules-names): Add tst-initorder2a tst-initorder2b
33510 tst-initorder2c tst-initorder2d. Add rules to build them.
33511 ($(objpfx)tst-initorder2.out): New rule.
33512 * elf/tst-initorder2.c: New file.
33513 * elf/tst-initorder2.exp: New file.
33515 2011-08-22 Andreas Schwab <schwab@redhat.com>
33517 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
33519 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
33520 dependencies back to end of function.
33522 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33523 $(elfobjdir)/ld.so.
33525 2011-08-21 Ulrich Drepper <drepper@gmail.com>
33527 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
33528 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
33529 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
33530 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
33531 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
33532 of __vdso_gettimeofday.
33533 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
33534 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
33536 (_libc_vdso_platform_setup): Remove initialization of
33537 __vdso_gettimeofday and __vdso_time.
33539 2011-08-20 Ulrich Drepper <drepper@gmail.com>
33541 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
33542 and fgetc_unlocked.
33543 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
33546 * elf/dl-open.c (add_to_global): Report additions to the global scope
33547 for LD_DEBUG=scopes.
33548 (dl_open_worker): Also print scope of newly loaded dependencies.
33549 (_dl_show_scope): Indicate if there is no scope.
33552 * stdio-common/Makefile (tests): Add bug24.
33553 * stdio-common/bug24.c: New file.
33555 2011-08-19 Andreas Jaeger <aj@suse.de>
33558 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
33559 non-existant file when using close-on-exec mode.
33561 2011-08-20 Ulrich Drepper <drepper@gmail.com>
33563 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
33564 the very first instruction.
33566 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
33567 the CFI state in the end.
33568 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
33569 inclusion of dl-trampoline.h.
33570 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
33572 2011-08-19 Andreas Schwab <schwab@redhat.com>
33574 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
33575 expectations for long double.
33577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
33578 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
33580 2011-08-14 David S. Miller <davem@davemloft.net>
33582 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
33583 artificual limit depends upon the system page size.
33585 2011-08-17 Ulrich Drepper <drepper@gmail.com>
33587 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
33588 * resolv/Makefile: Define CFLAGS-libresolv.
33590 2011-08-17 Andreas Schwab <schwab@redhat.com>
33592 * nss/makedb.c (compute_tables): Make variables used in nested
33595 2011-08-17 Ulrich Drepper <drepper@gmail.com>
33597 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
33598 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
33599 if buffer was too small.
33601 * elf/pldd.c (main): Attach to all threads in the process.
33602 Rewrite /proc handling to use *at functions.
33604 2011-08-16 Ulrich Drepper <drepper@gmail.com>
33606 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
33607 specifies first scope to show.
33608 (dl_open_worker): Update callers. Move printing scope of new
33609 object to before the relocation.
33610 * elf/rtld.c (dl_main): Update _dl_show_scope call.
33611 * sysdeps/generic/ldsodefs.h: Update declaration.
33613 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
33614 string for the scope number.
33616 2011-08-14 Ulrich Drepper <drepper@gmail.com>
33618 * nscd/servicescache.c (cache_addserv): Make sure written is always
33621 2011-08-14 Roland McGrath <roland@hack.frob.com>
33623 * sysdeps/i386/i486/bits/atomic.h
33624 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
33625 statement expression, so as to suppress "set but not used" warning.
33626 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
33628 * string/strncat.c (STRNCAT): Use prototype definition.
33630 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
33631 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
33633 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
33634 (localedef-modules): Add localedef.
33635 (locale-modules): Add locale.
33637 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
33638 * elf/rtld.c (dl_main): Invert order of assignment in last change,
33639 to avoid a warning.
33641 2011-08-14 David S. Miller <davem@davemloft.net>
33643 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
33644 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
33646 2011-08-13 Ulrich Drepper <drepper@gmail.com>
33648 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
33649 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
33650 * elf/rtld.c (dl_main): Set l_name of vDSO.
33651 Call _dl_show_scope when DL_DEBUG_SCOPES.
33652 (process_dl_debug): Recognize scopes flag and also set it for all.
33653 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
33654 Declare _dl_show_scope.
33656 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
33657 (do_dlopen): Pass caller_dlopen to dl_open.
33658 (__libc_dlopen_mode): Initialize caller_dlopen.
33660 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
33661 of libc. Make tolower call locale-independent. Optimize a bit by
33662 using isdigit instead of isalnum.
33663 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
33665 2011-08-12 Ulrich Drepper <drepper@gmail.com>
33667 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
33668 was a dependency or dynamically loaded.
33670 2011-08-11 Ulrich Drepper <drepper@gmail.com>
33672 * intl/l10nflist.c: Allow architecture-specific pop function.
33673 * sysdeps/x86_64/l10nflist.c: New file.
33675 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
33678 2011-08-10 Andreas Schwab <schwab@redhat.com>
33680 * include/dirent.h: Add libc_hidden_proto for scandirat and
33681 scandirat64. Don't declare __scandirat64.
33682 * dirent/scandirat.c: Add libc_hidden_def.
33683 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
33684 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
33686 2011-08-10 David S. Miller <davem@davemloft.net>
33688 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
33690 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33691 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33692 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33694 2011-08-09 Ulrich Drepper <drepper@gmail.com>
33696 * Versions.def [libc]: Add GLIBC_2.15.
33697 * dirent/Makefile (routines): Add scandirat and scandirat64.
33698 * dirent/Versions [libc]: Export scandirat and scandirat64 for
33700 * dirent/dirent.h: Declare scandirat and scandirat64.
33701 * dirent/scandirat.c: New file.
33702 * dirent/scandirat64.c: New file.
33703 * sysdeps/wordsize-64/scandirat.c: New file.
33704 * sysdeps/wordsize-64/scandirat64.c: New file.
33705 * dirent/opendir.c: Define opendirat.
33706 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
33708 * dirent/scandir64.c: Adjust for scandir.c change.
33709 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
33710 __scandirat64, and __scandir_cancel_handler.
33711 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
33712 additional parameter and use openat instead of open (outside of ld.so).
33713 Add new __opendir as wrapper around __opendirat.
33714 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
33715 here without requiring old scandirat implementation.
33717 2011-08-08 Ulrich Drepper <drepper@gmail.com>
33719 * dirent/scandir.c (cancel_handler): Renamed to
33720 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
33721 defined. Adjust users.
33722 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
33723 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
33725 2011-08-04 Ulrich Drepper <drepper@gmail.com>
33727 * string/test-string.h (IMPL): Use __STRING to expand name and then
33730 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
33733 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33735 * string/Makefile: Update.
33736 (strop-tests): Append strncat.
33737 * string/test-wcscmp.c: New file.
33738 New comprehensive test for wcscmp.
33739 * string/test-strcmp.c: Update.
33740 (WIDE): New define.
33742 2011-07-22 Andreas Schwab <schwab@redhat.com>
33744 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
33747 2011-07-26 Andreas Schwab <schwab@redhat.com>
33749 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33750 encoding to ACE if AI_IDN.
33752 2011-08-01 Jakub Jelinek <jakub@redhat.com>
33754 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
33755 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
33757 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33759 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
33760 Fix overflow bug in strncat.
33761 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
33763 * string/test-strncat.c: Update.
33764 Add new tests for checking overflow bugs.
33766 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33768 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33769 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
33770 * sysdeps/i386/i686/multiarch/strcat.S: New file.
33771 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
33772 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
33773 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
33774 * sysdeps/i386/i686/multiarch/strncat.S: New file.
33775 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
33776 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
33778 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
33779 (USE_AS_STRCAT): Define.
33780 Add strcat and strncat support.
33781 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33783 2011-07-25 Andreas Schwab <schwab@redhat.com>
33785 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
33786 __n bigger than INT_MAX+1.
33787 (__strncmp_g): Likewise.
33789 2011-07-23 Ulrich Drepper <drepper@gmail.com>
33791 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
33792 * libio/stido.h: Likewise.
33794 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
33796 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
33799 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
33800 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33801 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33802 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
33803 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33806 * scripts/test-installation.pl: Don't expect libnss_test1 to be
33809 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
33811 (_dl_x86_64_save_sse): Likewise.
33813 2011-07-22 Ulrich Drepper <drepper@gmail.com>
33815 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
33817 (_dl_x86_64_save_sse): Likewise.
33819 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
33821 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
33823 2011-07-21 Andreas Schwab <schwab@redhat.com>
33825 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
33827 (_dl_x86_64_save_sse): Use correct AVX check.
33829 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33831 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
33832 bug in strncpy/strncat.
33833 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
33835 2011-07-21 Ulrich Drepper <drepper@gmail.com>
33837 * string/tester.c (test_strcat): Add tests for different alignments
33838 of source and destination.
33839 (test_strncat): Likewise.
33841 2011-07-20 Ulrich Drepper <drepper@gmail.com>
33844 * posix/glob.c (glob): Check passed in values before using them in
33845 expressions to avoid some overflows.
33846 (glob_in_dir): Likewise.
33849 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
33850 check for AVX enablement so that we don't crash with old kernels and
33852 * elf/tst-audit4.c: Add same checks here.
33853 * elf/tst-audit6.c: Likewise.
33855 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
33857 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
33859 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
33861 2011-07-20 Ulrich Drepper <drepper@gmail.com>
33863 * po/cs.po: Update from translation team.
33864 * po/bg.po: Likewise.
33866 2011-07-12 Marek Polacek <mpolacek@redhat.com>
33868 * misc/sys/cdefs.h: Add support for const attribute.
33869 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
33870 to gnu_dev_{major,minor,makedev} functions.
33872 2011-07-20 Marek Polacek <mpolacek@redhat.com>
33874 * intl/dcigettext.c (get_output_charset): Add missing bracket.
33876 2011-07-20 Andreas Schwab <schwab@redhat.com>
33878 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
33881 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33883 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
33884 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
33885 register in order to avoid conflicts with the soft frame pointer
33886 being held in r11 when necessary.
33887 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
33888 (INTERNAL_VSYSCALL_NCS): Likewise.
33890 2011-07-14 Marek Polacek <mpolacek@redhat.com>
33892 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
33893 * elf/dl-fini.c (_dl_fini): Adjust caller.
33894 * elf/dl-close.c (_dl_close_worker): Likewise.
33895 * sysdeps/generic/ldsodefs.h: Adjust declaration.
33897 2011-07-15 Marek Polacek <mpolacek@redhat.com>
33899 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
33900 "aux_cache->nlibs < 0".
33902 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
33903 in the reload-count case.
33905 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33907 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33908 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
33909 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
33910 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
33911 * sysdeps/x86_64/multiarch/strcat.S: New file.
33912 * sysdeps/x86_64/multiarch/strncat.S: New file.
33913 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
33914 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
33915 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
33916 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
33917 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
33918 (USE_AS_STRCAT): Define.
33919 Add strcat and strncat support.
33920 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
33921 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
33922 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
33923 * string/strncat.c: Update.
33924 (USE_AS_STRNCAT): Define.
33925 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33926 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
33928 * sysdeps/x86_64/multiarch/init-arch.h
33929 (bit_Prefer_PMINUB_for_stringop): New.
33930 (index_Prefer_PMINUB_for_stringop): Likewise.
33931 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
33932 bit_Prefer_PMINUB_for_stringop.
33934 2011-07-19 Ulrich Drepper <drepper@gmail.com>
33936 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
33938 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
33939 of casting of buffer.
33940 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
33941 buffer32 and buffer64.
33942 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
33943 writes instead of casting of buffer.
33944 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
33946 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
33949 2011-07-19 Andreas Schwab <schwab@redhat.com>
33951 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
33953 2011-07-19 Ulrich Drepper <drepper@gmail.com>
33955 * nscd/nscd.c (termination_handler): Don't do anything for a database
33956 if it has not yet been initialized.
33958 2011-07-18 Ulrich Drepper <drepper@gmail.com>
33960 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
33962 2011-07-15 Marek Polacek <mpolacek@redhat.com>
33964 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
33966 2011-07-18 Ulrich Drepper <drepper@gmail.com>
33968 * po/nl.po: Update from translation team.
33969 * po/sv.po: Likewise.
33971 2011-07-16 Roland McGrath <roland@hack.frob.com>
33973 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
33974 now disallowed by GCC.
33976 * configure.in (use-default-link): Default to yes if a test -shared
33977 link meets our qualifications.
33978 * configure: Regenerated.
33980 * config.make.in (output-format): New variable.
33981 * configure.in: Check for ld --print-output-format support.
33982 * configure: Regenerated.
33983 * Makerules ($(common-objpfx)format.lds)
33984 [$(output-format) != unknown]: Just use $(output-format),
33985 instead of the linker-script munging.
33987 2011-07-14 Roland McGrath <roland@hack.frob.com>
33989 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
33990 of $(common-objpfx)shlib.lds.
33991 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
33993 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
33994 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
33996 * configure.in (-z relro check): Adjust test code to add a large
33997 writable data section after it.
33998 * configure: Regenerated.
34000 2011-07-11 Roland McGrath <roland@hack.frob.com>
34002 * configure.in (-z relro check): Fix test code to make the variable
34004 * configure: Regenerated.
34006 2011-07-11 Ulrich Drepper <drepper@gmail.com>
34008 * nscd/nscd.h (struct traced_file): Define.
34009 (struct database_dyn): Remove inotify_descr, reset_res, and filename
34010 elements. Add traced_files.
34011 (inotify_fd): Declare.
34012 (register_traced_file): Declare.
34013 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
34014 (inotify_fd): Export.
34015 (resolv_conf_descr): Remove.
34016 (nscd_init): Move inotify descriptor creation to main.
34017 Don't register files for notification here.
34018 (register_traced_file): New function.
34019 (invalidate_cache): Don't use reset_res to determine whether to call
34020 res_init, go through the list of registered files.
34021 (main_loop_poll): The inotify descriptors are now stored in the
34022 structures for the traced files.
34023 (main_loop_epoll): Likewise
34024 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
34025 to __nss_disable_nscd.
34026 * nscd/cache.c (prune_cache): There is no single inotify descriptor
34027 for a database anymore. Check the records for all the registered
34029 * nss/Makefile (libnss_files-routines): Add files-init.
34030 (libnss_db-routines): Add db-init.
34031 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
34032 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
34033 * nss/nss_db/db-init.c: New file.
34034 * nss/nss_files/files-init.c: New file.
34035 * nss/nsswitch.c (nss_load_library): New function. Broken out of
34036 __nss_lookup_function.
34037 (__nss_lookup_function): Call nss_load_library.
34038 (nss_load_all_libraries): New function.
34039 (__nss_disable_nscd): Take parameter with callback function for files
34040 to register. Set is_nscd. Load all the DSOs for the NSS modules
34041 used for the cached services.
34042 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
34043 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
34044 options for features to all the files in nscd.
34046 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
34048 2011-07-10 Roland McGrath <roland@hack.frob.com>
34050 * csu/elf-init.c (__libc_csu_init): Comment typo.
34052 2011-07-09 Ulrich Drepper <drepper@gmail.com>
34054 * po/pl.po: Update from translation team.
34055 * po/ja.po: Likewise.
34056 * po/ru.po: Likewise.
34057 * po/ko.po: Likewise.
34058 * po/fr.po: Likewise.
34060 2011-07-09 Roland McGrath <roland@hack.frob.com>
34062 * configure.in (.ctors/.dtors header and trailer check):
34063 Use an empirical test on a built program.
34064 * configure: Regenerated.
34066 * configure.in (-z relro check): Use an empirical test on a built DSO.
34067 Detect, but do not require, on ia64.
34068 * configure: Regenerated.
34070 * configure.in (READELF): Find it with AC_CHECK_TOOL.
34071 Update tests that use readelf to use $READELF instead.
34072 * configure: Regenerated.
34074 2011-07-08 Ulrich Drepper <drepper@gmail.com>
34076 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
34077 if the result is not used.
34079 2011-07-05 Andreas Jaeger <aj@suse.de>
34082 * stdlib/tst-strtod.c: Add testcase.
34084 2011-07-07 Ulrich Drepper <drepper@gmail.com>
34086 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
34087 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
34088 The latter has a higher limit. Take additional parameter to pass to
34090 (__pathconf): Pass file to __statfs_link_max.
34091 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
34093 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
34097 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
34098 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34100 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
34101 (__statfs_filesize_max): Likewise.
34102 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
34104 2011-07-05 Andreas Jaeger <aj@suse.de>
34106 * resolv/res_comp.c (dn_skipname): Remove unused variable.
34108 2011-07-06 Marek Polacek <mpolacek@redhat.com>
34110 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
34112 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
34115 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
34117 * Makefile (strop-tests): Add strncat.
34118 * string/test-strncat.c: New file.
34120 2011-06-30 Marek Polacek <mpolacek@redhat.com>
34122 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
34124 2011-06-21 Andreas Jaeger <aj@suse.de>
34126 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
34127 Copy rule from iconvdata/Makefile.
34129 2011-07-06 Ulrich Drepper <drepper@gmail.com>
34132 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
34133 but no long options are defined, just return 'W'.
34135 2011-06-22 Marek Polacek <mpolacek@redhat.com>
34138 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
34140 2011-07-06 Ulrich Drepper <drepper@gmail.com>
34142 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
34144 (innetgr): Likewise.
34146 2011-07-05 Roland McGrath <roland@hack.frob.com>
34148 * config.make.in (install_root): Default to $(DESTDIR).
34150 2011-07-05 Ulrich Drepper <drepper@gmail.com>
34152 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
34154 2011-07-02 Roland McGrath <roland@hack.frob.com>
34156 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
34158 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
34159 containing directory rather than embedding absolute directory names.
34161 * scripts/check-local-headers.sh: Rewritten using awk.
34162 Match by word, not by line. Print error messages for matches.
34163 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
34165 * Makerules [shlib-lds-flags empty]:
34166 ($(common-objpfx)libc_pic.opts): New target.
34167 ($(common-objpfx)libc_pic.os.clean): New target.
34168 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
34170 * config.make.in (OBJCOPY): New variable.
34171 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
34172 * configure: Regenerated.
34174 * config.make.in (use-default-link): New variable.
34175 * configure.in (use_default_link): Grok --with-default-link to set it.
34176 * configure: Regenerated.
34177 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
34178 (shlib-lds, shlib-lds-flags): Define to empty.
34180 * Makerules (shlib-lds): New variable.
34181 (shlib-lds-flags): New variable.
34182 (build-shlib, build-moduile, build-module-asneeded): Use it.
34183 ($(common-objpfx)libc.so): Use $(shlib-lds).
34184 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
34185 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
34187 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
34188 DT_FLAGS/DT_FLAGS_1 with zero flags.
34190 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
34191 linker script munging.
34193 2011-07-02 Ulrich Drepper <drepper@gmail.com>
34195 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
34197 * crypt/sha512.c (sha512_process_block): Perform total addition using
34198 128-bit if possible.
34199 (__sha512_finish_ctx): Likewise.
34200 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
34202 * crypt/sha256.c (SWAP64): Define.
34203 (sha256_process_block): Perform total addition using 64-bit if
34205 (__sha256_finish_ctx): Likewise.
34207 2011-07-01 Ulrich Drepper <drepper@gmail.com>
34209 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
34210 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34211 * nscd/hstcache.c (cache_addhst): Likewise.
34212 * nscd/grpcache.c (cache_addgr): Likewise.
34213 * nscd/aicache.c (addhstaiX): Likewise
34214 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
34216 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
34218 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
34219 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34220 * nscd/hstcache.c (cache_addhst): Likewise.
34221 * nscd/grpcache.c (cache_addgr): Likewise.
34222 * nscd/aicache.c (addhstaiX): Likewise
34224 2011-07-01 Andreas Schwab <schwab@redhat.com>
34226 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
34227 domain only when needed.
34229 2011-06-30 Andreas Schwab <schwab@redhat.com>
34231 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
34232 is always restored.
34234 2011-06-29 Ulrich Drepper <drepper@gmail.com>
34236 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
34237 are re-adding the entry.
34238 * nscd/servicescache.c (cache_addserv): Likewise.
34240 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
34242 * sysdeps/generic/dl-irel.h: fix protection against multiple
34244 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
34246 2011-06-28 Ulrich Drepper <drepper@gmail.com>
34249 * malloc/memusage.sh: Fix quoting in message.
34250 * debug/xtrace.sh: Likewise.
34252 * configure.in: Remove support for --experimental-malloc option, make
34254 * config.make.in: Likewise.
34255 * malloc/Makefile: Likewise.
34257 2011-06-27 Andreas Schwab <schwab@redhat.com>
34259 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
34260 two-byte characters.
34262 2011-06-27 Roland McGrath <roland@hack.frob.com>
34264 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
34265 AC_CACHE_CHECK invocation.
34266 * configure: Regenerated.
34268 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
34270 2011-06-27 Ulrich Drepper <drepper@gmail.com>
34273 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
34274 bit from old_res_options.
34276 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
34278 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
34279 value type for setfct.
34281 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
34283 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
34284 __gettimeofday instead of gettimeofday.
34286 2011-06-26 Ulrich Drepper <drepper@gmail.com>
34288 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
34290 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
34292 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
34294 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
34297 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
34299 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34300 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34301 strcpy-sse2-unaligned strncpy-sse2-unaligned
34302 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
34303 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
34304 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
34305 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
34306 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
34307 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
34308 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
34309 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
34310 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
34311 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
34312 (STRCPY): Support SSE2 and SSSE3 versions.
34314 2011-06-24 Ulrich Drepper <drepper@gmail.com>
34317 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
34318 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
34319 kernels which artificially limit size of requests.
34321 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
34323 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34324 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34325 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
34326 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
34327 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
34328 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
34329 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
34330 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
34331 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
34332 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
34333 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
34334 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
34335 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
34336 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
34337 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
34338 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34339 Enable unaligned load optimization for Intel Core i3, i5 and i7
34341 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
34343 (index_Fast_Unaligned_Load): Define.
34344 (HAS_FAST_UNALIGNED_LOAD): Define.
34346 2011-06-23 Marek Polacek <mpolacek@redhat.com>
34348 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
34350 2011-06-22 Ulrich Drepper <drepper@gmail.com>
34353 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
34354 until it is clear that the information is realy needed.
34355 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
34357 2011-06-22 Andreas Schwab <schwab@redhat.com>
34359 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
34361 2011-06-22 Ulrich Drepper <drepper@gmail.com>
34363 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
34364 /sys/devices/system/cpu/online if it is usable.
34366 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
34367 reading the information from the /proc filesystem to once a second.
34369 2011-06-21 Andreas Jaeger <aj@suse.de>
34371 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
34372 NULL after inclusion of kernel headers.
34374 2011-06-21 Ulrich Drepper <drepper@gmail.com>
34376 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
34377 calls to internal_setent.
34380 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
34381 addresses using gethostbyname4_r ignore IPv4 addresses.
34383 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
34384 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
34386 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
34388 2011-06-20 David S. Miller <davem@davemloft.net>
34390 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
34392 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
34394 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
34395 (elf_irel): Use it.
34396 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
34397 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
34398 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
34399 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
34400 * sysdeps/x86_64/dl-irel.h: Likewise.
34402 * elf/dl-runtime.c: Use elf_ifunc_invoke.
34403 * elf/dl-sym.c: Likewise.
34405 2011-06-15 Ulrich Drepper <drepper@gmail.com>
34407 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
34408 need to dereference resplen2.
34410 2011-06-14 Andreas Schwab <schwab@redhat.com>
34412 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
34414 2011-06-15 Ulrich Drepper <drepper@gmail.com>
34416 * Makeconfig: Define vardbdir and inst_vardbdir.
34417 * nss/Makefile: Add rules to install db-Makefile.
34419 * nss/nss_db/db-XXX.c: Cleanup.
34421 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
34422 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
34424 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
34425 * nss/makedb.c: Implement -g option to specify that value strings
34426 are generated and should not be added to table iterated over for
34428 * nss/nss_db/db-initgroups.c: New file.
34430 * nss/getent.c: Add support for initgroups lookups through getgrouplist
34433 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
34434 (internal_getgrouplist): Adjust to name change.
34435 Update use_initgroups_entry if this is not the first call.
34436 * nss/databases.def: Add initgroups entry.
34438 * nss/makedb.c (compute_tables): Check result of multiple hash table
34439 sizes to minimize maximum chain length.
34441 2011-06-14 Ulrich Drepper <drepper@gmail.com>
34443 * Versions.def: Add entry for libnss_db.
34444 * shlib-versions: Likewise.
34445 * nss/Makefile: Add rules to build libnss_db.
34446 * nss/Versions: Add libnss_db information. Organize libnss_files
34448 * nss/db-Makefile: Add gshadow support. Change rules for the new
34449 makedb progra. Some minor improvements to generate smaller files.
34450 * nss/nss_db/nss_db.h: Move NSS database header data structures to
34452 * nss/makedb.c: ...here.
34453 Improve database format to be smaller and require less memory at
34455 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
34457 * nss/nss_db/db-netgrp.c: Likewise.
34458 * nss/nss_db/db-open.c: Likewise.
34459 * nss/nss_files/flies-XXX.x: Adjust comments.
34460 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
34461 * nss/nss_files/files-grp.c: Likewise.
34462 * nss/nss_files/files-hosts.c: Likewise.
34463 * nss/nss_files/files-network.c: Likewise.
34464 * nss/nss_files/files-proto.c: Likewise.
34465 * nss/nss_files/files-pwd.c: Likewise.
34466 * nss/nss_files/files-rpc.c: Likewise.
34467 * nss/nss_files/files-service.c: Likewise.
34468 * nss/nss_files/files-sgrp.c: Likewise.
34469 * nss/nss_files/files-spwd.c: Likewise.
34470 * nss/nss_db/db-alias.c: Removed.
34471 * nss/nss_db/dummy-db.h: Removed.
34473 2011-06-02 Ulrich Drepper <drepper@gmail.com>
34475 * nss/makedb.c: Rewritten to not use database library.
34476 * nss/Makefile: Update to build new makedb program.
34478 2011-06-14 Andreas Jaeger <aj@suse.de>
34480 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
34481 memset declaration.
34483 2011-06-10 Andreas Schwab <schwab@redhat.com>
34485 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
34488 2011-06-10 Roland McGrath <roland@hack.frob.com>
34490 * Makerules (shlib.lds): Fail if the linker script comes out empty.
34491 * elf/Makefile ($(objpfx)ld.so): Likewise.
34493 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
34494 Don't list ld.so twice in dependencies.
34496 * posix/bug-regex31.c: Include <stdlib.h>.
34498 * nscd/hstcache.c (cache_addhst): Remove unused variable.
34500 * nis/nss_compat/compat-spwd.c
34501 (getspent_next_nss_netgr): Remove unused variable.
34502 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
34504 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
34505 nonmembers" output to use the right array.
34507 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
34509 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
34511 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
34512 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
34513 * catgets/gencat.c (read_input_file): Likewise.
34514 * locale/programs/locarchive.c (enlarge_archive): Likewise.
34516 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
34517 variable definition inside #if's controlling its use.
34519 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
34521 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
34523 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
34525 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
34528 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
34530 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
34531 * configure: Regenerated.
34533 * Makerules: Revert last change.
34534 * elf/Makefile: Likewise.
34536 2011-06-09 Roland McGrath <roland@hack.frob.com>
34538 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
34539 * elf/Makefile ($(objpfx)librtld.os): Likewise.
34540 (reloc-link): Likewise.
34542 2011-06-09 Ulrich Drepper <drepper@gmail.com>
34544 * elf/Makefile: Add rules to build pldd.
34545 * elf/pldd.c: New file.
34546 * elf/pldd-xx.c: New file.
34548 2011-06-07 Ulrich Drepper <drepper@gmail.com>
34550 * version.h: Update for 2.15 development version.
34552 2011-06-07 David S. Miller <davem@davemloft.net>
34554 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
34556 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
34557 elf_machine_lazy_rel): Likewise.
34558 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
34559 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
34560 elf_machine_lazy_rel): Likewise.
34561 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
34562 dl_hwcap via passed in argument.
34563 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
34566 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34568 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
34570 2011-06-06 Roland McGrath <roland@hack.frob.com>
34573 * manual/fdl-1.1.texi: New file, verbatim from:
34574 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
34575 * manual/lgpl-2.1.texi: New file, verbatim from:
34576 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
34577 * manual/Makefile (licenses): New variable, list those new file names.
34579 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
34581 * manual/fdl.texi: File removed.
34582 * manual/lesser.texi: File removed.
34583 * manual/libc.texinfo (Copying, Documentation License):
34584 Use new @include file names, put @appendix directive before @include.
34586 2011-06-04 Jakub Jelinek <jakub@redhat.com>
34589 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
34590 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
34591 (mq_open): Add __NTH.
34593 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
34595 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34596 Assume Intel Core i3/i5/i7 processor if AVX is available.
34598 2011-05-31 Ulrich Drepper <drepper@gmail.com>
34600 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
34603 2011-05-31 Andreas Schwab <schwab@redhat.com>
34605 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
34606 memory. Use alloca_account. Fix memory leak when retrying.
34608 2011-05-31 Ulrich Drepper <drepper@gmail.com>
34610 * version.h (RELEASE): Bump for 2.14 release.
34611 * include/features.h (__GLIBC_MINOR__): Bump to 14.
34613 * config.make.in (RANLIB): Remove entry.
34615 2011-05-30 Ulrich Drepper <drepper@gmail.com>
34617 * po/Makefile (po-sed-cmd): Add ksh to extensions.
34618 (libc.pot): Work around missing support for .ksh extension in xgettext.
34621 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
34622 if both request failed.
34623 (send_dg): In case of server errors clear resplen or *resplen2.
34626 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
34627 when there are multiple maps.
34628 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
34629 (_dl_fini): Remove test here.
34631 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
34633 2011-05-29 Ulrich Drepper <drepper@gmail.com>
34636 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
34637 bit from old_res_options.
34638 (gaih_inet): Likewise.
34641 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
34644 * resolv/res_init.c (res_setoptions): Make the code more compact.
34647 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
34651 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
34653 * malloc/malloc.h: Mark malloc hook variables as deprecated.
34656 * malloc/malloc.h: Declare malloc hook variables as volatile.
34658 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
34662 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
34663 raise in the comment.
34664 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34665 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34666 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
34668 2011-05-28 Ulrich Drepper <drepper@gmail.com>
34671 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
34672 grow the buffers more if it already has to be sufficient.
34673 (build_wcs_upper_buffer): Likewise.
34674 * posix/regexec.c (check_matching): Likewise.
34675 (clean_state_log_if_needed): Likewise.
34676 (extend_buffers): Don't enlarge buffers beyond size of the input
34678 Patches mostly by Emil Wojak <emil@wojak.eu>.
34679 * posix/bug-regex32.c: New file.
34680 * posix/Makefile (tests): Add bug-regex32.
34682 * locale/findlocale.c (_nl_find_locale): Return right away if
34683 _nl_explode_name failed.
34684 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
34686 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
34688 * debug/xtrace.sh: Unify messages.
34689 * malloc/memusage.sh: Likewise.
34692 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
34693 time symbol from vDSO. Substitute with vsyscall if not available.
34694 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
34697 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
34698 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
34699 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
34700 Add sendmmsg and internal_sendmmsg.
34701 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
34702 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
34703 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
34705 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
34706 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
34707 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
34709 2011-05-27 Ulrich Drepper <drepper@gmail.com>
34712 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
34713 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
34715 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
34719 * iconvdata/Makefile (tests): Add bug-iconv9.
34720 * iconvdata/bug-iconv9.c: New file.
34722 2011-05-27 Andreas Schwab <schwab@redhat.com>
34725 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
34727 2011-05-25 Jakub Jelinek <jakub@redhat.com>
34729 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
34730 (struct user_regs_struct): Change intcs field back to cs.
34732 2011-05-25 Ulrich Drepper <drepper@gmail.com>
34734 * po/ja.po: Update from translation team.
34736 2011-05-23 Ulrich Drepper <drepper@gmail.com>
34739 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
34740 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
34742 2011-05-20 Andreas Schwab <schwab@redhat.com>
34744 * stdlib/longlong.h: Update from GCC.
34746 2011-05-23 Andreas Schwab <schwab@redhat.com>
34748 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
34750 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
34751 Add parameter name.
34752 (__sysconf): Pass it down.
34754 2011-05-22 Ulrich Drepper <drepper@gmail.com>
34757 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
34759 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
34760 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
34761 add in in __libc_use_alloca calls. Adjust callers.
34762 (glob): Use malloc in some situations.
34764 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
34765 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
34768 2011-05-21 Ulrich Drepper <drepper@gmail.com>
34770 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
34771 and CLOCK_BOOTTIME_ALARM.
34774 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
34777 * string/_strerror.c (__strerror_r): Print negative errors as signed
34781 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
34782 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
34783 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
34785 * configure.in: Fix typo in redirection and correct removal of test
34786 files in two cases.
34789 * locale/setlocale.c (new_composite_name): Fix test to check for
34790 identical name of all categories.
34793 * libio/filedoalloc.c (local_isatty): New function.
34794 (_IO_file_doallocate): Use local_isatty.
34795 * stdio-common/perror.c (perror): In case a new stream is used
34796 forward the stream error.
34797 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
34800 2011-05-20 Ulrich Drepper <drepper@gmail.com>
34803 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
34805 * include/alloca.h (extend_alloca_account): Define.
34808 * posix/regex.h: Fix comments with documentation of user-accessible
34809 fields after compilation and describe correct free'ing of pattern
34810 after re_compile_pattern.
34811 Patch by Reuben Thomas <rrt@sc3d.org>.
34813 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
34815 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
34816 and -mno-altivec to prevent the compiler from using Altivec and/or
34817 VSX instructions when the corresponding registers are not available.
34819 2011-05-19 Andreas Schwab <schwab@redhat.com>
34821 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
34823 2011-05-19 Ulrich Drepper <drepper@gmail.com>
34825 * libio/freopen.c (freopen): Use __dup2, not dup2.
34826 * libio/freopen64.c (freopen64): Likewise.
34828 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
34831 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
34832 * math/Makefile (tests): Add test-powl.
34833 (CFLAGS-test-powl.c): Define.
34834 * math/test-powl.c: New file.
34836 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
34838 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
34840 2011-05-17 Ulrich Drepper <drepper@gmail.com>
34843 * iconvdata/gb18030.c: Update to GB18020-2005.
34845 2011-05-16 Ulrich Drepper <drepper@gmail.com>
34847 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
34848 RE_SYNTAX_POSIX_AWK): Update to match recent development.
34849 Patch by Aharon Robbins <arnold@skeeve.com>.
34852 * stdlib/putenv.c (putenv): Don't always create copy of the variable
34856 * misc/pselect.c (__pselect): Handle timeout value errors hidden
34857 through underflows.
34860 * misc/error.c (error_at_line): Ensure file_name and old_file_name
34861 point to strings before performing equality test for error_one_per_line
34865 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
34868 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
34869 (struct user_fpregs_struct): Avoid __uint*_t types.
34872 * malloc/mtrace.c (tr_where): Add additional parameter to point to
34873 symbol info. Use it instead of calling _dl_addr locally.
34874 (lock_and_info): New function.
34875 (tr_freehook): Call lock_and_info and pass symbol info as additional
34876 parameter to tr_where.
34877 (tr_mallochook): Likewise.
34878 (tr_reallochook): Likewise.
34879 (tr_memalignhook): Likewise.
34881 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
34882 used and couldn't be at all thread-safe.
34884 2011-05-15 Ulrich Drepper <drepper@gmail.com>
34886 * libio/freopen.c (freopen): Don't close old file descriptor
34887 before the new one is opened. Instead dup the new file descriptor
34888 to the old one after the new stream is created.
34889 * libio/freopen64.c (freopen64): Likewise.
34890 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
34891 * libio/fileops.c (_IO_new_file_close_it): Handle new
34892 _IO_FLAGS2_NOCLOSE flag.
34893 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
34894 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
34895 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
34896 _IO_FLAGS2_NOCLOSE flag.
34897 * include/unistd.h: Add hidden_proto for dup3.
34898 Define __have_dup3.
34899 * io/dup3.c: Define hidden symbol.
34900 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
34903 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
34904 when an incomplete long option is used.
34905 * posix/tst-getopt_long1.c: New file.
34906 * posix/Makefile (tests): Add tst-getopt_long1.
34909 * scripts/config.guess: Update from autoconf-2.68.
34910 * scripts/config.sub: Likewise.
34913 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
34915 (has_cpuclock): ...this. New function.
34916 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
34917 macro here based on has_cpuclock code.
34920 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34921 First byte (not low byte) is now always NUL.
34922 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
34924 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34925 Use non-cancelable interfaces.
34928 * locale/iso-639.def: Add entry for Sorani.
34931 * include/stdlib.h: Move include protection to the right place.
34932 Define abort_msg_s. Declare __abort_msg with it.
34933 * stdlib/abort.c (__abort_msg): Adjust type.
34934 * assert/assert.c (__assert_fail_base): New function. Majority
34935 of code from __assert_fail. Allocate memory for __abort_msg with
34937 (__assert_fail): Now call __assert_fail_base.
34938 * assert/assert-perr.c: Remove bulk of implementation. Use
34939 __assert_fail_base.
34940 * include/assert.hL Declare __assert_fail_base.
34941 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
34943 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
34945 2011-05-14 Ulrich Drepper <drepper@gmail.com>
34949 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
34950 until all modules are registered in the DTV.
34951 * elf/Makefile: Add rules to build and run tst-tls19.
34952 * elf/tst-tls19.c: New file.
34953 * elf/tst-tls19mod1.c: New file.
34954 * elf/tst-tls19mod2.c: New file.
34955 * elf/tst-tls19mod3.c: New file.
34956 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
34959 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
34963 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
34964 two-byte sequence errors.
34965 * iconvdata/Makefile (tests): Add bug-iconv8.
34966 * iconvdata/bug-iconv8.c: New file.
34969 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
34972 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
34975 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
34976 (dummy_getcfa): New function.
34977 (init): Get _Unwind_GetCFA address, use dummy if not found.
34978 (backtrace_helper): In recursion check, also check whether CFA changes.
34979 (__backtrace): Completely initialize arg.
34981 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
34982 storing incomplete byte sequence in state object. Avoid testing for
34983 guaranteed too small input if we know there is enough data available.
34985 2011-05-11 Andreas Schwab <schwab@redhat.com>
34987 * Makeconfig (+link-pie): Indent.
34988 * Rules (binaries-pie): Define if $(have-fpie) and
34990 (binaries-shared): Also filter out $(binaries-pie).
34991 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
34992 * nscd/Makefile (others-pie): Add nscd.
34993 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
34994 ($(objpfx)nscd): Remove command override.
34995 * login/Makefile (others-pie): Add pt_chown.
34996 ($(objpfx)pt_chown): Remove command override.
34997 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
34998 remove command overrides.
35000 2011-05-13 Ulrich Drepper <drepper@gmail.com>
35002 * libio/tst_putwc.c: Fix error messages.
35005 * libio/fileops.c (_IO_new_file_close_it): Always flush when
35006 currently writing and seek to current position when not.
35007 * libio/Makefile (tests): Add bug-fclose1.
35008 * libio/bug-fclose1.c: New file.
35010 2011-05-12 Ulrich Drepper <drepper@gmail.com>
35013 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
35014 don't set DF_1_NODELETE here.
35015 (do_lookup_x): When entering new entry test for copy relocation
35016 and if necessary set DF_1_NODELETE flag.
35017 * elf/tst-unique4.cc: New file.
35018 * elf/tst-unique4.h: New file.
35019 * elf/tst-unique4lib.cc: New file.
35020 * elf/Makefile: Add rules to build and run tst-unique4.
35021 Patch by Piotr Bury <pbury@goahead.com>.
35023 2011-05-11 Ulrich Drepper <drepper@gmail.com>
35026 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
35029 * misc/mntent_r.c (addmntent): Flush the stream after the output
35032 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
35033 (is_trusted_path_normalize): Skip initial colon. Append slash
35034 to empty buffer. Duplicate is_trusted_path code but allow
35035 constructed patch to be prefix.
35036 (is_dst): Allow $ORIGIN followed by /.
35037 (_dl_dst_substitute): Correct clearing of check_for_trusted.
35038 Correct testing of result of is_trusted_path_normalize
35039 (decompose_rpath): Fix warning.
35041 2011-05-10 Ulrich Drepper <drepper@gmail.com>
35044 * grp/initgroups.c (internal_getgrouplist): When we found the service
35045 list through the initgroups entry in nsswitch.conf do not always
35046 continue on a successful lookup. Don't always use the
35047 __nss_group_database value if it is set.
35048 * nss/nsswitch.conf (initgroups): Change action for successful db
35049 lookup to continue for compatibility.
35051 2011-05-09 Ulrich Drepper <drepper@gmail.com>
35054 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
35056 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
35058 * iconvdata/tst-tables.sh: Likewise.
35059 * iconvdata/cp770.c: New file.
35060 * iconvdata/cp771.c: New file.
35061 * iconvdata/cp772.c: New file.
35062 * iconvdata/cp773.c: New file.
35063 * iconvdata/cp774.c: New file.
35064 * iconvdata/testdata/CP770: New file.
35065 * iconvdata/testdata/CP770..UTF8: New file.
35066 * iconvdata/testdata/CP771: New file.
35067 * iconvdata/testdata/CP771..UTF8: New file.
35068 * iconvdata/testdata/CP772: New file.
35069 * iconvdata/testdata/CP772..UTF8: New file.
35070 * iconvdata/testdata/CP773: New file.
35071 * iconvdata/testdata/CP773..UTF8: New file.
35072 * iconvdata/testdata/CP774: New file.
35073 * iconvdata/testdata/CP774..UTF8: New file.
35075 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
35077 * iconvdata/gen-8bit-gap.sh: Likewise.
35078 * iconvdata/gen-8bit.sh: Likewise.
35080 * locale/iso-639.def: Add ary entry.
35083 * locale/C-translit.h.in: Add U20A1 transliteration.
35086 * locale/iso-639.def: Add wae entry.
35087 Patch by Kevin Bortis <bortis@translate-wae.ch>.
35090 * locale/programs/localedef.c (construct_output_path): Use ssize_t
35094 * locale/C-translit.h.in: Add entry for U20B9.
35095 Patch by pravin.d.s@gmail.com.
35097 2011-05-08 Ulrich Drepper <drepper@gmail.com>
35100 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
35101 ENAMETOOLONG use generic getcwd.
35102 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
35103 in rtld. Use *stat64.
35104 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
35105 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
35106 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
35107 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
35108 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
35109 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
35110 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
35111 __fstatat64 macros.
35112 * include/dirent.h: Add libc_hidden_proto for rewinddir.
35113 * dirent/rewinddir.c: Add libc_hidden_def.
35114 * sysdeps/mach/hurd/rewinddir.c: Likewise.
35115 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
35117 * include/dirent.h (__alloc_dir): Add flags parameter.
35118 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
35119 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
35121 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
35122 from fdopendir if O_CLOEXEC is already set.
35124 2011-03-15 Alan Modra <amodra@gmail.com>
35126 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
35127 l_tls_firstbyte_offset non-zero. Save padding offset in
35128 l_tls_firstbyte_offset for later use.
35129 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
35130 freeing static tls block.
35132 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
35134 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
35135 where #ifdef was intended. The intent is to prevent ARG_MAX from
35136 being defined by the kernel headers.
35138 2011-05-07 Ulrich Drepper <drepper@gmail.com>
35141 * resolv/resolv.h: Define RES_NOTLDQUERY.
35142 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
35143 no-tld-query and set RES_NOTLDQUERY.
35144 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
35145 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
35146 modern BIND to search name as TLD unless forbidden.
35148 2011-05-07 Petr Baudis <pasky@suse.cz>
35149 Ulrich Drepper <drepper@gmail.com>
35152 * elf/dl-load.c (fillin_rpath): Move trusted path check...
35153 (is_trusted_path): ...to here.
35154 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
35155 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
35156 using is_trusted_path_normalize() in setuid scripts.
35158 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
35160 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
35161 __BEGIN/__END_DECLS.
35163 2011-05-06 Ulrich Drepper <drepper@gmail.com>
35165 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
35166 NSS_STATUS_NOTFOUND if no record was found.
35168 2011-05-05 Andreas Schwab <schwab@redhat.com>
35170 * sunrpc/Makefile (headers): Add rpc/netdb.h.
35171 (headers-not-in-tirpc): Remove rpc/netdb.h
35172 * resolv/netdb.h: Revert last change.
35174 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35176 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
35177 circular dependency between libgcc.a and libc.a.
35179 2011-05-05 Andreas Schwab <schwab@redhat.com>
35181 * resolv/netdb.h: Don't include <rpc/netdb.h>.
35182 * nis/Makefile: Don't install rpcsvc/*.
35183 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
35184 instead of <rpc/types.h>.
35185 (MAXHOSTNAMELEN): Define.
35187 2011-05-03 Andreas Schwab <schwab@redhat.com>
35189 * elf/ldconfig.c (add_dir): Don't crash on empty path.
35191 2011-04-28 Maciej Babinski <mbabinski@google.com>
35194 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
35195 gethostbyname4_r when IPv6 results are possible.
35197 2011-05-02 Ulrich Drepper <drepper@gmail.com>
35200 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
35201 _PC_PIPE_BUF handling.
35203 2011-04-30 Bruno Haible <bruno@clisp.org>
35206 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
35207 * resolv/netdb.h (getnameinfo): Change type of flags parameter
35209 * inet/getnameinfo.c (getnameinfo): Likewise.
35211 2011-04-29 Ulrich Drepper <drepper@gmail.com>
35213 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
35214 to groups setting in database lookup.
35215 * nss/nsswitch.conf: Add initgroups entry.
35217 2011-04-22 Ulrich Drepper <drepper@gmail.com>
35220 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
35222 Patch by Eric Blake <eblake@redhat.com>.
35224 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
35226 * sunrpc/Makefile (need-export-routines): Add svc_run.
35227 (routines): Remove svc_run.
35228 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
35229 * sunrpc/clnt_perr.c (clnt_perrno): Export.
35230 * sunrpc/svc_run.c (svc_run): Likewise.
35231 * sunrpc/svc_udp.c (svcudp_create): Likewise.
35233 2011-04-21 Ulrich Drepper <drepper@gmail.com>
35235 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
35236 problem in reallocation in last patch.
35238 2011-04-20 Ulrich Drepper <drepper@gmail.com>
35240 * sunrpc/Makefile: Move inclusion of Rules.
35242 2011-04-19 Ulrich Drepper <drepper@gmail.com>
35244 * nss/nss_files/files-initgroups.c: New file.
35245 * nss/Makefile (libnss_files-routines): Add files-initgroups.
35246 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
35247 _nss_files_initgroups_dyn.
35249 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
35251 * elf/elf.h (R_ARM_IRELATIVE): Define.
35253 2011-04-19 Ulrich Drepper <drepper@gmail.com>
35255 * po/ru.po: Update from translation team.
35257 2011-04-17 Ulrich Drepper <drepper@gmail.com>
35259 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
35262 2011-02-06 Mike Frysinger <vapier@gentoo.org>
35265 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
35266 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
35267 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35268 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35269 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
35271 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
35273 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
35275 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
35276 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
35277 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35279 2011-04-17 Ulrich Drepper <drepper@gmail.com>
35282 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
35284 * stdlib/bug-getcontext.c: New file.
35285 * stdlib/Makefile: Add rules to build and run bug-getcontext.
35287 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35289 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
35290 instructions into .machine "z9-109".
35291 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
35292 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
35294 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35296 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
35297 between environment variables and auxiliary vector.
35299 2011-04-16 Ulrich Drepper <drepper@gmail.com>
35301 * Makefile: Add rules to build linkobj/libc.so.
35302 * include/libc-symbols.h: Define libc_hidden_nolink.
35303 * include/rpc/auth.h: Mark functions which are to be hidden.
35304 * include/rpc/auth_des.h: Likewise.
35305 * include/rpc/auth_unix.h: Likewise.
35306 * include/rpc/clnt.h: Likewise.
35307 * include/rpc/des_crypt.h: Likewise.
35308 * include/rpc/key_prot.h: Likewise.
35309 * include/rpc/pmap_clnt.h: Likewise.
35310 * include/rpc/pmap_prot.h: Likewise.
35311 * include/rpc/pmap_rmt.h: Likewise.
35312 * include/rpc/rpc_msg.h: Likewise.
35313 * include/rpc/svc.h: Likewise.
35314 * include/rpc/svc_auth.h: Likewise.
35315 * include/rpc/xdr.h: Likewise.
35316 * nis/Makefile: Link all DSOs against linkobj/libc.so.
35317 * nss/Makefile: Likewise.
35318 * sunrpc/Makefile: Don't install headers. Build library with normal
35319 entry points. Don't build rpcinfo. Link RPC tests appropriately.
35320 * sunrpc/auth_des.c: Hide exported symbols by default, export some
35321 for the compat linking library. Remove use of INTDEF/INTUSE.
35322 * sunrpc/auth_none.c: Likewise.
35323 * sunrpc/auth_unix.c: Likewise.
35324 * sunrpc/authdes_prot.c: Likewise.
35325 * sunrpc/authuxprot.c: Likewise.
35326 * sunrpc/clnt_gen.c: Likewise.
35327 * sunrpc/clnt_perr.c: Likewise.
35328 * sunrpc/clnt_raw.c: Likewise.
35329 * sunrpc/clnt_simp.c: Likewise.
35330 * sunrpc/clnt_tcp.c: Likewise.
35331 * sunrpc/clnt_udp.c: Likewise.
35332 * sunrpc/clnt_unix.c: Likewise.
35333 * sunrpc/des_crypt.c: Likewise.
35334 * sunrpc/des_soft.c: Likewise.
35335 * sunrpc/get_myaddr.c: Likewise.
35336 * sunrpc/key_call.c: Likewise.
35337 * sunrpc/key_prot.c: Likewise.
35338 * sunrpc/netname.c: Likewise.
35339 * sunrpc/pm_getmaps.c: Likewise.
35340 * sunrpc/pm_getport.c: Likewise.
35341 * sunrpc/pmap_clnt.c: Likewise.
35342 * sunrpc/pmap_prot.c: Likewise.
35343 * sunrpc/pmap_prot2.c: Likewise.
35344 * sunrpc/pmap_rmt.c: Likewise.
35345 * sunrpc/publickey.c: Likewise.
35346 * sunrpc/rpc_cmsg.c: Likewise.
35347 * sunrpc/rpc_common.c: Likewise.
35348 * sunrpc/rpc_dtable.c: Likewise.
35349 * sunrpc/rpc_prot.c: Likewise.
35350 * sunrpc/rpc_thread.c: Likewise.
35351 * sunrpc/rtime.c: Likewise.
35352 * sunrpc/svc.c: Likewise.
35353 * sunrpc/svc_auth.c: Likewise.
35354 * sunrpc/svc_authux.c: Likewise.
35355 * sunrpc/svc_raw.c: Likewise.
35356 * sunrpc/svc_run.c: Likewise.
35357 * sunrpc/svc_simple.c: Likewise.
35358 * sunrpc/svc_tcp.c: Likewise.
35359 * sunrpc/svc_udp.c: Likewise.
35360 * sunrpc/svc_unix.c: Likewise.
35361 * sunrpc/svcauth_des.c: Likewise.
35362 * sunrpc/xcrypt.c: Likewise.
35363 * sunrpc/xdr.c: Likewise.
35364 * sunrpc/xdr_array.c: Likewise.
35365 * sunrpc/xdr_float.c: Likewise.
35366 * sunrpc/xdr_intXX_t.c: Likewise.
35367 * sunrpc/xdr_mem.c: Likewise.
35368 * sunrpc/xdr_rec.c: Likewise.
35369 * sunrpc/xdr_ref.c: Likewise.
35370 * sunrpc/xdr_sizeof.c: Likewise.
35371 * sunrpc/xdr_stdio.c: Likewise.
35373 2011-04-10 Ulrich Drepper <drepper@gmail.com>
35376 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
35377 * sysdeps/ia64/dl-tls.h: Likewise.
35378 * sysdeps/powerpc/dl-tls.h: Likewise.
35379 * sysdeps/s390/dl-tls.h: Likewise.
35380 * sysdeps/sh/dl-tls.h: Likewise.
35381 * sysdeps/sparc/dl-tls.h: Likewise.
35382 * sysdeps/x86_64/dl-tls.h: Likewise.
35383 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
35385 2011-03-14 Andreas Schwab <schwab@redhat.com>
35387 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
35388 rpath element also skip the following colon.
35389 (expand_dynamic_string_token): Add is_path parameter and pass
35390 down to DL_DST_REQUIRED and _dl_dst_substitute.
35391 (decompose_rpath): Call expand_dynamic_string_token with
35392 non-zero is_path. Ignore empty rpaths.
35393 (_dl_map_object_from_fd): Call expand_dynamic_string_token
35396 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
35398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
35401 2011-04-09 Ulrich Drepper <drepper@gmail.com>
35404 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
35405 Patch by Filipe David Manana <fdmanana@apache.org>.
35407 2011-04-07 Andreas Schwab <schwab@redhat.com>
35409 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
35410 Maintain aligned stack.
35411 (CHECK_RSP): Remove unused macro.
35413 2011-04-03 Ulrich Drepper <drepper@gmail.com>
35415 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
35416 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
35418 2011-04-02 Ulrich Drepper <drepper@gmail.com>
35420 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
35422 * include/features.h: Mention __USE_XOPEN2K8 in comment.
35424 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
35427 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
35428 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
35429 * sysdeps/x86_64/memmove.c: New file.
35430 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
35431 (memcpy): Renamed to ...
35432 (__new_memcpy): This.
35433 (memcpy): Provide GLIBC_2_14 memcpy.
35434 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
35435 (memcpy): Provide GLIBC_2_2_5 memcpy.
35437 2011-04-01 Ulrich Drepper <drepper@gmail.com>
35440 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
35442 2011-03-30 Andreas Schwab <schwab@redhat.com>
35444 * misc/syncfs.c: New file.
35445 * misc/Makefile (routines): Add syncfs.
35446 * posix/unistd.h: Declare syncfs.
35447 * sysdeps/unix/syscalls.list: Add syncfs.
35449 2011-04-01 Andreas Schwab <schwab@redhat.com>
35451 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
35453 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
35454 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35455 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35456 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35457 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35458 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
35459 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35461 2011-04-01 Ulrich Drepper <drepper@gmail.com>
35463 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
35464 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35465 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
35466 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35467 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35468 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35469 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35471 * io/Makefile: Compile fallocate.c, fallocate64.c, and
35472 sync_file_range.c with -fexceptions.
35473 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
35474 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
35475 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
35476 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
35477 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
35478 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35479 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
35480 sync_file_range as cancellation point
35481 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
35482 now a wrapper around __call_sync_file_range with cancellation handling.
35483 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
35484 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
35485 function name to __call_sync_file_range.
35486 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
35487 Add call_sync_file_range.
35489 2011-04-01 Andreas Schwab <schwab@redhat.com>
35491 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35494 2011-04-01 Ulrich Drepper <drepper@gmail.com>
35496 * iconv/iconv.h: Fix typo in comment.
35497 * io/fcntl.h: Likewise.
35498 * libio/stdio.h: Likewise.
35499 * posix/spawn.h: Likewise.
35500 * posix/unistd.h: Likewise.
35501 * stdlib/stdlib.h: Likewise.
35502 * time/time.h: Likewise.
35503 * wcsmbs/wchar.h: Likewise.
35505 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
35506 open_by_handle): Add.
35507 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
35508 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
35509 Augment a few comments.
35510 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35511 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35512 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35513 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35514 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35515 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
35518 * io/fcntl.h (AT_EMPTY_PATH): Define.
35520 2011-03-30 Ulrich Drepper <drepper@gmail.com>
35522 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
35523 * sysdeps/unix/sysv/linux/bits/time.h: New file.
35524 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
35526 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
35527 * Versions.def: Add GLIBC_2.14.
35528 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
35531 2011-03-22 Ulrich Drepper <drepper@gmail.com>
35533 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
35535 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
35537 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
35540 * string/test-strncmp.c (do_page_test): New function.
35541 (check2): Likewise.
35542 (test_main): Call check2.
35543 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
35545 2011-03-20 Ulrich Drepper <drepper@gmail.com>
35548 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
35549 Handle cache information in CPU leaf 4.
35550 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
35552 2011-03-18 Ulrich Drepper <drepper@gmail.com>
35555 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
35556 character representation.
35557 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
35559 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
35561 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
35562 END(__isnan) to END(__isnanf) to match function entry point/label
35563 EALIGN(__isnanf,...).
35565 2011-03-10 Jakub Jelinek <jakub@redhat.com>
35567 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
35569 2011-03-10 Ulrich Drepper <drepper@gmail.com>
35572 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
35573 copy from the symbol referenced in the relocation to initialize the
35575 Patch by Piotr Bury <pbury@goahead.com>.
35576 * elf/Makefile: Add rules to build and tst-unique3.
35577 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
35578 * elf/tst-unique3.cc: New file.
35579 * elf/tst-unique3.h: New file.
35580 * elf/tst-unique3lib.cc: New file.
35581 * elf/tst-unique3lib2.cc: New file.
35583 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
35585 2011-03-10 Mike Frysinger <vapier@gentoo.org>
35587 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
35588 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
35591 2011-03-06 Ulrich Drepper <drepper@gmail.com>
35593 * elf/dl-load.c (_dl_map_object): If we are looking for the first
35594 to-be-loaded object along a path to loader is ld.so.
35596 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
35597 Ulrich Drepper <drepper@gmail.com>
35599 * sysdeps/x86_64/memset.S: After aligning destination, code
35600 branches to different locations depending on the value of
35601 misalignment, when multiarch is enabled. Fix this.
35603 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
35605 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
35606 Set _x86_64_preferred_memory_instruction for AMD processsors.
35607 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35608 Set bit_Prefer_SSE_for_memop for AMD processors.
35610 2011-03-04 Ulrich Drepper <drepper@gmail.com>
35612 * libio/fmemopen.c (fmemopen): Optimize a bit.
35614 2011-03-03 Andreas Schwab <schwab@redhat.com>
35616 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
35618 2011-03-03 Roland McGrath <roland@redhat.com>
35620 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
35622 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
35624 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
35625 __bzero_ultra1 instead of __memset_ultra1.
35627 2011-02-23 Andreas Schwab <schwab@redhat.com>
35628 Ulrich Drepper <drepper@gmail.com>
35631 * include/link.h (struct link_map): Add l_orig_initfini.
35632 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
35633 returning unsuccessfully.
35634 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
35635 close of a file loaded at startup, restore the original l_initfini
35637 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
35638 list, store the pointer.
35639 * elf/Makefile ($(objpfx)noload-mem): New rule.
35640 (noload-ENV): Define.
35641 (tests): Add $(objpfx)noload-mem.
35642 * elf/noload.c: Include <memcheck.h>.
35643 (main): Call mtrace. Close all opened handles.
35645 2011-02-17 Andreas Schwab <schwab@redhat.com>
35648 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
35649 dependencies are missing.
35651 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
35653 Fix __if_freereq crash: Unlike the generic version which uses free,
35655 * sysdeps/mach/hurd/ifreq.h: New file.
35657 2011-01-27 Petr Baudis <pasky@suse.cz>
35658 Ulrich Drepper <drepper@gmail.com>
35661 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
35662 to extend_alloca().
35663 * stdio-common/bug23.c: New file.
35664 * stdio-common/Makefile (tests): Add bug23.
35666 2010-09-28 Andreas Schwab <schwab@redhat.com>
35667 Ulrich Drepper <drepper@gmail.com>
35670 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
35671 before performing relro protection. At old place add assertion
35672 to make sure nothing changed.
35674 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
35675 Glauber de Oliveira Costa <glommer@gmail.com>
35677 * elf/elf.h: Add new ARM TLS relocs.
35679 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
35681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
35682 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
35684 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
35686 * sysdeps/wordsize-64/tst-writev.c: New file.
35688 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
35690 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
35691 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
35692 insns in _dl_start to prevent a TOC reference before relocs are
35695 2011-02-15 Ulrich Drepper <drepper@gmail.com>
35698 * Makeconfig: Remove RANLIB definition.
35699 * Makerules: Don't use RANLIB.
35700 * aclocal.m4: Remove ranlib test.
35701 * configure.in: No need to check for ranlib.
35702 * elf/rtld-Rules: Don't use RANLIB.
35704 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
35706 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
35708 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
35709 inclusion protection macro.
35711 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
35712 SIGRTMIN and SIGRTMAX and print information in that case only when
35713 SIGRTMIN is defined.
35715 2011-02-11 Jakub Jelinek <jakub@redhat.com>
35717 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
35718 arginfo fn returning -1.
35720 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
35721 and thousands string is zero terminated.
35723 2011-02-03 Andreas Schwab <schwab@redhat.com>
35725 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
35726 sysdeps/unix/sysv/linux/bits/socket.h.
35728 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
35730 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
35731 (__CPU_COUNT): Remove old macros.
35732 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
35733 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
35734 (__CPU_ALLOC, __CPU_FREE): Add macros.
35735 (__sched_cpualloc, __sched_cpufree): Add declarations.
35737 2011-02-05 Ulrich Drepper <drepper@gmail.com>
35739 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
35740 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
35741 * nscd/aicache.c (addhstaiX): Return timeout of added value.
35742 (readdhstai): Return value of addhstaiX call.
35743 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
35744 (addgrbyX): Return value returned by cache_addgr.
35745 (readdgrbyname): Return value returned by addgrbyX.
35746 (readdgrbygid): Likewise.
35747 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
35748 (addpwbyX): Return value returned by cache_addpw.
35749 (readdpwbyname): Return value returned by addhstbyX.
35750 (readdpwbyuid): Likewise.
35751 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
35752 (addservbyX): Return value returned by cache_addserv.
35753 (readdservbyname): Return value returned by addservbyX:
35754 (readdservbyport): Likewise.
35755 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
35756 (addhstbyX): Return value returned by cache_addhst.
35757 (readdhstbyname): Return value returned by addhstbyX.
35758 (readdhstbyaddr): Likewise.
35759 (readdhstbynamev6): Likewise.
35760 (readdhstbyaddrv6): Likewise.
35761 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
35762 (readdinitgroups): Return value returned by addinitgroupsX.
35763 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
35764 (prune_cache): Keep track of timeout value of re-added entries.
35765 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
35766 * nscd/nscd.h: Adjust prototypes of readd* functions.
35768 2011-02-04 Roland McGrath <roland@redhat.com>
35770 * nis/nis_server.c (nis_servstate): Use the right name for 0.
35771 (nis_stats): Likewise.
35772 * nis/nis_modify.c (nis_modify): Likewise.
35773 * nis/nis_remove.c (nis_remove): Likewise.
35774 * nis/nis_add.c (nis_add): Likewise.
35776 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
35778 * posix/fnmatch_loop.c: Add some consts.
35780 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
35782 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
35785 * config.make.in (config-cflags-novzeroupper): Define.
35786 * configure.in: Substitute libc_cv_cc_novzeroupper.
35787 * elf/Makefile (AVX-CFLAGS): Define.
35788 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
35789 (CFLAGS-tst-auditmod4a.c): Likewise.
35790 (CFLAGS-tst-auditmod4b.c): Likewise.
35791 (CFLAGS-tst-auditmod6b.c): Likewise.
35792 (CFLAGS-tst-auditmod6c.c): Likewise.
35793 (CFLAGS-tst-auditmod7b.c): Likewise.
35794 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
35796 2011-02-02 Ulrich Drepper <drepper@gmail.com>
35798 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
35799 function to the callback.
35800 Patch partly by Jiri Olsa <jolsa@redhat.com>.
35802 2011-02-02 Andreas Schwab <schwab@redhat.com>
35804 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
35807 2011-01-19 Ulrich Drepper <drepper@gmail.com>
35810 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
35812 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
35814 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
35817 * elf/Makefile: Add rules to build and run new test.
35818 * elf/tst-initorder.c: New file.
35819 * elf/tst-initorder.exp: New file.
35820 * elf/tst-initordera1.c: New file.
35821 * elf/tst-initordera2.c: New file.
35822 * elf/tst-initordera3.c: New file.
35823 * elf/tst-initordera4.c: New file.
35824 * elf/tst-initorderb1.c: New file.
35825 * elf/tst-initorderb2.c: New file.
35826 * elf/tst-order-a1.c: New file.
35827 * elf/tst-order-a2.c: New file.
35828 * elf/tst-order-a3.c: New file.
35829 * elf/tst-order-a4.c: New file.
35830 * elf/tst-order-b1.c: New file.
35831 * elf/tst-order-b2.c: New file.
35832 * elf/tst-order-main.c: New file.
35833 New test case by George Gensure <werkt0@gmail.com>.
35835 2010-10-01 Andreas Schwab <schwab@redhat.com>
35837 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35838 decoding ACE if AI_CANONIDN.
35840 2011-01-18 Ulrich Drepper <drepper@gmail.com>
35842 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
35844 2011-01-17 Ulrich Drepper <drepper@gmail.com>
35846 * version.h (RELEASE): Bump for 2.13 release.
35847 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
35849 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
35851 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
35853 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
35854 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
35855 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35856 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35857 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35858 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
35860 * posix/getconf.c: Update copyright year.
35861 * catgets/gencat.c: Likewise.
35862 * csu/version.c: Likewise.
35863 * debug/catchsegv.sh: Likewise.
35864 * debug/xtrace.sh: Likewise.
35865 * elf/ldconfig.c: Likewise.
35866 * elf/ldd.bash.in: Likewise.
35867 * elf/sprof.c (print_version): Likewise.
35868 * iconv/iconv_prog.c: Likewise.
35869 * iconv/iconvconfig.c: Likewise.
35870 * locale/programs/locale.c: Likewise.
35871 * locale/programs/localedef.c: Likewise.
35872 * malloc/memusage.sh: Likewise.
35873 * malloc/mtrace.pl: Likewise.
35874 * nscd/nscd.c (print_version): Likewise.
35875 * nss/getent.c: Likewise.
35877 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
35878 PF_CAIF, and PF_ALG.
35879 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35881 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
35883 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
35884 (modules-names): Use them.
35885 (ifunc-test-modules, ifunc-pie-tests): Define.
35886 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
35887 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
35888 (test-extras): Likewise.
35889 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
35890 $(compile-command.c).
35891 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
35892 (all-built-dso): Define.
35893 (check-textrel.out, check-execstack.out): Depend on it.
35895 * configure.in: Don't override --enable-multi-arch.
35897 2011-01-15 Ulrich Drepper <drepper@gmail.com>
35900 * nscd/hstcache.c (tryagain): Define.
35901 (cache_addhst): Return tryagain not notfound for temporary errors.
35902 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
35905 2011-01-14 Ulrich Drepper <drepper@gmail.com>
35908 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
35909 to make the syscall.
35910 * sysdeps/unix/sysv/linux/setgroups.c: New file.
35913 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
35914 and fall back to matching as normal character if the string ends before
35915 the matching ']' is found. This is what POSIX requires.
35916 * posix/testfnm.c: Adjust test result.
35917 * posix/globtest.sh: Adjust test result. Add new test.
35918 * posix/tst-fnmatch.input: Likewise.
35919 * posix/tst-fnmatch2.c: Add new test.
35921 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
35923 * elf/Makefile (check-execstack): Revert last change. Depend on
35925 (check-execstack.h): New target.
35926 (generated): Add check-execstack.h.
35927 * elf/check-execstack.c: Include "check-execstack.h".
35928 (main): Revert last change.
35929 (handle_file): Return zero if GNU_STACK is absent and
35930 DEFAULT_STACK_PERMS doesn't include PF_X.
35932 2011-01-13 Ulrich Drepper <drepper@gmail.com>
35934 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
35935 in child fails because the descriptor is already closed.
35936 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
35937 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
35938 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
35941 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
35945 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
35946 temporary buffer used to handle multi lookups locally.
35947 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
35949 2011-01-12 Ulrich Drepper <drepper@gmail.com>
35951 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
35954 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
35956 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
35957 alignment for SSE2.
35959 2011-01-12 Ulrich Drepper <drepper@gmail.com>
35962 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
35963 characters. When rounding increased number of integer digits recompute
35965 * stdio-common/tst-grouping.c: New file.
35966 * stdio-common/Makefile: Add rules to build and run tst-grouping.
35968 2011-01-09 Ulrich Drepper <drepper@gmail.com>
35970 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
35971 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
35973 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
35975 * bits/select.h: Likewise.
35977 2011-01-08 Ulrich Drepper <drepper@gmail.com>
35979 * po/ja.po: Update from translation team.
35981 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
35984 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
35985 implementation just like for lxstat, fxstatat, et al.
35987 2010-12-27 Jim Meyering <meyering@redhat.com>
35990 * posix/regexec.c (build_trtable): Return failure indication upon
35991 calloc failure. Otherwise, re_search_internal could infloop on OOM.
35993 2010-12-25 Ulrich Drepper <drepper@gmail.com>
35996 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
35997 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
35998 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
35999 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
36002 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
36005 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
36006 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
36008 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
36010 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
36011 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
36012 script has SORT_BY_INIT_PRIORITY.
36013 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
36014 NO_CTORS_DTORS_SECTIONS is defined.
36015 * elf/soinit.c: Likewise.
36016 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
36017 NO_CTORS_DTORS_SECTIONS is defined.
36018 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
36019 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
36020 * sysdeps/sh/init-first.c: Likewise.
36021 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
36023 2010-12-24 Ulrich Drepper <drepper@gmail.com>
36025 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
36026 always use the slow path.
36028 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
36030 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
36031 similar rule which adds the sysdep directories to the header search in
36032 order to pick up the correct platform stackinfo.h.
36033 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
36034 perform test if it is, otherwise return successfully without testing.
36035 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
36036 DEFAULT_STACK_PERMS define in stackinfo.h.
36037 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
36038 defined in stackinfo.h.
36039 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
36040 DEFAULT_STACK_PERMS defined in stackinfo.h.
36041 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
36042 * sysdeps/ia64/stackinfo.h: Likewise.
36043 * sysdeps/s390/stackinfo.h: Likewise.
36044 * sysdeps/sh/stackinfo.h: Likewise.
36045 * sysdeps/sparc/stackinfo.h: Likewise.
36046 * sysdeps/x86_64/stackinfo.h: Likewise.
36047 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
36048 PF_X for powerpc64. Retain PF_X for powerpc32.
36050 2010-12-19 Ulrich Drepper <drepper@gmail.com>
36052 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
36054 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
36055 GETDENTS_64BIT_ALIGNED.
36057 2010-12-14 Ulrich Drepper <dreper@gmail.com>
36059 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
36061 2010-12-10 Andreas Schwab <schwab@redhat.com>
36063 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
36066 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
36067 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
36069 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
36070 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
36072 2010-12-09 Ulrich Drepper <drepper@gmail.com>
36075 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
36078 2010-12-09 Jakub Jelinek <jakub@redhat.com>
36080 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
36082 2010-12-03 Ulrich Drepper <drepper@gmail.com>
36084 * po/it.po: Update from translation team.
36086 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
36088 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
36091 2010-11-30 Ulrich Drepper <drepper@gmail.com>
36093 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
36095 2010-11-24 Andreas Schwab <schwab@redhat.com>
36097 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
36099 (gaih_getanswer_slice): Likewise.
36101 2010-10-20 Jakub Jelinek <jakub@redhat.com>
36103 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
36105 2010-05-31 Petr Baudis <pasky@suse.cz>
36108 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
36109 silently even in the chroot mode.
36111 2010-11-22 Ulrich Drepper <drepper@gmail.com>
36113 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
36114 last patch a bit. Pretty printing
36116 2010-05-31 Petr Baudis <pasky@suse.cz>
36119 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
36120 initialization of skip_initgroups_dyn.
36122 2010-11-19 Ulrich Drepper <drepper@gmail.com>
36124 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
36125 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36127 2010-11-16 Ulrich Drepper <drepper@gmail.com>
36129 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
36131 2010-11-11 Andreas Schwab <schwab@redhat.com>
36133 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
36134 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
36135 (tst-fnmatch-ENV): Set MALLOC_TRACE.
36136 ($(objpfx)tst-fnmatch-mem): New rule.
36137 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
36138 * posix/tst-fnmatch.c (main): Call mtrace.
36140 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
36142 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36143 Support Intel processor model 6 and model 0x2c.
36145 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
36147 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
36150 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
36153 * string/test-strncasecmp.c (check_result): New function.
36154 (do_one_test): Use it.
36155 (check1): New function.
36156 (test_main): Use it.
36157 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
36158 Support strcasecmp and strncasecmp.
36160 2010-11-08 Ulrich Drepper <drepper@gmail.com>
36163 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
36164 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36166 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
36168 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
36170 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36172 * sysdeps/x86_64/multiarch/bzero.S: New file.
36173 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
36174 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
36175 * sysdeps/x86_64/multiarch/memset.S: New file.
36176 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
36177 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36178 Set bit_Prefer_SSE_for_memop for Intel processors.
36179 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
36181 (index_Prefer_SSE_for_memop): Define.
36182 (HAS_PREFER_SSE_FOR_MEMOP): Define.
36184 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
36186 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
36187 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
36189 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
36192 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36193 (__x86_64_raw_data_cache_size_half): Likewise.
36194 (__x86_64_raw_shared_cache_size): Likewise.
36195 (__x86_64_raw_shared_cache_size_half): Likewise.
36197 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36198 (__x86_64_raw_data_cache_size_half): Likewise.
36199 (__x86_64_raw_shared_cache_size): Likewise.
36200 (__x86_64_raw_shared_cache_size_half): Likewise.
36201 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
36202 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
36203 and __x86_64_raw_shared_cache_size_half. Round
36204 __x86_64_data_cache_size_half, __x86_64_data_cache_size
36205 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
36206 to multiple of 256 bytes.
36208 2010-11-03 Ulrich Drepper <drepper@gmail.com>
36211 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
36212 of inacessible symlinks. Verify result of symlink before returning it.
36213 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
36214 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
36216 2010-10-28 Erich Ritz <erichritz@gmail.com>
36218 * math/math.h (isinf): Fix typo in comment.
36220 2010-11-01 Ulrich Drepper <drepper@gmail.com>
36222 * po/da.po: Update from translation team.
36224 2010-10-26 Ulrich Drepper <drepper@gmail.com>
36226 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
36227 is added to the list.
36229 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36230 Ulrich Drepper <drepper@gmail.com>
36232 * elf/dl-object.c (_dl_new_object): Don't append the new object to
36233 the global list here. Move code to...
36234 (_dl_add_to_namespace_list): ...here. New function.
36235 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
36236 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
36237 * elf/dl-load.c (lose): Don't remove the element from the list.
36238 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
36239 (_dl_map_object): Likewise.
36241 2010-10-25 Ulrich Drepper <drepper@gmail.com>
36244 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
36245 into all bytes of SSE register.
36246 Patch by Richard Li <richardpku@gmail.com>.
36248 2010-10-24 Ulrich Drepper <drepper@gmail.com>
36251 * malloc/malloc.c (_int_free): Fill correct number of bytes when
36254 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
36256 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
36257 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
36258 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
36259 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
36260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
36262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
36264 2010-10-22 Andreas Schwab <schwab@redhat.com>
36266 * include/dlfcn.h (__RTLD_SECURE): Define.
36267 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
36268 mode & __RTLD_SECURE instead.
36269 (open_path): Rename preloaded parameter to secure.
36270 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
36271 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
36272 * elf/dl-deps.c (openaux): Likewise.
36273 * elf/rtld.c (struct map_args): Remove is_preloaded.
36274 (map_doit): Don't use it.
36275 (dl_main): Likewise.
36276 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
36277 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
36279 2010-09-09 Andreas Schwab <schwab@redhat.com>
36281 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
36282 (sysd-rules-targets): Remove duplicates.
36283 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
36284 rtld-%.$o dependency.
36286 2010-10-18 Andreas Schwab <schwab@redhat.com>
36288 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
36289 _dl_map_object do it.
36291 2010-10-19 Ulrich Drepper <drepper@gmail.com>
36293 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
36294 fast fma builtins, define the macros in the C99 standard.
36295 (FP_FAST_FMAF): Likewise.
36296 (FP_FAST_FMAL): Likewise.
36297 * sysdeps/x86_64/bits/mathdef.h: Likewise.
36299 * bits/mathdef.h: Update copyright year.
36300 * sysdeps/powerpc/bits/mathdef.h: Likewise.
36302 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
36304 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
36305 builtins, define the macros in the C99 standard.
36306 (FP_FAST_FMAF): Likewise.
36307 (FP_FAST_FMAL): Likewise.
36308 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
36310 (FP_FAST_FMAF): Likewise.
36312 2010-10-15 Jakub Jelinek <jakub@redhat.com>
36315 * math/libm-test.inc (fma_test): Some new testcases.
36316 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
36317 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
36318 y and infinite z. Do multiplication by C already in long double.
36319 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
36320 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
36321 y and infinite z. Do bitwise or of inexact bit into u.d.
36322 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
36323 * sysdeps/i386/fpu/s_fmaf.S: Removed.
36324 * sysdeps/i386/fpu/s_fma.S: Removed.
36325 * sysdeps/i386/fpu/s_fmal.S: Removed.
36327 2010-10-16 Jakub Jelinek <jakub@redhat.com>
36330 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
36331 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
36332 computation is not scheduled after fetestexcept. Fix value
36333 of minimum denormal long double.
36335 2010-10-14 Jakub Jelinek <jakub@redhat.com>
36338 * math/libm-test.inc (fma_test): Add some more tests.
36339 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
36342 2010-10-15 Andreas Schwab <schwab@redhat.com>
36344 * scripts/data/localplt-s390-linux-gnu.data: New file.
36345 * scripts/data/localplt-s390x-linux-gnu.data: New file.
36347 2010-10-13 Jakub Jelinek <jakub@redhat.com>
36350 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
36351 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
36353 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
36355 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
36356 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
36357 if one of x and y is very large and the other is subnormal.
36358 * sysdeps/s390/fpu/s_fmaf.c: New file.
36359 * sysdeps/s390/fpu/s_fma.c: New file.
36360 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
36361 * sysdeps/powerpc/fpu/s_fma.S: New file.
36362 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
36363 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
36364 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
36366 2010-10-12 Jakub Jelinek <jakub@redhat.com>
36369 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
36371 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
36372 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
36373 * sysdeps/i386/i686/multiarch/s_fma.c: Include
36374 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
36375 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
36376 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
36377 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
36379 2010-10-12 Ulrich Drepper <drepper@redhat.com>
36382 * posix/regcomp.c (parse_branch): One more memory leak plugged.
36383 * posix/bug-regex31.input: Add test case.
36385 2010-10-11 Ulrich Drepper <drepper@gmail.com>
36387 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
36388 * posix/bug-regex31.input: New file.
36391 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
36392 (parse_sub_exp): Fix last change, use postorder.
36394 * posix/bug-regex31.c: New file.
36395 * posix/Makefile: Add rules to build and run bug-regex31.
36397 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
36400 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
36403 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
36404 to have entries in sys_siglist.
36407 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
36410 2010-10-07 Jakub Jelinek <jakub@redhat.com>
36413 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
36414 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
36415 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
36416 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
36417 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
36418 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
36419 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
36420 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
36421 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
36422 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
36423 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
36424 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
36425 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
36426 * math/ftestexcept.c (fetestexcept): Likewise.
36427 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
36428 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
36429 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
36430 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
36431 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
36432 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
36433 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36435 2010-10-11 Ulrich Drepper <drepper@gmail.com>
36438 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
36441 2010-10-06 Ulrich Drepper <drepper@gmail.com>
36443 * string/bug-strstr1.c: New file.
36444 * string/Makefile: Add rules to build and run bug-strstr1.
36446 2010-10-05 Eric Blake <eblake@redhat.com>
36449 * string/str-two-way.h (two_way_long_needle): Always clear memory
36450 when skipping input due to the shift table.
36452 2010-10-03 Ulrich Drepper <drepper@gmail.com>
36455 * malloc/mcheck.c: Handle large requests.
36458 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
36459 for strncmp and strncasecmp.
36460 * string/stratcliff.c: Add tests for strcmp and strncmp.
36461 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
36463 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36465 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
36468 2010-09-30 Andreas Jaeger <aj@suse.de>
36470 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
36471 (CGROUP_SUPER_MAGIC): Define.
36472 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36473 Handle btrfs and cgroup file systems.
36474 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
36477 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
36479 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
36480 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
36482 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36485 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
36486 trying to locate the ELF header.
36488 2010-09-27 Andreas Schwab <schwab@redhat.com>
36491 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
36492 Mask out sign-bit copies when constructing f_fsid.
36494 2010-09-24 Petr Baudis <pasky@suse.cz>
36496 * debug/stack_chk_fail_local.c: Add missing licence exception.
36497 * debug/warning-nop.c: Likewise.
36499 2010-09-15 Joseph Myers <joseph@codesourcery.com>
36501 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
36502 implementing getdents64 using getdents syscall, set d_type if
36503 __ASSUME_GETDENTS32_D_TYPE.
36505 2010-09-16 Andreas Schwab <schwab@redhat.com>
36507 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
36508 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
36510 2010-09-21 Ulrich Drepper <drepper@redhat.com>
36513 * posix/unistd.h: Undo change of feature selection for ftruncate from
36516 2010-09-20 Ulrich Drepper <drepper@redhat.com>
36518 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
36521 2010-09-20 Andreas Schwab <schwab@redhat.com>
36523 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
36525 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
36527 2010-09-14 Andreas Schwab <schwab@redhat.com>
36529 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
36530 variables after CHECK_SP call.
36531 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
36533 2010-09-13 Andreas Schwab <schwab@redhat.com>
36534 Ulrich Drepper <drepper@redhat.com>
36536 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
36537 re-relocationg ld.so.
36538 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
36539 _dl_init_paths call.
36540 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
36543 2010-09-14 Ulrich Drepper <drepper@redhat.com>
36545 * resolv/res_init.c (__res_vinit): Count the default server we added.
36547 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
36548 Ulrich Drepper <drepper@redhat.com>
36551 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
36552 (____longjmp_chk): Use %ebx for saving value across system call.
36555 2010-09-06 Andreas Schwab <schwab@redhat.com>
36557 * manual/Makefile: Don't mix pattern rules with normal rules.
36559 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
36561 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
36563 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
36564 * libio/iofopncook.c (_IO_cookie_init): Likewise.
36565 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
36566 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
36567 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
36570 2010-09-04 Ulrich Drepper <drepper@redhat.com>
36573 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
36574 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
36576 2010-09-02 Ulrich Drepper <drepper@redhat.com>
36578 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
36579 * sysdeps/x86_64/addmul_1.S: Likewise.
36580 * sysdeps/x86_64/lshift.S: Likewise.
36581 * sysdeps/x86_64/mul_1.S: Likewise.
36582 * sysdeps/x86_64/rshift.S: Likewise.
36583 * sysdeps/x86_64/sub_n.S: Likewise.
36584 * sysdeps/x86_64/submul_1.S: Likewise.
36586 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
36588 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
36589 Define __sched_param instead of SCHED_* and sched_param when
36590 <bits/sched.h> is included with __need_schedparam defined.
36591 * bits/sched.h [__need_schedparam]
36592 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
36593 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
36594 (__defined_schedparam): Define to 1.
36595 (__sched_param): New structure, identical to sched_param.
36596 (__need_schedparam): Undefine.
36598 2010-08-31 Mike Frysinger <vapier@gentoo.org>
36600 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
36601 (epoll_create1): Declare.
36603 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
36605 2010-08-31 Andreas Schwab <schwab@redhat.com>
36608 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
36609 shifting retval into place.
36611 2010-09-01 Ulrich Drepper <drepper@redhat.com>
36613 * nis/rpcsvc/nis.h: Update copyright notice.
36614 * nis/rpcsvc/nis.x: Likewise.
36615 * nis/rpcsvc/nis_callback.h: Likewise.
36616 * nis/rpcsvc/nis_callback.x: Likewise.
36617 * nis/rpcsvc/nis_object.x: Likewise.
36618 * nis/rpcsvc/nis_tags.h: Likewise.
36619 * nis/rpcsvc/yp.h: Likewise.
36620 * nis/rpcsvc/yp.x: Likewise.
36621 * nis/rpcsvc/ypupd.h: Likewise.
36622 * nis/yp_xdr.c: Likewise.
36623 * nis/ypupdate_xdr.c: Likewise.
36625 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
36626 mainly the body of pmap_getport. Add parameters to specify timeouts.
36627 (pmap_getport): Use __libc_rpc_getport.
36628 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
36629 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
36630 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
36632 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
36634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
36637 2010-08-27 Roland McGrath <roland@redhat.com>
36639 * sysdeps/i386/i686/multiarch/Makefile
36640 (CFLAGS-varshift.c): New variable.
36642 2010-08-27 Ulrich Drepper <drepper@redhat.com>
36644 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
36645 * sysdeps/i386/i686/multiarch/varshift.c: New file.
36647 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
36649 * sysdeps/x86_64/strlen.S: Minimal code improvement.
36651 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
36653 * sysdeps/x86_64/strlen.S: Unroll the loop.
36654 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36655 strlen-sse2 strlen-sse2-bsf.
36656 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
36657 __strlen_no_bsf if bit_Slow_BSF is set.
36658 (__strlen_sse42): Removed.
36659 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
36660 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
36662 2010-08-25 Roland McGrath <roland@redhat.com>
36664 * sysdeps/x86_64/multiarch/varshift.S: File removed.
36665 * sysdeps/x86_64/multiarch/varshift.c: New file.
36666 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
36667 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
36668 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
36669 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
36671 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
36673 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36674 strlen-sse2 strlen-sse2-bsf.
36675 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
36676 __strlen_sse2_bsf if bit_Slow_BSF is unset.
36677 (__strlen_sse2): Removed.
36678 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
36679 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
36680 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
36681 bit_Slow_BSF for Atom.
36682 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
36683 (index_Slow_BSF): Define.
36684 (HAS_SLOW_BSF): Define.
36686 2010-08-25 Ulrich Drepper <drepper@redhat.com>
36689 * resolv/res_init.c (__res_vinit): When no server address at all
36690 is given default to loopback.
36692 2010-08-24 Roland McGrath <roland@redhat.com>
36694 * configure.in: Remove config-name.h generation.
36695 * configure: Regenerated.
36696 * config-name.in: File removed.
36697 * scripts/config-uname.sh: New file.
36698 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
36699 ($(objdir)config-name.h): New target.
36701 * sunrpc/rpc_parse.h: Avoid nested comment.
36703 2010-08-24 Richard Henderson <rth@redhat.com>
36704 Ulrich Drepper <drepper@redhat.com>
36705 H.J. Lu <hongjiu.lu@intel.com>
36707 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
36708 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
36709 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
36710 Replace _mm_srli_si128 with __m128i_shift_right. Replace
36711 _mm_alignr_epi8 with _mm_loadu_si128.
36712 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
36713 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
36714 (__m128i_shift_right): Removed.
36715 * sysdeps/i386/i686/multiarch/varshift.h: New file.
36716 * sysdeps/i386/i686/multiarch/varshift.S: New file.
36717 * sysdeps/x86_64/multiarch/varshift.h: New file.
36718 * sysdeps/x86_64/multiarch/varshift.S: New file.
36720 2010-08-21 Mike Frysinger <vapier@gentoo.org>
36722 * configure.in: Move assembler checks to before sysdep dir checking.
36724 2010-08-20 Petr Baudis <pasky@suse.cz>
36726 * LICENSES: Sync the sunrpc license.
36728 2010-08-19 Ulrich Drepper <drepper@redhat.com>
36730 * sunrpc/auth_des.c: Update copyright notice once again.
36731 * sunrpc/auth_none.c: Likewise.
36732 * sunrpc/auth_unix.c: Likewise.
36733 * sunrpc/authdes_prot.c: Likewise.
36734 * sunrpc/authuxprot.c: Likewise.
36735 * sunrpc/bindrsvprt.c: Likewise.
36736 * sunrpc/clnt_gen.c: Likewise.
36737 * sunrpc/clnt_perr.c: Likewise.
36738 * sunrpc/clnt_raw.c: Likewise.
36739 * sunrpc/clnt_simp.c: Likewise.
36740 * sunrpc/clnt_tcp.c: Likewise.
36741 * sunrpc/clnt_udp.c: Likewise.
36742 * sunrpc/clnt_unix.c: Likewise.
36743 * sunrpc/des_crypt.c: Likewise.
36744 * sunrpc/des_soft.c: Likewise.
36745 * sunrpc/get_myaddr.c: Likewise.
36746 * sunrpc/getrpcport.c: Likewise.
36747 * sunrpc/key_call.c: Likewise.
36748 * sunrpc/key_prot.c: Likewise.
36749 * sunrpc/openchild.c: Likewise.
36750 * sunrpc/pm_getmaps.c: Likewise.
36751 * sunrpc/pm_getport.c: Likewise.
36752 * sunrpc/pmap_clnt.c: Likewise.
36753 * sunrpc/pmap_prot.c: Likewise.
36754 * sunrpc/pmap_prot2.c: Likewise.
36755 * sunrpc/pmap_rmt.c: Likewise.
36756 * sunrpc/rpc/auth.h: Likewise.
36757 * sunrpc/rpc/auth_unix.h: Likewise.
36758 * sunrpc/rpc/clnt.h: Likewise.
36759 * sunrpc/rpc/des_crypt.h: Likewise.
36760 * sunrpc/rpc/key_prot.h: Likewise.
36761 * sunrpc/rpc/netdb.h: Likewise.
36762 * sunrpc/rpc/pmap_clnt.h: Likewise.
36763 * sunrpc/rpc/pmap_prot.h: Likewise.
36764 * sunrpc/rpc/pmap_rmt.h: Likewise.
36765 * sunrpc/rpc/rpc.h: Likewise.
36766 * sunrpc/rpc/rpc_des.h: Likewise.
36767 * sunrpc/rpc/rpc_msg.h: Likewise.
36768 * sunrpc/rpc/svc.h: Likewise.
36769 * sunrpc/rpc/svc_auth.h: Likewise.
36770 * sunrpc/rpc/types.h: Likewise.
36771 * sunrpc/rpc/xdr.h: Likewise.
36772 * sunrpc/rpc_clntout.c: Likewise.
36773 * sunrpc/rpc_cmsg.c: Likewise.
36774 * sunrpc/rpc_common.c: Likewise.
36775 * sunrpc/rpc_cout.c: Likewise.
36776 * sunrpc/rpc_dtable.c: Likewise.
36777 * sunrpc/rpc_hout.c: Likewise.
36778 * sunrpc/rpc_main.c: Likewise.
36779 * sunrpc/rpc_parse.c: Likewise.
36780 * sunrpc/rpc_parse.h: Likewise.
36781 * sunrpc/rpc_prot.c: Likewise.
36782 * sunrpc/rpc_sample.c: Likewise.
36783 * sunrpc/rpc_scan.c: Likewise.
36784 * sunrpc/rpc_scan.h: Likewise.
36785 * sunrpc/rpc_svcout.c: Likewise.
36786 * sunrpc/rpc_tblout.c: Likewise.
36787 * sunrpc/rpc_util.c: Likewise.
36788 * sunrpc/rpc_util.h: Likewise.
36789 * sunrpc/rpcinfo.c: Likewise.
36790 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
36791 * sunrpc/rpcsvc/key_prot.x: Likewise.
36792 * sunrpc/rpcsvc/klm_prot.x: Likewise.
36793 * sunrpc/rpcsvc/mount.x: Likewise.
36794 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
36795 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
36796 * sunrpc/rpcsvc/rex.x: Likewise.
36797 * sunrpc/rpcsvc/rstat.x: Likewise.
36798 * sunrpc/rpcsvc/rusers.x: Likewise.
36799 * sunrpc/rpcsvc/sm_inter.x: Likewise.
36800 * sunrpc/rpcsvc/spray.x: Likewise.
36801 * sunrpc/rpcsvc/yppasswd.x: Likewise.
36802 * sunrpc/rtime.c: Likewise.
36803 * sunrpc/svc.c: Likewise.
36804 * sunrpc/svc_auth.c: Likewise.
36805 * sunrpc/svc_authux.c: Likewise.
36806 * sunrpc/svc_raw.c: Likewise.
36807 * sunrpc/svc_run.c: Likewise.
36808 * sunrpc/svc_simple.c: Likewise.
36809 * sunrpc/svc_tcp.c: Likewise.
36810 * sunrpc/svc_udp.c: Likewise.
36811 * sunrpc/svc_unix.c: Likewise.
36812 * sunrpc/svcauth_des.c: Likewise.
36813 * sunrpc/xcrypt.c: Likewise.
36814 * sunrpc/xdr.c: Likewise.
36815 * sunrpc/xdr_array.c: Likewise.
36816 * sunrpc/xdr_float.c: Likewise.
36817 * sunrpc/xdr_mem.c: Likewise.
36818 * sunrpc/xdr_rec.c: Likewise.
36819 * sunrpc/xdr_ref.c: Likewise.
36820 * sunrpc/xdr_sizeof.c: Likewise.
36821 * sunrpc/xdr_stdio.c: Likewise.
36823 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
36826 2010-08-19 Andreas Schwab <schwab@redhat.com>
36828 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
36830 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
36832 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
36833 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
36834 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
36835 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
36836 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
36837 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
36838 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
36839 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
36840 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
36841 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
36842 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
36843 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
36844 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
36845 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
36847 2010-07-26 Anton Blanchard <anton@samba.org>
36849 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
36850 * malloc/arena.c (heap_trim): Likewise.
36852 2010-08-16 Ulrich Drepper <drepper@redhat.com>
36854 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
36856 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
36857 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
36859 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
36861 * sysdeps/i386/elf/Makefile: New file.
36863 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
36865 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
36866 from fanotify_init.
36867 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
36868 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
36870 2010-08-15 Ulrich Drepper <drepper@redhat.com>
36872 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
36874 * sysdeps/multiarch/strcmp.S: Likewise.
36876 2010-08-14 Ulrich Drepper <drepper@redhat.com>
36878 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
36879 strncase_l-nonascii.
36880 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
36881 Add strncase_l-ssse3.
36882 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
36883 * sysdeps/x86_64/strcmp.S: Likewise.
36884 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
36885 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
36886 * sysdeps/x86_64/strncase.S: New file.
36887 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
36888 * sysdeps/x86_64/strncase_l.S: New file.
36889 * string/Makefile (strop-tests): Add strncasecmp.
36890 * string/test-strncasecmp.c: New file.
36892 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
36895 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
36896 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
36898 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
36900 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
36902 2010-08-12 Ulrich Drepper <drepper@redhat.com>
36904 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
36905 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
36906 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
36908 2010-05-01 Alan Modra <amodra@gmail.com>
36910 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
36911 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
36912 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
36913 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
36914 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
36915 tidying. Don't tail-call __sigjmp_save for static lib.
36916 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
36918 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
36919 (CALL_MCOUNT): Add eh info, and nop after bl.
36920 (TAIL_CALL_SYSCALL_ERROR): New macro.
36921 (PSEUDO_RET): Use it.
36922 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
36923 Correct save location of integer regs and cr.
36924 (_dl_profile_resolve): Correct cr save location. Delete nops
36925 after bl when SHARED. Reduce cfi size a little by better
36926 placement of cfi directives.
36927 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
36928 make a stack frame. Instead use parm save area as a temp.
36929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
36930 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
36931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
36932 Don't make a stack frame for parent, use parm save area.
36933 Increase child stack frame to 112 bytes. Don't save unused reg,
36934 and adjust reg usage. Set up cfi on error recovery and
36935 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
36936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36937 (__makecontext): Add dummy nop after jump to exit.
36938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
36939 Use correct parm save area and cr save, reduce stack frame.
36940 Correct cfi for possible PSEUDO_RET frame setup.
36941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
36942 Branch to local label emitted by PSEUDO_RET rather than
36945 2010-08-12 Andreas Schwab <schwab@redhat.com>
36948 * locale/programs/locale.c (print_assignment): New function.
36949 (show_locale_vars): Use it.
36951 2010-08-11 Ulrich Drepper <drepper@redhat.com>
36953 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
36955 (struct statfs64): Likewise.
36956 (_STATFS_F_FLAGS): Define.
36957 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
36958 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36959 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
36960 (ST_VALID): Define locally.
36961 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
36962 __statvfs_getflags, use the provided value.
36963 * sysdeps/unix/sysv/linux/kernel-features.h: Define
36964 __ASSUME_STATFS_F_FLAGS.
36966 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
36968 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
36969 Add sys/fanotify.h.
36970 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
36971 fanotify_mask for GLIBC_2.13.
36972 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
36973 fanotify_init and fanotify_mark.
36974 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
36975 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
36977 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
36979 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
36980 prlimit64 for GLIBC_2.13.
36981 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
36983 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
36985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
36986 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
36987 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
36988 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
36989 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
36991 * sysdeps/unix/sysv/linux/prlimit.c: New file.
36994 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
36995 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
36997 * nss/Makefile: Add rules to build and run tst-nss-test1.
36998 * shlib-versions: Add entry for libnss_test1.
36999 * nss/nss_test1.c: New file.
37000 * nss/tst-nss-test1.c: New file.
37002 * nss/nsswitch.c (__nss_database_custom): Define new variable.
37003 (__nss_configure_lookup): Set appropriate entry in
37004 __nss_configure_lookup to true.
37005 * nss/nsswitch.h: Define enum with indeces of databases in
37006 databases and __nss_database_custom arrays. Declare
37007 __nss_database_custom.
37008 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
37009 to avoid using nscd when custom rules are installed.
37010 * nss/getXXbyYY_r.c: Likewise.
37011 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
37013 * nss/nss_files/files-parse.c: Whitespace fixes.
37015 2010-08-09 Ulrich Drepper <drepper@redhat.com>
37018 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
37019 * posix/fnmatch_loop.c: Likewise.
37021 2010-07-17 Andi Kleen <ak@linux.intel.com>
37023 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
37024 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
37025 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
37026 * Versions.def [GLIBC_2.13]: Add.
37028 2010-08-06 Ulrich Drepper <drepper@redhat.com>
37030 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37031 Also fail if tpwd after pwuid call is NULL.
37033 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
37035 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
37036 when converting to ms.
37038 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
37040 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
37041 EOPNOTSUPP errors with ENOTTY.
37042 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
37043 EOPNOTSUPP errors with ENOTTY.
37045 2010-07-31 Ulrich Drepper <drepper@redhat.com>
37047 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37048 Add strcasecmp_l-ssse3.
37049 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
37051 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
37052 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
37053 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
37055 2010-07-30 Ulrich Drepper <drepper@redhat.com>
37057 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
37059 * string/Makefile (strop-tests): Add strcasecmp.
37060 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37061 strcasecmp_l-nonascii.
37062 (gen-as-const-headers): Add locale-defines.sym.
37063 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
37064 * sysdeps/x86_64/strcasecmp.S: New file.
37065 * sysdeps/x86_64/strcasecmp_l.S: New file.
37066 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
37067 * sysdeps/x86_64/locale-defines.sym: New file.
37068 * string/test-strcasecmp.c: New file.
37070 * string/test-strcasestr.c: Test both ends of the range of characters.
37071 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
37073 2010-07-29 Roland McGrath <roland@redhat.com>
37076 * manual/locale.texi (Yes-or-No Questions): Fix example code.
37078 2010-07-27 Ulrich Drepper <drepper@redhat.com>
37080 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
37083 2010-07-27 Andreas Schwab <schwab@redhat.com>
37085 * manual/memory.texi (Malloc Tunable Parameters): Document
37088 2010-07-26 Roland McGrath <roland@redhat.com>
37091 * configure.in (-fgnu89-inline check): Set and substitute
37092 gnu89_inline, not libc_cv_gnu89_inline.
37093 * configure: Regenerated.
37094 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
37096 2010-07-26 Ulrich Drepper <drepper@redhat.com>
37098 * string/test-strnlen.c: New file.
37099 * string/Makefile (strop-tests): Add strnlen.
37100 * string/tester.c (test_strnlen): Add a few more test cases.
37101 * string/tst-strlen.c: Better error reporting.
37103 * sysdeps/x86_64/strnlen.S: New file.
37105 2010-07-24 Ulrich Drepper <drepper@redhat.com>
37107 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
37108 lower-latency instructions.
37110 2010-07-23 Ulrich Drepper <drepper@redhat.com>
37112 * string/test-strcasestr.c: New file.
37113 * string/test-strstr.c: New file.
37114 * string/Makefile (strop-tests): Add strstr and strcasestr.
37115 * string/str-two-way.h: Don't undefine MAX.
37116 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
37118 2010-07-21 Andreas Schwab <schwab@redhat.com>
37120 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37121 strcasestr-nonascii.
37122 (CFLAGS-strcasestr-nonascii.c): Define.
37123 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
37124 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
37125 Remove unused attribute.
37127 2010-07-20 Roland McGrath <roland@redhat.com>
37129 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
37130 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
37131 ld.so.cache was broken. With it, there is no way to disable dsocaps
37132 like LD_HWCAP_MASK can disable hwcaps.
37134 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
37136 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
37138 2010-07-16 Ulrich Drepper <drepper@redhat.com>
37140 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
37141 call in strcasestr.
37142 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
37143 __strcasestr_sse42_nonascii.
37144 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
37145 strcasestr-nonascii.c.
37146 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
37148 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
37150 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
37151 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
37152 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
37153 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
37155 2010-07-09 Ulrich Drepper <drepper@redhat.com>
37157 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
37160 2010-07-06 Andreas Schwab <schwab@redhat.com>
37163 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
37166 2010-07-06 Ulrich Drepper <drepper@redhat.com>
37168 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
37169 _PC_PIPE_BUF using F_GETPIPE_SZ.
37171 2010-07-05 Roland McGrath <roland@redhat.com>
37173 * manual/arith.texi (Rounding Functions): Fix rint description
37174 implicit in round description.
37176 2010-07-02 Ulrich Drepper <drepper@redhat.com>
37178 * elf/Makefile: Fix linking for a few tests to make recent linker
37181 2010-06-30 Andreas Schwab <schwab@redhat.com>
37183 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
37184 $(common-objpfx)libc_nonshared.a.
37186 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
37188 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
37189 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
37190 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37191 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37192 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
37193 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
37194 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37195 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
37197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
37198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
37199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
37201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
37203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
37204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
37205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
37206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
37208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
37210 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
37211 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
37212 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
37213 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
37214 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
37215 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
37216 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
37217 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
37218 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
37219 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
37220 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
37221 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
37222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
37223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
37224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
37225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
37226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
37227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
37228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
37229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
37230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
37231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
37232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
37233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
37234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
37235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
37237 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
37239 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
37240 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
37241 * string/memmove.c (memmove): Renamed to ...
37242 (MEMMOVE): ...this. Default to memmove.
37243 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
37244 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
37246 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37247 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
37248 mempcpy-ssse3-back memmove-ssse3-back.
37249 * sysdeps/x86_64/multiarch/bcopy.S: New file .
37250 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
37251 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
37252 * sysdeps/x86_64/multiarch/memcpy.S: New file.
37253 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
37254 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
37255 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
37256 * sysdeps/x86_64/multiarch/memmove.c: New file.
37257 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
37258 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
37259 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
37260 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
37261 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
37262 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
37264 (index_Fast_Copy_Backward): Define.
37265 (HAS_ARCH_FEATURE): Define.
37266 (HAS_FAST_REP_STRING): Define.
37267 (HAS_FAST_COPY_BACKWARD): Define.
37269 2010-06-21 Andreas Schwab <schwab@redhat.com>
37271 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37272 Restore proper fallback handling.
37274 2010-06-19 Ulrich Drepper <drepper@redhat.com>
37277 * posix/group_member.c (__group_member): Correct checking loop.
37279 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
37280 OOM in getpwuid_r correctly. Return error number when the caller
37281 should return, otherwise -1.
37282 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
37283 call returning > 0 value.
37284 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
37286 2010-06-07 Andreas Schwab <schwab@redhat.com>
37288 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
37289 libc_nonshared.a from targets in modules-names.
37291 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
37293 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
37296 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
37298 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
37299 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
37300 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
37301 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
37303 2010-06-02 Andreas Schwab <schwab@redhat.com>
37305 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
37307 2010-06-14 Ulrich Drepper <drepper@redhat.com>
37309 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
37311 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
37312 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37313 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37314 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37315 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37316 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
37318 2010-06-14 Roland McGrath <roland@redhat.com>
37320 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
37322 2010-06-07 Jakub Jelinek <jakub@redhat.com>
37324 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
37325 __REDIRECT followed by __THROW.
37326 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
37327 * posix/getopt.h (getopt): Likewise.
37329 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
37331 * hurd/lookup-at.c (__file_name_lookup_at): Accept
37332 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
37333 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
37335 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
37336 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
37338 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
37340 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
37342 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
37345 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37346 Properly check family and model.
37348 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
37350 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
37352 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
37354 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
37356 2010-05-21 Ulrich Drepper <drepper@redhat.com>
37358 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
37361 2010-05-19 Andreas Schwab <schwab@redhat.com>
37363 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
37366 2010-05-21 Andreas Schwab <schwab@redhat.com>
37368 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
37369 and internal_recvmmsg.
37370 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
37371 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
37372 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
37373 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
37375 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
37376 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
37377 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
37379 2010-05-20 Andreas Schwab <schwab@redhat.com>
37381 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
37383 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
37385 POWER7 optimizations.
37386 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
37387 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
37389 2010-05-19 Ulrich Drepper <drepper@redhat.com>
37391 * version.h: Update for 2.13 development version.
37393 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
37395 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
37396 exceptions. Return 0.
37398 2010-05-07 Roland McGrath <roland@redhat.com>
37400 * elf/ldconfig.c (main): Add a const.
37402 2010-05-06 Ulrich Drepper <drepper@redhat.com>
37404 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
37405 (args_options): Add no-idn option.
37406 (ahosts_keys_int): Add idn_flags to ai_flags.
37407 (parse_option): Handle 'i' option to clear idn_flags.
37409 * malloc/malloc.c (_int_free): Possible race in the most recently
37410 added check. Only act on the data if no current modification
37413 See ChangeLog.17 for earlier changes.