1 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
4 multiarch implementations.
5 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6 (__libc_ifunc_impl_list): Likewise.
7 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
8 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
9 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
10 multiarch stpcpy for PPC64.
12 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
15 multiarch implementations.
16 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17 (__libc_ifunc_impl_list): Likewise.
18 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
19 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
20 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
21 multiarch strcpy for PPC64.
23 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
26 redefine function name.
27 (_wordcopy_fwd_dest_aligned): Likewise.
28 (_wordcopy_bwd_aligned): Likewise.
29 (_wordcopy_bwd_dest_aligned): Likewise.
30 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
31 multiarch implementations.
32 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33 (__libc_ifunc_impl_list): Likewise.
34 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
35 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
36 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
37 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
38 multiarch wcscpy for PPC64.
40 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
43 multiarch implementations.
44 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45 (__libc_ifunc_impl_list): Likewise.
46 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
47 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
48 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
49 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
50 multiarch wcscpy for PPC64.
52 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
55 multiarch implementations.
56 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57 (__libc_ifunc_impl_list): Likewise.
58 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
59 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
60 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
61 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
62 multiarch wcsrchr for PPC64.
64 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
67 multiarch implementations.
68 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
69 (__libc_ifunc_impl_list): Likewise.
70 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
71 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
72 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
73 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
74 multiarch wcschr for PPC64.
76 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
78 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
79 multiarch implementations.
80 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
81 (__libc_ifunc_impl_list): Likewise.
82 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
83 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
84 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
85 multiarch strchrnul for PPC64.
87 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
89 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
91 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
92 (__libc_ifunc_impl_list): Likewise.
93 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
94 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
95 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
96 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
99 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
101 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
103 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
104 (__libc_ifunc_impl_list): Likewise.
105 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
106 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
107 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
108 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
111 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
113 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
114 multiarch implementations.
115 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
116 (__libc_ifunc_impl_list): Likewise.
117 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
118 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
119 strncasecmp for PPC64.
120 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
121 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
122 multiarch strncasecmp_l for PPC64.
124 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
126 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
127 multiarch implementations.
128 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
129 (__libc_ifunc_impl_list): Likewise.
130 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
131 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
132 multiarch strcasecmp for PPC64.
133 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
135 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
136 multiarch strcasecmp_l for PPC64.
138 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
140 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
142 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
143 (__libc_ifunc_impl_list): Likewise.
144 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
145 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
146 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
149 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
151 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
153 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
154 (__libc_ifunc_impl_list): Likewise.
155 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
156 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
157 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
160 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
162 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
164 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
165 (__libc_ifunc_impl_list): Likewise.
166 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
167 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
168 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
169 rawmemrchr for PPC64.
171 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
173 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
175 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
176 (__libc_ifunc_impl_list): Likewise.
177 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
178 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
179 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
182 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
184 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
186 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
187 (__libc_ifunc_impl_list): Likewise.
188 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
189 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
190 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
193 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
195 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
197 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
198 (__libc_ifunc_impl_list): Likewise.
199 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
200 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
201 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
204 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
206 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
207 avoid cretion of __bzero symbol.
208 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
210 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
212 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
214 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
215 multiarch implementations.
216 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
217 (__libc_ifunc_impl_list): Likewise.
218 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
219 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
220 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
221 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
223 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
224 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
225 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
226 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
227 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
229 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
231 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
233 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
234 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
236 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
237 (__libc_ifunc_impl_list): Likewise.
238 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
239 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
240 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
241 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
244 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
246 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
247 multiarch for POWER/PPC64.
248 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
249 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
250 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
251 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
252 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
253 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
254 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
255 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
256 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
259 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
261 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
262 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
263 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
264 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
265 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
266 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
267 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
268 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
269 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
270 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
271 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
272 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
273 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
274 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
275 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
284 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
286 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
288 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
290 * benchtests/Makefile (bench): Add exp2 and log2.
291 (LDLIBS-bench-exp2): Add -lm.
292 (LDLIBS-bench-log2): Likewise.
293 * benchtests/exp2-inputs: New inputs file.
294 * benchtests/log2-inputs: New inputs file.
295 * benchtests/log-inputs: Add new inputs.
296 * benchtests/tan-inputs: Likewise.
298 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
300 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
302 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
303 csloww1, csloww2): ... from here.
305 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
306 instead of structures.
307 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
308 (POLYNOMIAL): Likewise.
309 (TAYLOR_SLOW): Likewise.
324 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
326 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
327 (__malloc_assert, __libc_realloc, __libc_calloc,
328 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
330 * malloc/hooks.c (realloc_check): Likewise.
332 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
334 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
335 * malloc/arena.c: Remove PER_THREAD conditional.
336 [!PER_THREAD]: Remove code.
337 (ptmalloc_unlock_all2): Likewise.
338 (ptmalloc_init): Likewise.
339 (_int_new_arena): Likewise.
340 (arena_get2): Likewise.
341 * malloc/hooks.c (__malloc_get_state): Likewise.
342 (__malloc_set_state): Likewise.
343 * malloc/malloc.c: Likewise.
344 (struct malloc_state): Likewise.
345 (struct malloc_par): Likewise.
346 (__libc_realloc): Likewise.
347 (__libc_mallopt): Likewise.
349 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
351 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
353 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
355 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
356 macro to a function. Check for zero perturb_byte.
357 (_int_malloc, _int_free): Remove zero perturb_byte checks.
359 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
361 * malloc/malloc.c: (force_reg): Remove.
362 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
363 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
364 force_reg by atomic_forced_read.
365 * malloc/arena.c (ptmalloc_init): Likewise.
366 * malloc/hooks.c (top_check): Likewise.
368 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
370 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
372 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
374 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
376 2013-12-08 Joseph Myers <joseph@codesourcery.com>
378 * math/auto-libm-test-in: Add tests of lgamma.
379 * math/auto-libm-test-out: Regenerated.
380 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
381 (M_LOG_2_SQRT_PIl): Likewise.
382 (lgamma_test_data): Use AUTO_TESTS_f_f1.
383 * math/gen-auto-libm-tests.c (func_calc_method): Add value
385 (func_calc_desc): Add mpfr_f_f1 union field.
394 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
395 (test_functions): Add lgamma.
396 (calc_generic_results): Handle mpfr_f_f1.
397 * sysdeps/i386/fpu/libm-test-ulps: Update.
398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
400 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
402 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
403 __mpn_add_n for PowerPC64/POWER7.
404 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
405 __mpn_sub_n for PowerPC64/POWER7.
407 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
409 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
410 __mpn_addmul_1 for PowerPC64.
411 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
412 __mpn_submul_1 for PowerPC64.
413 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
415 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
418 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
421 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
423 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
425 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
427 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
429 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
430 add multiarch folders.
431 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
432 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
433 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
434 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
435 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
436 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
437 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
438 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
439 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
440 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
441 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
449 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
452 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
458 multiarch __ieee754_hypot for PowerPC32.
459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
464 multiarch __ieee754_hypotf for PowerPC32.
466 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
468 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
469 long_double_symbol only if __logbl is defined.
470 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
471 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
472 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
473 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
474 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
475 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
476 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
477 path for implementation.
478 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
479 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
481 logb, and logbl multiarch implementations for PowerPC32.
482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
487 multiarch logb for PowerPC32.
488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
493 multiarch logbf for PowerPC32.
494 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
498 multiarch logbl implementation for PowerPC32.
500 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
503 and modff multiarch implementations.
504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
509 multiarch modf for PowerPC32.
510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
515 multiarch modff for PowerPC32.
517 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
520 and lrintf multiarch implementations.
521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
526 multiarch lrint for PowerPC32.
527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
528 file: multiarch lrintf for PowerPC32.
530 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
533 and lroundf multiarch implementations.
534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
541 multiarch lround for PowerPC32.
542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
543 file: multiarch lroundf for PowerPC32.
545 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
548 copysign and copysignf multiarch implementations.
549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
554 file: multiarch copysign for PowerPC32.
555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
556 file: multiarch copysignf for PowerPC32.
558 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
561 and truncf multiarch implementations.
562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
567 multiarch trunc for PowerPC32.
568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
573 multiarch truncf for PowerPC32.
575 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
578 and roundf multiarch implementations.
579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
584 multiarch round for PowerPC32.
585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
590 multiarch roundf for PowerPC32.
592 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
595 and floorf multiarch implementations.
596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
601 multiarch floor for PowerPC32.
602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
607 multiarch floorf for PowerPC32.
609 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
612 and ceilf multiarch implementations.
613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
618 multiarch ceil for PowerPC32.
619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
624 multiarch ceilf for PowerPC32.
626 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
628 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
630 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
633 and finitef multiarch implementations.
634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
639 multiarch finite for PowerPC32.
640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
643 file: multiarch finitef for PowerPC32.
645 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
648 and isinff multiarch implementations.
649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
654 multiarch isinf for PowerPC32.
655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
658 multiarch isinff for PowerPC32.
660 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
662 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
663 alias when __isnan is defined.
664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
665 and isnanf multiarch implementations.
666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
675 multiarch isnan for PowerPC32.
676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
681 multiarch isnanf for PowerPC32.
683 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
686 and sqrtf multiarch implementations.
687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
692 multiarch sqrt for PowerPC32.
693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
698 multiarch sqrtf for PowerPC32.
700 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
703 and llroundf multiarch implementations.
704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
711 file: multiarch llround for PowerPC32.
712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
713 file: multiarch llroundf for PowerPC32.
715 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
718 multiarch PowerPC32 fpu implementations.
719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
721 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
724 multiarch llrint for PowerPC32.
725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
732 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
736 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
738 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
740 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
742 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
744 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
745 multiarch wordcopy for PPC32.
746 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
748 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
749 (__libc_ifunc_impl_list): Likewise.
750 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
751 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
752 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
753 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
754 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
755 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
757 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
759 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
760 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
762 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
764 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
766 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
767 multiarch wcscpy for PPC32.
768 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
770 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
771 (__libc_ifunc_impl_list): Likewise.
772 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
773 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
774 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
775 sysdeps/powerpc/power6/wcscpy.c.
777 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
779 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
780 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
782 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
784 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
786 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
787 multiarch wcsrchr for PPC32.
788 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
790 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
791 (__libc_ifunc_impl_list): Likewise.
792 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
793 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
794 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
795 sysdeps/powerpc/power6/wcsrchr.c.
797 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
799 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
801 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
803 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
804 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
805 multiarch wcschr for PPc32.
806 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
808 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
809 (__libc_ifunc_impl_list): Likewise.
810 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
811 * sysdeps/powerpc/power6/wcschr.c: ... to here.
812 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
813 sysdeps/powerpc/power6/wcschr.c.
815 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
817 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
818 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
820 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
821 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
822 file: multiarch strchr for PPC32.
823 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
825 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
826 (__libc_ifunc_impl_list): Likewise.
828 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
830 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
832 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
834 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
836 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
837 multiarch strchrnul for PPC32.
838 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
840 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
841 (__libc_ifunc_impl_list): Likewise.
843 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
845 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
847 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
848 multiarch strncasecmp for PPC32.
849 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
851 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
852 multiarch strncasecmp_l for PPC32.
853 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
854 strncasecmp multiarch objects.
855 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
856 (__libc_ifunc_impl_list): Likewise.
858 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
860 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
862 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
863 multiarch strncasecmp for PPC32.
864 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
866 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
867 multiarch strcasecmp_l for PPC32.
868 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
870 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
871 (__libc_ifunc_impl_list): Likewise.
873 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
875 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
877 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
879 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
880 multiarch strncmp for PPC32.
881 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
883 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
884 (__libc_ifunc_impl_list): Likewise.
886 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
888 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
889 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
891 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
892 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
893 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
895 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
896 (__libc_ifunc_impl_list): Likewise.
898 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
900 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
902 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
904 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
905 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
907 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
908 (__libc_ifunc_impl_list): Likewise.
910 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
912 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
914 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
916 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
917 multiarch rawmemchr for PPC32.
918 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
920 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
921 (__libc_ifunc_impl_list): Likewise.
923 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
925 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
927 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
929 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
930 file: memrchr multiarch for PPC32.
931 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
933 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
934 (__libc_ifunc_impl_list): Likewise.
936 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
938 * string/memchr.c (__memchr): Using macro to redefine symbol name.
939 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
941 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
942 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
943 multiarch memchr for PPC32.
944 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
946 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
947 (__libc_ifunc_impl_list): Likewise.
949 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
951 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
952 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
954 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
956 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
957 file: multiarch mempcpy for PPC32.
958 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
960 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
961 (__libc_ifunc_impl_list): Likewise.
963 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
965 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
966 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
967 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
968 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
969 multiarch bzero for PPC32.
970 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
972 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
974 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
975 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
976 file: multiarch memset for PPC32.
977 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
978 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
979 memset multiarch objects.
980 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
981 (__libc_ifunc_impl_list): Likewise.
983 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
985 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
987 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
988 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
990 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
991 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
993 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
994 (__libc_ifunc_impl_list): Likewise.
996 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
998 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
999 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
1000 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
1002 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
1004 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
1006 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
1007 multiarch memcpy for PPC32.
1008 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
1010 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1011 (__libc_ifunc_impl_list): Likewise.
1013 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1015 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
1016 support multiarch for POWER/PPC32.
1017 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1019 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
1020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
1021 Implies file to make multiarch folder appers before the fpu and
1022 default folder for power4 configuration.
1024 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1026 * scripts/bench.pl: Append volatile keyword to type.
1028 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1030 * sysdeps/sh/sotruss-lib.c: New file.
1031 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
1033 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1035 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1037 2013-12-05 Joseph Myers <joseph@codesourcery.com>
1040 * math/w_tgamma.c: Include <errno.h>.
1041 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
1042 * math/w_tgammaf.c: Include <errno.h>.
1043 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
1044 * math/w_tgammal.c: Include <errno.h>.
1045 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
1046 * math/auto-libm-test-in: Do not allow missing errno on tgamma
1047 underflow. Add more tgamma tests.
1048 * math/auto-libm-test-out: Regenerated.
1049 * sysdeps/i386/fpu/libm-test-ulps: Update.
1050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1052 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
1053 sin, sinh, tan, tanh, tgamma, y0 and y1.
1054 * math/auto-libm-test-out: Regenerated.
1055 * math/libm-test.inc (TEST_COND_x86_64): New macro.
1056 (TEST_COND_x86): Likewise.
1057 (M_E2l): Remove macro.
1059 (M_2_SQRT_PIl): Likewise.
1060 (M_SQRT_PIl): Likewise.
1061 (M_1_DIV_El): Likewise.
1062 (log_test_data): Use AUTO_TESTS_f_f.
1063 (log10_test_data): Likewise.
1064 (log1p_test_data): Likewise.
1065 (log2_test_data): Likewise.
1066 (sin_test_data): Likewise.
1067 (sin_tonearest_test_data): Likewise.
1068 (sin_towardzero_test_data): Likewise.
1069 (sin_downward_test_data): Likewise.
1070 (sin_upward_test_data): Likewise.
1071 (sinh_test_data): Likewise.
1072 (sinh_tonearest_test_data): Likewise.
1073 (sinh_towardzero_test_data): Likewise.
1074 (sinh_downward_test_data): Likewise.
1075 (sinh_upward_test_data): Likewise.
1076 (tan_test_data): Likewise.
1077 (tan_tonearest_test_data): Likewise.
1078 (tan_towardzero_test_data): Likewise.
1079 (tan_downward_test_data): Likewise.
1080 (tan_upward_test_data): Likewise.
1081 (tanh_test_data): Likewise.
1082 (tgamma_test_data): Likewise.
1083 (y0_test_data): Likewise.
1084 (y1_test_data): Likewise.
1085 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
1086 (special_real_inputs): Add pi/4.
1087 * sysdeps/i386/fpu/libm-test-ulps: Update.
1088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1090 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1092 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
1093 "longjmp_target" static probes.
1094 (__longjmp): Rename to __longjmp_symbol.
1095 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1096 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
1097 on which longjmp to generate.
1098 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1099 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
1101 (__sigsetjmp): Rename to __sigsetjmp_symbol.
1102 (__sigjmp_save): Rename to __sigjmp_save_symbol.
1103 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1104 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
1105 and __sigjmp_save_symbol based on which sigsetjmp to generated.
1106 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
1107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
1108 __longjmp_symbol based on which __longjmp to generate.
1109 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
1111 (setjmp): Rename to setjmp_symbol.
1112 (__sigsetjmp): Rename to __sigsetjmp_symbol.
1113 (_setjmp): Rename to _setjmp_symbol.
1114 (__sigsetjmp): Rename to __sigsetjmp_symbol.
1115 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
1116 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
1117 which setjmp to generate.
1118 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
1119 "longjmp_target" static probes.
1121 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1123 * benchtests/README: Add note about output arguments.
1124 * benchtests/bench-sincos.c: Remove file.
1125 * benchtests/sincos-inputs: New file.
1126 * scripts/bench.pl: Identify output arguments and define
1127 static variables for them.
1129 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
1132 * Makefile (INSTALL): Add install-plain.texi as the primary
1134 * manual/install-plain.texi: New file.
1135 * manual/install.texi: Include node directive only for
1136 non-plaintext output.
1138 2013-12-04 Joseph Myers <joseph@codesourcery.com>
1140 * stdlib/longlong.h: Update from GCC.
1144 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
1145 * math/w_j0f.c (y0f): Likewise.
1146 * math/w_j0l.c (__y0l): Likewise.
1147 * math/w_j1.c (y1): Likewise.
1148 * math/w_j1f.c (y1f): Likewise.
1149 * math/w_j1l.c (__y1l): Likewise
1150 * math/w_jn.c (yn): Likewise.
1151 * math/w_jnf.c (ynf): Likewise.
1152 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
1153 Bessel function pole errors in _POSIX_ mode. Use NAN as return
1154 value for Bessel function domain errors outside _SVID_ mode.
1155 Adjust sign of return value for yn (negative integer, 0).
1156 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
1157 by zero in return for negative x and set sign appropriately for
1159 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
1160 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1161 * math/libm-test.inc (y0_test_data): Add more tests and adjust
1162 expectations in error cases.
1163 (y1_test_data): Likewise.
1164 (yn_test_data): Likewise.
1165 * sysdeps/i386/fpu/libm-test-ulps: Update.
1166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1168 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1170 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
1171 "64" to "64-v1". Add "64-v2".
1172 (abi-64-options): Rename to ...
1173 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
1174 (abi-64-condition): Rename to ...
1175 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
1176 (abi-64-ld-soname): Rename to ...
1177 (abi-64-v1-ld-soname): ... this.
1178 (abi-64-v2-options): Define.
1179 (abi-64-v2-condition): Likewise.
1180 (abi-64-v2-ld-soname): Likewise.
1181 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
1182 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
1183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
1184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
1185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
1187 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1188 Alan Modra <amodra@gmail.com>
1190 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
1191 New versions for use with the ELFv2 ABI.
1192 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
1193 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
1195 (struct La_ppc64v2_retval): Likewise.
1196 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
1197 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
1198 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
1199 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
1200 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
1201 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
1202 Do not save or restore CR.
1203 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
1204 (_dl_profile_resolve): Do no save or restore CR. Support extended
1205 return values for ELFv2 ABI. Fix location of FPR return registers.
1206 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
1207 updated values for _CALL_ELF == 2.
1208 (La_regs, La_retval, int_retval): Likewise.
1210 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1212 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
1213 (FRAME_MIN_SIZE_PARM): Likewise.
1214 (FRAME_BACKCHAIN): Likewise.
1215 (FRAME_CR_SAVE): Likewise.
1216 (FRAME_LR_SAVE): Likewise.
1217 (FRAME_TOC_SAVE): Likewise.
1218 (FRAME_PARM_SAVE): Likewise.
1219 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1220 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1221 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
1222 (call_mcount_parm_offset): New macro.
1223 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
1224 (PROF): Use symbolic stack frame offsets.
1225 (TAIL_CALL_SYSCALL_ERROR): Likewise.
1226 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
1227 Redefine in terms of FRAME_MIN_SIZE.
1228 (_dl_runtime_resolve): Use symbolic stack frame offsets.
1229 (_dl_profile_resolve): Likewise. Update comment.
1230 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
1231 symbols stack frame offsets.
1232 (__sigsetjmp): Likewise.
1233 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
1234 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
1235 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
1236 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
1238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
1239 (FRAME_BACKCHAIN): Remove.
1240 (FRAME_CR_SAVE): Likewise.
1241 (FRAME_LR_SAVE): Likewise.
1242 (FRAME_COMPILER_DW): Likewise.
1243 (FRAME_LINKER_DW): Likewise.
1244 (FRAME_TOC_SAVE): Likewise.
1245 (FRAME_PARM_SAVE): Likewise.
1246 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1247 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1248 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
1249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
1250 (CHECK_SP): Use symbolic stack frame offsets.
1251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
1252 zone" instead of caller's parameter save area for temp storage.
1253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1254 Likewise. Also, use symbolic stack frame offsets.
1255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
1256 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
1257 our own stack frame instead of the caller's.
1258 (__socket): Use symbolic stack frame offsets.
1260 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1261 Alan Modra <amodra@gmail.com>
1263 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
1265 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
1266 PPC64_LOCAL_ENTRY_OFFSET): Define.
1267 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
1269 (elf_machine_fixup_plt): Call it.
1270 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
1272 (elf_machine_rela): Update call to elf_machine_plt_conflict.
1273 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
1274 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
1275 r2 before calling target.
1277 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1278 Alan Modra <amodra@gmail.com>
1280 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
1281 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
1282 versions of macros to support ELFv2 ABI.
1283 (LOCALENTRY): New macro.
1284 (ENTRY, EALIGN): Use it.
1285 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
1286 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
1287 fall through into ENTRY entry point.
1288 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
1289 Only define if _CALL_ELF != 2.
1291 (elf_machine_matches_host): Verify ABI version matches.
1292 (RTLD_START): Use LOCALENTRY.
1293 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
1294 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
1295 (PLT_ENTRY_WORDS): New macro.
1296 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
1297 (elf_machine_runtime_setup): Support ELFv2 ABI.
1298 (elf_machine_fixup_plt): Likewise.
1299 (elf_machine_plt_conflict): Likewise.
1300 (resolve_ifunc): Likewise.
1301 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
1302 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
1304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
1305 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
1306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1307 (makecontext): Support ELFv2 ABI.
1308 * elf/elf.h (EF_PPC64_ABI): Define.
1310 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1312 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
1313 New assembler macro.
1314 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
1315 [ASSEMBLER] (ENTRY): ... but instead here ...
1316 [ASSEMBLER] (EALIGN): ... and here.
1317 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
1318 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
1319 [!ASSEMBLER] (ENTRY_2): Use it.
1320 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
1321 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
1322 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
1323 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
1324 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
1325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
1326 Use PPC64_LOAD_FUNCPTR.
1328 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1330 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
1332 2013-12-04 Alan Modra <amodra@gmail.com>
1334 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
1335 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
1336 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
1337 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
1339 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
1340 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
1341 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
1342 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
1343 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
1344 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
1346 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1349 (__makecontext): Fix incorrect CFI when backtracing out of
1350 context created via makecontext.
1351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
1352 (__setcontext): Fix incorrect CFI during switch to new context.
1353 (__novec_setcontext): Likewise.
1355 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
1358 * time/strptime_l.c (__strptime_internal): Allow modifiers
1360 * time/tst-strptime.c (day_tests): Add testcase.
1363 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1365 * scripts/bench.pl: Skip over blank lines.
1367 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
1370 * manual/time.texi (Calendar Time): Clarify what timezone functions
1373 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1375 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1377 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
1379 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
1381 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
1382 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
1383 * debug/memset_chk.c (__memset_chk): Likewise.
1384 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
1385 * debug/strncpy_chk.c: Likewise.
1387 2013-12-03 Joseph Myers <joseph@codesourcery.com>
1391 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
1392 (__ieee754_exp): For possibly underflowing results, check size of
1393 result and force underflow exception if required.
1394 * math/auto-libm-test-in: Add more tests of exp.
1395 * math/auto-libm-test-out: Regenerated.
1396 * sysdeps/i386/fpu/libm-test-ulps: Update.
1397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1400 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
1401 * math/w_exp2f.c (__exp2f): Likewise.
1402 * math/w_exp2l.c (__exp2l): Likewise.
1403 * math/auto-libm-test-in: Do not allow missing errno on exp2
1405 * math/auto-libm-test-out: Regenerated.
1407 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
1410 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
1411 handle filename validation.
1412 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
1415 2013-12-03 Joseph Myers <joseph@codesourcery.com>
1418 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
1419 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
1420 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
1422 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
1423 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
1424 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1425 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
1426 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1427 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
1428 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1429 * math/auto-libm-test-in: Don't allow missing errno from erfc.
1430 Add more erfc tests.
1431 * math/auto-libm-test-out: Regenerated.
1432 * sysdeps/i386/fpu/libm-test-ulps: Update.
1433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1435 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
1436 exp2, expm1, j0 and j1.
1437 * math/auto-libm-test-out: Regenerated.
1438 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
1439 (erfc_test_data): Likewise.
1440 (exp_test_data): Likewise.
1441 (exp_tonearest_test_data): Likewise.
1442 (exp_towardzero_test_data): Likewise.
1443 (exp_downward_test_data): Likewise.
1444 (exp_upward_test_data): Likewise.
1445 (exp10_test_data): Likewise.
1446 (exp2_test_data): Likewise.
1447 (expm1_test_data): Likewise.
1448 (j0_test_data): Likewise.
1449 (j1_test_data): Likewise.
1450 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
1451 (input_flag_type): Add flag_xfail_rounding.
1452 (input_flags): Add xfail-rounding.
1453 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
1454 (output_for_one_input_case): Handle flag_xfail_rounding.
1455 * sysdeps/i386/fpu/libm-test-ulps: Update.
1456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1458 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
1461 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
1464 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1467 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
1468 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
1469 (STAP_PROBE0): New macro.
1470 (STAP_PROBE1): Likewise.
1471 (STAP_PROBE2): Likewise.
1472 (STAP_PROBE3): Likewise.
1473 (STAP_PROBE4): Likewise.
1475 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
1477 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
1479 2013-12-02 Steve Ellcey <sellcey@mips.com>
1481 * benchtests/Makefile (bench): Add sqrt.
1482 (LDLIBS-bench-sqrt): New.
1483 * benchtests/sqrt-input: New.
1485 2013-12-02 Pavel Simerda <psimerda@redhat.com>
1487 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
1488 (GAIH_EAI): Likewise.
1489 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
1490 (gaih_inet): Likewise.
1491 (getaddrinfo): Don't use GAIH_EAI.
1493 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
1494 (struct gaih): Remove definition.
1496 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1498 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
1499 Use HERRNOP directly.
1501 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1503 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1505 2013-11-30 Joseph Myers <joseph@codesourcery.com>
1507 * math/gen-auto-libm-tests.c (test_functions): Add more
1508 single-argument functions.
1509 (special_fill_pi_2): New function.
1510 (special_fill_minus_pi_2): Likewise.
1511 (special_fill_pi_6): Likewise.
1512 (special_fill_minus_pi_6): Likewise.
1513 (special_fill_pi_3): Likewise.
1514 (special_fill_2pi_3): Likewise.
1515 (special_fill_e): Likewise.
1516 (special_fill_1_e): Likewise.
1517 (special_fill_e_minus_1): Likewise.
1518 (special_real_inputs): Add more special inputs.
1519 (output_for_one_input_case): Do not require ERANGE on underflow to
1520 zero if round-to-nearest result does not underflow to zero, unless
1521 exact results required.
1522 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
1523 atan, atanh, cbrt, cos and cosh.
1524 * math/auto-libm-test-out: Regenerated.
1525 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
1526 (acos_tonearest_test_data): Likewise.
1527 (acos_towardzero_test_data): Likewise.
1528 (acos_downward_test_data): Likewise.
1529 (acos_upward_test_data): Likewise.
1530 (acosh_test_data): Likewise.
1531 (asin_test_data): Likewise.
1532 (asin_tonearest_test_data): Likewise.
1533 (asin_towardzero_test_data): Likewise.
1534 (asin_upward_test_data): Likewise.
1535 (asinh_test_data): Likewise.
1536 (atan_test_data): Likewise.
1537 (atanh_test_data): Likewise.
1538 (cbrt_test_data): Likewise.
1539 (cos_test_data): Likewise.
1540 (cos_tonearest_test_data): Likewise.
1541 (cos_towardzero_test_data): Likewise.
1542 (cos_downward_test_data): Likewise.
1543 (cos_upward_test_data): Likewise.
1544 (cosh_test_data): Likewise.
1545 (cosh_tonearest_test_data): Likewise.
1546 (cosh_towardzero_test_data): Likewise.
1547 (cosh_downward_test_data): Likewise.
1548 (cosh_upward_test_data): Likewise.
1549 * sysdeps/i386/fpu/libm-test-ulps: Update.
1550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1552 2013-11-29 Joseph Myers <joseph@codesourcery.com>
1555 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
1556 * math/w_exp10f.c (__exp10f): Likewise.
1557 * math/w_exp10l.c (__exp10l): Likewise.
1558 * math/libm-test.inc (exp10_test_data): Add more tests and expect
1559 errno settings in existing tests.
1562 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
1563 precision control set to double precision.
1564 * sysdeps/i386/fpu/w_sqrt.c: New file.
1565 * math/auto-libm-test-in: Add more tests.
1566 * math/auto-libm-test-out: Update.
1568 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
1569 (sqrt_test_tonearest): New function.
1570 (sqrt_towardzero_test_data): New variable.
1571 (sqrt_test_towardzero): New function.
1572 (sqrt_downward_test_data): New variable.
1573 (sqrt_test_downward): New function.
1574 (sqrt_upward_test_data): New variable.
1575 (sqrt_test_upward): New function.
1576 (main): Call the new functions.
1578 * math/gen-auto-libm-tests.c: New file.
1579 * math/auto-libm-test-in: Likewise.
1580 * math/auto-libm-test-out: New generated file.
1581 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
1583 (%beautify): Add generated representations of zero.
1584 (top level): Set $auto_input and call parse_auto_input.
1585 (beautify): Remove trailing "f" from hex float constants.
1586 (parse_args): Handle XFAIL_TEST.
1587 (convert_condition): New function.
1588 (or_value): Likewise.
1589 (or_cond_value): Likewise.
1590 (generate_testfile): Handle AUTO_TESTS_* lines.
1591 (parse_auto_input): New function.
1592 * math/libm-test.inc (XFAIL_TEST): New macro.
1593 (ERRNO_UNCHANGED): Update value.
1594 (ERRNO_EDOM): Likewise.
1595 (ERRNO_ERANGE): Likewise.
1596 (IGNORE_RESULT): Likewise.
1597 (TEST_COND_flt_32): New macro.
1598 (TEST_COND_dbl_64): Likewise.
1599 (TEST_COND_ldbl_96_intel): Likewise.
1600 (TEST_COND_ldbl_96_m68k): Likewise.
1601 (TEST_COND_ldbl_128): Likewise.
1602 (TEST_COND_ldbl_128ibm): Likewise.
1603 (TEST_COND_long32): Likewise.
1604 (TEST_COND_long64): Likewise.
1605 (TEST_COND_before_rounding): Likewise.
1606 (TEST_COND_after_rounding): Likewise.
1607 (enable_test): Handle XFAIL_TEST flag.
1608 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
1609 with finite results.
1610 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
1613 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1614 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1617 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
1618 __tls_get_addr_internal instead of __tls_get_offset in order to
1619 avoid GOT pointer dependency. Make rtld export
1620 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
1621 __tls_get_addr since we are a __tls_get_offset platform.
1622 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
1623 GOT pointer being set up before.
1624 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
1626 2013-11-28 Joseph Myers <joseph@codesourcery.com>
1628 * manual/math.texi (Errors in Math Functions): Document accuracy
1632 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
1633 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
1634 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1635 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1636 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1637 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1638 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1639 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1640 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1641 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1642 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1643 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1644 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1645 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1646 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1647 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
1649 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
1650 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
1651 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
1652 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
1653 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
1655 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
1657 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
1659 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
1660 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
1661 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
1662 atomic-feupdateenv and flt-rounds.
1663 * sysdeps/powerpc/nofpu/Versions (libc): Add
1664 __atomic_feholdexcept, __atomic_feclearexcept,
1665 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
1666 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
1667 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
1668 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
1669 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
1671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1674 * manual/arith.texi (FP Exceptions): Document that exceptions may
1675 not be raised when matherr is used.
1676 (Math Error Reporting): Document overflow in directed rounding
1677 modes. Document that errno may not be set when finite values are
1678 returned on overflow. Document intent to set errno on underflow
1679 only for underflow to zero.
1682 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
1683 round-to-nearest then adjust result for other rounding modes.
1684 * include/fenv.h (fegetround): Use libm_hidden_proto.
1685 * math/fegetround.c (fegetround): Use libm_hidden_def.
1686 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
1687 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
1688 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
1689 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
1691 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
1692 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1693 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
1694 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
1696 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1699 * nss/Versions (libnss_files): Add
1700 _nss_files_gethostbyname3_r.
1701 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
1703 (HOST_DB_LOOKUP): Remove macro.
1704 (_nss_files_gethostbyname_r): Implement function without the
1705 HOST_DB_LOOKUP macro.
1706 (_nss_files_gethostbyname2_r): Likewise.
1708 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
1710 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
1712 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
1714 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
1715 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
1718 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1720 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
1721 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
1722 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
1723 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1724 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
1725 __fe_nomask_env_priv and attribute_hidden.
1726 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
1727 (libc_feupdateenv_test_ppc): Likewise.
1728 (libc_feresetround_ppc): Likewise.
1729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1730 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
1731 compat_symbol macro.
1732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1733 (__fe_nomask_env): Likewise.
1734 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
1736 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
1738 * string/Makefile: Remove ifunc tests.
1739 * string/test-string.h: Define TEST_IFUNC.
1740 * string/test-bcopy-ifunc.c: Remove.
1741 * string/test-bzero-ifunc.c: Likewise.
1742 * string/test-memccpy-ifunc.c: Likewise.
1743 * string/test-memchr-ifunc.c: Likewise.
1744 * string/test-memcmp-ifunc.c: Likewise.
1745 * string/test-memcpy-ifunc.c: Likewise.
1746 * string/test-memmem-ifunc.c: Likewise.
1747 * string/test-memmove-ifunc.c: Likewise.
1748 * string/test-mempcpy-ifunc.c: Likewise.
1749 * string/test-memrchr-ifunc.c: Likewise.
1750 * string/test-memset-ifunc.c: Likewise.
1751 * string/test-rawmemchr-ifunc.c: Likewise.
1752 * string/test-stpcpy-ifunc.c: Likewise.
1753 * string/test-stpncpy-ifunc.c: Likewise.
1754 * string/test-strcasecmp-ifunc.c: Likewise.
1755 * string/test-strcasestr-ifunc.c: Likewise.
1756 * string/test-strcat-ifunc.c: Likewise.
1757 * string/test-strchr-ifunc.c: Likewise.
1758 * string/test-strchrnul-ifunc.c: Likewise.
1759 * string/test-strcmp-ifunc.c: Likewise.
1760 * string/test-strcpy-ifunc.c: Likewise.
1761 * string/test-strcspn-ifunc.c: Likewise.
1762 * string/test-strlen-ifunc.c: Likewise.
1763 * string/test-strncasecmp-ifunc.c: Likewise.
1764 * string/test-strncat-ifunc.c: Likewise.
1765 * string/test-strncmp-ifunc.c: Likewise.
1766 * string/test-strncpy-ifunc.c: Likewise.
1767 * string/test-strnlen-ifunc.c: Likewise.
1768 * string/test-strpbrk-ifunc.c: Likewise.
1769 * string/test-strrchr-ifunc.c: Likewise.
1770 * string/test-strspn-ifunc.c: Likewise.
1771 * string/test-strstr-ifunc.c: Likewise.
1773 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
1775 * benchtests/Makefile: Remove ifunc tests.
1776 * benchtests/bench-string.h: Define TEST_IFUNC.
1777 * benchtests/bench-bcopy-ifunc.c: Remove.
1778 * benchtests/bench-bzero-ifunc.c: Likewise.
1779 * benchtests/bench-memccpy-ifunc.c: Likewise.
1780 * benchtests/bench-memchr-ifunc.c: Likewise.
1781 * benchtests/bench-memcmp-ifunc.c: Likewise.
1782 * benchtests/bench-memcpy-ifunc.c: Likewise.
1783 * benchtests/bench-memmem-ifunc.c: Likewise.
1784 * benchtests/bench-memmove-ifunc.c: Likewise.
1785 * benchtests/bench-mempcpy-ifunc.c: Likewise.
1786 * benchtests/bench-memrchr-ifunc.c: Likewise.
1787 * benchtests/bench-memset-ifunc.c: Likewise.
1788 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
1789 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
1790 * benchtests/bench-stpcpy-ifunc.c: Likewise.
1791 * benchtests/bench-stpncpy-ifunc.c: Likewise.
1792 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
1793 * benchtests/bench-strcasestr-ifunc.c: Likewise.
1794 * benchtests/bench-strcat-ifunc.c: Likewise.
1795 * benchtests/bench-strchr-ifunc.c: Likewise.
1796 * benchtests/bench-strchrnul-ifunc.c: Likewise.
1797 * benchtests/bench-strcmp-ifunc.c: Likewise.
1798 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
1799 * benchtests/bench-strcpy-ifunc.c: Likewise.
1800 * benchtests/bench-strcspn-ifunc.c: Likewise.
1801 * benchtests/bench-strlen-ifunc.c: Likewise.
1802 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
1803 * benchtests/bench-strncat-ifunc.c: Likewise.
1804 * benchtests/bench-strncmp-ifunc.c: Likewise.
1805 * benchtests/bench-strncpy-ifunc.c: Likewise.
1806 * benchtests/bench-strnlen-ifunc.c: Likewise.
1807 * benchtests/bench-strpbrk-ifunc.c: Likewise.
1808 * benchtests/bench-strrchr-ifunc.c: Likewise.
1809 * benchtests/bench-strsep-ifunc.c: Likewise.
1810 * benchtests/bench-strspn-ifunc.c: Likewise.
1811 * benchtests/bench-strstr-ifunc.c: Likewise.
1813 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
1815 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
1817 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
1819 * resolv/netdb.h: Use __glibc_reserved instead __unused.
1820 * rt/aio.h: Likewise.
1821 * sysdeps/gnu/bits/utmp.h: Likewise.
1822 * sysdeps/gnu/bits/utmpx.h: Likewise.
1823 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
1824 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
1825 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
1826 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
1827 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
1828 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
1829 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
1830 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
1831 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
1832 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
1833 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
1834 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
1835 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
1836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
1837 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1838 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
1839 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
1840 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
1841 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
1842 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
1843 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
1844 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
1845 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
1846 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
1847 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
1848 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1849 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
1850 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
1851 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
1852 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
1853 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
1854 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
1855 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
1856 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1857 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
1858 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
1859 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
1860 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
1861 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
1862 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
1863 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
1864 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
1866 2013-11-25 Carlos O'Donell <carlos@redhat.com>
1869 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
1870 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
1872 2013-11-25 Joseph Myers <joseph@codesourcery.com>
1874 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
1875 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
1878 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1880 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
1881 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
1882 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
1883 (__fesetround): Remove define.
1884 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
1885 rounding and exceptions handling.
1886 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
1887 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
1888 (__fe_nomask_env): Likewise.
1889 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
1890 __fegetround instead of fegetround.
1891 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
1892 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
1894 2013-11-21 Roland McGrath <roland@hack.frob.com>
1896 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
1899 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
1901 2013-11-21 Meador Inge <meadori@codesourcery.com>
1904 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
1905 (encrypt_r): Likewise.
1906 * malloc/obstack.h (obstack_free): Likewise.
1907 * posix/unistd.h (encrypt): Likewise.
1909 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
1911 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
1912 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
1913 DL_CALL_DT_FINI() that call the functions directly.
1914 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
1915 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
1916 * elf/dl-fini.c: Likewise.
1918 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
1920 * malloc/hooks.c (memalign_check): Add alignment rounding.
1921 * malloc/malloc.c (_mid_memalign): New function.
1922 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
1923 Implement by calling _mid_memalign.
1924 * manual/probes.texi (Memory Allocation Probes): Remove
1925 memory_valloc_retry and memory_pvalloc_retry.
1927 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1929 * locale/programs/locarchive.c (open_archive): Add const
1930 qualifier to ARCHIVEFNAME and copy default fname to
1934 * libio/tst-widetext.input: Rename Oriya to Odia.
1935 * locale/iso-639.def: Likewise.
1937 * manual/probes.texi (Mathematical Function Probes): Add
1938 documentation for sin, cos, asin and acos probes.
1939 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
1940 (__sin32): Add slowasin probe.
1941 (__cos32): Add slowacos probe.
1942 (__mpsin): Add slowsin probe.
1943 (__mpcos): Add slowcos probe.
1945 2013-11-19 Joseph Myers <joseph@codesourcery.com>
1948 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
1949 thread-local __sim_exceptions_thread and global
1950 __sim_exceptions_global.
1951 (__sim_disabled_exceptions): Change to thread-local
1952 __sim_disabled_exceptions_thread and global
1953 __sim_disabled_exceptions_global.
1954 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
1955 and global __sim_round_mode_global.
1956 (__simulate_exceptions): Use thread-local floating-point state and
1957 set global state from it as needed.
1958 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
1959 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
1960 __sim_round_mode_thread.
1961 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
1962 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
1963 and global __sim_exceptions_global.
1964 (__sim_disabled_exceptions): Change to thread-local
1965 __sim_disabled_exceptions_thread and global
1966 __sim_disabled_exceptions_global.
1967 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
1968 and global __sim_round_mode_global.
1969 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
1970 (SIM_SET_GLOBAL): Likewise.
1971 * sysdeps/powerpc/soft-fp/sfp-machine.h
1972 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
1973 __sim_round_mode_thread.
1974 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
1975 __sim_disabled_exceptions_thread.
1976 (__sim_exceptions): Change to __sim_exceptions_thread.
1977 (__sim_disabled_exceptions): Change to
1978 __sim_disabled_exceptions_thread.
1979 (__sim_round_mode): Change to __sim_round_mode_thread.
1980 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
1981 thread-local floating-point state and set global state from it as
1983 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
1984 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
1985 (__sim_disabled_exceptions): Remove extern declaration.
1986 (feenableexcept): Use thread-local floating-point state and set
1987 global state from it as needed.
1988 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
1990 (__sim_disabled_exceptions): Likewise.
1991 (__sim_round_mode): Likewise.
1992 (__fegetenv): Use thread-local floating-point state.
1993 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
1994 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
1995 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
1996 floating-point state and set global state from it as needed.
1997 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
1998 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1999 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
2001 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2002 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
2004 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
2005 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
2006 Use __sim_round_mode_thread.
2007 * math/test-fenv-tls.c: New file.
2008 * math/Makefile (tests): Add test-fenv-tls.
2009 ($(objpfx)test-fenv-tls): Depend on
2010 $(common-objpfx)nptl/libpthread.so.
2012 2013-11-19 Andreas Schwab <schwab@suse.de>
2014 * locale/programs/locale.c (show_info): Decode wordarray elements.
2015 * locale/categories.def (LC_MONETARY): Add element for
2016 _NL_MONETARY_CRNCYSTR.
2017 * locale/C-monetary.c (conversion_rate): New variable.
2018 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
2021 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
2023 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
2024 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
2026 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
2028 * elf/Makefile (tst-auxv): New test.
2029 * elf/tst-auxv.c: New
2030 * elf/rtld.c (dl_main): Adjust AT_EXECFN
2032 2013-11-18 Joseph Myers <joseph@codesourcery.com>
2034 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
2035 (hidden_proto): Caller changed.
2036 (hidden_tls_proto): New macro.
2037 (libc_hidden_tls_proto): Likewise.
2038 (rtld_hidden_tls_proto): Likewise.
2039 (libm_hidden_tls_proto): Likewise.
2040 (libresolv_hidden_tls_proto): Likewise.
2041 (librt_hidden_tls_proto): Likewise.
2042 (libdl_hidden_tls_proto): Likewise.
2043 (libnss_files_hidden_tls_proto): Likewise.
2044 (libnsl_hidden_tls_proto): Likewise.
2045 (libnss_nisplus_hidden_tls_proto): Likewise.
2046 (libutil_hidden_tls_proto): Likewise.
2048 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
2051 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
2052 (decompose_rpath): Defer expansion to fillin_rpath.
2053 (_dl_init_paths): Pass linkmap to fillin_rpath.
2055 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2057 * benchtests/Makefile: Add strsep.
2058 * benchtests/bench-strsep.c: New file: strsep benchtest.
2059 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
2061 2013-11-18 Andreas Schwab <schwab@suse.de>
2063 * locale/programs/locale.c (show_info) [case byte]: Check for
2064 '\377' instead of '\177'.
2065 * locale/C-monetary.c (not_available): Always use "\377".
2066 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
2067 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
2068 detect unavailable sign_posn locale elements.
2069 * locale/localeconv.c (__localeconv): For grouping and
2070 mon_grouping handle "\177" and "\377" like no grouping.
2071 (INT_ELEM): New macro. Use it to set all numeric members.
2072 * locale/programs/ld-monetary.c (monetary_read)
2073 <tok_mon_grouping>: Normalize single -1 to the empty string.
2074 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
2077 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
2080 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
2081 when we match (nil).
2082 * stdio-common/tst-sscanf.c (struct test): Add testcase.
2084 2013-11-16 Joseph Myers <joseph@codesourcery.com>
2086 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
2087 (NO_TEST_INLINE): Update value.
2088 (ERRNO_UNCHANGED): Likewise.
2089 (ERRNO_EDOM): Likewise.
2090 (ERRNO_ERANGE): Likewise.
2091 (IGNORE_RESULT): Likewise.
2092 (check_float_internal): Check signs of NaN results if
2094 (check_complex): Pass TEST_NAN_SIGN flag through to second
2095 check_float_internal call.
2096 (copysign_test_data): Add tests with quiet NaNs as second
2097 argument. Use TEST_NAN_SIGN.
2098 (fabs_test_data): Add test of negative quiet NaN argument. Use
2100 (signbit_test_data): Add tests of quiet NaN argument.
2101 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
2103 * math/gen-libm-test.pl (show_exceptions): Take extra argument
2105 (parse_args): Handle function results specified as IGNORE.
2106 * math/libm-test.inc (IGNORE_RESULT): New macro.
2107 (check_float_internal): Do not check numerical result if flag
2109 (check_complex): Pass through IGNORE_RESULT to second
2110 check_float_internal call.
2111 (check_int): Do not check numerical result if flag IGNORE_RESULT
2113 (check_long): Likewise.
2114 (check_bool): Likewise.
2115 (check_longlong): Likewise.
2116 (lrint_test_data): Add tests of infinite and NaN arguments.
2117 (lrint_tonearest_test_data): Likewise.
2118 (lrint_towardzero_test_data): Likewise.
2119 (lrint_downward_test_data): Likewise.
2120 (lrint_upward_test_data): Likewise.
2121 (llrint_test_data): Likewise.
2122 (llrint_tonearest_test_data): Likewise.
2123 (llrint_towardzero_test_data): Likewise.
2124 (llrint_downward_test_data): Likewise.
2125 (llrint_upward_test_data): Likewise.
2126 (lround_test_data): Likewise.
2127 (llround_test_data): Likewise.
2129 * math/libm-test.inc (NO_TEST_INLINE): New macro.
2130 (ERRNO_UNCHANGED): Update value.
2131 (ERRNO_EDOM): Likewise.
2132 (ERRNO_ERANGE): Likewise.
2133 (NO_TEST_INLINE_FLOAT): New macro.
2134 (NO_TEST_INLINE_DOUBLE): Likewise.
2135 (enable_test): New function.
2136 (RUN_TEST_f_f): Check enable_test before running test.
2137 (RUN_TEST_2_f): Likewise.
2138 (RUN_TEST_fff_f): Likewise.
2139 (RUN_TEST_c_f): Likewise.
2140 (RUN_TEST_f_f1): Likewise.
2141 (RUN_TEST_fF_f1): Likewise.
2142 (RUN_TEST_fI_f1): Likewise.
2143 (RUN_TEST_ffI_f1): Likewise.
2144 (RUN_TEST_c_c): Likewise.
2145 (RUN_TEST_cc_c): Likewise.
2146 (RUN_TEST_f_i): Likewise.
2147 (RUN_TEST_f_i_tg): Likewise.
2148 (RUN_TEST_ff_i_tg): Likewise.
2149 (RUN_TEST_f_b): Likewise.
2150 (RUN_TEST_f_b_tg): Likewise.
2151 (RUN_TEST_f_l): Likewise.
2152 (RUN_TEST_f_L): Likewise.
2153 (RUN_TEST_fFF_11): Likewise.
2154 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
2156 (cosh_test_data): Likewise.
2157 (exp_test_data): Likewise.
2158 (expm1_test_data): Likewise.
2159 (hypot_test_data): Likewise.
2160 (pow_test_data): Likewise.
2161 (sinh_test_data): Likewise.
2162 (tanh_test_data): Likewise.
2163 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
2166 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
2167 tests with quiet NaN input and output.
2168 (acosh_test_data): Likewise.
2169 (asin_test_data): Likewise.
2170 (asinh_test_data): Likewise.
2171 (atan_test_data): Likewise.
2172 (atanh_test_data): Likewise.
2173 (atan2_test_data): Likewise.
2174 (cbrt_test_data): Likewise.
2175 (cos_test_data): Likewise.
2176 (cosh_test_data): Likewise.
2177 (erf_test_data): Likewise.
2178 (erfc_test_data): Likewise.
2179 (exp_test_data): Likewise.
2180 (exp10_test_data): Likewise.
2181 (exp2_test_data): Likewise.
2182 (expm1_test_data): Likewise.
2183 (hypot_test_data): Likewise.
2184 (j0_test_data): Likewise.
2185 (j1_test_data): Likewise.
2186 (jn_test_data): Likewise.
2187 (lgamma_test_data): Likewise.
2188 (log_test_data): Likewise.
2189 (log10_test_data): Likewise.
2190 (log1p_test_data): Likewise.
2191 (log2_test_data): Likewise.
2192 (pow_test_data): Likewise.
2193 (scalb_test_data): Likewise.
2194 (sin_test_data): Likewise.
2195 (sincos_test_data): Likewise.
2196 (sinh_test_data): Likewise.
2197 (tan_test_data): Likewise.
2198 (tanh_test_data): Likewise.
2199 (tgamma_test_data): Likewise.
2200 (y0_test_data): Likewise.
2201 (y1_test_data): Likewise.
2202 (yn_test_data): Likewise.
2205 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
2206 argument being NaN and avoid computations with second argument in
2208 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2209 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2210 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2212 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
2214 * locale/iso-639.def: Add Chitwani Tharu (the).
2216 2013-11-14 Andreas Schwab <schwab@suse.de>
2218 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
2219 word instead of empty string.
2221 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2224 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
2225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2226 (__fe_nomask_env): Likewise.
2228 2013-11-13 Steve Ellcey <sellcey@mips.com>
2230 * benchtests/bench-timing.h: Include time.h.
2232 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
2235 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
2237 * sysdeps/unix/sysv/linux/configure: Regenerated.
2239 2013-11-13 Joseph Myers <joseph@codesourcery.com>
2242 * stdlib/strtod_l.c (round_and_return): Do not consider
2243 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
2244 exponent one less than half the least subnormal exponent.
2245 * stdlib/test-strtod-round-data: Add more tests.
2246 * stdlib/tst-strtod-round.c (tests): Regenerated.
2248 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2251 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
2252 (__fe_mask_env): Likewise.
2253 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
2254 libm_hidden_proto and add function prototype.
2255 (__fe_mask_env): Add function prototype.
2256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2257 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
2258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2259 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
2260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2261 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
2263 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2265 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
2266 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
2268 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2270 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
2271 of htab_find_slot().
2273 2013-11-11 David S. Miller <davem@davemloft.net>
2276 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
2277 symbol in the non-vis3 case in static builds.
2278 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
2279 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
2280 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
2281 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
2283 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2286 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
2289 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2291 * benchtests/Makefile: Add bench-strtod.
2292 * benchtests/bench-strtod.c: New file: strtod benchtest
2294 2013-11-11 Andreas Schwab <schwab@suse.de>
2297 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
2298 terminating NUL in key length.
2300 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2302 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2303 Add artificial ODP entry for vDSO symbol for PPC64.
2304 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
2305 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
2307 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
2310 * nss/getent.c (services_keys): Recognize services starting with digit.
2312 2013-11-06 David S. Miller <davem@davemloft.net>
2315 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
2316 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
2318 2013-11-06 Will Newton <will.newton@linaro.org>
2320 * manual/memory.texi (Malloc Examples): Remove register
2321 keyword from examples.
2323 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
2325 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
2327 2013-11-04 Joseph Myers <joseph@codesourcery.com>
2329 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
2330 depending on [__GCC_IEC_559 > 0].
2331 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
2332 depending on [__GCC_IEC_559_COMPLEX > 0].
2334 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
2336 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
2339 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
2341 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
2343 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
2346 * malloc/malloc (malloc_info): Do not handle first bin as
2349 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
2351 * locale/iso-639.def: Add Central Nahuatl (nhn).
2353 2013-11-01 Bruno Haible <bruno@clisp.org>
2356 * manual/math.texi (BSD Random): Specify range upper bound as
2359 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
2361 * locale/iso-639.def: Add Meadow Mari (mhr).
2363 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
2365 [BZ #14752], [BZ #15763]
2366 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
2368 * rt/tst_shm.c: Add test for escaping directory.
2370 2013-10-31 Andreas Schwab <schwab@suse.de>
2373 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
2374 followed by 'x' as part of digit sequence.
2375 * stdio-common/tst-sscanf.c (double_tests2): New tests.
2377 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2380 * configure.ac: allow GNU Make 4.0 and greater.
2381 * configure: Regenerated.
2383 2013-10-30 Will Newton <will.newton@linaro.org>
2386 * malloc/hooks.c (memalign_check): Limit alignment to the
2387 maximum representable power of two.
2388 * malloc/malloc.c (__libc_memalign): Likewise.
2389 * malloc/tst-memalign.c (do_test): Add test for very
2390 large alignment values.
2391 * malloc/tst-posix_memalign.c (do_test): Likewise.
2393 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
2396 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
2397 (munmap_chunk): Likewise.
2398 (mremap_chunk): Likewise.
2400 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
2403 * stdlib/div.c (div): Remove obsolete code.
2404 * stdlib/ldiv.c (ldiv): Likewise.
2405 * stdlib/lldiv.c (lldiv): Likewise.
2407 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2410 * nss/nss_files/files-XXX.c (get_contents_ret): New
2412 (get_contents): New function.
2413 (internal_getent): Use it. Expand size of LINEBUFLEN.
2415 2013-10-30 Mike Frysinger <vapier@gentoo.org>
2417 * configure.in: Moved to ...
2418 * configure.ac: ... here. Change reference to configure.in
2420 * sysdeps/arm/preconfigure.ac: ... here.
2421 configure.in to configure.ac.
2422 * sysdeps/gnu/configure.in: Moved to ...
2423 * sysdeps/gnu/configure.ac: ... here.
2424 * sysdeps/i386/configure.in: Moved to ...
2425 * sysdeps/i386/configure.ac: ... here.
2426 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
2427 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
2428 * sysdeps/mach/configure.in: Moved to ...
2429 * sysdeps/mach/configure.ac: ... here.
2430 * sysdeps/mach/hurd/configure.in: Moved to ...
2431 * sysdeps/mach/hurd/configure.ac: ... here.
2432 * sysdeps/powerpc/configure.in: Moved to ...
2433 * sysdeps/powerpc/configure.ac: ... here.
2434 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
2435 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
2436 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
2437 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
2438 * sysdeps/s390/s390-32/configure.in: Moved to ...
2439 * sysdeps/s390/s390-32/configure.ac: ... here.
2440 * sysdeps/s390/s390-64/configure.in: Moved to ...
2441 * sysdeps/s390/s390-64/configure.ac: ... here.
2442 * sysdeps/sh/configure.in: Moved to ...
2443 * sysdeps/sh/configure.ac: ... here.
2444 * sysdeps/sparc/configure.in: Moved to ...
2445 * sysdeps/sparc/configure.ac: ... here.
2446 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
2447 * sysdeps/unix/sysv/linux/configure.ac: ... here.
2448 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
2449 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
2450 * sysdeps/x86_64/configure.in: Moved to ...
2451 * sysdeps/x86_64/configure.ac: ... here.
2452 * sysdeps/x86_64/preconfigure.in: Moved to ...
2453 * sysdeps/x86_64/preconfigure.ac: ... here.
2454 * aclocal.m4: Change reference to configure.in to configure.ac.
2455 * config.h.in: Likewise.
2456 * manual/install.texi: Likewise.
2457 * manual/maint.texi: Likewise.
2458 * Makefile: Likewise.
2459 * malloc/Makefile: Likewise.
2460 * nscd/Makefile: Likewise.
2461 * Makeconfig: Change reference to configure.in and
2462 preconfigure.in to configure.ac and preconfigure.ac
2464 * INSTALL: Regenerated.
2465 * configure: Likewise.
2466 * sysdeps/gnu/configure: Likewise.
2467 * sysdeps/i386/configure: Likewise.
2468 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
2469 * sysdeps/mach/configure: Likewise.
2470 * sysdeps/mach/hurd/configure: Likewise.
2471 * sysdeps/powerpc/configure: Likewise.
2472 * sysdeps/powerpc/powerpc32/configure: Likewise.
2473 * sysdeps/powerpc/powerpc64/configure: Likewise.
2474 * sysdeps/s390/s390-32/configure: Likewise.
2475 * sysdeps/s390/s390-64/configure: Likewise.
2476 * sysdeps/sh/configure: Likewise.
2477 * sysdeps/sparc/configure: Likewise.
2478 * sysdeps/unix/sysv/linux/configure: Likewise.
2479 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
2480 * sysdeps/x86_64/configure: Likewise.
2481 * sysdeps/x86_64/preconfigure: Likewise.
2483 2013-10-29 Andreas Schwab <schwab@suse.de>
2485 * stdio-common/Makefile (tst-swscanf-ENV): Define.
2487 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2489 * benchtests/pow-inputs: Add new inputs.
2491 * benchtests/exp-inputs: Add new inputs.
2493 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
2494 conditional check for return value.
2495 (__cos32): Likewise.
2497 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2499 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
2500 to provide a boost for large inputs with word alignment.
2501 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
2502 implementation based on optimized PPC64 strcpy.
2503 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
2504 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
2505 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
2506 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
2508 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
2511 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
2513 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
2516 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
2517 * time/tst-strptime.c (day_tests): Add testcase.
2519 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
2522 * manual/pattern.texi: Acknowledge that fnmatch can fail.
2524 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
2527 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
2528 MAP_FAILED on error.
2530 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2533 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
2534 heap for large requests.
2536 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
2539 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
2540 result if the result has no associated interface.
2541 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
2542 interface for all 127.X.Y.Z addresses.
2544 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
2546 * locale/iso-639.def: Add Ligurian (lij)
2548 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
2551 * sunrpc/rpc_main.c: Document rpcgen -5.
2553 2013-10-19 Michael Stahl <mstahl@redhat.com>
2555 * elf/rtld.c (do_preload): Print the reason why preloading failed.
2557 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
2560 * posix/glob.c: Match only directories when trailing slash is present.
2561 * posix/tst-gnuglob.c (my_opendir): Do not open files.
2562 (main): Add testcase.
2564 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
2567 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
2569 2013-10-18 Carlos O'Donell <carlos@redhat.com>
2571 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
2572 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
2573 AUTH_DES and cindex for FIPS 140-2.
2574 (DES Encryption): Add cindex FIPS 46-3.
2576 * locale/locarchive.h (struct locarhandle): Add fname.
2577 * locale/programs/localedef.c (main): Pass ARGV[remaining]
2578 if an optional argument was specified to --list-archive,
2580 * locale/programs/locarchive.c (show_archive_content): Take new
2581 argument fname and pass it via ah.fname to open_archive.
2582 * locale/programs/localedef.h: Update decl.
2583 (open_archive): If AH->fname is non-null, open that file
2584 rather than the default file name, and don't ignore ENOENT.
2585 (create_archive): Set AH.fname to NULL.
2586 (delete_locales_from_archive): Likewise.
2587 (add_locales_to_archive): Likewise.
2588 * locale/programs/locfile.c (write_all_categories): Likewise.
2590 2013-10-18 Joseph Myers <joseph@codesourcery.com>
2591 Aldy Hernandez <aldyh@redhat.com>
2593 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
2594 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
2595 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
2596 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
2597 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
2598 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
2599 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
2600 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
2601 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
2602 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
2603 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
2604 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
2605 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
2606 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
2607 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
2609 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
2611 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
2613 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
2615 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
2616 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
2618 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
2619 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
2620 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
2621 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
2623 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
2624 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
2625 * sysdeps/powerpc/preconfigure: Likewise.
2626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
2628 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
2629 Replace contents of file by #include of <fenv_libc.h>.
2630 * sysdeps/powerpc/soft-fp/sfp-machine.h
2631 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
2633 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
2634 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
2635 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
2636 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
2637 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
2638 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
2639 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
2640 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
2641 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
2642 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
2643 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
2644 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
2645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2646 Allow copysignl PLT reference to be missing.
2648 2013-10-18 Richard Sandiford <richard@codesourcery.com>
2649 Joseph Myers <joseph@codesourcery.com
2652 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
2654 (add_to_tablewc): Assert sequence of wide characters is nonempty.
2656 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2658 * elf/tst-tls-dlinfo.c: Don't include tls.h.
2659 * elf/tst-tls1.c: Likewise.
2660 * elf/tst-tls10.h: Likewise.
2661 * elf/tst-tls14.c: Likewise.
2662 * elf/tst-tls2.c: Likewise.
2663 * elf/tst-tls3.c: Likewise.
2664 * elf/tst-tls4.c: Likewise.
2665 * elf/tst-tls5.c: Likewise.
2666 * elf/tst-tls6.c: Likewise.
2667 * elf/tst-tls7.c: Likewise.
2668 * elf/tst-tls8.c: Likewise.
2669 * elf/tst-tls9.c: Likewise.
2670 * elf/tst-tlsmod1.c: Likewise.
2671 * elf/tst-tlsmod13.c: Likewise.
2672 * elf/tst-tlsmod13a.c: Likewise.
2673 * elf/tst-tlsmod14a.c: Likewise.
2674 * elf/tst-tlsmod16a.c: Likewise.
2675 * elf/tst-tlsmod16b.c: Likewise.
2676 * elf/tst-tlsmod2.c: Likewise.
2677 * elf/tst-tlsmod3.c: Likewise.
2678 * elf/tst-tlsmod4.c: Likewise.
2679 * elf/tst-tlsmod5.c: Likewise.
2680 * elf/tst-tlsmod6.c: Likewise.
2682 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
2685 * malloc/malloc.c: remove checks for statistics.
2687 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
2690 * inet/inet_net.c (inet_network): Detect additional invalid strings.
2691 * inet/tst-network.c: Add testcase.
2693 2013-10-17 Andreas Schwab <schwab@suse.de>
2696 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
2697 to determine canonical name.
2699 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
2701 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
2702 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
2703 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2704 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2705 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2706 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2707 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2708 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2709 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
2710 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2711 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2712 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2713 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2714 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2715 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2716 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2717 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2718 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2719 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2720 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2721 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2722 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2723 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2724 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
2725 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
2726 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
2727 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
2728 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
2729 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
2730 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
2731 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2732 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2733 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2734 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2735 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2736 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2737 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2738 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2739 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2740 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2741 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2742 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2743 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
2744 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2745 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
2746 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2747 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2748 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
2749 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
2750 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2751 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
2752 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2753 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2754 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
2755 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2756 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
2757 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2758 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2760 2013-10-17 Joseph Myers <joseph@codesourcery.com>
2763 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
2764 make result into a quiet NaN.
2766 2013-10-16 Joseph Myers <joseph@codesourcery.com>
2768 * soft-fp/adddf3.c: Fix horizontal whitespace.
2769 * soft-fp/addsf3.c: Likewise.
2770 * soft-fp/addtf3.c: Likewise.
2771 * soft-fp/divdf3.c: Likewise.
2772 * soft-fp/divsf3.c: Likewise.
2773 * soft-fp/divtf3.c: Likewise.
2774 * soft-fp/double.h: Likewise.
2775 * soft-fp/eqdf2.c: Likewise.
2776 * soft-fp/eqsf2.c: Likewise.
2777 * soft-fp/eqtf2.c: Likewise.
2778 * soft-fp/extenddftf2.c: Likewise.
2779 * soft-fp/extended.h: Likewise.
2780 * soft-fp/extendsfdf2.c: Likewise.
2781 * soft-fp/extendsftf2.c: Likewise.
2782 * soft-fp/extendxftf2.c: Likewise.
2783 * soft-fp/fixdfdi.c: Likewise.
2784 * soft-fp/fixdfsi.c: Likewise.
2785 * soft-fp/fixdfti.c: Likewise.
2786 * soft-fp/fixsfdi.c: Likewise.
2787 * soft-fp/fixsfsi.c: Likewise.
2788 * soft-fp/fixsfti.c: Likewise.
2789 * soft-fp/fixtfdi.c: Likewise.
2790 * soft-fp/fixtfsi.c: Likewise.
2791 * soft-fp/fixtfti.c: Likewise.
2792 * soft-fp/fixunsdfdi.c: Likewise.
2793 * soft-fp/fixunsdfsi.c: Likewise.
2794 * soft-fp/fixunsdfti.c: Likewise.
2795 * soft-fp/fixunssfdi.c: Likewise.
2796 * soft-fp/fixunssfsi.c: Likewise.
2797 * soft-fp/fixunssfti.c: Likewise.
2798 * soft-fp/fixunstfdi.c: Likewise.
2799 * soft-fp/fixunstfsi.c: Likewise.
2800 * soft-fp/fixunstfti.c: Likewise.
2801 * soft-fp/floatdidf.c: Likewise.
2802 * soft-fp/floatdisf.c: Likewise.
2803 * soft-fp/floatditf.c: Likewise.
2804 * soft-fp/floatsidf.c: Likewise.
2805 * soft-fp/floatsisf.c: Likewise.
2806 * soft-fp/floatsitf.c: Likewise.
2807 * soft-fp/floattidf.c: Likewise.
2808 * soft-fp/floattisf.c: Likewise.
2809 * soft-fp/floattitf.c: Likewise.
2810 * soft-fp/floatundidf.c: Likewise.
2811 * soft-fp/floatundisf.c: Likewise.
2812 * soft-fp/floatunditf.c: Likewise.
2813 * soft-fp/floatunsidf.c: Likewise.
2814 * soft-fp/floatunsisf.c: Likewise.
2815 * soft-fp/floatunsitf.c: Likewise.
2816 * soft-fp/floatuntidf.c: Likewise.
2817 * soft-fp/floatuntisf.c: Likewise.
2818 * soft-fp/floatuntitf.c: Likewise.
2819 * soft-fp/fmadf4.c: Likewise.
2820 * soft-fp/fmasf4.c: Likewise.
2821 * soft-fp/fmatf4.c: Likewise.
2822 * soft-fp/gedf2.c: Likewise.
2823 * soft-fp/gesf2.c: Likewise.
2824 * soft-fp/getf2.c: Likewise.
2825 * soft-fp/ledf2.c: Likewise.
2826 * soft-fp/lesf2.c: Likewise.
2827 * soft-fp/letf2.c: Likewise.
2828 * soft-fp/muldf3.c: Likewise.
2829 * soft-fp/mulsf3.c: Likewise.
2830 * soft-fp/multf3.c: Likewise.
2831 * soft-fp/negdf2.c: Likewise.
2832 * soft-fp/negsf2.c: Likewise.
2833 * soft-fp/negtf2.c: Likewise.
2834 * soft-fp/op-1.h: Likewise.
2835 * soft-fp/op-2.h: Likewise.
2836 * soft-fp/op-4.h: Likewise.
2837 * soft-fp/op-8.h: Likewise.
2838 * soft-fp/op-common.h: Likewise.
2839 * soft-fp/quad.h: Likewise.
2840 * soft-fp/single.h: Likewise.
2841 * soft-fp/soft-fp.h: Likewise.
2842 * soft-fp/sqrtdf2.c: Likewise.
2843 * soft-fp/sqrtsf2.c: Likewise.
2844 * soft-fp/sqrttf2.c: Likewise.
2845 * soft-fp/subdf3.c: Likewise.
2846 * soft-fp/subsf3.c: Likewise.
2847 * soft-fp/subtf3.c: Likewise.
2848 * soft-fp/truncdfsf2.c: Likewise.
2849 * soft-fp/trunctfdf2.c: Likewise.
2850 * soft-fp/trunctfsf2.c: Likewise.
2851 * soft-fp/trunctfxf2.c: Likewise.
2852 * soft-fp/unorddf2.c: Likewise.
2853 * soft-fp/unordsf2.c: Likewise.
2854 * soft-fp/unordtf2.c: Likewise.
2856 2013-10-15 Joseph Myers <joseph@codesourcery.com>
2858 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
2859 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
2861 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
2863 * elf/dl-libc.c: Clear initfini list after freeing.
2865 2013-10-14 Joseph Myers <joseph@codesourcery.com>
2867 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
2868 * soft-fp/addsf3.c: Likewise.
2869 * soft-fp/addtf3.c: Likewise.
2870 * soft-fp/divdf3.c: Likewise.
2871 * soft-fp/divsf3.c: Likewise.
2872 * soft-fp/divtf3.c: Likewise.
2873 * soft-fp/double.h: Likewise.
2874 * soft-fp/eqdf2.c: Likewise.
2875 * soft-fp/eqsf2.c: Likewise.
2876 * soft-fp/eqtf2.c: Likewise.
2877 * soft-fp/extenddftf2.c: Likewise.
2878 * soft-fp/extended.h: Likewise.
2879 * soft-fp/extendsfdf2.c: Likewise.
2880 * soft-fp/extendsftf2.c: Likewise.
2881 * soft-fp/extendxftf2.c: Likewise.
2882 * soft-fp/fixdfdi.c: Likewise.
2883 * soft-fp/fixdfsi.c: Likewise.
2884 * soft-fp/fixdfti.c: Likewise.
2885 * soft-fp/fixsfdi.c: Likewise.
2886 * soft-fp/fixsfsi.c: Likewise.
2887 * soft-fp/fixsfti.c: Likewise.
2888 * soft-fp/fixtfdi.c: Likewise.
2889 * soft-fp/fixtfsi.c: Likewise.
2890 * soft-fp/fixtfti.c: Likewise.
2891 * soft-fp/fixunsdfdi.c: Likewise.
2892 * soft-fp/fixunsdfsi.c: Likewise.
2893 * soft-fp/fixunsdfti.c: Likewise.
2894 * soft-fp/fixunssfdi.c: Likewise.
2895 * soft-fp/fixunssfsi.c: Likewise.
2896 * soft-fp/fixunssfti.c: Likewise.
2897 * soft-fp/fixunstfdi.c: Likewise.
2898 * soft-fp/fixunstfsi.c: Likewise.
2899 * soft-fp/fixunstfti.c: Likewise.
2900 * soft-fp/floatdidf.c: Likewise.
2901 * soft-fp/floatdisf.c: Likewise.
2902 * soft-fp/floatditf.c: Likewise.
2903 * soft-fp/floatsidf.c: Likewise.
2904 * soft-fp/floatsisf.c: Likewise.
2905 * soft-fp/floatsitf.c: Likewise.
2906 * soft-fp/floattidf.c: Likewise.
2907 * soft-fp/floattisf.c: Likewise.
2908 * soft-fp/floattitf.c: Likewise.
2909 * soft-fp/floatundidf.c: Likewise.
2910 * soft-fp/floatundisf.c: Likewise.
2911 * soft-fp/floatunsidf.c: Likewise.
2912 * soft-fp/floatunsisf.c: Likewise.
2913 * soft-fp/floatuntidf.c: Likewise.
2914 * soft-fp/floatuntisf.c: Likewise.
2915 * soft-fp/floatuntitf.c: Likewise.
2916 * soft-fp/fmadf4.c: Likewise.
2917 * soft-fp/fmasf4.c: Likewise.
2918 * soft-fp/fmatf4.c: Likewise.
2919 * soft-fp/gedf2.c: Likewise.
2920 * soft-fp/gesf2.c: Likewise.
2921 * soft-fp/getf2.c: Likewise.
2922 * soft-fp/ledf2.c: Likewise.
2923 * soft-fp/lesf2.c: Likewise.
2924 * soft-fp/letf2.c: Likewise.
2925 * soft-fp/muldf3.c: Likewise.
2926 * soft-fp/mulsf3.c: Likewise.
2927 * soft-fp/multf3.c: Likewise.
2928 * soft-fp/negdf2.c: Likewise.
2929 * soft-fp/negsf2.c: Likewise.
2930 * soft-fp/negtf2.c: Likewise.
2931 * soft-fp/op-1.h: Likewise.
2932 * soft-fp/op-2.h: Likewise.
2933 * soft-fp/op-4.h: Likewise.
2934 * soft-fp/op-8.h: Likewise.
2935 * soft-fp/op-common.h: Likewise.
2936 * soft-fp/quad.h: Likewise.
2937 * soft-fp/single.h: Likewise.
2938 * soft-fp/soft-fp.h: Likewise.
2939 * soft-fp/sqrtdf2.c: Likewise.
2940 * soft-fp/sqrtsf2.c: Likewise.
2941 * soft-fp/sqrttf2.c: Likewise.
2942 * soft-fp/subdf3.c: Likewise.
2943 * soft-fp/subsf3.c: Likewise.
2944 * soft-fp/subtf3.c: Likewise.
2945 * soft-fp/truncdfsf2.c: Likewise.
2946 * soft-fp/trunctfdf2.c: Likewise.
2947 * soft-fp/trunctfsf2.c: Likewise.
2948 * soft-fp/trunctfxf2.c: Likewise.
2949 * soft-fp/unorddf2.c: Likewise.
2950 * soft-fp/unordsf2.c: Likewise.
2951 * soft-fp/unordtf2.c: Likewise.
2953 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
2956 * misc/error.c (error_tail): Fix possible buffer overflow.
2958 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
2961 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
2964 2013-10-14 P. J. McDermott <pj@pehjota.net>
2967 * elf/ldd.bash.in (try_trace): New function. Delete previous code
2968 testing pipefail option.
2970 2013-10-12 Joseph Myers <joseph@codesourcery.com>
2972 * soft-fp/double.h: Indent preprocessor directives inside #if.
2973 * soft-fp/extended.h: Likewise.
2974 * soft-fp/op-2.h: Likewise.
2975 * soft-fp/op-4.h: Likewise.
2976 * soft-fp/op-common.h: Likewise.
2977 * soft-fp/quad.h: Likewise.
2978 * soft-fp/single.h: Likewise.
2979 * soft-fp/soft-fp.h: Likewise.
2981 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
2983 * iconv/iconv_prog.c: Fix typos.
2984 * stdio-common/psiginfo-data.h: Likewise.
2986 2013-10-12 Reuben Thomas <rrt@sc3d.org>
2989 * locale/setlocale.c: Fix typo.
2991 2013-10-12 Joseph Myers <joseph@codesourcery.com>
2994 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
2995 signaling NaN arguments.
2996 * soft-fp/unordsf2.c (__unordsf2): Likewise.
2997 * soft-fp/unordtf2.c (__unordtf2): Likewise.
3000 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
3002 * soft-fp/gesf2.c (__gesf2): Likewise.
3003 * soft-fp/getf2.c (__getf2): Likewise.
3004 * soft-fp/ledf2.c (__ledf2): Likewise.
3005 * soft-fp/lesf2.c (__lesf2): Likewise.
3006 * soft-fp/letf2.c (__letf2): Likewise.
3008 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
3009 * soft-fp/eqsf2.c (__eqsf2): Likewise.
3010 * soft-fp/eqtf2.c (__eqtf2): Likewise.
3011 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
3012 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
3013 * soft-fp/fixdfti.c (__fixdfti): Likewise.
3014 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
3015 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
3016 * soft-fp/fixsfti.c (__fixsfti): Likewise.
3017 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
3018 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
3019 * soft-fp/fixtfti.c (__fixtfti): Likewise.
3020 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
3021 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
3022 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
3023 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
3024 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
3025 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
3026 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
3027 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
3028 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
3029 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
3030 * soft-fp/floatdisf.c (__floatdisf): Likewise.
3031 * soft-fp/floatsisf.c (__floatsisf): Likewise.
3032 * soft-fp/floattidf.c (__floattidf): Likewise.
3033 * soft-fp/floattisf.c (__floattisf): Likewise.
3034 * soft-fp/floattitf.c (__floattitf): Likewise.
3035 * soft-fp/floatundidf.c (__floatundidf): Likewise.
3036 * soft-fp/floatundisf.c (__floatundisf): Likewise.
3037 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
3038 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
3039 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
3040 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
3041 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
3042 * soft-fp/gesf2.c (__gesf2): Likewise.
3043 * soft-fp/getf2.c (__getf2): Likewise.
3044 * soft-fp/ledf2.c (__ledf2): Likewise.
3045 * soft-fp/lesf2.c (__lesf2): Likewise.
3046 * soft-fp/letf2.c (__letf2): Likewise.
3048 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
3049 Undefine and redefine.
3050 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
3051 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
3052 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
3053 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
3054 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3055 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
3056 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3057 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
3058 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3059 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
3060 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3061 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
3062 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3063 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
3064 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3067 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
3068 without decrementing exponent if mantissa >= that for the
3070 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
3071 denominator, not >. Decrement exponent in < case instead of
3072 incrementing in >= case.
3073 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
3074 without decrementing exponent if mantissa >= that for the
3077 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
3078 computing saturated result for unsigned overflow.
3080 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3081 Jeff Law <law@redhat.com>
3083 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
3084 (atan2Mp): Add systemtap probe marker.
3085 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
3086 (__ieee754_log): Add systemtap probe marker.
3087 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
3088 (atanMp): Add systemtap probe marker.
3089 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
3090 (tanMp): Add systemtap probe marker.
3091 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
3092 (__slowexp): Add systemtap probe marker.
3093 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
3094 (__slowpow): Add systemtap probe marker.
3095 * manual/probes.texi: Document probes.
3097 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
3100 * libio/fileops.c (_IO_new_file_write): Return count of bytes
3102 (_IO_new_file_xsputn): Don't return EOF if nothing has been
3104 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
3105 written to buffer but not flushed.
3106 * libio/iofwrite_u.c: Likewise.
3107 * libio/iopadn.c: Return bytes returned even if EOF was
3109 * libio/iowpadn.c: Likewise.
3110 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
3111 if _IO_padn does not write the whole buffer.
3112 [!COMPILE_WPRINTF] (PAD): Likewise.
3114 2013-10-10 David S. Miller <davem@davemloft.net>
3116 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
3119 2013-10-10 Joseph Myers <joseph@codesourcery.com>
3121 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
3122 instead of FSF address.
3123 * soft-fp/fixdfti.c: Likewise.
3124 * soft-fp/fixsfti.c: Likewise.
3125 * soft-fp/fixtfti.c: Likewise.
3126 * soft-fp/fixunsdfti.c: Likewise.
3127 * soft-fp/fixunssfti.c: Likewise.
3128 * soft-fp/fixunstfti.c: Likewise.
3129 * soft-fp/floattidf.c: Likewise.
3130 * soft-fp/floattisf.c: Likewise.
3131 * soft-fp/floattitf.c: Likewise.
3132 * soft-fp/floatuntidf.c: Likewise.
3133 * soft-fp/floatuntisf.c: Likewise.
3134 * soft-fp/floatuntitf.c: Likewise.
3135 * soft-fp/trunctfxf2.c: Likewise.
3137 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
3138 * soft-fp/fixdfti.c: Likewise.
3139 * soft-fp/fixsfti.c: Likewise.
3140 * soft-fp/fixtfti.c: Likewise.
3141 * soft-fp/fixunsdfti.c: Likewise.
3142 * soft-fp/fixunssfti.c: Likewise.
3143 * soft-fp/fixunstfti.c: Likewise.
3144 * soft-fp/floattidf.c: Likewise.
3145 * soft-fp/floattisf.c: Likewise.
3146 * soft-fp/floattitf.c: Likewise.
3147 * soft-fp/floatuntidf.c: Likewise.
3148 * soft-fp/floatuntisf.c: Likewise.
3149 * soft-fp/floatuntitf.c: Likewise.
3150 * soft-fp/trunctfxf2.c: Likewise.
3152 2013-10-10 David S. Miller <davem@davemloft.net>
3154 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3156 2013-10-10 Joseph Myers <joseph@codsourcery.com>
3158 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
3159 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
3160 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
3161 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
3162 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
3163 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
3164 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
3166 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
3167 for NaNs before doing comparisons on argument.
3168 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
3171 2013-10-10 Will Newton <will.newton@linaro.org>
3173 * malloc/hooks.c (memalign_check): Ensure the value of bytes
3174 passed to _int_memalign does not overflow.
3176 2013-10-10 Torvald Riegel <triegel@redhat.com>
3178 * scripts/bench.pl: Add include-sources directive.
3179 * benchtests/README: Update documentation.
3181 2013-10-10 Joseph Myers <joseph@codesourcery.com>
3183 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
3184 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
3185 instead of FP_INIT_ROUNDMODE.
3186 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
3187 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
3190 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
3191 copy class of input value.
3192 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
3193 not handle exceptions.
3194 * soft-fp/negsf2.c (__negsf2): Likewise.
3195 * soft-fp/negtf2.c (__negtf2): Likewise.
3196 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
3198 2013-10-09 Joseph Myers <joseph@codesourcery.com>
3200 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
3201 semicolon. From Linux kernel.
3203 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
3205 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
3207 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
3210 * manual/socket.texi: Added statement about buffer
3211 for gethostbyname2_r.
3213 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
3215 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
3216 Use .p2align directive instead, throughout.
3217 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3218 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3219 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
3220 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3221 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3222 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
3223 * sysdeps/x86_64/strchr.S: Likewise.
3224 * sysdeps/x86_64/strrchr.S: Likewise.
3226 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3228 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
3230 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
3232 * sysdeps/generic/math_private.h (__mpsin1): Remove
3234 (__mpcos1): Likewise.
3235 (__mpsin): New argument __range_reduce.
3236 (__mpcos): Likewise.
3237 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3238 (slow): Use __mpsin and __mpcos.
3245 (bsloww1): Likewise.
3246 (bsloww2): Likewise.
3249 (csloww1): Likewise.
3250 (csloww2): Likewise.
3251 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
3252 range_reduce. Merge in __mpsin1.
3253 (__mpcos): Likewise.
3255 (__mpcos1): Likewise.
3257 2013-10-07 Joseph Myers <joseph@codesourcery.com>
3259 * locale/loadlocale.c (_nl_intern_locale_data): Use
3261 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
3262 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
3263 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
3264 obstack data is appropriately aligned.
3265 (obstack_int32_grow_fast): Likewise.
3266 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
3267 * locale/programs/locfile.c (add_locale_uint32): Likewise.
3268 (add_locale_uint32_array): Likewise.
3270 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
3272 * benchtests/Makefile: Remove ARGLIST and RET variables.
3273 ($(objpfx)bench-%.c): Pass only function name to the script.
3274 * benchtests/README: Update documentation.
3275 * benchtests/acos-inputs: Add new directives.
3276 * benchtests/acosh-inputs: Likewise.
3277 * benchtests/asin-inputs: Likewise.
3278 * benchtests/asinh-inputs: Likewise.
3279 * benchtests/atan-inputs: Likewise.
3280 * benchtests/atanh-inputs: Likewise.
3281 * benchtests/cos-inputs: Likewise.
3282 * benchtests/cosh-inputs: Likewise.
3283 * benchtests/exp-inputs: Likewise.
3284 * benchtests/log-inputs: Likewise.
3285 * benchtests/pow-inputs: Likewise.
3286 * benchtests/rint-inputs: Likewise.
3287 * benchtests/sin-inputs: Likewise.
3288 * benchtests/sinh-inputs: Likewise.
3289 * benchtests/tan-inputs: Likewise.
3290 * benchtests/tanh-inputs: Likewise.
3291 * scripts/bench.pl: Add support for new directives.
3293 2013-10-07 Alan Modra <amodra@gmail.com>
3295 * README: Fix careless merge.
3297 2013-10-05 Alan Modra <amodra@gmail.com>
3299 * NEWS: Mention powerpc64le support and bugs fixed.
3300 * README: Both big-endian and little-endian powerpc64 supported.
3302 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
3304 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
3305 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
3306 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
3307 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
3309 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
3311 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
3314 2013-10-04 Joseph Myers <joseph@codesourcery.com>
3316 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
3317 Move -mhard-float appending from
3318 ports/sysdeps/powerpc/powerpc32/Makefile.
3319 [$(with-fp) = yes] (ASFLAGS): Likewise.
3320 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
3321 * sysdeps/powerpc/nofpu: Move directory from
3322 ports/sysdeps/powerpc/nofpu.
3323 * sysdeps/powerpc/soft-fp: Move directory from
3324 ports/sysdeps/powerpc/soft-fp.
3325 * sysdeps/powerpc/powerpc32/405: Move directory from
3326 ports/sysdeps/powerpc/powerpc32/405.
3327 * sysdeps/powerpc/powerpc32/440: Move directory from
3328 ports/sysdeps/powerpc/powerpc32/440.
3329 * sysdeps/powerpc/powerpc32/464: Move directory from
3330 ports/sysdeps/powerpc/powerpc32/464.
3331 * sysdeps/powerpc/powerpc32/476: Move directory from
3332 ports/sysdeps/powerpc/powerpc32/476.
3333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
3334 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
3335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
3336 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
3337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
3338 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
3339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
3340 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
3341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
3342 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
3343 * README: Update for powerpc-*-linux-gnu software floating point
3346 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
3347 case to powerpc/powerpc32*.
3348 * sysdeps/unix/sysv/linux/configure: Regenerated.
3350 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
3351 (_FPU_MASK_OM): Define as 0x04.
3352 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
3353 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
3355 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
3357 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
3359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
3360 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
3362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
3363 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
3365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
3366 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
3367 and setcontext_e500.
3369 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
3371 * locale/iso-3166.def: Update iso-1366.def and related occurrences
3373 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3375 * manual/threads.texi (Default Thread Attributes): Fix typo.
3377 2013-10-04 Will Newton <will.newton@linaro.org>
3379 * malloc/Makefile: Add tst-memalign.
3380 * malloc/tst-memalign.c: New file.
3382 * malloc/tst-posix_memalign.c: Add comments.
3383 (do_test): Add comments and call free on all potentially
3384 allocated pointers. Add space after cast.
3386 * malloc/tst-pvalloc.c: Add comments.
3387 (do_test): Add comments and call free on all potentially
3388 allocated pointers. Remove duplicate check for NULL pointer.
3389 Add space after cast.
3391 * malloc/tst-valloc.c: Add comments.
3392 (do_test): Add comments and call free on all potentially
3393 allocated pointers. Remove duplicate check for NULL pointer.
3394 Add space after cast.
3396 2013-10-04 Alan Modra <amodra@gmail.com>
3398 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3399 Use stdint types in rather than __attribute__((mode())).
3400 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3402 2013-10-04 Alan Modra <amodra@gmail.com>
3404 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3405 Correct handling of unaligned relocs for little-endian.
3406 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3408 2013-10-04 Alan Modra <amodra@gmail.com>
3410 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
3411 * configure: Regenerate.
3412 * nptl/shlib-versions: Powerpc*le starts at 2.18.
3413 * shlib-versions: Likewise.
3415 2013-10-04 Alan Modra <amodra@gmail.com>
3417 * string/tester.c (test_memrchr): Increment reported test cycle.
3419 2013-10-04 Alan Modra <amodra@gmail.com>
3421 * string/test-memcpy.c (do_one_test): When reporting errors, print
3422 string address and don't overrun end of string.
3424 2013-10-04 Alan Modra <amodra@gmail.com>
3426 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
3427 insrdi. Make better use of reg selection to speed exit slightly.
3428 Schedule entry path a little better. Remove useless "are we done"
3429 checks on entry to main loop. Handle wrapping around zero address.
3430 Correct main loop count. Handle single left-over word from main
3431 loop inline rather than by using loop_small. Remove extra word
3432 case in loop_small caused by wrong loop count. Add little-endian
3434 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3435 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
3437 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3438 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
3439 support. Avoid rlwimi.
3440 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
3442 2013-10-04 Alan Modra <amodra@gmail.com>
3444 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
3446 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
3447 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3448 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
3449 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
3450 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3451 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
3453 2013-10-04 Alan Modra <amodra@gmail.com>
3455 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
3456 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3457 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
3458 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
3459 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3460 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3461 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3462 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
3463 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
3464 use of regs. Use power7 mtocrf. Tidy function tails.
3466 2013-10-04 Alan Modra <amodra@gmail.com>
3468 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
3469 Formatting. Consistently use rXXX register defines or rN defines.
3470 Use early exit labels that avoid restoring unused non-volatile regs.
3471 Make cr field use more consistent with rWORDn compares. Rename
3472 regs used as shift registers for unaligned loop, using rN defines
3473 for short lifetime/multiple use regs.
3474 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3475 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
3476 addi 1,1,64 to pop stack frame. Simplify return value code.
3477 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3479 2013-10-04 Alan Modra <amodra@gmail.com>
3481 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
3482 support. Correct typos, formatting. Optimize tail. Use insrdi
3484 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
3485 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
3486 little-endian support. Correct typos.
3487 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
3489 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
3490 in loop and entry code to keep "and." results.
3491 (strchr): Add little-endian support. Comment. Move cntlzd
3493 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
3495 2013-10-04 Alan Modra <amodra@gmail.com>
3497 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
3498 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
3499 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
3500 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
3502 2013-10-04 Alan Modra <amodra@gmail.com>
3504 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
3505 (rTMP): Define as r11.
3506 (strcmp): Add little-endian support. Optimise tail.
3507 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
3508 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3509 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3510 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3511 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3512 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3513 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3515 2013-10-04 Alan Modra <amodra@gmail.com>
3517 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
3518 little-endian support. Remove unnecessary "are we done" tests.
3519 Handle "s" wrapping around zero and extremely large "size".
3520 Correct main loop count. Handle single left-over word from main
3521 loop inline rather than by using small_loop. Correct comments.
3522 Delete "zero" tail, use "end_max" instead.
3523 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
3525 2013-10-04 Alan Modra <amodra@gmail.com>
3527 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
3528 support. Don't branch over align.
3529 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
3530 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
3531 support. Rearrange tmp reg use to suit. Comment.
3532 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
3534 2013-10-04 Alan Modra <amodra@gmail.com>
3536 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
3538 2013-10-04 Alan Modra <amodra@gmail.com>
3540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
3541 conditional form of branch and link when obtaining pc.
3542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
3544 2013-10-04 Alan Modra <amodra@gmail.com>
3546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
3548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
3549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
3551 2013-10-04 Alan Modra <amodra@gmail.com>
3553 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
3554 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
3555 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
3556 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
3557 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3558 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3559 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
3560 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3561 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3562 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
3564 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
3565 Alistair Popple <alistair@ozlabs.au.ibm.com>
3566 Alan Modra <amodra@gmail.com>
3569 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
3570 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
3571 _dl_hwcap access for little-endian.
3572 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
3573 destroy vmx regs when saving unaligned.
3574 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
3575 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
3576 destroy vmx regs when saving unaligned.
3578 2013-10-04 Alan Modra <amodra@gmail.com>
3580 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
3581 Don't use a union to pack hi/low value.
3583 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
3585 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
3587 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3588 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
3589 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
3590 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3591 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3593 2013-10-04 Alan Modra <amodra@gmail.com>
3595 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
3596 constants to usual value for .cst8 section, and remove redundant
3598 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
3599 constant for 0x1p52. Load little-endian words of double from
3600 correct stack offsets.
3602 2013-10-04 Alan Modra <amodra@gmail.com>
3604 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
3605 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
3606 words of double from correct stack offsets.
3607 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
3608 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
3609 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
3610 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3611 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3612 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3613 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3614 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3615 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3616 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3617 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3618 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3619 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3620 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3621 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3622 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
3623 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3625 2013-10-04 Alan Modra <amodra@gmail.com>
3627 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
3628 64-bit int/double union.
3629 (_FPU_SETCW): Likewise.
3630 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
3631 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
3633 2013-10-04 Alan Modra <amodra@gmail.com>
3635 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
3636 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
3638 2013-10-04 Alan Modra <amodra@gmail.com>
3640 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
3641 use vector int constants.
3642 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
3644 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
3646 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
3647 array with long long.
3648 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
3649 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
3650 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
3651 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
3652 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
3653 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
3654 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
3655 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
3656 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
3657 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
3658 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
3659 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
3660 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
3662 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
3664 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
3665 (__signbit): Likewise. Correct for little-endian.
3666 (__signbitl): Call __signbit.
3667 (lrint): Correct for little-endian.
3668 (lrintf): Call lrint.
3670 2013-10-04 Alan Modra <amodra@gmail.com>
3672 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
3673 union 32-bit int array member with 64-bit int array.
3674 (t515, tm256): Double rather than long double.
3675 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
3677 2013-10-04 Alan Modra <amodra@gmail.com>
3679 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
3681 (IEEE854_LONG_DOUBLE_BIAS): Delete.
3682 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
3683 version of math_ldbl.h.
3685 2013-10-04 Alan Modra <amodra@gmail.com>
3687 [BZ #15734], [BZ #15735]
3688 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
3689 all uses of ieee875 long double macros and unions. Simplify test
3690 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
3691 ldbl_extract_mantissa value for ix,iy exponents. Properly
3692 normalize after ldbl_extract_mantissa, and don't add hidden bit
3693 already handled. Don't treat low word of ieee854 mantissa like
3694 low word of IBM long double and mask off bit when testing for
3696 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
3697 all uses of ieee875 long double macros and unions. Simplify tests
3698 for 0.0L and inf. Correct double adjustment of k. Delete dead code
3699 adjusting ha,hb. Simplify code setting kld. Delete two600 and
3700 two1022, instead use their values. Recognise that tests for large
3701 "a" and small "b" are mutually exclusive. Rename vars. Comment.
3702 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
3703 Rewrite all uses of ieee875 long double macros and unions. Simplify
3704 test for 0.0L and nan. Correct negation.
3705 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
3706 ieee875 long double macros and unions. Correct output for large
3707 magnitude x. Correct absolute value calculation.
3708 (__erfcl): Likewise.
3709 * math/libm-test.inc: Add tests for errors discovered in IBM long
3710 double versions of fmodl, remainderl, erfl and erfcl.
3712 2013-10-04 Alan Modra <amodra@gmail.com>
3714 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
3715 all uses of ieee854 long double macros and unions. Simplify tests
3716 for long doubles that are fully specified by the high double.
3717 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
3719 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
3720 Remove dead code too.
3721 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3722 (__ieee754_ynl): Likewise.
3723 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
3724 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
3725 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
3726 Remove dead code too.
3727 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
3728 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
3729 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
3730 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
3732 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
3734 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
3735 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
3736 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
3737 Comment on variable precision.
3738 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
3739 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3741 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3742 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
3743 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
3744 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
3745 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
3747 2013-10-04 Alan Modra <amodra@gmail.com>
3749 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
3750 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
3751 all uses of ieee854 long double macros and unions.
3752 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
3753 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3754 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
3755 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
3756 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
3757 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3759 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
3760 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3761 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
3762 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3763 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
3764 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
3765 Simplify sign and nan test too.
3766 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
3767 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
3768 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
3769 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
3771 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
3772 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
3774 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3775 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
3776 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
3777 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
3778 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
3779 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
3781 2013-10-04 Alan Modra <amodra@gmail.com>
3783 * stdio-common/printf_size.c (__printf_size): Don't use
3784 union ieee854_long_double in fpnum union.
3785 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
3786 signbit macro to retrieve sign from long double.
3787 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
3788 retrieve sign from long double.
3789 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
3790 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
3791 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
3792 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
3793 * math/test-misc.c (main): Don't use union ieee854_long_double.
3795 2013-10-04 Alan Modra <amodra@gmail.com>
3798 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
3799 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
3800 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
3801 calculation. Remove unnecessary test for denormal exponent.
3802 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
3803 Correct handling of denormals. Avoid undefined shift behaviour.
3804 Correct normalisation of low mantissa when low double is denormal.
3805 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
3806 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
3807 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
3808 Correct normalisation of low mantissa. Test for overflow of high
3809 mantissa and normalise.
3810 (ldbl_nearbyint): Use more readable constant for two52.
3811 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
3812 (__mpn_construct_long_double): Fix test for overflow of high
3813 mantissa and correct normalisation. Avoid undefined shift.
3815 2013-10-04 Alan Modra <amodra@gmail.com>
3817 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
3818 (union ibm_extended_long_double): Define as an array of ieee754_double.
3819 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
3820 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
3821 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
3822 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3823 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3824 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
3825 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3826 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
3827 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
3828 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
3829 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3831 2013-10-03 Joseph Myers <joseph@codesourcery.com>
3833 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
3834 page size instead of calling getpagesize.
3836 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
3837 (LOCFILE_ALIGN_MASK): Likewise.
3838 (LOCFILE_ALIGN_UP): Likewise.
3839 (LOCFILE_ALIGNED_P): Likewise.
3840 * locale/programs/ld-collate.c (collate_output): Use the new
3841 macros instead of __alignof__ (int32_t).
3842 * locale/weight.h (findidx): Likewise.
3844 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
3847 * manual/string.texi: Fix strncat and wcsncat.
3849 2013-10-03 Brooks Moses <bmoses@google.com>
3852 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
3853 * Makerules: ...here, and adjust associated comments.
3855 2013-10-02 Will Newton <will.newton@linaro.org>
3857 * malloc/Makefile: Add tst-pvalloc.
3858 * malloc/tst-pvalloc.c: New file.
3860 2013-10-02 Will Newton <will.newton@linaro.org>
3862 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
3863 improve test coverage.
3865 2013-10-02 Will Newton <will.newton@linaro.org>
3867 * malloc/Makefile: Add tst-posix_memalign.
3868 * malloc/tst-posix_memalign.c: New file.
3870 2013-10-01 Eric Blake <eblake@redhat.com>
3872 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
3873 Use __THROWNL rather than __THROW on static functions.
3875 2013-09-30 Petr Machata <pmachata@redhat.com>
3877 * elf/elf.h (R_AARCH64_ABS16): New macro.
3878 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
3879 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
3880 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
3881 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
3882 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
3883 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
3884 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
3885 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
3886 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
3887 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
3888 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
3889 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
3890 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
3891 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
3892 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
3893 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
3894 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
3895 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
3896 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
3897 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
3898 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
3899 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
3900 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
3901 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
3902 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
3903 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
3904 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
3905 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
3906 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
3907 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
3908 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
3909 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
3910 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
3911 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
3912 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
3913 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
3914 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
3915 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
3916 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
3917 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
3918 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
3919 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
3920 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
3921 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
3922 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
3923 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
3924 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
3925 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
3926 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
3927 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
3928 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
3929 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
3930 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
3931 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
3932 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
3933 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
3934 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
3935 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
3936 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
3937 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
3938 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
3939 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
3940 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
3941 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
3942 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
3943 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
3944 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
3945 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
3946 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
3947 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
3948 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
3949 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
3950 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
3951 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
3952 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
3953 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
3954 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
3955 (R_AARCH64_TLSDESC_LDR): Likewise.
3956 (R_AARCH64_TLSDESC_ADD): Likewise.
3957 (R_AARCH64_TLSDESC_CALL): Likewise.
3959 2013-09-30 Andreas Schwab <schwab@suse.de>
3962 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
3963 the nss database lookup.
3964 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3965 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3967 2013-09-28 Mike Frysinger <vapier@gentoo.org>
3969 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
3971 2013-09-28 P. J. McDermott <pj@pehjota.net>
3973 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
3974 ${Bash-specific parameter/pattern/string} parameter expansion.
3975 * sysdeps/unix/make-syscalls.sh: Likewise.
3977 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3979 * sysdeps/sh/stackguard-macros.h: New file.
3981 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
3983 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
3984 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
3985 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
3986 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
3987 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3988 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
3990 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3992 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
3993 Fix thread ID register.
3995 2013-09-25 Joseph Myers <joseph@codesourcery.com>
3997 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
3998 [POSIX || UNIX98]: Require rather than permitting all symbols from
4000 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
4001 element of struct sched_param.
4002 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
4003 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
4004 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
4005 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
4008 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
4010 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
4011 argument calculation.
4013 2013-09-24 Joseph Myers <joseph@codesourcery.com>
4015 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
4017 [POSIX] (pthread_attr_t): Do not require type.
4018 [POSIX] (pthread_cond_t): Likewise.
4019 [POSIX] (pthread_condattr_t): Likewise.
4020 [POSIX] (pthread_key_t): Likewise.
4021 [POSIX] (pthread_mutex_t): Likewise.
4022 [POSIX] (pthread_mutexattr_t): Likewise.
4023 [POSIX] (pthread_once_t): Likewise.
4024 [POSIX] (pthread_t): Likewise.
4025 [POSIX-based standards] (pthread_atfork): Expect function.
4027 2013-09-24 Joseph Myers <joseph@codesourcery.com>
4028 Richard Sandiford <richard@codesourcery.com>
4030 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
4031 (swap_endianness_p): New extern variable.
4032 (set_big_endian): New inline function.
4033 (maybe_swap_uint32): Likewise.
4034 (maybe_swap_uint32_array): Likewise.
4035 (maybe_swap_uint32_obstack): Likewise.
4036 * locale/programs/locfile.c: Include <stdbool.h>.
4037 (swap_endianness_p): New variable.
4038 (add_locale_uint32): Call maybe_swap_uint32.
4039 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
4040 (write_locale_data): Call maybe_swap_uint32_array.
4041 * locale/programs/ld-collate.c (obstack_int32_grow): Call
4043 (obstack_int32_grow_fast): Likewise.
4044 (output_weightwc): Call maybe_swap_uint32_obstack.
4045 (collate_output): Likewise.
4046 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
4047 (OPT_LITTLE_ENDIAN): Likewise.
4048 (options): Add --little-endian and --big-endian options.
4049 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
4050 * locale/programs/locarchive.c: Include "locfile.h".
4054 (create_archive): Use the new macros to access fields of
4055 structures directly mapped from or written to locale archives.
4056 (oldlocrecentcmp): Likewise.
4057 (enlarge_archive): Likewise.
4058 (insert_name): Likewise.
4059 (add_alias): Likewise.
4060 (add_locale): Likewise.
4061 (delete_locales_from_archive): Likewise.
4062 (show_archive_content): Likewise.
4063 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
4066 2013-09-24 Roland McGrath <roland@hack.frob.com>
4068 * manual/freemanuals.texi: Updated from (newly) canonical copy at
4069 http://www.gnu.org/doc/freemanuals.texi.
4070 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
4072 2013-09-24 Will Newton <will.newton@linaro.org>
4074 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
4077 2013-09-23 Joseph Myers <joseph@codesourcery.com>
4079 * locale/hashval.h (compute_hashval): Interpret bytes of key as
4082 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
4084 * manual/threads.texi (POSIX Threads): Fix a typo.
4086 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4089 * string/tst-strcoll-overflow.c: New test case.
4090 * string/Makefile (xtests): Add tst-strcoll-overflow.
4091 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
4092 cache if string sizes may cause integer overflow.
4095 * string/strcoll_l.c (coll_seq): New members rule, idx,
4096 save_idx and back_us.
4097 (get_next_seq_nocache): New function.
4098 (do_compare_nocache): New function.
4099 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
4102 2013-09-23 Carlos O'Donell <carlos@redhat.com>
4105 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
4106 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
4107 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
4110 * elf/Makefile (tests): Add tst-ptrguard1.
4111 (tests-static): Add tst-ptrguard1-static.
4112 (tst-ptrguard1-ARGS): Define.
4113 (tst-ptrguard1-static-ARGS): Define.
4114 * elf/tst-ptrguard1.c: New file.
4115 * elf/tst-ptrguard1-static.c: New file.
4116 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
4117 * sysdeps/i386/stackguard-macros.h: Likewise.
4118 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4119 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4120 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4121 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4122 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4123 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4125 2013-09-23 Hector Marco <hecmargi@upv.es>
4126 Ismael Ripoll <iripoll@disca.upv.es>
4127 Carlos O'Donell <carlos@redhat.com>
4130 * sysdeps/generic/stackguard-macros.h: Define
4131 __pointer_chk_guard_local and POINTER_CHK_GUARD.
4132 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
4133 Define __pointer_chk_guard_local.
4134 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
4135 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
4137 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
4140 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
4142 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
4144 * include/string.h (__ffs): Declare as hidden.
4145 * string/ffs.c (__ffs): Define as hidden.
4146 * sysdeps/i386/ffs.c (__ffs): Likewise.
4147 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
4148 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
4149 * sysdeps/s390/ffs.c (__ffs): Likewise.
4150 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
4152 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
4154 * NEWS: Mention malloc probes.
4156 * malloc/arena.c (new_heap): New memory_heap_new probe.
4157 (grow_heap): New memory_heap_more probe.
4158 (shrink_heap): New memory_heap_less probe.
4159 (heap_trim): New memory_heap_free probe.
4160 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
4161 (systrim): New memory_sbrk_less probe.
4162 * manual/probes.texi: Document them.
4164 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
4165 * manual/probes.texi: Document it.
4167 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
4168 (__libc_realloc): Add memory_realloc_retry probe.
4169 (__libc_memalign): Add memory_memalign_retry probe.
4170 (__libc_valloc): Add memory_valloc_retry probe.
4171 (__libc_pvalloc): Add memory_pvalloc_retry probe.
4172 (__libc_calloc): Add memory_calloc_retry probe.
4173 * manual/probes.texi: Document them.
4175 * malloc/arena.c (get_free_list): Add probe
4176 memory_arena_reuse_free_list.
4177 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
4178 and memory_arena_reuse.
4179 (arena_get2) [!PER_THREAD]: Likewise.
4180 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
4181 memory_arena_reuse_realloc.
4182 * manual/probes.texi: Document them.
4184 * malloc/malloc.c (__libc_free): Add
4185 memory_mallopt_free_dyn_thresholds probe.
4186 (__libc_mallopt): Add multiple memory_mallopt probes.
4187 * manual/probes.texi: Document them.
4189 * malloc/malloc.c: Include stap-probe.h.
4190 (__libc_mallopt): Add memory_mallopt probe.
4191 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
4192 * manual/probes.texi: New.
4193 * manual/Makefile (chapters): Add probes.
4194 * manual/threads.texi: Set next node.
4196 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
4199 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
4200 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
4201 Add `Chinese' to `nan' entry name.
4203 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4205 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
4206 (POLYNOMIAL): Likewise.
4207 (TAYLOR_SINCOS): Likewise.
4208 (TAYLOR_SLOW): Likewise.
4209 (__sin): Use TAYLOR_SINCOS.
4211 (slow): Use TAYLOR_SLOW.
4216 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4218 * stdlib/strtod_l.c: Fix buffer overrun.
4220 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4222 * benchtests/Makefile (bench): Add sincos.
4223 * benchtests/bench-sincos.c: New file.
4225 * math/libm-test.inc (cos_test_data): New test inputs.
4226 (sin_test_data): Likewise.
4228 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
4236 (bsloww1): Likewise.
4237 (bsloww2): Likewise.
4239 (csloww1): Likewise.
4240 (csloww2): Likewise.
4242 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
4247 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
4251 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
4253 * config.h.in (HAVE_MIPS_NAN2008): New macro.
4254 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
4255 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
4256 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
4257 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
4258 * elf/cache.c (print_entry): Handle the new cache flags.
4260 2013-09-18 Joseph Myers <joseph@codesourcery.com>
4261 Aldy Hernandez <aldyh@redhat.com>
4263 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
4264 Change condition to [_SOFT_FLOAT].
4265 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
4266 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
4267 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
4268 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
4269 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
4270 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
4271 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
4272 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
4273 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
4274 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
4275 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
4276 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
4277 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
4278 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
4279 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
4280 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
4283 2013-09-18 Joseph Myers <joseph@codesourcery.com>
4285 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
4286 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
4287 (__longjmp): Use LOAD_GP to load saved GPRs.
4288 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
4289 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
4290 (__sigsetjmp): Use SAVE_GP to save GPRs.
4292 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
4293 Do not append -msoft-float.
4294 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
4296 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4298 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
4300 2013-09-17 Joseph Myers <joseph@codesourcery.com>
4303 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
4304 (_FPU_GETCW): Use initial "__" on variable and field names but not
4305 on macro parameter name.
4306 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
4307 parentheses around reference to macro parameter.
4309 2013-09-13 Richard Sandiford <richard@codesourcery.com>
4311 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
4313 (ctype_startup): Use uint32_t in cast and sizeof for
4316 2013-09-11 Jia Liu <proljc@gmail.com>
4318 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
4320 [__FreeBSD__]: Likewise.
4322 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
4324 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4325 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
4326 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
4327 (strchr): Remove __strchr_sse42 ifunc selection.
4328 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
4329 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
4331 2013-09-11 Will Newton <will.newton@linaro.org>
4333 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
4334 parameter to RES. Remove hardcoded 1000 value.
4335 * benchtests/bench-skeleton.c (main): Pass RES parameter
4336 to TIMING_INIT and multiply result by 1000.
4338 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4340 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4342 2013-09-11 Andreas Schwab <schwab@suse.de>
4344 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
4346 (O_TMPFILE) [__USE_GNU]: Define.
4347 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
4350 2013-09-11 Will Newton <will.newton@linaro.org>
4353 * malloc/malloc.c (__libc_memalign): Check the value of bytes
4356 2013-09-11 Will Newton <will.newton@linaro.org>
4359 * malloc/malloc.c (__libc_valloc): Check the value of bytes
4362 2013-09-11 Will Newton <will.newton@linaro.org>
4365 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
4368 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
4370 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
4371 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4372 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4373 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4374 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4376 2013-09-10 Allan McRae <allan@archlinux.org>
4379 * manual/arith.texi (Parsing of Floats): Clarify
4383 * manual/install.texi (Running make install): Mention
4385 * INSTALL: Regenerated.
4387 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4389 * csu/init-first.c (_init): Remove the !SHARED condition around
4390 FPU control word initialization.
4391 * elf/dl-support.c (_dl_fpu_control): New variable.
4392 (_dl_aux_init) <AT_FPUCW>: Initialize it.
4393 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
4394 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
4395 * math/test-fpucw-static.c: New file.
4396 * math/test-fpucw-ieee.c: New file.
4397 * math/test-fpucw-ieee-static.c: New file.
4398 * math/Makefile (tests): Add `test-fpucw-ieee' and
4400 (tests-static): New variable.
4401 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
4403 [($(build-shared),yes)]
4404 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4406 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
4409 2013-09-09 Allan McRae <allan@archlinux.org>
4412 * manual/string.texi (Collation Functions): Fix typo in
4414 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
4417 * stdlib/isomac.c (get_null_defines): Fix memory leak.
4420 * libio/memstream.c (open_memstream): Fix memory leak.
4421 * libio/wmemstream.c (open_wmemstream): Likewise.
4424 * nscd/netgroupcache.c: Fix nesting of ifdefs.
4426 2013-09-09 Will Newton <will.newton@linaro.org>
4428 * malloc/Makefile: Add tst-realloc to tests.
4429 * malloc/tst-realloc.c: New file.
4431 2013-09-09 Allan McRae <allan@archlinux.org>
4434 * COPYING: Update from GNU website to fix FSF address.
4435 * COPYING.LIB: Likewise.
4437 2013-09-06 David S. Miller <davem@davemloft.net>
4439 * po/zh_TW.po: Update Chinese (traditional) translation from
4440 translation project.
4442 2013-09-06 Richard Sandiford <richard@codesourcery.com>
4443 Joseph Myers <joseph@codesourcery.com>
4445 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
4447 (obstack_chunk_alloc): New macro.
4448 (obstack_chunk_free): Likewise.
4449 (record_offset): New function.
4450 (init_locale_data): Likewise.
4451 (align_locale_data): Likewise.
4452 (add_locale_empty): Likewise.
4453 (add_locale_raw_data): Likewise.
4454 (add_locale_raw_obstack): Likewise.
4455 (add_locale_string): Likewise.
4456 (add_locale_wstring): Likewise.
4457 (add_locale_uint32): Likewise.
4458 (add_locale_uint32_array): Likewise.
4459 (add_locale_char): Likewise.
4460 (start_locale_structure): Likewise.
4461 (end_locale_structure): Likewise.
4462 (start_locale_prelude): Likewise.
4463 (end_locale_prelude): Likewise.
4464 (write_locale_data): Take locale_file structure rather than an
4466 * locale/programs/locfile.h: Include "obstack.h".
4467 (struct locale_file): Change to store locale file contents instead
4469 (init_locale_data): New prototype.
4470 (align_locale_data): Likewise.
4471 (add_locale_empty): Likewise.
4472 (add_locale_raw_data): Likewise.
4473 (add_locale_raw_obstack): Likewise.
4474 (add_locale_string): Likewise.
4475 (add_locale_wstring): Likewise.
4476 (add_locale_uint32): Likewise.
4477 (add_locale_uint32_array): Likewise.
4478 (add_locale_char): Likewise.
4479 (start_locale_structure): Likewise.
4480 (end_locale_structure): Likewise.
4481 (start_locale_prelude): Likewise.
4482 (end_locale_prelude): Likewise.
4483 (write_locale_data): Update prototype.
4484 * locale/programs/3level.h (struct TABLE): Remove result field.
4485 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
4486 Use new locale_file interface.
4487 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
4488 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
4489 * locale/programs/ld-address.c (address_output): Use new
4490 locale_file interface.
4491 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
4493 (collate_finish): Don't call collseq_table_finalize.
4494 (collate_output): Use new locale_file interface.
4495 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
4497 (NO_FINALIZE): Change to NO_ADD_LOCALE.
4498 (TABLE): Move defines earlier in file.
4499 (ELEMENT): Likewise.
4500 (DEFAULT): Likewise.
4501 (wctrans_table_add): Move macro and inline function earlier in
4503 (struct wctype_table): Move type earlier in file.
4504 (add_locale_wctype_table): New static prototype.
4505 (struct locale_ctype_t): Use logical types instead of struct iovec
4506 pointers for members.
4507 (ctype_output): Use new locale_file interface.
4508 (wctype_table_finalize): Change to add_locale_wctype_table. Use
4509 new locale_file interface.
4510 (allocate_arrays): Update for use of new locale_file interface.
4511 * locale/programs/ld-identification.c (identification_output): Use
4512 new locale_file interface.
4513 * locale/programs/ld-measurement.c (measurement_output): Likewise.
4514 * locale/programs/ld-messages.c (messages_output): Likewise.
4515 * locale/programs/ld-monetary.c (monetary_output): Likewise.
4516 * locale/programs/ld-name.c (name_output): Likewise.
4517 * locale/programs/ld-numeric.c (numeric_output): Likewise.
4518 * locale/programs/ld-paper.c (paper_output): Likewise.
4519 * locale/programs/ld-telephone.c (telephone_output): Likewise.
4520 * locale/programs/ld-time.c (time_output): Likewise.
4522 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4524 * benchtests/Makefile: Add memrchr benchmark.
4525 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
4526 benchmark as memrchr.
4527 * benchtests/bench-memrchr-ifunc.c: New file.
4528 * benchtests/bench-memrchr.c: New file.
4530 2013-09-06 Will Newton <will.newton@linaro.org>
4532 * benchtests/Makefile (string-bench): Add memcpy.
4534 2013-09-05 Carlos O'Donell <carlos@redhat.com>
4535 Cong Wang <amwang@redhat.com>
4537 * sysdeps/unix/sysv/linux/bits/in.h
4538 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
4539 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
4540 before __USE_KERNEL_IPV6_DEFS uses.
4541 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
4543 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
4544 sockaddr_in6, or ipv6_mreq.
4546 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4548 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
4549 memory access for final bytes in some large inputs.
4550 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
4552 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4554 * string/test-memrchr.c: New file.
4555 * string/test-memrchr-ifunc.c: New file.
4556 * string/Makefile: Add new memrchr testcase.
4558 2013-09-05 Mike Frysinger <vapier@gentoo.org>
4560 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
4561 fanotify_init returns EPERM.
4563 2013-09-04 Joseph Myers <joseph@codesourcery.com>
4565 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
4567 (top level): Treat second token from macro or constant entries for
4568 allowed headers as allowed.
4569 * include/complex.h: Condition internal declarations on
4571 * include/fenv.h: Condition include of <stdbool.h> and internal
4572 declarations on [!_ISOMAC].
4574 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
4577 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
4579 2013-09-04 Joseph Myers <joseph@codesourcery.com>
4581 * configure.in (--enable-versioning): Remove configure option.
4582 (libc_cv_asm_symver_directive): Remove configure test.
4583 (libc_cv_ld_version_script_option): Likewise.
4584 (VERSIONING): Remove variable and AC_SUBST.
4585 (DO_VERSIONING): Remove AC_DEFINE.
4586 * configure: Regenerated.
4587 * config.h.in (DO_VERSIONING): Remove macro.
4588 * Makerules [$(versioning) = yes]: Change conditionals to
4589 [$(build-shared) = yes].
4590 * config.make.in (versioning): Remove variable.
4591 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
4592 [$(build-shared) = yes].
4593 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
4594 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
4595 * elf/Makefile [$(versioning) = yes]: Change conditionals to
4596 [$(build-shared) = yes].
4597 * extra-lib.mk [$(versioning) = yes]: Likewise.
4598 * hurd/Makefile [$(versioning) = yes]: Likewise.
4599 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
4601 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
4603 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
4604 [SHARED && !NO_HIDDEN].
4605 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
4607 [SHARED && DO_VERSIONING]: Likewise..
4608 * libio/Makefile [$(versioning) = yes]: Change conditionals to
4609 [$(build-shared) = yes].
4610 * manual/install.texi (--disable-versioning): Remove
4612 * INSTALL: Regenerated.
4613 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
4615 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
4616 [$(build-shared) = yes].
4617 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
4618 * sysdeps/i386/i686/multiarch/strstr-c.c
4619 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
4620 [SHARED && !NO_HIDDEN].
4621 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
4622 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
4623 * sysdeps/powerpc/powerpc32/dl-machine.c
4624 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
4625 * sysdeps/powerpc/powerpc32/sysdep.h
4626 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
4627 to [SHARED && PIC && !NO_HIDDEN].
4628 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
4629 conditional to [SHARED].
4631 2013-09-04 Will Newton <will.newton@linaro.org>
4633 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
4634 * benchtests/bench-string.h: Include bench-timing.h instead
4635 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
4636 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
4637 call to HP_TIMING_DIFF_INIT.
4638 * benchtests/bench-memccpy.c: Use bench-timing.h macros
4639 instead of hp-timing.h macros.
4640 * benchtests/bench-memchr.c: Likewise.
4641 * benchtests/bench-memcmp.c: Likewise.
4642 * benchtests/bench-memcpy.c: Likewise.
4643 * benchtests/bench-memmem.c: Likewise.
4644 * benchtests/bench-memmove.c: Likewise.
4645 * benchtests/bench-memset.c: Likewise.
4646 * benchtests/bench-rawmemchr.c: Likewise.
4647 * benchtests/bench-strcasecmp.c: Likewise.
4648 * benchtests/bench-strcasestr.c: Likewise.
4649 * benchtests/bench-strcat.c: Likewise.
4650 * benchtests/bench-strchr.c: Likewise.
4651 * benchtests/bench-strcmp.c: Likewise.
4652 * benchtests/bench-strcpy.c: Likewise.
4653 * benchtests/bench-strcpy_chk.c: Likewise.
4654 * benchtests/bench-strlen.c: Likewise.
4655 * benchtests/bench-strncasecmp.c: Likewise.
4656 * benchtests/bench-strncat.c: Likewise.
4657 * benchtests/bench-strncmp.c: Likewise.
4658 * benchtests/bench-strncpy.c: Likewise.
4659 * benchtests/bench-strnlen.c: Likewise.
4660 * benchtests/bench-strpbrk.c: Likewise.
4661 * benchtests/bench-strrchr.c: Likewise.
4662 * benchtests/bench-strspn.c: Likewise.
4663 * benchtests/bench-strstr.c: Likewise.
4665 2013-09-04 Will Newton <will.newton@linaro.org>
4667 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
4669 2013-09-03 Joseph Myers <joseph@codesourcery.com>
4672 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
4673 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
4674 * math/libm-test.inc (lgamma_test_data): Add more tests.
4675 * sysdeps/i386/fpu/libm-test-ulps: Update.
4676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4678 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
4680 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
4681 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4683 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4684 Add strcmp-sse2-unaligned
4685 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
4687 2013-09-02 Mike Frysinger <vapier@gentoo.org>
4689 * Versions.def (libc): Add GLIBC_2.19.
4691 2013-09-02 Mike Frysinger <vapier@gentoo.org>
4693 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
4694 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
4696 2013-09-02 Joseph Myers <joseph@codesourcery.com>
4699 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
4700 intermediate calculations in recurrence.
4701 (__ieee754_ynf): Likewise.
4702 * math/libm-test.inc (jn_test_data): Do not allow spurious
4703 underflow exception. Add more tests.
4704 (yn_test_data): Add more tests.
4705 * sysdeps/i386/fpu/libm-test-ulps: Update.
4706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4708 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
4710 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
4712 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
4714 * csu/init-first.c: Fix then/than typos.
4715 * locale/programs/ld-collate.c: Likewise.
4716 * locale/programs/linereader.h: Likewise.
4717 * manual/charset.texi: Likewise.
4718 * manual/filesys.texi: Likewise.
4719 * manual/stdio.texi: Likewise.
4720 * manual/string.texi: Likewise.
4721 * stdlib/fmtmsg.c: Likewise.
4722 * sysdeps/i386/stpncpy.S: Likewise.
4723 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4724 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4725 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4726 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4728 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
4730 * elf/dl-open.c: Fix typos.
4731 * iconvdata/gbbig5.c: Likewise.
4732 * iconvdata/iso-2022-jp.c: Likewise.
4733 * iconv/gconv_int.h: Likewise.
4734 * iconv/loop.c: Likewise.
4735 * nis/rpcsvc/nis.h: Likewise.
4736 * resolv/ns_name.c: Likewise.
4737 * stdio-common/vfscanf.c: Likewise.
4738 * streams/stropts.h: Likewise.
4739 * sunrpc/rpc_thread.c: Likewise.
4740 * sysdeps/i386/strpbrk.S: Likewise.
4741 * sysdeps/ieee754/k_standard.c: Likewise.
4742 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4743 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4744 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
4745 * sysdeps/mach/hurd/profil.c: Likewise.
4746 * sysdeps/s390/dl-procinfo.h: Likewise.
4747 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
4748 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
4749 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
4750 * sysdeps/x86_64/dl-trampoline.S: Likewise.
4751 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
4753 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
4755 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
4756 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
4758 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
4760 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
4762 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
4763 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
4764 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
4765 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
4766 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
4767 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
4768 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
4769 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
4771 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
4772 Roland McGrath <roland@hack.frob.com>
4774 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
4775 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
4777 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
4779 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
4780 __executable_start symbol instead of _start.
4782 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
4784 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
4785 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
4787 * sysdeps/gnu/ldsodefs.h: ... this new file.
4789 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
4790 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
4791 instead of ELFOSABI_LINUX.
4793 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
4794 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
4795 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
4796 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
4798 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
4799 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
4800 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
4802 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4803 (ibm_extended_long_double): Add ieee_nan member.
4804 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
4805 (do_test): New function.
4807 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
4809 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
4810 functions, renamed from truncdfsf_test, trunctfsf_test,
4812 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
4814 (do_test): Run all these.
4816 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
4818 * argp/argp-help.c: Fix typos.
4819 * argp/argp-parse.c: Likewise.
4820 * debug/backtracesyms.c: Likewise.
4821 * elf/elf.h: Likewise.
4822 * malloc/malloc.c: Likewise.
4823 * nis/nis_print.c: Likewise.
4824 * resolv/res_comp.c: Likewise.
4825 * stdlib/stdlib.h: Likewise.
4826 * sunrpc/clnt_tcp.c: Likewise.
4827 * sunrpc/clnt_udp.c: Likewise.
4828 * sunrpc/clnt_unix.c: Likewise.
4829 * sysdeps/unix/bsd/ptsname.c: Likewise.
4830 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
4831 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
4832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
4834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
4836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4838 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
4840 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4842 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
4843 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4845 2013-08-27 Mike Frysinger <vapier@gentoo.org>
4848 * dlfcn/Makefile (tests): Add bug-dl-leaf.
4849 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
4850 ($(objpfx)bug-dl-leaf): New rule.
4851 ($(objpfx)bug-dl-leaf.so): Likewise.
4852 ($(objpfx)bug-dl-leaf.out): Likewise.
4853 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
4854 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
4855 * dlfcn/bug-dl-leaf.c: New test.
4856 * dlfcn/bug-dl-leaf-lib.c: Likewise.
4857 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
4858 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
4859 (dlclose): Likewise.
4860 (dlmopen): Likewise.
4862 2013-08-27 Roland McGrath <roland@hack.frob.com>
4864 * include/netdb.h [!_ISOMAC]:
4865 Don't include <tls.h>.
4866 (h_errno, __libc_h_errno): Move declaration and macros out of
4869 * include/resolv.h [_RESOLV_H_]:
4870 Don't include <tls.h>.
4871 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
4872 * resolv/res_libc.c: Don't include <tls.h>.
4873 (_res): Use __attribute__ ((nocommon)) in place of
4874 __attribute__ ((section (".bss"))).
4876 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
4877 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
4879 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
4881 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
4882 only under [SIOCGIFCONF && SIOCGIFNETMASK].
4884 * resolv/res_mkquery.c: Include <sys/time.h>.
4886 * inet/ifreq.c: Moved to ...
4887 * sysdeps/unix/ifreq.c: ... here.
4888 * inet/ifreq.c: New file, true stub version.
4890 * socket/sa_len.c: New file.
4891 * socket/Makefile (aux): Add it.
4892 * sysdeps/unix/sysv/linux/Makefile
4893 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
4894 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
4895 and #include <socket/sa_len.c>.
4896 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
4897 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
4899 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
4900 * bits/socket.h: ... here.
4902 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
4903 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
4904 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
4906 2013-08-27 Andreas Schwab <schwab@suse.de>
4909 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
4910 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
4911 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
4912 * string/test-strcasecmp.c (test_main): Run tests in several
4914 * string/test-strncasecmp.c (test_main): Likewise.
4916 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
4917 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
4918 to __strcasecmp_nonascii and __strncasecmp_nonascii.
4919 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
4920 (__strncasecmp_ssse3) [PIC]: Likewise.
4922 2013-08-26 Roland McGrath <roland@hack.frob.com>
4924 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
4926 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
4927 instead of explicitly declaring xdecrypt.
4928 * nis/nss_nis/nis-publickey.c: Likewise.
4930 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4933 * nscd/aicache.c: Include res_hconf.h.
4934 (addhstaiX): Initialize res_hconf.
4936 2013-08-26 Andreas Schwab <schwab@suse.de>
4938 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
4939 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
4941 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4943 * nscd/aicache.c (addhstaiX): Fix indentation.
4945 2013-08-25 Mike Frysinger <vapier@gentoo.org>
4947 * configure.ac: Quote $build_pt_chown test.
4948 * configure: Regenerated.
4950 2013-08-23 Joseph Myers <joseph@codesourcery.com>
4953 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
4954 * math/s_cexpf.c (__cexpf): Likewise.
4955 * math/s_cexpl.c (__cexpl): Likewise.
4956 * math/libm-test.inc (cexp_test_data): Correct expected return
4957 value for NaN + i0. Add another test.
4959 2013-08-22 David S. Miller <davem@davemloft.net>
4961 * po/ca.po: Update Catalan translation from translation project.
4962 * po/uk.po: Add Ukrainian translations from translation project.
4964 2013-08-21 Joseph Myers <joseph@codesourcery.com>
4967 * math/s_fdim.c (__fdim): Check for infinite arguments if result
4968 is infinite, not alongside NaN test.
4969 * math/s_fdimf.c (__fdimf): Likewise.
4970 * math/s_fdiml.c (__fdiml): Likewise.
4971 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
4974 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
4976 * argp/argp-help.c: Fix typos.
4977 * crypt/speeds.c: Likewise.
4978 * csu/check_fds.c: Likewise.
4979 * elf/dl-load.c: Likewise.
4980 * elf/dl-open.c: Likewise.
4981 * elf/reldep3.c: Likewise.
4982 * elf/reldep.c: Likewise.
4983 * elf/sprof.c: Likewise.
4984 * iconv/iconv_charmap.c: Likewise.
4985 * iconv/skeleton.c: Likewise.
4986 * iconv/strtab.c: Likewise.
4987 * io/lockf64.c: Likewise.
4988 * libio/libioP.h: Likewise.
4989 * resolv/gai_notify.c: Likewise.
4990 * resolv/ns_name.c: Likewise.
4991 * resolv/ns_samedomain.c: Likewise.
4992 * resolv/res_send.c: Likewise.
4993 * stdlib/random.c: Likewise.
4994 * sunrpc/rpc/xdr.h: Likewise.
4995 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
4996 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4997 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4998 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4999 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5000 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5001 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5002 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5003 * sysdeps/mach/hurd/check_fds.c: Likewise.
5004 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
5005 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5006 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5007 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
5008 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5009 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
5010 * sysdeps/pthread/aio_notify.c: Likewise.
5011 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
5012 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
5013 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
5014 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5015 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
5017 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5019 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
5020 version if bit_Slow_SSE4_2 is set.
5021 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5022 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5024 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5027 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
5028 trampoline stack frame information.
5029 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
5030 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
5031 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
5032 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
5033 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
5034 * sysdeps/unix/sysv/linux/powerpc/init-first.c
5035 (_libc_vdso_platform_setup): Initialize the signal trampolines.
5036 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
5038 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
5039 interrupting a syscall and set with option SA_SIGINFO.
5041 2013-08-20 Joseph Myers <joseph@codesourcery.com>
5044 * math/s_cproj.c (__cproj): Only return an infinity if one part of
5045 argument is infinite.
5046 * math/s_cprojf.c (__cprojf): Likewise.
5047 * math/s_cprojl.c (__cprojl): Likewise.
5048 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
5049 * math/libm-test.inc (cproj_test_data): Add more tests.
5051 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
5053 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
5054 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
5055 size. Use __ffs to determine corresponding shift.
5057 2013-08-20 Joseph Myers <joseph@codesourcery.com>
5058 Roland McGrath <roland@hack.frob.com>
5060 * Makefile (INSTALL): Remove trailing blank lines from output of
5063 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5065 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
5066 Align 32 bit compat elf_greg to 8 bytes.
5068 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
5070 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
5072 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5074 * string/strcoll_l.c (coll_seq): New structure.
5075 (get_next_seq_cached): New function.
5076 (get_next_seq): New function.
5077 (do_compare): New function.
5078 (STRCOLL): Use GNU style definition. Simplify implementation
5079 by using get_next_seq, get_next_seq_cached and do_compare.
5081 2013-08-16 Florian Weimer <fweimer@redhat.com>
5085 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
5087 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
5089 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
5090 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
5091 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
5093 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
5094 GETDENTS_64BIT_ALIGNED.
5095 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5096 * manual/filesys.texi (Reading/Closing Directory): Document
5097 ENAMETOOLONG return value of readdir_r. Recommend readdir more
5099 * manual/conf.texi (Limits for Files): Add portability note to
5101 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
5103 2013-08-13 Andreas Schwab <schwab@suse.de>
5106 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
5108 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
5109 LDBL_MAX_EXP >= 16384]: Add tests for it.
5111 2013-08-12 David S. Miller <davem@davemloft.net>
5113 * version.h (RELEASE): Set to "development".
5114 (VERSION): Set to "2.18.90".
5115 * NEWS: Add 2.19 section.
5117 2013-08-03 David S. Miller <davem@davemloft.net>
5119 * po/ko.po: Update Korean translation from translation project.
5121 2013-08-01 David S. Miller <davem@davemloft.net>
5123 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
5124 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
5127 2013-07-30 David S. Miller <davem@davemloft.net>
5129 * po/fr.po: Update French translation from translation project.
5131 2013-07-28 David S. Miller <davem@davemloft.net>
5133 * po/cs.po: Update Czech translation from translation project.
5135 * po/sv.po: Update Swedish translation from translation project.
5137 2013-07-27 David S. Miller <davem@davemloft.net>
5139 * po/eo.po: Update Esperanto translation from translation project.
5141 * po/vi.po: Update Vietnamese translation from translation project.
5143 * po/de.po: Update German translation from translation project.
5145 2013-07-26 David S. Miller <davem@davemloft.net>
5147 * po/bg.po: Update Bulgarian translation from translation project.
5149 * po/nl.po: Update Dutch translation from translation project.
5150 * po/pl.po: Update Polish translation from translation project.
5151 * po/ru.po: Update Russian translation from translation project.
5153 2013-07-24 David S. Miller <davem@davemloft.net>
5155 * po/libc.pot: Update.
5157 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5159 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
5161 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
5162 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
5163 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
5165 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5167 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
5169 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5170 Andreas Schwab <schwab@suse.de>
5171 Roland McGrath <roland@hack.frob.com>
5172 Joseph Myers <joseph@codesourcery.com>
5173 Carlos O'Donell <carlos@redhat.com>
5176 * config.h.in: Define HAVE_PT_CHOWN.
5177 * config.make.in (build-pt-chown): New variable.
5178 * configure.in (--enable-pt_chown): New configure option.
5179 * configure: Regenerate.
5180 * login/Makefile: Include Makeconfig. Build pt_chown only if
5181 build-pt-chown is enabled.
5182 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
5183 pt_chown to fix pty ownership.
5184 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
5186 * manual/install.texi (Configuring and compiling): Mention
5187 --enable-pt_chown. Add @findex for grantpt.
5188 * INSTALL: Regenerate.
5190 2013-07-20 David S. Miller <davem@davemloft.net>
5192 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
5193 difference between 32-bit and 64-bit.
5195 2013-07-15 Carlos O'Donell <carlos@redhat.com>
5198 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
5199 Avoid system header dependency with -ffreestanding.
5200 ($(objpfx)bits/syscall%d): Likewise.
5202 2013-07-13 David S. Miller <davem@davemloft.net>
5204 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
5205 underflows from atanl/atan2l due to bug 15319.
5206 (casinh_test_data): Likewise.
5208 2013-07-07 David S. Miller <davem@davemloft.net>
5210 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
5212 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
5214 * sysdeps/i386/fpu/libm-test-ulps: Update.
5215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5217 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5219 * configure.in (--enable-lock-elision): Fix message text.
5220 * INSTALL: Regenerate.
5221 * configure: Regenerate.
5223 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5225 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5227 2013-07-03 Andreas Jaeger <aj@suse.de>
5229 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
5231 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
5232 (ptrace_peeksiginfo_args): Add.
5233 (__ptrace_peeksiginfo_flags): Add.
5234 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5235 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5236 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5238 2013-07-03 Allan McRae <allan@archlinux.org>
5240 * sysdeps/i386/fpu/libm-test-ulps: Update.
5242 2013-07-02 David S. Miller <davem@davemloft.net>
5244 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5246 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
5248 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5250 2013-07-02 Joseph Myers <joseph@codesourcery.com>
5252 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5255 2013-07-02 Andi Kleen <ak@linux.intel.com>
5257 * config.h.in (ENABLE_LOCK_ELISION): Add.
5258 * configure.in (--enable-lock-elision): Add option.
5259 * manual/install.texi: Document --enable lock elision.
5260 * configure: Regenerate
5261 * INSTALL: Regenerate.
5263 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
5265 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
5266 SSE4.2 strcasecmp for libc.a.
5267 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5269 2013-07-02 Joseph Myers <joseph@codesourcery.com>
5272 * soft-fp/op-common.h (_FP_FMA): New macro.
5273 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
5274 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
5275 (_FP_MUL_MEAT_1_imm): ... here.
5276 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
5277 (_FP_MUL_MEAT_1_wide): ... here.
5278 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
5279 (_FP_MUL_MEAT_1_hard): ... here.
5280 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
5281 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
5282 (_FP_MUL_MEAT_2_wide): ... here.
5283 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
5284 (_FP_MUL_MEAT_2_wide_3mul): ... here.
5285 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
5286 (_FP_MUL_MEAT_2_gmp): ... here.
5287 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
5288 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
5289 (_FP_MUL_MEAT_4_wide): ... here.
5290 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
5291 (_FP_MUL_MEAT_4_gmp): ... here.
5292 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
5293 (_FP_WFRACBITS_DW_S): Likewise.
5294 (_FP_WFRACXBITS_DW_S): Likewise.
5295 (_FP_HIGHBIT_DW_S): Likewise.
5296 (FP_FMA_S): Likewise.
5297 (_FP_FRAC_HIGH_DW_S): Likewise.
5298 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
5299 (_FP_WFRACBITS_DW_D): Likewise.
5300 (_FP_WFRACXBITS_DW_D): Likewise.
5301 (_FP_HIGHBIT_DW_D): Likewise.
5302 (FP_FMA_D): Likewise.
5303 (_FP_FRAC_HIGH_DW_D): Likewise.
5304 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
5305 (_FP_WFRACBITS_DW_E): Likewise.
5306 (_FP_WFRACXBITS_DW_E): Likewise.
5307 (_FP_HIGHBIT_DW_E): Likewise.
5308 (FP_FMA_E): Likewise.
5309 (_FP_FRAC_HIGH_DW_E): Likewise.
5310 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
5311 (_FP_WFRACBITS_DW_Q): Likewise.
5312 (_FP_WFRACXBITS_DW_Q): Likewise.
5313 (_FP_HIGHBIT_DW_Q): Likewise.
5314 (FP_FMA_Q): Likewise.
5315 (_FP_FRAC_HIGH_DW_Q): Likewise.
5316 * soft-fp/fmasf4.c: New file.
5317 * soft-fp/fmadf4.c: Likewise.
5318 * soft-fp/fmatf4.c: Likewise.
5320 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5322 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
5323 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
5325 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
5327 (index_Slow_SSE4_2): Likewise.
5328 (index_Prefer_PMINUB_for_stringop): Likewise.
5329 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
5330 bit_Slow_SSE4_2 is set.
5331 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5332 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5334 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5336 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
5337 rtld_global._dl_hwcap2.
5338 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
5340 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
5341 POWER8 feature descriptions defined in _dl_hwcap2.
5342 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
5343 string handling for POWER8 feature bits.
5344 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
5345 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
5346 _dl_powerpc_cap_flags.
5347 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
5348 * sysdeps/powerpc/rtld-global-offsets.sym
5349 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
5350 _dl_hwcap2 in the rtld_global_ro structure.
5352 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5354 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
5355 hardware capabilities in support of AT_HWCAP2.
5356 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
5357 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
5359 (_dl_show_auxv): Add support for calling _dl_procinfo to display
5360 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
5361 explicitly the unknown a_type display mechanism is used.
5362 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
5363 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
5365 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
5366 to macro prototype for AT_HWCAP2 support.
5367 * sysdeps/i386/dl-procinfo.h: Likewise.
5368 * sysdeps/s390/dl-procinfo.h: Likewise.
5369 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
5370 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
5371 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
5372 return -1 for unknown a_type display fallback.
5373 * sysdeps/sparc/dl-procinfo.h: Likewise.
5374 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
5375 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
5377 2013-06-28 Joseph Myers <joseph@codesourcery.com>
5379 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
5380 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
5382 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
5385 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
5386 mprotect making __stack_prot writable.
5388 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
5389 Joseph Myers <joseph@codesourcery.com>
5391 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
5392 as being properly aligned.
5394 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
5396 * dlfcn/modstatic5.c: New file.
5397 * dlfcn/tststatic5.c: New file.
5398 * dlfcn/Makefile (tests): Add tststatic5.
5399 (tests-static): Likewise.
5400 (modules-names): Add modstatic5.
5401 (tststatic5-ENV): New variable.
5402 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
5405 * elf/dl-support.c (_dl_main_map): New variable.
5406 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
5407 (_dl_nns, _dl_load_adds): Set to 1.
5408 (_dl_initial_searchlist): Refer to _dl_main_map.
5409 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
5410 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
5411 call to _dl_get_origin.
5412 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
5414 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
5415 * dlfcn/modstatic3.c: New file.
5416 * dlfcn/tststatic3.c: New file.
5417 * dlfcn/tststatic4.c: New file.
5418 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
5419 (tests-static): Likewise.
5420 (modules-names): Add modstatic3.
5421 (tststatic3-ENV, tststatic4-ENV): New variables.
5422 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
5423 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
5425 2013-06-26 Joseph Myers <joseph@codesourcery.com>
5427 * configure.in (CC): Require GCC version 4.4 or later.
5428 * configure: Regenerated.
5429 * manual/install.texi (Tools for Compilation): Update GCC version
5431 * INSTALL: Regenerated.
5433 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5436 * string/test-memcmp.c (check2): New.
5437 (main): Call check2.
5439 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
5441 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
5444 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
5446 (dl_open_worker) [!SHARED]: ... here.
5448 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5450 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
5452 2013-06-25 Richard Henderson <rth@redhat.com>
5454 * locale/programs/locarchive.c: Include <libc-internal.h>
5456 2013-06-25 Joseph Myers <joseph@codesourcery.com>
5458 * manual/texinfo.tex: Update to version 2013-06-21.17, with
5459 trailing whitespace removed.
5461 2013-06-24 Mike Frysinger <vapier@gentoo.org>
5464 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
5465 * locale/programs/locarchive.c: Include libc-mmap.h.
5466 (prepare_address_space): Take two new outputs (the mmap base and len).
5467 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
5469 (create_archive): Declare new mmap base and len values for
5470 prepare_address_space, and store the result in ah.
5471 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
5472 (enlarge_archive): If ah->mmap_base is not NULL, use that and
5473 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
5474 Declare new mmap base and len values for
5475 prepare_address_space, and store the result in new_ah.
5476 (open_archive): Declare new mmap base and len values for
5477 prepare_address_space, and store the result in ah.
5478 (close_archive): If ah->mmap_base is not NULL, use that and
5479 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
5480 * sysdeps/generic/libc-mmap.h: New file.
5482 2013-06-24 Mike Frysinger <vapier@gentoo.org>
5484 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
5485 (ALIGN_UP): Likewise.
5486 (PTR_ALIGN_DOWN): Likewise.
5487 (PTR_ALIGN_UP): Likewise.
5489 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5491 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
5492 entry mapped to PPC_PLATFORM_POWER8.
5493 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
5495 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
5496 (_dl_string_platform): Add case for exporting platform position for
5498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
5499 search path to sysdeps/powerpc/powerpc32/power8 directory.
5500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
5501 search path to sysdeps/powerpc/powerpc64/power8 directory.
5502 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
5504 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
5507 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5509 * INSTALL: Regenerate.
5511 * nscd/connections.c (nscd_init): Fix comment.
5513 2013-06-22 Joseph Myers <joseph@codesourcery.com>
5515 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
5518 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
5519 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
5521 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
5523 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
5525 (DL_DST_REQ_STATIC): Remove macro.
5527 2013-06-21 Joseph Myers <joseph@codesourcery.com>
5530 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
5531 with a shift of 0 bits.
5533 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
5535 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
5538 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5541 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
5543 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5545 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
5546 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
5547 accepts -fno-tree-loop-distribute-patterns.
5548 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
5549 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
5551 * string/memset.c (memset): Likewise.
5552 * string/test-memmove.c (simple_memmove): Disable loop transformation
5554 * string/test-memset.c (simple_memset): Likewise.
5555 * benchtests/bench-memmove.c (simple_memmove): Likewise.
5556 * benchtests/bench-memset.c (simple_memset): Likewise.
5557 * configure: Regenerated.
5559 2013-06-20 Joseph Myers <joseph@codesourcery.com>
5561 * math/test-misc.c (main): Ignore fesetround failure when failures
5562 of subsequent rounding tests would be ignored.
5565 * math/fedisblxcpt.c (fedisableexcept): Return 0.
5566 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
5567 * math/fegetenv.c (__fegetenv): Return 0.
5568 * math/fegetexcept.c (fegetexcept): Return 0.
5569 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
5571 * math/feholdexcpt.c (feholdexcept): Return 0.
5572 * math/fesetenv.c (__fesetenv): Return 0.
5573 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
5574 argument FE_TONEAREST.
5575 * math/feupdateenv.c (__feupdateenv): Return 0.
5576 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
5578 2013-06-18 Roland McGrath <roland@hack.frob.com>
5580 * elf/rtld-Rules (rtld-compile-command.S): New variable.
5581 (rtld-compile-command.s, rtld-compile-command.c): New variables.
5582 ($(objpfx)rtld-%.os rules): Use them.
5584 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5586 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
5589 2013-06-17 Roland McGrath <roland@hack.frob.com>
5591 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
5592 length of target pattern, then descending length of dependency pattern.
5593 * configure.in (AWK): Require gawk 3.1.2 or newer.
5594 * manual/install.texi (Tools for Compilation): Say that we do.
5595 * configure: Regenerated.
5597 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
5598 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
5599 * scripts/sysd-rules.awk: ... this new script.
5600 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
5601 than a glob-style pattern.
5603 2013-06-17 Joseph Myers <joseph@codesourcery.com>
5605 * math/test-misc.c (main): Do not treat incorrectly rounded
5606 conversions as failure unless ROUNDING_TESTS passes.
5608 2013-06-15 Joseph Myers <joseph@codesourcery.com>
5611 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
5612 restore exception state around main square root computation, then
5613 check for inexactness explicitly.
5615 * math/libm-test.inc (fma_test_data): Add another test.
5617 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5619 * manual/threads.texi (Non-POSIX Extensions): New document
5620 node. Document pthread_getattr_default_np and
5621 pthread_setattr_default_np.
5623 * Versions.def (libpthread): Add GLIBC_2.18.
5624 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
5625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5629 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5631 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5633 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
5635 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5637 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5639 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5641 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
5644 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5646 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5647 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
5649 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5650 H.J. Lu <hjl.tools@gmail.com>
5653 * sysdeps/x86_64/rtld-memset.c: Remove file.
5654 * sysdeps/x86_64/rtld-memset.S: New file.
5656 2013-06-14 Joseph Myers <joseph@codesourcery.com>
5658 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
5659 (test_in_one_mode): Take arguments for whether the rounding mode
5660 is supported for each floating-point type.
5661 (do_test): Pass new arguments to test_in_one_mode using
5664 2013-06-13 Roland McGrath <roland@hack.frob.com>
5666 * posix/tst-waitid.c (do_test): Distinguish different instances of
5667 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
5668 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
5669 before entering the kernel for waitpid.
5671 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5673 * NEWS: Fix note on clock function precision. Text by Roland
5676 2013-06-13 Roland McGrath <roland@hack.frob.com>
5678 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
5679 it into place only when and if the sanity check passes.
5681 2013-06-13 Joseph Myers <joseph@codesourcery.com>
5683 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
5684 output for whether conversion result is exact. Take argument
5685 indicating whether type is IBM long double.
5686 (round_for_all): Change need_exact field to ibm_ld.
5687 * stdlib/tst-strtod-round.c (struct exactness): New type.
5688 (struct test): Change bool ld_ok field to struct exactness exact.
5689 (TEST): Update all definitions for change to field.
5690 (tests): Regenerate array contents.
5691 (test_in_one_mode): Take pointer to new field instead of old ld_ok
5692 field value. Check for IBM long double here.
5693 (do_test): Update calls to test_in_one_mode.
5695 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5698 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
5699 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
5701 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5704 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
5705 generated by the compiler on loop optimizations.
5706 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
5707 general definitions.
5709 2013-06-12 Joseph Myers <joseph@codesourcery.com>
5711 * math/bug-nextafter.c: Include <math-tests.h>.
5712 (main): Only test for exceptions if EXCEPTION_TESTS is true for
5714 * math/bug-nexttoward.c: Include <math-tests.h>.
5715 (main): Only test for exceptions if EXCEPTION_TESTS is true for
5717 * math/test-misc.c: Include <math-tests.h>.
5718 (main): Only test for exceptions if EXCEPTION_TESTS is true for
5721 2013-06-12 Andreas Jaeger <aj@suse.de>
5723 * po/ia.po: Update Interlingua translation from translation
5726 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5728 * include/fenv.h: Include stdbool.h.
5729 (struct rm_ctx): New structure.
5730 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
5732 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
5733 (SET_RESTORE_ROUNDF): Likewise.
5734 (SET_RESTORE_ROUNDL): Likewise.
5735 (SET_RESTORE_ROUND_NOEX): Likewise.
5736 (SET_RESTORE_ROUND_NOEXF): Likewise.
5737 (SET_RESTORE_ROUND_NOEXL): Likewise.
5738 (SET_RESTORE_ROUND_53BIT): Likewise.
5739 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
5740 (libc_feresetround_noexf_ctx): Likewise.
5741 (libc_feresetround_noexl_ctx): Likewise.
5742 (libc_feholdsetround_53bit_ctx): Likewise.
5743 (libc_feresetround_53bit_ctx): Likewise.
5744 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
5745 (libc_feholdexcept_setround_sse_ctx): New function.
5746 (libc_fesetenv_sse_ctx): Likewise.
5747 (libc_feupdateenv_sse_ctx): Likewise.
5748 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
5749 (libc_feholdexcept_setround_387_ctx): Likewise.
5750 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
5751 (libc_feholdsetround_387_prec_ctx): Likewise.
5752 (libc_feholdsetround_387_ctx): Likewise.
5753 (libc_feholdsetround_387_53bit_ctx): Likewise.
5754 (libc_feholdsetround_sse_ctx): Likewise.
5755 (libc_feresetround_sse_ctx): Likewise.
5756 (libc_feresetround_387_ctx): Likewise.
5757 (libc_feupdateenv_387_ctx): Likewise.
5758 (libc_feholdexcept_setroundf_ctx): Define macro.
5759 (libc_fesetenvf_ctx): Likewise.
5760 (libc_feupdateenvf_ctx): Likewise.
5761 (libc_feholdsetroundf_ctx): Likewise.
5762 (libc_feresetroundf_ctx): Likewise.
5763 (libc_feholdexcept_setround_ctx): Likewise.
5764 (libc_fesetenv_ctx): Likewise.
5765 (libc_feupdateenv_ctx): Likewise.
5766 (libc_feholdsetround_ctx): Likewise.
5767 (libc_feresetround_ctx): Likewise.
5768 (libc_feholdexcept_setroundl_ctx): Likewise.
5769 (libc_feupdateenvl_ctx): Likewise.
5770 (libc_feholdsetroundl_ctx): Likewise.
5771 (libc_feresetroundl_ctx): Likewise.
5772 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
5773 (libc_feresetround_53bit_ctx): Likewise.
5775 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5777 * locale/iso-639.def: Convert to UTF-8.
5779 2013-06-11 Joseph Myers <joseph@codesourcery.com>
5781 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
5782 (EXCEPTION_TESTS_double): Likewise.
5783 (EXCEPTION_TESTS_long_double): Likewise.
5784 (EXCEPTION_TESTS): Likewise.
5785 * math/libm-test.inc (test_exceptions): Only test exceptions if
5786 EXCEPTION_TESTS (FLOAT).
5788 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5790 * benchtests/Makefile (string-bench): Add strcpy_chk and
5792 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
5793 * benchtests/bench-stpcpy_chk.c: New file.
5794 * benchtests/bench-strcpy_chk-ifunc.c: New file.
5795 * benchtests/bench-strcpy_chk.c: New file.
5796 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
5798 (do_test): Likewise.
5800 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5802 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
5803 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
5804 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
5805 with tabs where appropriate.
5806 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
5808 [PPC_PLATFORM_PPC440]: Likewise.
5809 [PPC_PLATFORM_PPC464]: Likewise.
5810 [PPC_PLATFORM_PPC476]: Likewise.
5811 (_dl_string_platform): Add support for detecting ppc405, ppc440,
5812 ppc464, and ppc476 platform strings merging from ports/
5815 2013-06-11 Andreas Schwab <schwab@suse.de>
5818 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
5819 (from_ucs4_idx): Regenerate.
5820 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
5821 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
5822 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
5823 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
5824 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
5825 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
5826 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
5827 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
5828 from FROM_LOOP and TO_LOOP specific macros.
5829 (BODY): Handle combining characters.
5830 * iconvdata/BIG5HKSCS.irreversible: Update.
5831 * iconvdata/BIG5HKSCS.precomposed: New file.
5832 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
5834 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
5836 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5838 * include/sys/time.h: Fix indentation and add copyright header.
5840 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
5841 (do_test): Likewise.
5842 * string/test-memchr.c (do_one_test): Likewise.
5843 (do_test): Likewise.
5844 * string/test-memcmp.c (do_one_test): Likewise.
5845 (do_test): Likewise.
5846 * string/test-memcpy.c (do_one_test): Likewise.
5847 (do_test): Likewise.
5848 * string/test-memmem.c (do_one_test): Likewise.
5849 (do_test): Likewise.
5850 (do_random_tests): Likewise.
5851 * string/test-memmove.c (do_one_test): Likewise.
5852 (do_test): Likewise.
5853 * string/test-memset.c (do_one_test): Likewise.
5854 (do_test): Likewise.
5855 * string/test-rawmemchr.c (do_one_test): Likewise.
5856 (do_test): Likewise.
5857 * string/test-strcasecmp.c (do_one_test): Likewise.
5858 (do_test): Likewise.
5859 * string/test-strcasestr.c (do_one_test): Likewise.
5860 (do_test): Likewise.
5861 * string/test-strcat.c (do_one_test): Likewise.
5862 (do_test): Likewise.
5863 * string/test-strchr.c (do_one_test): Likewise.
5864 (do_test): Likewise.
5865 * string/test-strcmp.c (do_one_test): Likewise.
5866 (do_test): Likewise.
5867 * string/test-strcpy.c (do_one_test): Likewise.
5868 (do_test): Likewise.
5869 * string/test-string.h: Likewise.
5870 (test_init): Likewise.
5871 * string/test-strlen.c (do_one_test): Likewise.
5872 (do_test): Likewise.
5873 * string/test-strncasecmp.c (do_one_test): Likewise.
5874 (do_test): Likewise.
5875 * string/test-strncat.c (do_one_test): Likewise.
5876 (do_test): Likewise.
5877 * string/test-strncmp.c (do_one_test): Likewise.
5878 (do_test_limit): Likewise.
5879 (do_test): Likewise.
5880 * string/test-strncpy.c (do_one_test): Likewise.
5881 (do_test): Likewise.
5882 * string/test-strnlen.c (do_one_test): Likewise.
5883 (do_test): Likewise.
5884 * string/test-strpbrk.c (do_one_test): Likewise.
5885 (do_test): Likewise.
5886 * string/test-strrchr.c (do_one_test): Likewise.
5887 (do_test): Likewise.
5888 * string/test-strspn.c (do_one_test): Likewise.
5889 (do_test): Likewise.
5890 * string/test-strstr.c (do_one_test): Likewise.
5891 (do_test): Likewise.
5893 * benchtests/Makefile (string-bench): Add string benchmarks.
5894 * benchtests/bench-bcopy-ifunc.c: New file.
5895 * benchtests/bench-bcopy.c: New file.
5896 * benchtests/bench-bzero-ifunc.c: New file.
5897 * benchtests/bench-bzero.c: New file.
5898 * benchtests/bench-memccpy-ifunc.c: New file.
5899 * benchtests/bench-memccpy.c: New file.
5900 * benchtests/bench-memchr-ifunc.c: New file.
5901 * benchtests/bench-memchr.c: New file.
5902 * benchtests/bench-memcmp-ifunc.c: New file.
5903 * benchtests/bench-memcmp.c: New file.
5904 * benchtests/bench-memmem-ifunc.c: New file.
5905 * benchtests/bench-memmem.c: New file.
5906 * benchtests/bench-memmove-ifunc.c: New file.
5907 * benchtests/bench-memmove.c: New file.
5908 * benchtests/bench-mempcpy-ifunc.c: New file.
5909 * benchtests/bench-mempcpy.c: New file.
5910 * benchtests/bench-memset-ifunc.c: New file.
5911 * benchtests/bench-memset.c: New file.
5912 * benchtests/bench-rawmemchr-ifunc.c: New file.
5913 * benchtests/bench-rawmemchr.c: New file.
5914 * benchtests/bench-stpcpy-ifunc.c: New file.
5915 * benchtests/bench-stpcpy.c: New file.
5916 * benchtests/bench-stpncpy-ifunc.c: New file.
5917 * benchtests/bench-stpncpy.c: New file.
5918 * benchtests/bench-strcasecmp-ifunc.c: New file.
5919 * benchtests/bench-strcasecmp.c: New file.
5920 * benchtests/bench-strcasestr-ifunc.c: New file.
5921 * benchtests/bench-strcasestr.c: New file.
5922 * benchtests/bench-strcat-ifunc.c: New file.
5923 * benchtests/bench-strcat.c: New file.
5924 * benchtests/bench-strchr-ifunc.c: New file.
5925 * benchtests/bench-strchr.c: New file.
5926 * benchtests/bench-strchrnul-ifunc.c: New file.
5927 * benchtests/bench-strchrnul.c: New file.
5928 * benchtests/bench-strcmp-ifunc.c: New file.
5929 * benchtests/bench-strcmp.c: New file.
5930 * benchtests/bench-strcpy-ifunc.c: New file.
5931 * benchtests/bench-strcpy.c: New file.
5932 * benchtests/bench-strcspn-ifunc.c: New file.
5933 * benchtests/bench-strcspn.c: New file.
5934 * benchtests/bench-strlen-ifunc.c: New file.
5935 * benchtests/bench-strlen.c: New file.
5936 * benchtests/bench-strncasecmp-ifunc.c: New file.
5937 * benchtests/bench-strncasecmp.c: New file.
5938 * benchtests/bench-strncat-ifunc.c: New file.
5939 * benchtests/bench-strncat.c: New file.
5940 * benchtests/bench-strncmp-ifunc.c: New file.
5941 * benchtests/bench-strncmp.c: New file.
5942 * benchtests/bench-strncpy-ifunc.c: New file.
5943 * benchtests/bench-strncpy.c: New file.
5944 * benchtests/bench-strnlen-ifunc.c: New file.
5945 * benchtests/bench-strnlen.c: New file.
5946 * benchtests/bench-strpbrk-ifunc.c: New file.
5947 * benchtests/bench-strpbrk.c: New file.
5948 * benchtests/bench-strrchr-ifunc.c: New file.
5949 * benchtests/bench-strrchr.c: New file.
5950 * benchtests/bench-strspn-ifunc.c: New file.
5951 * benchtests/bench-strspn.c: New file.
5952 * benchtests/bench-strstr-ifunc.c: New file.
5953 * benchtests/bench-strstr.c: New file.
5955 * benchtests/Makefile: Disable parallel execution of targets.
5956 (string-bench): Add memcpy.
5957 (benchset): New variable to store a list of benchmark sets.
5958 (bench-func): Renamed from bench.
5959 (bench-set): New target.
5960 (bench): Depend on bench-func and bench-set.
5961 * benchtests/README: Add section on benchmark sets.
5962 * benchtests/bench-memcpy-ifunc.c: New file.
5963 * benchtests/bench-memcpy.c: New file.
5964 * benchtests/bench-string.h: New file.
5966 2013-06-11 Andreas Schwab <schwab@suse.de>
5969 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
5970 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
5971 values in the triple.
5972 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
5973 terminator in the group key.
5975 2013-06-11 Andreas Jaeger <aj@suse.de>
5977 * po/zh_TW.po: Update Chinese (traditional) translation from
5978 translation project.
5980 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5982 * include/time.h (__clock_gettime): Add libc_hidden_proto.
5983 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
5984 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
5985 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5986 (clock_getcpuclockid): Likewise.
5987 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
5988 Add weak_alias and libc_hidden_def.
5989 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
5990 * rt/clock_gettime.c (clock_gettime): Rename to
5991 __clock_gettime. Add weak_alias and libc_hidden_def.
5992 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
5993 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
5994 __clock_nanosleep. Add weak_alias and libc_hidden_def.
5995 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
5996 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
5998 * rt/clock_settime.c (clock_settime): Rename to
5999 __clock_settime. Add weak_alias and libc_hidden_def.
6000 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
6002 2013-06-10 Joseph Myers <joseph@codesourcery.com>
6004 * mach/err_boot.sub: Remove trailing whitespace.
6005 * mach/err_ipc.sub: Likewise.
6006 * mach/err_mach.sub: Likewise.
6008 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
6009 (ROUNDING_TESTS_double): Likewise.
6010 (ROUNDING_TESTS_long_double): Likewise.
6011 (ROUNDING_TESTS): Likewise.
6012 * math/libm-test.inc: Include <math-tests.h>.
6013 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
6014 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6015 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6016 (IF_ROUND_INIT_FE_UPWARD): Likewise.
6018 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6020 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
6023 2013-06-08 Joseph Myers <joseph@codesourcery.com>
6025 * sysdeps/gnu/errlist.awk: Do not generate space at end of
6026 otherwise empty TRANS lines.
6027 * sysdeps/gnu/errlist.c: Regenerated.
6029 * catgets/gencat.c (error_print): Use (void) in function
6031 * crypt/crypt_util.c (__init_des): Likewise.
6032 * crypt/speeds.c (Stop): Likewise.
6034 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
6035 * inet/ruserpass.c (token): Likewise.
6036 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
6037 * intl/localealias.c (extend_alias_table): Likewise.
6038 * intl/plural-exp.c (init_germanic_plural): Likewise.
6039 * libio/fcloseall.c (__fcloseall): Likewise.
6040 * libio/genops.c (_IO_flush_all): Likewise.
6041 (_IO_flush_all_linebuffered): Likewise.
6042 (_IO_cleanup): Likewise.
6043 (_IO_iter_begin): Likewise.
6044 (_IO_iter_end): Likewise.
6045 (_IO_list_lock): Likewise.
6046 (_IO_list_unlock): Likewise.
6047 (_IO_list_resetlock): Likewise.
6048 * libio/getchar.c (getchar): Likewise.
6049 * libio/getchar_u.c (getchar_unlocked): Likewise.
6050 * libio/getwchar.c (getwchar): Likewise.
6051 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
6052 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
6053 * login/getpt.c (__getpt): Likewise.
6054 * login/tst-utmp.c (main): Likewise.
6055 * malloc/hooks.c (__malloc_check_init): Likewise.
6056 * malloc/malloc.c (__malloc_stats): Likewise.
6057 * malloc/mtrace.c (tr_break): Likewise.
6059 (muntrace): Likewise.
6060 * misc/fstab.c (endfsent): Likewise.
6061 * misc/getclktck.c (__getclktck): Likewise.
6062 * misc/getdtsz.c (__getdtablesize): Likewise.
6063 * misc/gethostid.c (gethostid): Likewise.
6064 * misc/getpagesize.c (__getpagesize): Likewise.
6065 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
6066 (__get_nprocs): Likewise.
6067 (__get_phys_pages): Likewise.
6068 (__get_avphys_pages): Likewise.
6069 * misc/getttyent.c (getttyent): Likewise.
6070 (setttyent): Likewise.
6071 (endttyent): Likewise.
6072 * misc/getusershell.c (getusershell): Likewise.
6073 (endusershell): Likewise.
6074 (setusershell): Likewise.
6075 (initshells): Likewise.
6076 * misc/hsearch.c (__hdestroy): Likewise.
6077 * misc/sync.c (sync): Likewise.
6078 * misc/syslog.c (closelog_internal): Likewise.
6079 (closelog): Likewise.
6080 * misc/ttyslot.c (ttyslot): Likewise.
6081 * misc/vhangup.c (vhangup): Likewise.
6082 * posix/fork.c (__fork): Likewise.
6083 * posix/getegid.c (__getegid): Likewise.
6084 * posix/geteuid.c (__geteuid): Likewise.
6085 * posix/getgid.c (__getgid): Likewise.
6086 * posix/getpid.c (__getpid): Likewise.
6087 * posix/getppid.c (__getppid): Likewise.
6088 * posix/getuid.c (__getuid): Likewise.
6089 * posix/pause.c (pause): Likewise.
6090 * posix/setpgrp.c (setpgrp): Likewise.
6091 * posix/setsid.c (__setsid): Likewise.
6092 * posix/test-vfork.c (noop): Likewise.
6093 * resolv/gethnamaddr.c (_endhtent): Likewise.
6094 (_gethtent): Likewise.
6095 (ht_endhostent): Likewise.
6096 (gethostent): Likewise.
6097 (dns_service): Likewise.
6098 * stdlib/drand48.c (drand48): Likewise.
6099 * stdlib/lrand48.c (lrand48): Likewise.
6100 * stdlib/mrand48.c (mrand48): Likewise.
6101 * stdlib/rand.c (rand): Likewise.
6102 * stdlib/random.c (__random): Likewise.
6103 * stdlib/setenv.c (clearenv): Likewise.
6104 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
6105 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
6106 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
6107 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
6108 (__get_nprocs): Likewise.
6109 (__get_phys_pages): Likewise.
6110 (__get_avphys_pages): Likewise.
6111 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
6112 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
6113 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
6114 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
6115 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
6116 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
6117 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
6118 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
6119 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
6120 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
6121 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
6122 * sysdeps/mach/hurd/sync.c (sync): Likewise.
6123 * sysdeps/posix/clock.c (clock): Likewise.
6124 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
6125 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
6126 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
6127 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
6128 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
6129 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
6130 (__get_nprocs_conf): Likewise.
6131 (__get_phys_pages): Likewise.
6132 (__get_avphys_pages): Likewise.
6133 * time/clock.c (clock): Likewise.
6134 * time/tzset.c (__tzname_max): Likewise.
6136 2013-06-07 Joseph Myers <joseph@codesourcery.com>
6138 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
6139 (__bswap_32): Do not use "register".
6140 * crypt/crypt.c (_ufc_doit_r): Likewise.
6141 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
6142 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
6143 * gmon/gmon.c (__monstartup): Likewise.
6144 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
6145 * hurd/hurdmalloc.c (more_memory): Likewise.
6148 (realloc): Likewise.
6149 (malloc_fork_prepare): Likewise.
6150 (malloc_fork_parent): Likewise.
6151 (malloc_fork_child): Likewise.
6152 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
6153 (_svcauth_des): Likewise.
6154 * inet/inet_lnaof.c (inet_lnaof): Likewise.
6155 * inet/inet_net.c (inet_network): Likewise.
6156 * inet/inet_netof.c (inet_netof): Likewise.
6157 * inet/rcmd.c (__validuser2_sa): Likewise.
6158 * io/fts.c (fts_open): Likewise.
6159 (fts_load): Likewise.
6160 (fts_close): Likewise.
6161 (fts_read): Likewise.
6162 (fts_children): Likewise.
6163 (fts_build): Likewise.
6164 (fts_stat): Likewise.
6165 (fts_sort): Likewise.
6166 (fts_alloc): Likewise.
6167 (fts_lfree): Likewise.
6168 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
6169 (_IO_file_xsgetn): Likewise.
6170 (_IO_file_xsgetn_mmap): Likewise.
6171 * libio/iofopncook.c (_IO_cookie_read): Likewise.
6172 (_IO_cookie_write): Likewise.
6173 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
6174 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
6175 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
6176 * malloc/obstack.c (_obstack_begin): Likewise.
6177 (_obstack_begin_1): Likewise.
6178 (_obstack_newchunk): Likewise.
6179 (_obstack_allocated_p): Likewise.
6180 (obstack_free): Likewise.
6181 (_obstack_memory_used): Likewise.
6182 * misc/getttyent.c (getttynam): Likewise.
6183 (getttyent): Likewise.
6186 * misc/getusershell.c (initshells): Likewise.
6187 * misc/syslog.c (__vsyslog_chk): Likewise.
6188 * misc/ttyslot.c (ttyslot): Likewise.
6189 * nis/nis_hash.c (__nis_hash): Likewise.
6190 * posix/fnmatch_loop.c (FCT): Likewise.
6191 * posix/getconf.c (print_all): Likewise.
6193 * posix/getopt.c (exchange): Likewise.
6194 * posix/glob.c (globfree): Likewise.
6195 (prefix_array): Likewise.
6196 (__glob_pattern_type): Likewise.
6197 * resolv/arpa/nameser.h (NS_GET16): Likewise.
6198 (NS_GET32): Likewise.
6199 (NS_PUT16): Likewise.
6200 (NS_PUT32): Likewise.
6201 * resolv/gethnamaddr.c (getanswer): Likewise.
6202 (gethostbyname2): Likewise.
6203 (gethostbyaddr): Likewise.
6204 (_gethtent): Likewise.
6205 (_gethtbyname2): Likewise.
6206 (_gethtbyaddr): Likewise.
6207 * resolv/ns_print.c (dst_s_get_int16): Likewise.
6208 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
6209 * resolv/res_init.c (__res_vinit): Likewise.
6210 (net_mask): Likewise.
6211 * resolv/res_mkquery.c (outchar): Likewise.
6213 * stdio-common/printf_fp.c (outchar): Likewise.
6215 * stdio-common/printf_fphex.c (outchar): Likewise.
6217 * stdio-common/printf_size.c (outchar): Likewise.
6219 * stdio-common/test_rdwr.c (main): Likewise.
6220 * stdio-common/tfformat.c (matches): Likewise.
6221 * stdio-common/vfprintf.c (outchar): Likewise.
6222 (printf_unknown): Likewise.
6223 (buffered_vfprintf): Likewise.
6224 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
6225 * stdio-common/xbug.c (AppendToBuffer): Likewise.
6226 (ReadFile): Likewise.
6227 * stdlib/qsort.c (SWAP): Likewise.
6228 (_quicksort): Likewise.
6229 * stdlib/setenv.c (__add_to_environ): Likewise.
6230 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6231 * stdlib/strtol_l.c (__strtol_l): Likewise.
6232 * stdlib/tst-strtod.c (main): Likewise.
6233 * stdlib/tst-strtol.c (main): Likewise.
6234 * stdlib/tst-strtoll.c (main): Likewise.
6235 * string/bits/string2.h (__strcmp_cc): Likewise.
6236 (__strcmp_cg): Likewise.
6237 (__strcspn_c1): Likewise.
6238 (__strcspn_c2): Likewise.
6239 (__strcspn_c3): Likewise.
6240 (__strspn_c1): Likewise.
6241 (__strspn_c2): Likewise.
6242 (__strspn_c3): Likewise.
6243 (__strsep_1c): Likewise.
6244 (__strsep_2c): Likewise.
6245 (__strsep_3c): Likewise.
6246 * string/memccpy.c (__memccpy): Likewise.
6247 * string/stpcpy.c (__stpcpy): Likewise.
6248 * string/strcmp.c (strcmp): Likewise.
6249 * string/strrchr.c (strrchr): Likewise.
6250 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
6252 * sysdeps/mach/hurd/getcwd.c
6253 (_hurd_canonicalize_directory_name_internal): Likewise.
6254 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
6255 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
6256 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
6257 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
6258 Likewise, in both definitions.
6259 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
6261 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
6262 64] (__bswap_64): Likewise.
6263 * time/test_time.c (main): Likewise.
6264 * time/tzfile.c (__tzfile_read): Likewise.
6265 (__tzfile_compute): Likewise.
6266 * time/tzset.c (__tzset_parse_tz): Likewise.
6267 (tzset_internal): Likewise.
6268 (compute_change): Likewise.
6269 * wcsmbs/wcscat.c (__wcscat): Likewise.
6270 * wcsmbs/wcschr.c (wcschr): Likewise.
6271 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
6272 * wcsmbs/wcscspn.c (wcscspn): Likewise.
6273 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
6274 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
6275 * wcsmbs/wcsspn.c (wcsspn): Likewise.
6276 * wcsmbs/wcsstr.c (wcsstr): Likewise.
6277 * wcsmbs/wmemchr.c (wmemchr): Likewise.
6278 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6279 * wcsmbs/wmemset.c (wmemset): Likewise.
6281 2013-06-06 Joseph Myers <joseph@codesourcery.com>
6283 * scripts/config.guess: Update to version 2013-05-16.
6284 * scripts/config.sub: Update to version 2013-04-24.
6285 * scripts/install-sh: Update to version 2011-11-20.07.
6286 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
6287 * scripts/move-if-change: Update to version 2012-01-06 07:23.
6289 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
6291 * debug/fgetws_u_chk.c: Fix leading whitespaces.
6292 * elf/sln.c: Likewise.
6293 * hurd/hurd/ioctl.h: Likewise.
6294 * hurd/hurdmalloc.c: Likewise.
6295 * hurd/xattr.c: Likewise.
6296 * include/shlib-compat.h: Likewise.
6297 * inet/ruserpass.c: Likewise.
6298 * libio/iofgets_u.c: Likewise.
6299 * libio/iofgetws_u.c: Likewise.
6300 * locale/programs/ld-identification.c: Likewise.
6301 * locale/programs/ld-time.c: Likewise.
6302 * mach/msg-destroy.c: Likewise.
6303 * nss/nss_files/files-netgrp.c: Likewise.
6304 * resolv/res_data.c: Likewise.
6305 * soft-fp/op-1.h: Likewise.
6306 * soft-fp/op-2.h: Likewise.
6307 * soft-fp/op-4.h: Likewise.
6308 * soft-fp/op-common.h: Likewise.
6309 * stdio-common/printf_fphex.c: Likewise.
6310 * stdlib/strtod_l.c: Likewise.
6311 * sunrpc/rpc/clnt.h: Likewise.
6312 * sysdeps/generic/framestate.c: Likewise.
6313 * sysdeps/i386/bsd-_setjmp.S: Likewise.
6314 * sysdeps/i386/bsd-setjmp.S: Likewise.
6315 * sysdeps/i386/__longjmp.S: Likewise.
6316 * sysdeps/i386/setjmp.S: Likewise.
6317 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6318 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6319 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6320 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6321 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6322 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6323 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6324 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6325 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6326 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
6327 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6328 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6329 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6330 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6331 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6332 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6333 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6334 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
6335 * sysdeps/ieee754/support.c: Likewise.
6336 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6337 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
6338 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
6339 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
6340 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
6341 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
6342 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
6343 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
6344 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
6345 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
6346 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
6347 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
6348 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
6349 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
6350 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
6351 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
6352 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6355 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
6357 * posix/transbug.c: Remove executable mode.
6359 2013-06-05 Joseph Myers <joseph@codesourcery.com>
6361 * crypt/speeds.c: Remove trailing whitespace.
6362 * dlfcn/default.c: Likewise.
6363 * elf/ifuncdep2.c: Likewise.
6364 * elf/ifuncmain1.c: Likewise.
6365 * elf/ifuncmain1vis.c: Likewise.
6366 * elf/testobj.h: Likewise.
6367 * elf/tst-stackguard1.c: Likewise.
6368 * gmon/sys/gmon.h: Likewise.
6369 * hurd/hurdmsg.c: Likewise.
6370 * hurd/new-fd.c: Likewise.
6371 * hurd/ports-get.c: Likewise.
6372 * iconvdata/ibm1008_420.c: Likewise.
6373 * inet/tst-getni1.c: Likewise.
6374 * inet/tst-getni2.c: Likewise.
6375 * libio/ioungetc.c: Likewise.
6376 * libio/wfiledoalloc.c: Likewise.
6377 * manual/libm-err-tab.pl: Likewise.
6378 * math/w_dremf.c: Likewise.
6379 * misc/ftruncate.c: Likewise.
6380 * posix/bug-glob2.c: Likewise.
6381 * posix/tst-pcre.c: Likewise.
6382 * posix/wait4.c: Likewise.
6383 * resolv/README: Likewise.
6384 * resolv/res_debug.h: Likewise.
6385 * resolv/tst-inet_ntop.c: Likewise.
6386 * setjmp/bug269-setjmp.c: Likewise.
6387 * soft-fp/extended.h: Likewise.
6388 * soft-fp/op-1.h: Likewise.
6389 * soft-fp/op-2.h: Likewise.
6390 * soft-fp/op-4.h: Likewise.
6391 * soft-fp/op-8.h: Likewise.
6392 * soft-fp/testit.c: Likewise.
6393 * stdio-common/bug16.c: Likewise.
6394 * stdlib/random.c: Likewise.
6395 * sunrpc/rpcsvc/rquota.x: Likewise.
6396 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
6397 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6398 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6399 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6400 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6401 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6402 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6403 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6404 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6405 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6406 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6407 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6408 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6409 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6410 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6411 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6412 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6413 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6414 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6415 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6416 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6417 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6418 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
6419 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6420 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6421 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6422 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6423 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6424 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6425 * sysdeps/ieee754/s_lib_version.c: Likewise.
6426 * sysdeps/mach/hurd/check_fds.c: Likewise.
6427 * sysdeps/mach/hurd/getsockname.c: Likewise.
6428 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
6429 * sysdeps/mach/hurd/recvfrom.c: Likewise.
6430 * sysdeps/powerpc/bits/link.h: Likewise.
6431 * sysdeps/powerpc/dl-procinfo.c: Likewise.
6432 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
6433 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
6434 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
6435 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
6436 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6437 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
6438 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
6439 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
6440 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
6441 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
6442 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
6443 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
6444 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
6445 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
6446 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
6447 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
6448 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
6449 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
6450 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6451 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6452 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
6453 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6454 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
6455 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
6456 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
6457 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
6458 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6459 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6460 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
6461 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
6462 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
6463 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6464 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6465 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
6466 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
6467 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
6468 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
6469 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
6470 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
6471 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
6472 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
6473 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
6474 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
6475 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
6476 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
6477 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
6478 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
6479 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
6480 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
6481 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6482 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6483 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6484 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6485 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
6486 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
6487 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
6488 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6489 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
6490 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
6491 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
6492 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
6493 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
6494 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6495 * sysdeps/powerpc/sysdep.h: Likewise.
6496 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6497 * sysdeps/s390/s390-64/sub_n.S: Likewise.
6498 * sysdeps/sh/dl-trampoline.S: Likewise.
6499 * sysdeps/sh/memset.S: Likewise.
6500 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
6501 * sysdeps/sh/strlen.S: Likewise.
6502 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
6503 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
6504 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
6505 * sysdeps/sparc/sparc32/rem.S: Likewise.
6506 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
6507 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
6508 * sysdeps/sparc/sparc32/strchr.S: Likewise.
6509 * sysdeps/sparc/sparc32/udiv.S: Likewise.
6510 * sysdeps/sparc/sparc32/urem.S: Likewise.
6511 * sysdeps/sparc/sparc64/add_n.S: Likewise.
6512 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6513 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
6514 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
6515 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
6516 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
6517 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
6518 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
6519 * sysdeps/unix/bsd/times.c: Likewise.
6520 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
6521 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
6522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
6523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
6524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
6525 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
6526 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
6527 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
6528 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
6529 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
6530 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
6531 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6532 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
6533 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
6534 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6535 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
6536 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6537 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
6538 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
6539 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
6540 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
6541 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
6542 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
6543 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
6544 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
6545 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
6546 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
6547 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6548 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
6549 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
6550 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
6551 * sysdeps/x86_64/strcspn.S: Likewise.
6553 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6555 * locale/C-translit.h: Revert #include <stdint.h> because this is a
6556 generated file. Regenerate properly from gen-translit.pl.
6557 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
6558 locale/C-translit.h.
6560 2013-06-05 Andreas Schwab <schwab@suse.de>
6563 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
6564 week as 6 instead of -1.
6565 * time/tst-strptime.c (day_tests): Add test case.
6567 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6569 * sysdeps/generic/math_private.h
6570 (libc_feholdexcept_setround_53bit): Replace with
6571 libc_feholdsetround_53bit.
6572 (libc_feupdateenv_53bit): Replace with
6573 libc_feresetround_53bit.
6574 (SET_RESTORE_ROUND_53BIT): Adjust.
6576 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6578 * string/test-strchrnul.c: Add copyright header.
6580 * posix/tst-getaddrinfo4.c: Increase test timeout.
6582 2013-06-03 Carlos O'Donell <carlos@redhat.com>
6585 * math/libm-test.inc (MAX_EXP): Remove
6587 (ulp): Use MIN_EXP - MANT_DIG.
6588 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
6590 2013-05-31 Carlos O'Donell <carlos@redhat.com>
6592 * po/be.po: Revert last change.
6593 * po/zh_CN.po: Likewise.
6594 * po/header.pot: Likewise.
6596 2013-05-31 Joseph Myers <joseph@codesourcery.com>
6598 * Makefile ($(common-objpfx)linkobj/libc.so): Define
6599 link-libc-deps to empty as target-specific variable.
6600 * Makerules (link-libc-args): New variable.
6601 (libc-for-link): Likewise.
6602 (link-libc-deps): Likewise.
6603 (lib%.so): Depend on $(link-libc-deps). Link with
6605 (build-module): Link with $(link-libc-args).
6606 (build-module-asneeded): Likewise.
6607 (build-module-helper-objlist): Filter out $(link-libc-deps) from
6609 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
6610 target-specific variable.
6611 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
6612 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
6613 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
6615 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
6617 ($(objpfx)libpcprofile.so): Likewise.
6618 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
6620 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
6621 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
6622 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
6624 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
6625 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
6626 * login/Makefile ($(objpfx)libutil.so): Likewise.
6627 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
6628 * math/Makefile ($(objpfx)libm.so): Likewise.
6629 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
6630 $(objpfx)libnsl.so): Define libc-for-link as target-specific
6631 variable instead of depending directly on libc.
6632 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
6633 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
6635 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
6637 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
6638 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
6639 ($(objpfx)libanl.so): Likewise.
6640 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
6642 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
6644 * sysdeps/i386/fpu/Makefile: Remove file.
6645 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
6646 ($(objpfx)libm.so): Remove dependency on ld.so.
6648 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
6651 * nis/yp_xdr.c (XDRMAXNAME): Define.
6652 (XDRMAXRECORD): Define.
6653 (xdr_domainname): Use XDRMAXNAME.
6654 (xdr_mapname): Likewise.
6655 (xdr_peername): Likewise.
6656 (xdr_keydat): Use XDRMAXRECORD.
6657 (xdr_valdat): Likewise.
6659 2013-05-30 Jeff Law <law@redhat.com>
6662 * manual/errno.texi (ESTALE): Update to account for more than
6663 just NFS file systems.
6664 * sysdeps/gnu/errlist.c: Regenerated.
6666 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6669 * elf/Makefile (tests): Add tst-null-argv.
6670 (modules-names): Add tst-null-argv-lib.
6671 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
6672 (tst-null-argv-ENV): Set environment for tst-null-argv.
6673 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
6674 (RTLD_PROGNAME): New macro.
6675 * elf/tst-null-argv.c: New test case.
6676 * elf/tst-null-argv-lib.c: Library for test case.
6677 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
6678 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
6679 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
6680 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
6681 * elf/dl-init.c (call_init): Likewise.
6682 (_dl_init): Likewise.
6683 * elf/dl-load.c (print_search_path): Likewise.
6684 (_dl_map_object): Likewise.
6685 * elf/dl-lookup.c (do_lookup_x): Likewise.
6686 (add_dependency): Likewise.
6687 (_dl_lookup_symbol_x): Likewise.
6688 (_dl_debug_bindings): Likewise.
6689 * elf/dl-open.c (_dl_show_scope): Likewise.
6690 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
6691 * elf/dl-version.c (match_symbol): Likewise.
6692 (_dl_check_map_versions): Likewise.
6693 * elf/rtld.c (dl_main): Likewise.
6694 (print_unresolved): Use RTLD_PROGNAME.
6695 (print_missing_version): Likewise.
6696 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
6697 (elf_machine_rela): Likewise.
6698 * sysdeps/powerpc/powerpc32/dl-machine.c
6699 (__process_machine_rela): Likewise.
6700 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6702 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6704 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
6706 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6707 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
6709 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
6711 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6713 2013-05-28 Carlos O'Donell <carlos@redhat.com>
6715 * po/be.po: Add descriptive title.
6716 * po/zh_CN.po: Likewise.
6717 * po/header.pot: Likewise.
6719 2013-05-28 Mike Frysinger <vapier@gentoo.org>
6721 * locale/programs/locarchive.c (create_archive): Inlucde fname in
6723 (enlarge_archive): Likewise.
6725 2013-05-28 Ben North <ben@redfrontdoor.org>
6727 * manual/arith.texi (frexp): It is the magnitude of the return
6728 value which lies in [0.5, 1), not the return value itself.
6730 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6732 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6734 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
6736 * stdio-common/bug26.c (main): Correct fscanf template.
6738 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
6739 declare _dl_skip_args.
6741 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
6744 * manual/platform.texi: Add missing @end deftypefun.
6746 2013-05-24 Joseph Myers <joseph@codesourcery.com>
6749 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
6750 bit of mantissa of 2^16382.
6751 * math/libm-test.inc (hypot_test_data): Add more tests.
6753 * math/libm-test.inc: Add drem and pow10 to list of tested
6755 (pow10_test): New function.
6756 (drem_test): Likewise.
6757 (drem_test_tonearest): Likewise.
6758 (drem_test_towardzero): Likewise.
6759 (drem_test_downward): Likewise.
6760 (drem_test_upward): Likewise.
6761 (main): Call the new functions.
6763 * math/libm-test.inc (finite_test_data): Remove.
6764 (finite_test): Run tests from isfinite_test_data.
6765 (gamma_test_data): Remove.
6766 (gamma_test): Run tests from lgamma_test_data.
6767 * sysdeps/i386/fpu/libm-test-ulps: Update.
6768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6770 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6772 * manual/platform.texi: Add PowerPC PPR function set documentation.
6773 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
6776 2013-05-24 Carlos O'Donell <carlos@redhat.com>
6778 * math/libm-test.inc (MAX_EXP): Define.
6780 (ulp): New function.
6781 (check_float_internal): Use ULPDIFF.
6782 (cpow_test): Disable failing test.
6783 (check_ulp): Test ulp() implemetnation.
6784 (main): Call check_ulp before starting tests.
6786 2013-05-24 Joseph Myers <joseph@codesourcery.com>
6788 * math/gen-libm-test.pl (generate_testfile): Do not handle
6789 START_DATA and END_DATA.
6790 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
6792 (acos_tonearest_test_data): Likewise.
6793 (acos_towardzero_test_data): Likewise.
6794 (acos_downward_test_data): Likewise.
6795 (acos_upward_test_data): Likewise.
6796 (acosh_test_data): Likewise.
6797 (asin_test_data): Likewise.
6798 (asin_tonearest_test_data): Likewise.
6799 (asin_towardzero_test_data): Likewise.
6800 (asin_downward_test_data): Likewise.
6801 (asin_upward_test_data): Likewise.
6802 (asinh_test_data): Likewise.
6803 (atan_test_data): Likewise.
6804 (atanh_test_data): Likewise.
6805 (atan2_test_data): Likewise.
6806 (cabs_test_data): Likewise.
6807 (cacos_test_data): Likewise.
6808 (cacosh_test_data): Likewise.
6809 (carg_test_data): Likewise.
6810 (casin_test_data): Likewise.
6811 (casinh_test_data): Likewise.
6812 (catan_test_data): Likewise.
6813 (catanh_test_data): Likewise.
6814 (cbrt_test_data): Likewise.
6815 (ccos_test_data): Likewise.
6816 (ccosh_test_data): Likewise.
6817 (ceil_test_data): Likewise.
6818 (cexp_test_data): Likewise.
6819 (cimag_test_data): Likewise.
6820 (clog_test_data): Likewise.
6821 (clog10_test_data): Likewise.
6822 (conj_test_data): Likewise.
6823 (copysign_test_data): Likewise.
6824 (cos_test_data): Likewise.
6825 (cos_tonearest_test_data): Likewise.
6826 (cos_towardzero_test_data): Likewise.
6827 (cos_downward_test_data): Likewise.
6828 (cos_upward_test_data): Likewise.
6829 (cosh_test_data): Likewise.
6830 (cosh_tonearest_test_data): Likewise.
6831 (cosh_towardzero_test_data): Likewise.
6832 (cosh_downward_test_data): Likewise.
6833 (cosh_upward_test_data): Likewise.
6834 (cpow_test_data): Likewise.
6835 (cproj_test_data): Likewise.
6836 (creal_test_data): Likewise.
6837 (csin_test_data): Likewise.
6838 (csinh_test_data): Likewise.
6839 (csqrt_test_data): Likewise.
6840 (ctan_test_data): Likewise.
6841 (ctan_tonearest_test_data): Likewise.
6842 (ctan_towardzero_test_data): Likewise.
6843 (ctan_downward_test_data): Likewise.
6844 (ctan_upward_test_data): Likewise.
6845 (ctanh_test_data): Likewise.
6846 (ctanh_tonearest_test_data): Likewise.
6847 (ctanh_towardzero_test_data): Likewise.
6848 (ctanh_downward_test_data): Likewise.
6849 (ctanh_upward_test_data): Likewise.
6850 (erf_test_data): Likewise.
6851 (erfc_test_data): Likewise.
6852 (exp_test_data): Likewise.
6853 (exp_tonearest_test_data): Likewise.
6854 (exp_towardzero_test_data): Likewise.
6855 (exp_downward_test_data): Likewise.
6856 (exp_upward_test_data): Likewise.
6857 (exp10_test_data): Likewise.
6858 (exp2_test_data): Likewise.
6859 (expm1_test_data): Likewise.
6860 (fabs_test_data): Likewise.
6861 (fdim_test_data): Likewise.
6862 (finite_test_data): Likewise.
6863 (floor_test_data): Likewise.
6864 (fma_test_data): Likewise.
6865 (fma_towardzero_test_data): Likewise.
6866 (fma_downward_test_data): Likewise.
6867 (fma_upward_test_data): Likewise.
6868 (fmax_test_data): Likewise.
6869 (fmin_test_data): Likewise.
6870 (fmod_test_data): Likewise.
6871 (fpclassify_test_data): Likewise.
6872 (frexp_test_data): Likewise.
6873 (gamma_test_data): Likewise.
6874 (hypot_test_data): Likewise.
6875 (ilogb_test_data): Likewise.
6876 (isfinite_test_data): Likewise.
6877 (isgreater_test_data): Likewise.
6878 (isgreaterequal_test_data): Likewise.
6879 (isinf_test_data): Likewise.
6880 (isless_test_data): Likewise.
6881 (islessequal_test_data): Likewise.
6882 (islessgreater_test_data): Likewise.
6883 (isnan_test_data): Likewise.
6884 (isnormal_test_data): Likewise.
6885 (issignaling_test_data): Likewise.
6886 (isunordered_test_data): Likewise.
6887 (j0_test_data): Likewise.
6888 (j1_test_data): Likewise.
6889 (jn_test_data): Likewise.
6890 (ldexp_test_data): Likewise.
6891 (lgamma_test_data): Likewise.
6892 (lrint_test_data): Likewise.
6893 (lrint_tonearest_test_data): Likewise.
6894 (lrint_towardzero_test_data): Likewise.
6895 (lrint_downward_test_data): Likewise.
6896 (lrint_upward_test_data): Likewise.
6897 (llrint_test_data): Likewise.
6898 (llrint_tonearest_test_data): Likewise.
6899 (llrint_towardzero_test_data): Likewise.
6900 (llrint_downward_test_data): Likewise.
6901 (llrint_upward_test_data): Likewise.
6902 (log_test_data): Likewise.
6903 (log10_test_data): Likewise.
6904 (log1p_test_data): Likewise.
6905 (log2_test_data): Likewise.
6906 (logb_test_data): Likewise.
6907 (logb_downward_test_data): Likewise.
6908 (lround_test_data): Likewise.
6909 (llround_test_data): Likewise.
6910 (modf_test_data): Likewise.
6911 (nearbyint_test_data): Likewise.
6912 (nextafter_test_data): Likewise.
6913 (nexttoward_test_data): Likewise.
6914 (pow_test_data): Likewise.
6915 (pow_tonearest_test_data): Likewise.
6916 (pow_towardzero_test_data): Likewise.
6917 (pow_downward_test_data): Likewise.
6918 (pow_upward_test_data): Likewise.
6919 (remainder_test_data): Likewise.
6920 (remainder_tonearest_test_data): Likewise.
6921 (remainder_towardzero_test_data): Likewise.
6922 (remainder_downward_test_data): Likewise.
6923 (remainder_upward_test_data): Likewise.
6924 (remquo_test_data): Likewise.
6925 (rint_test_data): Likewise.
6926 (rint_tonearest_test_data): Likewise.
6927 (rint_towardzero_test_data): Likewise.
6928 (rint_downward_test_data): Likewise.
6929 (rint_upward_test_data): Likewise.
6930 (round_test_data): Likewise.
6931 (scalb_test_data): Likewise.
6932 (scalbn_test_data): Likewise.
6933 (scalbln_test_data): Likewise.
6934 (signbit_test_data): Likewise.
6935 (sin_test_data): Likewise.
6936 (sin_tonearest_test_data): Likewise.
6937 (sin_towardzero_test_data): Likewise.
6938 (sin_downward_test_data): Likewise.
6939 (sin_upward_test_data): Likewise.
6940 (sincos_test_data): Likewise.
6941 (sinh_test_data): Likewise.
6942 (sinh_tonearest_test_data): Likewise.
6943 (sinh_towardzero_test_data): Likewise.
6944 (sinh_downward_test_data): Likewise.
6945 (sinh_upward_test_data): Likewise.
6946 (sqrt_test_data): Likewise.
6947 (tan_test_data): Likewise.
6948 (tan_tonearest_test_data): Likewise.
6949 (tan_towardzero_test_data): Likewise.
6950 (tan_downward_test_data): Likewise.
6951 (tan_upward_test_data): Likewise.
6952 (tanh_test_data): Likewise.
6953 (tgamma_test_data): Likewise.
6954 (trunc_test_data): Likewise.
6955 (y0_test_data): Likewise.
6956 (y1_test_data): Likewise.
6957 (yn_test_data): Likewise.
6958 (significand_test_data): Likewise.
6960 * math/gen-libm-test.pl (@functions): Remove variable.
6961 (generate_testfile): Don't handle START and END lines.
6962 * math/libm-test.inc (START): New macro.
6964 (END_COMPLEX): Likewise.
6965 (acos_test): Use END macro without arguments.
6966 (acos_test_tonearest): Likewise.
6967 (acos_test_towardzero): Likewise.
6968 (acos_test_downward): Likewise.
6969 (acos_test_upward): Likewise.
6970 (acosh_test): Likewise.
6971 (asin_test): Likewise.
6972 (asin_test_tonearest): Likewise.
6973 (asin_test_towardzero): Likewise.
6974 (asin_test_downward): Likewise.
6975 (asin_test_upward): Likewise.
6976 (asinh_test): Likewise.
6977 (atan_test): Likewise.
6978 (atanh_test): Likewise.
6979 (atan2_test): Likewise.
6980 (cabs_test): Likewise.
6981 (cacos_test): Use END_COMPLEX macro without arguments.
6982 (cacosh_test): Likewise.
6983 (carg_test): Use END macro without arguments.
6984 (casin_test): Use END_COMPLEX macro without arguments.
6985 (casinh_test): Likewise.
6986 (catan_test): Likewise.
6987 (catanh_test): Likewise.
6988 (cbrt_test): Use END macro without arguments.
6989 (ccos_test): Use END_COMPLEX macro without arguments.
6990 (ccosh_test): Likewise.
6991 (ceil_test): Use END macro without arguments.
6992 (cexp_test): Use END_COMPLEX macro without arguments.
6993 (cimag_test): Use END macro without arguments.
6994 (clog_test): Use END_COMPLEX macro without arguments.
6995 (clog10_test): Likewise.
6996 (conj_test): Likewise.
6997 (copysign_test): Use END macro without arguments.
6998 (cos_test): Likewise.
6999 (cos_test_tonearest): Likewise.
7000 (cos_test_towardzero): Likewise.
7001 (cos_test_downward): Likewise.
7002 (cos_test_upward): Likewise.
7003 (cosh_test): Likewise.
7004 (cosh_test_tonearest): Likewise.
7005 (cosh_test_towardzero): Likewise.
7006 (cosh_test_downward): Likewise.
7007 (cosh_test_upward): Likewise.
7008 (cpow_test): Use END_COMPLEX macro without arguments.
7009 (cproj_test): Likewise.
7010 (creal_test): Use END macro without arguments.
7011 (csin_test): Use END_COMPLEX macro without arguments.
7012 (csinh_test): Likewise.
7013 (csqrt_test): Likewise.
7014 (ctan_test): Likewise.
7015 (ctan_test_tonearest): Likewise.
7016 (ctan_test_towardzero): Likewise.
7017 (ctan_test_downward): Likewise.
7018 (ctan_test_upward): Likewise.
7019 (ctanh_test): Likewise.
7020 (ctanh_test_tonearest): Likewise.
7021 (ctanh_test_towardzero): Likewise.
7022 (ctanh_test_downward): Likewise.
7023 (ctanh_test_upward): Likewise.
7024 (erf_test): Use END macro without arguments.
7025 (erfc_test): Likewise.
7026 (exp_test): Likewise.
7027 (exp_test_tonearest): Likewise.
7028 (exp_test_towardzero): Likewise.
7029 (exp_test_downward): Likewise.
7030 (exp_test_upward): Likewise.
7031 (exp10_test): Likewise.
7032 (exp2_test): Likewise.
7033 (expm1_test): Likewise.
7034 (fabs_test): Likewise.
7035 (fdim_test): Likewise.
7036 (finite_test): Likewise.
7037 (floor_test): Likewise.
7038 (fma_test): Likewise.
7039 (fma_test_towardzero): Likewise.
7040 (fma_test_downward): Likewise.
7041 (fma_test_upward): Likewise.
7042 (fmax_test): Likewise.
7043 (fmin_test): Likewise.
7044 (fmod_test): Likewise.
7045 (fpclassify_test): Likewise.
7046 (frexp_test): Likewise.
7047 (gamma_test): Likewise.
7048 (hypot_test): Likewise.
7049 (ilogb_test): Likewise.
7050 (isfinite_test): Likewise.
7051 (isgreater_test): Likewise.
7052 (isgreaterequal_test): Likewise.
7053 (isinf_test): Likewise.
7054 (isless_test): Likewise.
7055 (islessequal_test): Likewise.
7056 (islessgreater_test): Likewise.
7057 (isnan_test): Likewise.
7058 (isnormal_test): Likewise.
7059 (issignaling_test): Likewise.
7060 (isunordered_test): Likewise.
7061 (j0_test): Likewise.
7062 (j1_test): Likewise.
7063 (jn_test): Likewise.
7064 (ldexp_test): Likewise.
7065 (lgamma_test): Likewise.
7066 (lrint_test): Likewise.
7067 (lrint_test_tonearest): Likewise.
7068 (lrint_test_towardzero): Likewise.
7069 (lrint_test_downward): Likewise.
7070 (lrint_test_upward): Likewise.
7071 (llrint_test): Likewise.
7072 (llrint_test_tonearest): Likewise.
7073 (llrint_test_towardzero): Likewise.
7074 (llrint_test_downward): Likewise.
7075 (llrint_test_upward): Likewise.
7076 (log_test): Likewise.
7077 (log10_test): Likewise.
7078 (log1p_test): Likewise.
7079 (log2_test): Likewise.
7080 (logb_test): Likewise.
7081 (logb_test_downward): Likewise.
7082 (lround_test): Likewise.
7083 (llround_test): Likewise.
7084 (modf_test): Likewise.
7085 (nearbyint_test): Likewise.
7086 (nextafter_test): Likewise.
7087 (nexttoward_test): Likewise.
7088 (pow_test): Likewise.
7089 (pow_test_tonearest): Likewise.
7090 (pow_test_towardzero): Likewise.
7091 (pow_test_downward): Likewise.
7092 (pow_test_upward): Likewise.
7093 (remainder_test): Likewise.
7094 (remainder_test_tonearest): Likewise.
7095 (remainder_test_towardzero): Likewise.
7096 (remainder_test_downward): Likewise.
7097 (remainder_test_upward): Likewise.
7098 (remquo_test): Likewise.
7099 (rint_test): Likewise.
7100 (rint_test_tonearest): Likewise.
7101 (rint_test_towardzero): Likewise.
7102 (rint_test_downward): Likewise.
7103 (rint_test_upward): Likewise.
7104 (round_test): Likewise.
7105 (scalb_test): Likewise.
7106 (scalbn_test): Likewise.
7107 (scalbln_test): Likewise.
7108 (signbit_test): Likewise.
7109 (sin_test): Likewise.
7110 (sin_test_tonearest): Likewise.
7111 (sin_test_towardzero): Likewise.
7112 (sin_test_downward): Likewise.
7113 (sin_test_upward): Likewise.
7114 (sincos_test): Likewise.
7115 (sinh_test): Likewise.
7116 (sinh_test_tonearest): Likewise.
7117 (sinh_test_towardzero): Likewise.
7118 (sinh_test_downward): Likewise.
7119 (sinh_test_upward): Likewise.
7120 (sqrt_test): Likewise.
7121 (tan_test): Likewise.
7122 (tan_test_tonearest): Likewise.
7123 (tan_test_towardzero): Likewise.
7124 (tan_test_downward): Likewise.
7125 (tan_test_upward): Likewise.
7126 (tanh_test): Likewise.
7127 (tgamma_test): Likewise.
7128 (trunc_test): Likewise.
7129 (y0_test): Likewise.
7130 (y1_test): Likewise.
7131 (yn_test): Likewise.
7132 (significand_test): Likewise.
7134 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
7137 * libio/genops.c (_IO_no_init): Initialize wide struct info.
7139 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
7142 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
7143 __ppc_mdoio and __ppc_mdoom.
7144 * manual/platform.texi: Document new functions __ppc_yield,
7145 __ppc_mdoio and __ppc_mdoom.
7147 2013-05-22 Carlos O'Donell <carlos@redhat.com>
7149 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
7150 (main): Mention "tls" pseudo-hwcap is legacy.
7151 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
7153 2013-05-22 Joseph Myers <joseph@codesourcery.com>
7155 * math/gen-libm-test.pl (parse_args): Output only string of
7156 arguments as text for test name, not full call or descriptions of
7157 tests for extra outputs.
7158 (generate_testfile): Do not pass function name to parse_args.
7159 Generate this_func variable from START.
7160 * math/libm-test.inc (struct test_f_f_data): Rename test_name
7162 (struct test_ff_f_data): Likewise.
7163 (test_ff_f_data_nexttoward): Likewise.
7164 (struct test_fi_f_data): Likewise.
7165 (struct test_fl_f_data): Likewise.
7166 (struct test_if_f_data): Likewise.
7167 (struct test_fff_f_data): Likewise.
7168 (struct test_c_f_data): Likewise.
7169 (struct test_f_f1_data): Likewise. Remove field extra_name.
7170 (struct test_fF_f1_data): Likewise.
7171 (struct test_ffI_f1_data): Likewise.
7172 (struct test_c_c_data): Rename test_name field to arg_str.
7173 (struct test_cc_c_data): Likewise.
7174 (struct test_f_i_data): Likewise.
7175 (struct test_ff_i_data): Likewise.
7176 (struct test_f_l_data): Likewise.
7177 (struct test_f_L_data): Likewise.
7178 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
7180 (COMMON_TEST_SETUP): New macro.
7181 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
7182 (COMMON_TEST_CLEANUP): Likewise.
7183 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
7184 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
7186 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
7187 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
7189 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
7190 (RUN_TEST_fff_f): Take argument string. Call new setup and
7192 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
7193 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
7195 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
7196 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
7198 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
7199 (RUN_TEST_fF_f1): Take argument string. Call new setup and
7201 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
7202 (RUN_TEST_fI_f1): Take argument string. Call new setup and
7204 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
7205 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
7207 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
7208 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
7210 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
7211 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
7213 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
7214 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
7216 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
7217 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
7219 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
7220 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
7222 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
7223 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
7225 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
7226 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
7228 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
7229 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
7231 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
7232 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
7234 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
7235 (RUN_TEST_fFF_11): Take argument string. Call new setup and
7237 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
7239 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7241 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
7242 to _sifields.sigfault.
7243 (si_addr_lsb): Define new macro.
7244 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
7245 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7246 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
7248 2013-05-03 Carlos O'Donell <carlos at redhat.com>
7251 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
7253 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
7255 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
7258 2013-05-22 Joseph Myers <joseph@codesourcery.com>
7260 * math/gen-libm-test.pl (parse_args): Do not include expected
7261 result in test name.
7262 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
7263 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7264 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7265 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7266 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7269 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7271 * benchtests/Makefile: Sort function entries.
7273 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
7274 tanh, asinh, acosh, atanh.
7275 * benchtests/acos-inputs: New file.
7276 * benchtests/acosh-inputs: New file.
7277 * benchtests/asin-inputs: New file.
7278 * benchtests/asinh-inputs: New file.
7279 * benchtests/atanh-inputs: New file.
7280 * benchtests/cosh-inputs: New file.
7281 * benchtests/log-inputs: New file.
7282 * benchtests/sinh-inputs: New file.
7283 * benchtests/tanh-inputs: New file.
7285 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
7288 * posix/tst-getaddrinfo4.c: New test.
7289 * posix/Makefile (tests): Add it.
7291 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7294 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
7295 when no services were used.
7296 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
7297 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
7299 2013-05-21 Andreas Schwab <schwab@suse.de>
7302 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
7303 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
7305 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
7306 redundant variable declarations and reallocation of buffer when
7307 parsing as IPv6 address. Always set NSS status when called from
7308 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
7309 buffer too small. Correct computation of needed size.
7310 * nss/Makefile (tests): Add test-digits-dots.
7311 * nss/test-digits-dots.c: New test.
7313 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7315 * benchtests/Makefile: Remove instructions for adding
7317 * benchtests/README: New file to explain how to execute and
7318 enhance the benchmark tests.
7320 2013-05-21 Andreas Schwab <schwab@suse.de>
7323 * setjmp/Makefile (tests): Add tst-sigsetjmp.
7324 * setjmp/tst-sigsetjmp.c: New test.
7326 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
7328 * sysdeps/x86_64/memset.S (memset): New implementation.
7329 (__bzero): Likewise.
7330 (__memset_tail): New function.
7332 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
7334 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
7335 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
7336 __memcpy_sse2_unaligned ifunc selection.
7337 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7338 Add memcpy-sse2-unaligned.S.
7339 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7340 Add: __memcpy_sse2_unaligned.
7342 2013-05-19 Joseph Myers <joseph@codesourcery.com>
7345 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7346 math_force_eval before restoring floating-point envrionment.
7347 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
7348 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
7350 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
7352 (__nearbyintl): Use math_force_eval before restoring
7353 floating-point environment.
7354 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
7356 * math/gen-libm-test.pl (special_functions): Remove.
7357 (parse_args): Don't handle TEST_extra. Handle functions with no
7359 * math/libm-test.inc (struct test_sincos_data): Replace with
7360 struct test_fFF_11_data.
7361 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
7362 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
7363 (sincos_test_data): Change element type to struct
7364 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
7365 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
7366 RUN_TEST_LOOP_sincos.
7367 * math/README.libm-test: Don't mention special handling of
7368 individual functions.
7369 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
7370 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7371 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7372 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7373 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7376 * math/gen-libm-test.pl (get_variable): Remove function.
7377 (parse_args): Don't show pointer parameters to call in test
7378 names. Use "extra output N" in test names for extra outputs
7379 rather than naming variables.
7381 2013-05-18 Joseph Myers <joseph@codesourcery.com>
7384 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
7385 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
7386 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
7388 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
7390 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
7393 * math/gen-libm-test.pl (@tests): Remove variable.
7395 (new_test): Remove function.
7396 (show_exceptions): New function.
7397 (special_functions): Use show_exceptions instead of new_test.
7398 (parse_args): Likewise.
7399 (generate_testfile): Pass only function name in generated call to
7400 print_max_error or print_complex_max_error.
7401 (get_ulps): Do not handle complex tests specially.
7402 (output_test): Rename to ...
7403 (get_all_ulps_for_test): ... this. Return a string rather than
7404 printing to a file. Require ulps to be present.
7405 (output_ulps): Generate arrays rather than #defines.
7406 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
7407 (struct ulp_data): New type.
7408 (BUILD_COMPLEX_ULP): Remove macro.
7409 (compare_ulp_data): New function.
7410 (find_ulps): Likewise.
7411 (find_test_ulps): Likewise.
7412 (find_function_ulps): Likewise.
7413 (find_complex_function_ulps): Likewise.
7414 (print_max_error): Determine allowed ulps using
7416 (print_complex_max_error): Determine allowed ulps using
7417 find_complex_function_ulps.
7418 (check_float_internal): Determine max ulps using find_test_ulps.
7419 (check_float): Do not take max_ulp parameter. Update call to
7420 check_float_internal.
7421 (check_complex): Likewise.
7422 (check_int): Do not take max_ulp parameter.
7423 (check_long): Likewise.
7424 (check_bool): Likewise.
7425 (check_longlong): Likewise.
7426 (struct test_f_f_data): Remove max_ulp field.
7427 (struct test_ff_f_data): Likewise.
7428 (struct test_ff_f_data_nexttoward): Likewise.
7429 (struct test_fi_f_data): Likewise.
7430 (struct test_fl_f_data): Likewise.
7431 (struct test_if_f_data): Likewise.
7432 (struct test_fff_f_data): Likewise.
7433 (struct test_c_f_data): Likewise.
7434 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
7435 (struct test_fF_f1_data): Likewise.
7436 (struct test_ffI_f1_data): Likewise.
7437 (struct test_c_c_data): Remove max_ulp field.
7438 (struct test_cc_c_data): Likewise.
7439 (struct test_f_i_data): Likewise.
7440 (struct test_ff_i_data): Likewise.
7441 (struct test_f_l_data): Likewise.
7442 (struct test_f_L_data): Likewise.
7443 (struct test_sincos_data): Likewise.
7444 (RUN_TEST_f_f): Do not handle ulps.
7445 (RUN_TEST_LOOP_f_f): Likewise.
7446 (RUN_TEST_2_f): Likewise.
7447 (RUN_TEST_LOOP_2_f): Likewise.
7448 (RUN_TEST_fff_f): Likewise.
7449 (RUN_TEST_LOOP_fff_f): Likewise.
7450 (RUN_TEST_c_f): Likewise.
7451 (RUN_TEST_LOOP_c_f): Likewise.
7452 (RUN_TEST_f_f1): Likewise.
7453 (RUN_TEST_LOOP_f_f1): Likewise.
7454 (RUN_TEST_fF_f1): Likewise.
7455 (RUN_TEST_LOOP_fF_f1): Likewise.
7456 (RUN_TEST_fI_f1): Likewise.
7457 (RUN_TEST_LOOP_fI_f1): Likewise.
7458 (RUN_TEST_ffI_f1): Likewise.
7459 (RUN_TEST_LOOP_ffI_f1): Likewise.
7460 (RUN_TEST_c_c): Likewise.
7461 (RUN_TEST_LOOP_c_c): Likewise.
7462 (RUN_TEST_cc_c): Likewise.
7463 (RUN_TEST_LOOP_cc_c): Likewise.
7464 (RUN_TEST_f_i): Likewise.
7465 (RUN_TEST_LOOP_f_i): Likewise.
7466 (RUN_TEST_f_i_tg): Likewise.
7467 (RUN_TEST_LOOP_f_i_tg): Likewise.
7468 (RUN_TEST_ff_i_tg): Likewise.
7469 (RUN_TEST_LOOP_ff_i_tg): Likewise.
7470 (RUN_TEST_f_b): Likewise.
7471 (RUN_TEST_LOOP_f_b): Likewise.
7472 (RUN_TEST_f_b_tg): Likewise.
7473 (RUN_TEST_LOOP_f_b_tg): Likewise.
7474 (RUN_TEST_f_l): Likewise.
7475 (RUN_TEST_LOOP_f_l): Likewise.
7476 (RUN_TEST_f_L): Likewise.
7477 (RUN_TEST_LOOP_f_L): Likewise.
7478 (RUN_TEST_sincos): Likewise.
7479 (RUN_TEST_LOOP_sincos): Likewise.
7481 2013-05-17 Joseph Myers <joseph@codesourcery.com>
7485 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
7486 main case of finite arguments, set rounding mode to FE_TONEAREST
7487 and discard exceptions.
7488 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
7490 (remainder_tonearest_test_data): New variable.
7491 (remainder_test_tonearest): New function.
7492 (remainder_towardzero_test_data): New variable.
7493 (remainder_test_towardzero): New function.
7494 (remainder_downward_test_data): New variable.
7495 (remainder_test_downward): New function.
7496 (remainder_upward_test_data): New variable.
7497 (remainder_test_upward): New function.
7498 (main): Call the new test functions.
7500 * math/libm-test.inc (struct test_f_f1_data): Remove field
7502 (struct test_fF_f1_data): Likewise.
7503 (struct test_ffI_f1_data): Likewise.
7504 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
7505 based on value of EXTRA_EXPECTED.
7506 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
7507 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
7508 EXTRA_VAR based on value of EXTRA_EXPECTED.
7509 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
7510 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
7511 EXTRA_VAR based on value of EXTRA_EXPECTED.
7512 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
7513 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
7514 EXTRA_VAR based on value of EXTRA_EXPECTED.
7515 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
7516 * math/gen-libm-test.pl (parse_args): Don't output initializers
7517 for extra output values.
7519 * math/libm-test.inc (check_int): Expect result to be exactly
7520 equal to expected value and do not handle ulps.
7521 (check_long): Likewise.
7522 (check_longlong): Likewise.
7524 * math/libm-test.inc (ceil_test_data): Test for "inexact"
7526 (cimag_test_data): Likewise.
7527 (conj_test_data): Likewise.
7528 (copysign_test_data): Likewise.
7529 (cproj_test_data): Likewise.
7530 (creal_test_data): Likewise.
7531 (fabs_test_data): Likewise.
7532 (fdim_test_data): Likewise.
7533 (finite_test_data): Likewise.
7534 (floor_test_data): Likewise.
7535 (fmax_test_data): Likewise.
7536 (fmin_test_data): Likewise.
7537 (fmod_test_data): Likewise.
7538 (fpclassify_test_data): Likewise.
7539 (frexp_test_data): Likewise.
7540 (ilogb_test_data): Likewise.
7541 (isfinite_test_data): Likewise.
7542 (isgreater_test_data): Likewise.
7543 (isgreaterequal_test_data): Likewise.
7544 (isinf_test_data): Likewise.
7545 (isless_test_data): Likewise.
7546 (islessequal_test_data): Likewise.
7547 (islessgreater_test_data): Likewise.
7548 (isnan_test_data): Likewise.
7549 (isnormal_test_data): Likewise.
7550 (issignaling_test_data): Likewise.
7551 (isunordered_test_data): Likewise.
7552 (ldexp_test_data): Likewise.
7553 (lrint_test_data): Likewise.
7554 (lrint_test_data) [TEST_FLOAT]: Disable one test.
7555 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
7556 (lrint_tonearest_test_data): Test for "inexact" exceptions.
7557 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
7558 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
7559 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
7561 (lrint_towardzero_test_data): Test for "inexact" exceptions.
7562 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
7563 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
7564 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
7566 (lrint_downward_test_data): Test for "inexact" exceptions.
7567 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
7568 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
7569 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
7571 (lrint_upward_test_data): Test for "inexact" exceptions.
7572 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
7574 (llrint_test_data): Test for "inexact" exceptions.
7575 (llrint_test_data) [TEST_FLOAT]: Disable one test.
7576 (llrint_tonearest_test_data): Test for "inexact" exceptions.
7577 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
7578 (llrint_towardzero_test_data): Test for "inexact" exceptions.
7579 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
7580 (llrint_downward_test_data): Test for "inexact" exceptions.
7581 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
7582 (llrint_upward_test_data): Test for "inexact" exceptions.
7583 (logb_test_data): Likewise.
7584 (logb_downward_test_data): Likewise.
7585 (nextafter_test_data): Likewise.
7586 (nexttoward_test_data): Likewise.
7587 (remainder_test_data): Likewise.
7588 (remquo_test_data): Likewise.
7589 (scalbn_test_data): Likewise.
7590 (scalbln_test_data): Likewise.
7591 (signbit_test_data): Likewise.
7592 (sqrt_test_data): Likewise.
7593 (significand_test_data): Likewise.
7595 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7598 * benchtests/bench-modf.c (struct args): Mark arg0 as
7600 * scripts/bench.pl: Mark members of struct args as volatile.
7602 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7605 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
7606 negative infinity on POWER6 or lower.
7607 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
7609 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
7612 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
7613 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
7614 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
7615 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
7616 (_FP_SETQNAN): New macro.
7617 (_FP_SETQNAN_SEMIRAW): Likewise.
7618 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
7619 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
7620 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
7621 (FP_EXTEND): Use _FP_FRAC_SNANP.
7622 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
7623 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
7625 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
7627 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
7630 2013-05-16 Joseph Myers <joseph@codesourcery.com>
7632 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
7633 with DIVIDE_BY_ZERO_EXCEPTION.
7634 (gamma_test_data): Likewise.
7635 (lgamma_test_data): Likewise.
7636 (log_test_data): Likewise.
7637 (log10_test_data): Likewise.
7638 (log2_test_data): Likewise.
7639 (tgamma_test_data): Likewise.
7641 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
7642 (acos_test_tonearest): Likewise.
7643 (acos_test_towardzero): Likewise.
7644 (acos_test_downward): Likewise.
7645 (acos_test_upward): Likewise.
7646 (acosh_test): Likewise.
7647 (asin_test): Likewise.
7648 (asin_test_tonearest): Likewise.
7649 (asin_test_towardzero): Likewise.
7650 (asin_test_downward): Likewise.
7651 (asin_test_upward): Likewise.
7652 (asinh_test): Likewise.
7653 (atan_test): Likewise.
7654 (atanh_test): Likewise.
7655 (atan2_test): Likewise.
7656 (cabs_test): Likewise.
7657 (cacos_test): Likewise.
7658 (cacosh_test): Likewise.
7659 (casin_test): Likewise.
7660 (casinh_test): Likewise.
7661 (catan_test): Likewise.
7662 (catanh_test): Likewise.
7663 (cbrt_test): Likewise.
7664 (ccos_test): Likewise.
7665 (ccosh_test): Likewise.
7666 (cexp_test): Likewise.
7667 (clog_test): Likewise.
7668 (clog10_test): Likewise.
7669 (cos_test): Likewise.
7670 (cos_test_tonearest): Likewise.
7671 (cos_test_towardzero): Likewise.
7672 (cos_test_downward): Likewise.
7673 (cos_test_upward): Likewise.
7674 (cosh_test): Likewise.
7675 (cosh_test_tonearest): Likewise.
7676 (cosh_test_towardzero): Likewise.
7677 (cosh_test_downward): Likewise.
7678 (cosh_test_upward): Likewise.
7679 (cpow_test): Likewise.
7680 (csin_test): Likewise.
7681 (csinh_test): Likewise.
7682 (csqrt_test): Likewise.
7683 (ctan_test): Likewise.
7684 (ctan_test_tonearest): Likewise.
7685 (ctan_test_towardzero): Likewise.
7686 (ctan_test_downward): Likewise.
7687 (ctan_test_upward): Likewise.
7688 (ctanh_test): Likewise.
7689 (ctanh_test_tonearest): Likewise.
7690 (ctanh_test_towardzero): Likewise.
7691 (ctanh_test_downward): Likewise.
7692 (ctanh_test_upward): Likewise.
7693 (erf_test): Likewise.
7694 (erfc_test): Likewise.
7695 (exp_test): Likewise.
7696 (exp_test_tonearest): Likewise.
7697 (exp_test_towardzero): Likewise.
7698 (exp_test_downward): Likewise.
7699 (exp_test_upward): Likewise.
7700 (exp10_test): Likewise.
7701 (exp2_test): Likewise.
7702 (expm1_test): Likewise.
7703 (fmod_test): Likewise.
7704 (gamma_test): Likewise.
7705 (hypot_test): Likewise.
7706 (j0_test): Likewise.
7707 (j1_test): Likewise.
7708 (jn_test): Likewise.
7709 (lgamma_test): Likewise.
7710 (log_test): Likewise.
7711 (log10_test): Likewise.
7712 (log1p_test): Likewise.
7713 (log2_test): Likewise.
7714 (logb_test_downward): Likewise.
7715 (pow_test): Likewise.
7716 (pow_test_tonearest): Likewise.
7717 (pow_test_towardzero): Likewise.
7718 (pow_test_downward): Likewise.
7719 (pow_test_upward): Likewise.
7720 (remainder_test): Likewise.
7721 (remquo_test): Likewise.
7722 (sin_test): Likewise.
7723 (sin_test_tonearest): Likewise.
7724 (sin_test_towardzero): Likewise.
7725 (sin_test_downward): Likewise.
7726 (sin_test_upward): Likewise.
7727 (sincos_test): Likewise.
7728 (sinh_test): Likewise.
7729 (sinh_test_tonearest): Likewise.
7730 (sinh_test_towardzero): Likewise.
7731 (sinh_test_downward): Likewise.
7732 (sinh_test_upward): Likewise.
7733 (sqrt_test): Likewise.
7734 (tan_test): Likewise.
7735 (tan_test_tonearest): Likewise.
7736 (tan_test_towardzero): Likewise.
7737 (tan_test_downward): Likewise.
7738 (tan_test_upward): Likewise.
7739 (tanh_test): Likewise.
7740 (tgamma_test): Likewise.
7741 (y0_test): Likewise.
7742 (y1_test): Likewise.
7743 (yn_test): Likewise.
7745 * math/gen-libm-test.pl (adjust_arg): Remove function.
7746 (special_function): Remove argument $in_func. Only handle
7747 generating output for tables of tests, not inside functions.
7748 (parse_args): Likewise.
7749 (generate_testfile): Remove variable $in_func. Update call to
7751 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
7752 (MINUS_ZERO_INIT): Rename macro to minus_zero.
7753 (PLUS_INFTY_INIT): Rename macro to plus_infty.
7754 (MINUS_INFTY_INIT): Rename macro to minus_infty.
7755 (QNAN_VALUE_INIT): Rename macro to qnan_value.
7756 (MAX_VALUE_INIT): Rename macro to max_value.
7757 (MIN_VALUE_INIT): Rename macro to min_value.
7758 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
7759 (plus_zero): Remove variable.
7760 (minus_zero): Likewise.
7761 (plus_infty): Likewise.
7762 (minus_infty): Likewise.
7763 (qnan_value): Likewise.
7764 (max_value): Likewise.
7765 (min_value): Likewise.
7766 (min_subnorm_value): Likewise.
7768 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7770 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
7771 uint64_t or uint32_t usage.
7772 * crypt/sha256-block.c: Likewise.
7773 * crypt/sha256-crypt.c: Likewise.
7774 * crypt/sha256.c: Likewise.
7775 * crypt/sha512-block.c: Likewise.
7776 * crypt/sha512-crypt.c: Likewise.
7777 * crypt/sha512.c: Likewise.
7778 * debug/backtrace-tst.c: Likewise.
7779 * debug/pcprofiledump.c: Likewise.
7780 * elf/cache.c: Likewise.
7781 * elf/dl-cache.c: Likewise.
7782 * elf/dl-misc.c: Likewise.
7783 * elf/dl-profile.c: Likewise.
7784 * elf/dl-support.c: Likewise.
7785 * elf/ldconfig.c: Likewise.
7786 * elf/sprof.c: Likewise.
7787 * iconv/dummy-repertoire.c: Likewise.
7788 * iconv/iconv_charmap.c: Likewise.
7789 * iconv/skeleton.c: Likewise.
7790 * iconvdata/8bit-generic.c: Likewise.
7791 * iconvdata/cp737.h: Likewise.
7792 * iconvdata/cp775.h: Likewise.
7793 * iconvdata/ibm1008.h: Likewise.
7794 * iconvdata/ibm1025.h: Likewise.
7795 * iconvdata/ibm1046.h: Likewise.
7796 * iconvdata/ibm1097.h: Likewise.
7797 * iconvdata/ibm1112.h: Likewise.
7798 * iconvdata/ibm1122.h: Likewise.
7799 * iconvdata/ibm1123.h: Likewise.
7800 * iconvdata/ibm1124.h: Likewise.
7801 * iconvdata/ibm1129.h: Likewise.
7802 * iconvdata/ibm1130.h: Likewise.
7803 * iconvdata/ibm1132.h: Likewise.
7804 * iconvdata/ibm1133.h: Likewise.
7805 * iconvdata/ibm1137.h: Likewise.
7806 * iconvdata/ibm1140.h: Likewise.
7807 * iconvdata/ibm1141.h: Likewise.
7808 * iconvdata/ibm1142.h: Likewise.
7809 * iconvdata/ibm1143.h: Likewise.
7810 * iconvdata/ibm1144.h: Likewise.
7811 * iconvdata/ibm1145.h: Likewise.
7812 * iconvdata/ibm1146.h: Likewise.
7813 * iconvdata/ibm1147.h: Likewise.
7814 * iconvdata/ibm1148.h: Likewise.
7815 * iconvdata/ibm1149.h: Likewise.
7816 * iconvdata/ibm1153.h: Likewise.
7817 * iconvdata/ibm1154.h: Likewise.
7818 * iconvdata/ibm1155.h: Likewise.
7819 * iconvdata/ibm1156.h: Likewise.
7820 * iconvdata/ibm1157.h: Likewise.
7821 * iconvdata/ibm1158.h: Likewise.
7822 * iconvdata/ibm1160.h: Likewise.
7823 * iconvdata/ibm1161.h: Likewise.
7824 * iconvdata/ibm1162.h: Likewise.
7825 * iconvdata/ibm1163.h: Likewise.
7826 * iconvdata/ibm1164.h: Likewise.
7827 * iconvdata/ibm1166.h: Likewise.
7828 * iconvdata/ibm1167.h: Likewise.
7829 * iconvdata/ibm12712.h: Likewise.
7830 * iconvdata/ibm1390.h: Likewise.
7831 * iconvdata/ibm1399.h: Likewise.
7832 * iconvdata/ibm16804.h: Likewise.
7833 * iconvdata/ibm4517.h: Likewise.
7834 * iconvdata/ibm4899.h: Likewise.
7835 * iconvdata/ibm4909.h: Likewise.
7836 * iconvdata/ibm4971.h: Likewise.
7837 * iconvdata/ibm5347.h: Likewise.
7838 * iconvdata/ibm803.h: Likewise.
7839 * iconvdata/ibm856.h: Likewise.
7840 * iconvdata/ibm901.h: Likewise.
7841 * iconvdata/ibm902.h: Likewise.
7842 * iconvdata/ibm9030.h: Likewise.
7843 * iconvdata/ibm9066.h: Likewise.
7844 * iconvdata/ibm921.h: Likewise.
7845 * iconvdata/ibm922.h: Likewise.
7846 * iconvdata/ibm9448.h: Likewise.
7847 * iconvdata/isiri-3342.h: Likewise.
7848 * iconvdata/jis0201.h: Likewise.
7849 * include/link.h: Likewise.
7850 * include/netdb.h: Likewise.
7851 * inet/check_native.c: Likewise.
7852 * inet/check_pf.c: Likewise.
7853 * inet/getipv4sourcefilter.c: Likewise.
7854 * inet/getnameinfo.c: Likewise.
7855 * inet/getsourcefilter.c: Likewise.
7856 * inet/htonl.c: Likewise.
7857 * inet/setipv4sourcefilter.c: Likewise.
7858 * inet/setsourcefilter.c: Likewise.
7859 * inet/test-inet6_opt.c: Likewise.
7860 * inet/tst-network.c: Likewise.
7861 * locale/C-collate.c: Likewise.
7862 * locale/C-ctype.c: Likewise.
7863 * locale/C-time.c: Likewise.
7864 * locale/C-translit.h: Likewise.
7865 * locale/loadarchive.c: Likewise.
7866 * locale/programs/3level.h: Likewise.
7867 * locale/programs/charmap.c: Likewise.
7868 * locale/programs/charmap.h: Likewise.
7869 * locale/programs/ld-address.c: Likewise.
7870 * locale/programs/ld-collate.c: Likewise.
7871 * locale/programs/ld-ctype.c: Likewise.
7872 * locale/programs/ld-identification.c: Likewise.
7873 * locale/programs/ld-measurement.c: Likewise.
7874 * locale/programs/ld-messages.c: Likewise.
7875 * locale/programs/ld-monetary.c: Likewise.
7876 * locale/programs/ld-name.c: Likewise.
7877 * locale/programs/ld-numeric.c: Likewise.
7878 * locale/programs/ld-paper.c: Likewise.
7879 * locale/programs/ld-telephone.c: Likewise.
7880 * locale/programs/ld-time.c: Likewise.
7881 * locale/programs/linereader.c: Likewise.
7882 * locale/programs/locale.c: Likewise.
7883 * locale/programs/locarchive.c: Likewise.
7884 * locale/programs/locfile.h: Likewise.
7885 * locale/programs/repertoire.c: Likewise.
7886 * locale/programs/simple-hash.c: Likewise.
7887 * locale/programs/simple-hash.h: Likewise.
7888 * malloc/memusage.c: Likewise.
7889 * malloc/memusagestat.c: Likewise.
7890 * nis/nis_defaults.c: Likewise.
7891 * nis/nis_hash.c: Likewise.
7892 * nis/nis_print.c: Likewise.
7893 * nis/nis_xdr.c: Likewise.
7894 * nscd/connections.c: Likewise.
7895 * nscd/hstcache.c: Likewise.
7896 * nscd/nscd_gethst_r.c: Likewise.
7897 * nscd/nscd_getserv_r.c: Likewise.
7898 * nscd/nscd_helper.c: Likewise.
7899 * nscd/servicescache.c: Likewise.
7900 * nss/makedb.c: Likewise.
7901 * nss/nss_db/db-XXX.c: Likewise.
7902 * nss/nss_db/db-initgroups.c: Likewise.
7903 * nss/nss_db/db-netgrp.c: Likewise.
7904 * nss/nss_files/files-network.c: Likewise.
7905 * nss/nss_files/files-parse.c: Likewise.
7906 * posix/bug-regex5.c: Likewise.
7907 * posix/fnmatch_loop.c: Likewise.
7908 * posix/regcomp.c: Likewise.
7909 * posix/regexec.c: Likewise.
7910 * posix/tst-rfc3484-2.c: Likewise.
7911 * posix/tst-rfc3484-3.c: Likewise.
7912 * posix/tst-rfc3484.c: Likewise.
7913 * resolv/nss_dns/dns-canon.c: Likewise.
7914 * resolv/nss_dns/dns-network.c: Likewise.
7915 * resolv/res_init.c: Likewise.
7916 * resolv/res_mkquery.c: Likewise.
7917 * resolv/tst-aton.c: Likewise.
7918 * stdlib/cxa_atexit.c: Likewise.
7919 * stdlib/cxa_finalize.c: Likewise.
7920 * stdlib/gen-fpioconst.c: Likewise.
7921 * stdlib/strtol_l.c: Likewise.
7922 * string/tst-endian.c: Likewise.
7923 * sunrpc/auth_des.c: Likewise.
7924 * sunrpc/clnt_udp.c: Likewise.
7925 * sunrpc/rtime.c: Likewise.
7926 * sunrpc/svcauth_des.c: Likewise.
7927 * sunrpc/xdr.c: Likewise.
7928 * sunrpc/xdr_intXX_t.c: Likewise.
7929 * sunrpc/xdr_rec.c: Likewise.
7930 * sysdeps/generic/ldconfig.h: Likewise.
7931 * sysdeps/generic/ldsodefs.h: Likewise.
7932 * sysdeps/generic/memusage.h: Likewise.
7933 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
7934 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
7935 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
7936 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7937 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7938 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7939 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
7940 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
7941 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7942 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7943 * sysdeps/posix/getaddrinfo.c: Likewise.
7944 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7945 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7946 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7947 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7948 * sysdeps/powerpc/test-gettimebase.c: Likewise.
7949 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7950 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
7951 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
7952 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
7953 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
7954 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
7955 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
7956 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
7957 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
7958 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
7959 * sysdeps/x86_64/dl-tls.h: Likewise.
7960 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
7961 * time/alt_digit.c: Likewise.
7962 * time/era.c: Likewise.
7963 * wcsmbs/tst-c16c32-1.c: Likewise.
7965 2013-05-16 Joseph Myers <joseph@codesourcery.com>
7967 * math/libm-test.inc (struct test_sincos_data): New type.
7968 (RUN_TEST_LOOP_sincos): New macro.
7969 (sincos_test_data): New variable.
7970 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
7972 2013-05-16 Richard Henderson <rth@redhat.com>
7974 * math/atest-exp2.c (LIMB64): New macro.
7975 (CONSTSZ): New macro.
7976 (mp_exp1, mp_exp_m1, mp_log2): New variables.
7978 (print_mpn_fp): ... to function scope.
7979 (read_mpn_hex): Remove.
7981 (exp2_mpn): Use mp_log2.
7982 (main): Use mp_exp1.
7984 2013-05-16 Joseph Myers <joseph@codesourcery.com>
7986 * math/libm-test.inc: Remove comment about not testing "inexact"
7988 (INEXACT_EXCEPTION): New macro.
7989 (NO_INEXACT_EXCEPTION): Likewise.
7990 (INVALID_EXCEPTION_OK): Update value.
7991 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7992 (OVERFLOW_EXCEPTION_OK): Likewise.
7993 (UNDERFLOW_EXCEPTION_OK): Likewise.
7994 (IGNORE_ZERO_INF_SIGN): Likewise.
7995 (ERRNO_UNCHANGED): Likewise.
7996 (ERRNO_EDOM): Likewise.
7997 (ERRNO_ERANGE): Likewise.
7998 (test_exceptions): Handle testing "inexact" exceptions.
7999 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
8000 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
8001 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
8002 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
8004 (rint_towardzero_test_data): Likewise.
8005 (rint_downward_test_data): Likewise.
8006 (rint_upward_test_data): Likewise.
8008 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
8009 with OVERFLOW_EXCEPTION.
8010 (exp10_test_data): Likewise.
8011 (exp2_test_data): Likewise.
8012 (expm1_test_data): Likewise.
8013 (lgamma_test_data): Likewise.
8014 (pow_test_data): Likewise.
8015 (tgamma_test_data): Likewise.
8016 (yn_test_data): Remove duplicate test of overflow.
8018 * math/libm-test.inc (struct test_cc_c_data): New type.
8019 (RUN_TEST_LOOP_cc_c): New macro.
8020 (cpow_test_data): New variable.
8021 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
8023 * math/libm-test.inc (struct test_f_L_data): New type.
8024 (RUN_TEST_LOOP_f_L): New macro.
8025 (llrint_test_data): New variable.
8026 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
8027 (llrint_tonearest_test_data): New variable.
8028 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
8029 (llrint_towardzero_test_data): New variable.
8030 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
8031 (llrint_downward_test_data): New variable.
8032 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
8033 (llrint_upward_test_data): New variable.
8034 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
8035 (llround_test_data): New variable.
8036 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
8038 2013-05-13 Peter Collingbourne <pcc@google.com>
8040 * math/atest-exp2.c (get_log2): Remove const attribute.
8042 2013-05-15 Joseph Myers <joseph@codesourcery.com>
8044 * math/libm-test.inc (struct test_f_l_data): New type.
8045 (RUN_TEST_LOOP_f_l): New macro.
8046 (lrint_test_data): New variable.
8047 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
8048 (lrint_tonearest_test_data): New variable.
8049 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
8050 (lrint_towardzero_test_data): New variable.
8051 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
8052 (lrint_downward_test_data): New variable.
8053 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
8054 (lrint_upward_test_data): New variable.
8055 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
8056 (lround_test_data): New variable.
8057 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
8059 2013-05-15 Peter Collingbourne <pcc@google.com>
8061 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
8062 (EXTRACT_WORDS64) Use where appropriate.
8063 (INSERT_WORDS64) Likewise.
8065 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
8066 constraints with x constraints.
8067 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
8069 * malloc/obstack.c (_obstack_compat): Add initializer.
8071 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
8073 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
8074 si_trapno and add si_addr_lsb to _sifields.sigfault.
8075 (si_trapno): Remove macro.
8076 (si_addr_lsb): Define new macro.
8077 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8079 2013-05-15 Joseph Myers <joseph@codesourcery.com>
8081 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
8082 instead of TEST_f_l.
8083 (llrint_test_tonearest): Likewise.
8084 (llrint_test_towardzero): Likewise.
8085 (llrint_test_downward): Likewise.
8086 (llrint_test_upward): Likewise.
8087 (llround_test): Likewise.
8089 * math/libm-test.inc (struct test_f_i_data): Add comment.
8090 (RUN_TEST_LOOP_f_b): New macro.
8091 (RUN_TEST_LOOP_f_b_tg): Likewise.
8092 (finite_test_data): New variable.
8093 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
8094 (isfinite_test_data): New variable.
8095 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8096 (isinf_test_data): New variable.
8097 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8098 (isnan_test_data): New variable.
8099 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8100 (isnormal_test_data): New variable.
8101 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8102 (issignaling_test_data): New variable.
8103 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8104 (signbit_test_data): New variable.
8105 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8107 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
8108 with INVALID_EXCEPTION.
8109 (acosh_test_data): Likewise.
8110 (asin_test_data): Likewise.
8111 (atanh_test_data): Likewise.
8112 (fmod_test_data): Likewise.
8113 (log_test_data): Likewise.
8114 (log10_test_data): Likewise.
8115 (log2_test_data): Likewise.
8116 (pow_test_data): Likewise.
8117 (sqrt_test_data): Likewise.
8118 (y0_test_data): Likewise.
8119 (y1_test_data): Likewise.
8120 (yn_test_data): Likewise.
8122 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
8125 * math/libm-test.inc (struct test_ff_i_data): New type.
8126 (RUN_TEST_LOOP_ff_i_tg): New macro.
8127 (isgreater_test_data): New variable.
8128 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8129 (isgreaterequal_test_data): New variable.
8130 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8131 (isless_test_data): New variable.
8132 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8133 (islessequal_test_data): New variable.
8134 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8135 (islessgreater_test_data): New variable.
8136 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8137 (isunordered_test_data): New variable.
8138 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8140 2013-05-14 David S. Miller <davem@davemloft.net>
8142 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8144 2013-05-14 Joseph Myers <joseph@codesourcery.com>
8146 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
8148 * math/libm-test.inc (struct test_fF_f1_data): Change type of
8150 (struct test_f_i_data): Change type of max_ulp to int.
8152 * math/libm-test.inc (test_ffI_f1_data): New type.
8153 (RUN_TEST_LOOP_ffI_f1): New macro.
8154 (remquo_test_data): New variable.
8155 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
8157 * setjmp/tst-setjmp-fp.c: New file.
8158 * setjmp/Makefile (tests): Add tst-setjmp-fp.
8159 (link-libm): New variable.
8160 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
8162 * math/libm-test.inc (struct test_f_i_data): New type.
8163 (RUN_TEST_LOOP_f_i): New macro.
8164 (RUN_TEST_LOOP_f_i_tg): Likewise.
8165 (fpclassify_test_data): New variable.
8166 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
8167 (ilogb_test_data): New variable.
8168 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
8170 * math/libm-test.inc (scalbln_test): Correct function name in END
8173 * math/libm-test.inc (struct test_f_f1_data): Add comment.
8174 (RUN_TEST_LOOP_fI_f1): New macro.
8175 (frexp_test_data): New variable.
8176 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
8178 * math/libm-test.inc (struct test_fF_f1_data): New type.
8179 (RUN_TEST_LOOP_fF_f1): New macro.
8180 (modf_test_data): New variable.
8181 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
8183 * math/libm-test.inc (struct test_f_f1_data): New type.
8184 (RUN_TEST_LOOP_f_f1): New macro.
8185 (gamma_test_data): New variable.
8186 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
8187 (lgamma_test_data): New variable.
8188 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
8190 2013-05-13 Carlos O'Donell <carlos@redhat.com>
8192 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
8193 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
8194 (main): Comment "tls" pseudo-hwcap.
8196 2013-05-13 Joseph Myers <joseph@codesourcery.com>
8198 * math/libm-test.inc (struct test_fl_f_data): New type.
8199 (RUN_TEST_LOOP_fl_f): New variable.
8200 (scalbln_test_data): New variable.
8201 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
8203 * math/libm-test.inc (struct test_fi_f_data): New type.
8204 (RUN_TEST_LOOP_fi_f): New macro.
8205 (ldexp_test_data): New variable.
8206 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
8207 (scalbn_test_data): New variable.
8208 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
8210 * math/libm-test.inc (struct test_c_f_data): New type.
8211 (RUN_TEST_LOOP_c_f): New macro.
8212 (cabs_test_data): New variable.
8213 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
8214 (carg_test_data): New variable.
8215 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
8216 (cimag_test_data): New variable.
8217 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
8218 (creal_test_data): New variable.
8219 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
8221 * math/libm-test.inc (struct test_if_f_data): New type.
8222 (RUN_TEST_LOOP_if_f): New macro.
8223 (jn_test_data): New variable.
8224 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
8225 (yn_test_data): New variable.
8226 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
8228 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
8230 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8232 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
8233 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
8235 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8237 * benchtests/Makefile (CPPFLAGS-nonlib): Add
8238 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
8239 (bench-deps): Add bench-timing.h.
8240 * benchtests-bench-skeleton.c: Include bench-timing.h.
8241 (main): Use TIMING_* macros instead of clock_gettime.
8242 * benchtests/bench-timing.h: New file.
8245 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
8246 Renamed from _LIB_VERSION.
8247 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
8249 2013-05-12 Joseph Myers <joseph@codesourcery.com>
8251 * math/libm-test.inc (struct test_fff_f_data): New type.
8252 (RUN_TEST_LOOP_fff_f): New macro.
8253 (fma_test_data): New variable.
8254 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
8255 (fma_towardzero_test_data): New variable.
8256 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
8257 (fma_downward_test_data): New variable.
8258 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
8259 (fma_upward_test_data): New variable.
8260 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
8262 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
8263 (struct test_c_c_data): New type.
8264 (RUN_TEST_LOOP_c_c): New macro.
8265 (cacos_test_data): New variable.
8266 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
8267 (cacosh_test_data): New variable.
8268 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
8269 (casin_test_data): New variable.
8270 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
8271 (casinh_test_data): New variable.
8272 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
8273 (catan_test_data): New variable.
8274 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
8275 (catanh_test_data): New variable.
8276 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
8277 (ccos_test_data): New variable.
8278 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
8279 (ccosh_test_data): New variable.
8280 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
8281 (cexp_test_data): New variable.
8282 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
8283 (clog_test_data): New variable.
8284 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
8285 (clog10_test_data): New variable.
8286 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
8287 (conj_test_data): New variable.
8288 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
8289 (cproj_test_data): New variable.
8290 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
8291 (csin_test_data): New variable.
8292 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
8293 (csinh_test_data): New variable.
8294 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
8295 (csqrt_test_data): New variable.
8296 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
8297 (ctan_test_data): New variable.
8298 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
8299 (ctan_tonearest_test_data): New variable.
8300 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
8301 (ctan_towardzero_test_data): New variable.
8302 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
8303 (ctan_downward_test_data): New variable.
8304 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
8305 (ctan_upward_test_data): New variable.
8306 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
8307 (ctanh_test_data): New variable.
8308 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
8309 (ctanh_tonearest_test_data): New variable.
8310 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
8311 (ctanh_towardzero_test_data): New variable.
8312 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
8313 (ctanh_downward_test_data): New variable.
8314 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
8315 (ctanh_upward_test_data): New variable.
8316 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
8317 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
8320 * math/libm-test.inc (struct test_ff_f_data): New type.
8321 (struct test_ff_f_data_nexttoward): Likewise.
8322 (RUN_TEST_LOOP_2_f): New macro.
8323 (RUN_TEST_LOOP_ff_f): Likewise.
8324 (atan2_test_data): New variable.
8325 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
8326 (copysign_test_data): New variable.
8327 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
8328 (fdim_test_data): New variable.
8329 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
8330 (fmax_test_data): New variable.
8331 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
8332 (fmin_test_data): New variable.
8333 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
8334 (fmod_test_data): New variable.
8335 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
8336 (hypot_test_data): New variable.
8337 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
8338 (nextafter_test_data): New variable.
8339 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
8340 (nexttoward_test_data): New variable.
8341 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
8342 (pow_test_data): New variable.
8343 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
8344 (pow_tonearest_test_data): New variable.
8345 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
8346 (pow_towardzero_test_data): New variable.
8347 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
8348 (pow_downward_test_data): New variable.
8349 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
8350 (pow_upward_test_data): New variable.
8351 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
8352 (remainder_test_data): New variable.
8353 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
8354 (scalb_test_data): New variable.
8355 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
8356 * sysdeps/i386/fpu/libm-test-ulps: Update.
8358 2013-05-11 Joseph Myers <joseph@codesourcery.com>
8360 * math/libm-test.inc (fma_test): Use max_value instead of local
8362 (nextafter_test): Likewise.
8364 * math/libm-test.inc (acos_towardzero_test_data): New variable.
8365 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8366 (acos_downward_test_data): New variable.
8367 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8368 (acos_upward_test_data): New variable.
8369 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8370 (acosh_test_data): New variable.
8371 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
8372 (asin_test_data): New variable.
8373 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
8374 (asin_tonearest_test_data): New variable.
8375 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8376 (asin_towardzero_test_data): New variable.
8377 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8378 (asin_downward_test_data): New variable.
8379 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8380 (asin_upward_test_data): New variable.
8381 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8382 (asinh_test_data): New variable.
8383 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
8384 (atan_test_data): New variable.
8385 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
8386 (atanh_test_data): New variable.
8387 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
8388 (cbrt_test_data): New variable.
8389 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
8390 (ceil_test_data): New variable.
8391 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
8392 (cos_test_data): New variable.
8393 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
8394 (cos_tonearest_test_data): New variable.
8395 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8396 (cos_towardzero_test_data): New variable.
8397 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8398 (cos_downward_test_data): New variable.
8399 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8400 (cos_upward_test_data): New variable.
8401 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8402 (cosh_test_data): New variable.
8403 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
8404 (cosh_tonearest_test_data): New variable.
8405 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8406 (cosh_towardzero_test_data): New variable.
8407 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8408 (cosh_downward_test_data): New variable.
8409 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8410 (cosh_upward_test_data): New variable.
8411 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8412 (erf_test_data): New variable.
8413 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
8414 (erfc_test_data): New variable.
8415 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
8416 (exp_test_data): New variable.
8417 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
8418 (exp_tonearest_test_data): New variable.
8419 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8420 (exp_towardzero_test_data): New variable.
8421 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8422 (exp_downward_test_data): New variable.
8423 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8424 (exp_upward_test_data): New variable.
8425 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8426 (exp10_test_data): New variable.
8427 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
8428 (exp2_test_data): New variable.
8429 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
8430 (expm1_test_data): New variable.
8431 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
8432 (fabs_test_data): New variable.
8433 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
8434 (floor_test_data): New variable.
8435 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
8436 (j0_test_data): New variable.
8437 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
8438 (j1_test_data): New variable.
8439 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
8440 (log_test_data): New variable.
8441 (log_test): Run tests with RUN_TEST_LOOP_f_f.
8442 (log10_test_data): New variable.
8443 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
8444 (log1p_test_data): New variable.
8445 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
8446 (log2_test_data): New variable.
8447 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
8448 (logb_test_data): New variable.
8449 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
8450 (logb_downward_test_data): New variable.
8451 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8452 (nearbyint_test_data): New variable.
8453 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
8454 (rint_test_data): New variable.
8455 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
8456 (rint_tonearest_test_data): New variable.
8457 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8458 (rint_towardzero_test_data): New variable.
8459 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8460 (rint_downward_test_data): New variable.
8461 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8462 (rint_upward_test_data): New variable.
8463 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8464 (round_test_data): New variable.
8465 (round_test): Run tests with RUN_TEST_LOOP_f_f.
8466 (sin_test_data): New variable.
8467 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
8468 (sin_tonearest_test_data): New variable.
8469 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8470 (sin_towardzero_test_data): New variable.
8471 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8472 (sin_downward_test_data): New variable.
8473 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8474 (sin_upward_test_data): New variable.
8475 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8476 (sinh_test_data): New variable.
8477 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
8478 (sinh_tonearest_test_data): New variable.
8479 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8480 (sinh_towardzero_test_data): New variable.
8481 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8482 (sinh_downward_test_data): New variable.
8483 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8484 (sinh_upward_test_data): New variable.
8485 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8486 (sqrt_test_data): New variable.
8487 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
8488 (tan_test_data): New variable.
8489 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
8490 (tan_tonearest_test_data): New variable.
8491 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8492 (tan_towardzero_test_data): New variable.
8493 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8494 (tan_downward_test_data): New variable.
8495 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8496 (tan_upward_test_data): New variable.
8497 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8498 (tanh_test_data): New variable.
8499 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
8500 (tgamma_test_data): New variable.
8501 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
8502 (trunc_test_data): New variable.
8503 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
8504 (y0_test_data): New variable.
8505 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
8506 (y1_test_data): New variable.
8507 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
8508 (significand_test_data): New variable.
8509 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
8511 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
8514 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
8516 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
8518 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
8520 2013-05-10 Andreas Jaeger <aj@suse.de>
8523 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
8524 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
8526 2013-05-10 Joseph Myers <joseph@codesourcery.com>
8528 * math/gen-libm-test.pl (adjust_arg): New function.
8529 (special_functions): Handle generating output in both functions
8531 (parse_args): Likewise.
8532 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
8533 $in_func argument to parse_args.
8534 * math/libm-test.inc (struct test_f_f_data): New type.
8535 (IF_ROUND_INIT_): New macro.
8536 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
8537 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
8538 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8539 (IF_ROUND_INIT_FE_UPWARD): Likewise.
8540 (ROUND_RESTORE_): Likewise.
8541 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
8542 (ROUND_RESTORE_FE_TONEAREST): Likewise.
8543 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
8544 (ROUND_RESTORE_FE_UPWARD): Likewise.
8545 (RUN_TEST_LOOP_f_f): New macro.
8546 (acos_test_data): New variable.
8547 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
8548 (acos_tonearest_test_data): New variable.
8549 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8551 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8553 * benchtests/bench-skeleton.c (startup): Fix coding style.
8555 2013-05-10 Joseph Myers <joseph@codesourcery.com>
8558 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
8559 negative infinity argument.
8560 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
8561 negative infinity argument.
8562 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
8563 negative infinity argument.
8564 * math/libm-test.inc (tgamma_test): Expect errno to be set for
8567 2013-05-10 Florian Weimer <fweimer@redhat.com>
8569 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
8570 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
8571 * iconv/iconv_prog.c (main): Likewise.
8572 * locale/programs/charmap-dir.c (charmap_readdir)
8573 (fopen_uncompressed): Likewise.
8574 * locale/programs/locfile.c (siblings_uncached)
8575 (write_locale_data): Use lstat64 instead of lstat.
8576 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
8579 2013-05-10 Andreas Jaeger <aj@suse.de>
8582 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
8586 2013-05-09 Carlos O'Donell <carlos@redhat.com>
8588 * elf/dl-close.c (_dl_close_worker): Add comments.
8590 2013-05-09 Joseph Myers <joseph@codesourcery.com>
8593 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
8595 (__ieee754_rem_pio2l): Update comments.
8598 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
8600 (__ieee754_rem_pio2l): Update comments.
8602 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
8603 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
8605 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
8608 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
8609 (M_PI_34_LOG10El): Likewise.
8610 (M_PI2_LOG10El): Likewise.
8611 (M_PI4_LOG10El): Likewise.
8612 (M_PI_LOG10El): Likewise.
8614 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8616 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8618 2013-05-08 Joseph Myers <joseph@codesourcery.com>
8620 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
8621 (MINUS_ZERO_INIT): Likewise.
8622 (PLUS_INFTY_INIT): Likewise.
8623 (MINUS_INFTY_INIT): Likewise.
8624 (QNAN_VALUE_INIT): Likewise.
8625 (MAX_VALUE_INIT): Likewise.
8626 (MIN_VALUE_INIT): Likewise.
8627 (MIN_SUBNORM_VALUE_INIT): Likewise.
8628 (plus_zero): Initialize with PLUS_ZERO_INIT.
8629 (minus_zero): Initialize with MINUS_ZERO_INIT.
8630 (plus_infty): Initialize with PLUS_INFTY_INIT.
8631 (minus_infty): Initialize with MINUS_INFTY_INIT.
8632 (qnan_value): Initialize with QNAN_VALUE_INIT.
8633 (max_value): Initialize with MAX_VALUE_INIT.
8634 (min_value): Initialize with MIN_VALUE_INIT.
8635 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
8637 * math/libm-test.inc (RUN_TEST_if_f): New macro.
8638 (jn_test): Use TEST_if_f instead of TEST_ff_f.
8639 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
8640 (yn_test): Use TEST_if_f instead of TEST_ff_f.
8642 * math/libm-test.inc (RUN_TEST_f_f): New macro.
8643 (RUN_TEST_2_f): Likewise.
8644 (RUN_TEST_ff_f): Likewise.
8645 (RUN_TEST_fi_f): Likewise.
8646 (RUN_TEST_fl_f): Likewise.
8647 (RUN_TEST_fff_f): Likewise.
8648 (RUN_TEST_c_f): Likewise.
8649 (RUN_TEST_f_f1): Likewise.
8650 (RUN_TEST_fF_f1): Likewise.
8651 (RUN_TEST_fI_f1): Likewise.
8652 (RUN_TEST_ffI_f1): Likewise.
8653 (RUN_TEST_c_c): Likewise.
8654 (RUN_TEST_cc_c): Likewise.
8655 (RUN_TEST_f_i): Likewise.
8656 (RUN_TEST_f_i_tg): Likewise.
8657 (RUN_TEST_ff_i_tg): Likewise.
8658 (RUN_TEST_f_b): Likewise.
8659 (RUN_TEST_f_b_tg): Likewise.
8660 (RUN_TEST_f_l): Likewise.
8661 (RUN_TEST_f_L): Likewise.
8662 (RUN_TEST_sincos): Likewise.
8663 * math/gen-libm-test.pl (new_test): Take new argument to indicate
8664 whether to show exceptions. Do not include ");\n" in return
8666 (special_functions): Output call to RUN_TEST_sincos instead of
8667 check_float calls. Update calls to new_test.
8668 (parse_args): Output call to single RUN_TEST_* macro instead of
8669 check_* calls and other assignments. Update calls to new_test.
8675 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
8676 input to result for tgamma overflow.
8677 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
8678 (gamma_coeff): New variable.
8679 (NCOEFF): New macro.
8680 (gamma_positive): New function.
8681 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
8682 underflow here. Use gamma_positive instead of exp (lgamma) for
8684 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
8685 (gamma_coeff): New variable.
8686 (NCOEFF): New macro.
8687 (gammaf_positive): New function.
8688 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
8689 underflow here. Use gamma_positive instead of exp (lgamma) for
8691 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
8692 (gamma_coeff): New variable.
8693 (NCOEFF): New macro.
8694 (gammal_positive): New function.
8695 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
8696 underflow here. Use gamma_positive instead of exp (lgamma) for
8698 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
8699 (gamma_coeff): New variable.
8700 (NCOEFF): New macro.
8701 (gammal_positive): New function.
8702 (__ieee754_gammal_r): Handle positive infinity, overflow and
8703 underflow here. Handle NaN the same as positive infinity. Remove
8704 check x < 0xffffffff for negative integers. Use gamma_positive
8705 instead of exp (lgamma) for other arguments.
8706 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
8707 (gamma_coeff): New variable.
8708 (NCOEFF): New macro.
8709 (gammal_positive): New function.
8710 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
8711 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
8712 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
8713 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
8714 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
8715 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
8716 * sysdeps/generic/math_private.h (__gamma_productf): New
8718 (__gamma_product): Likewise.
8719 (__gamma_productl): Likewise.
8720 * math/Makefile (libm-calls): Add gamma_product.
8721 * math/libm-test.inc (tgamma_test): Add more tests.
8722 * sysdeps/i386/fpu/libm-test-ulps: Update.
8723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8725 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
8727 * benchtests/bench-skeleton.c (main): Preheat CPU.
8729 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
8731 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
8733 2013-05-07 Roland McGrath <roland@hack.frob.com>
8735 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
8736 and _dl_skip_args_internal.
8738 2013-05-07 Carlos O'Donell <carlos@redhat.com>
8740 * manual/message.texi (Message Translation): Talk about users.
8741 Message to key mapping impacts design.
8743 2013-05-06 Roland McGrath <roland@hack.frob.com>
8745 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
8747 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
8749 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
8750 * sysdeps/wordsize-64/glob64.c: ... here.
8752 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
8753 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
8756 * debug/getlogin_r_chk.c: Moved to ...
8757 * login/getlogin_r_chk.c: ... here.
8758 * debug/Makefile (routines): Move getlogin_r_chk to ...
8759 * login/Makefile (routines): ... here.
8760 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
8761 * login/Versions (libc: GLIBC_2.4): ... here.
8763 * io/poll.c (__poll): Renamed from poll.
8764 Add libc_hidden_def.
8765 (poll): Define as weak alias.
8767 * debug/ptsname_r_chk.c: Moved to ...
8768 * login/ptsname_r_chk.c: ... here.
8769 * debug/Makefile (routines): Move ptsname_r_chk to ...
8770 * login/Makefile (routines): ... here.
8771 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
8772 * login/Versions (libc: GLIBC_2.4): ... here.
8774 * posix/getlogin.c: Moved to ...
8775 * login/getlogin.c: ... here.
8776 * posix/getlogin_r.c: Moved to ...
8777 * login/getlogin_r.c: ... here.
8778 * posix/getlogin_r.c: Moved to ...
8779 * login/getlogin_r.c: ... here.
8780 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
8781 * login/Makefile (routines): ... here.
8782 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
8783 * login/Versions (libc: GLIBC_2.0): ... here.
8785 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
8786 (setrlimit): Define as weak alias.
8788 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
8789 Call __ names for open, ftruncate, and close.
8790 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
8791 (truncate): Define as weak alias.
8793 2013-05-06 Joseph Myers <joseph@codesourcery.com>
8795 * math/gen-libm-test.pl (parse_args): Initialize x before each
8796 test of frexp, modf and remquo.
8798 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
8801 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8805 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
8807 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8809 2013-05-06 Roland McGrath <roland@hack.frob.com>
8811 * elf/dl-writev.h: New file.
8812 * elf/dl-misc.c: Include it.
8813 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
8814 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
8816 2013-05-04 Joseph Myers <joseph@codesourcery.com>
8818 * math/libm-test.inc (noXFails): Remove variable.
8819 (noXPasses): Likewise.
8820 (BUILD_COMPLEX_INT): Remove macro.
8821 (print_screen): Remove xfail argument.
8822 (print_screen_max_error): Likewise.
8823 (update_stats): Likewise.
8824 (print_max_error): Likewise. Update calls to other affected
8826 (print_complex_max_error): Likewise.
8827 (test_single_exception): Update calls to print_screen.
8828 (test_single_errno): Likewise.
8829 (check_float_internal): Remove xfail argument. Update calls to
8830 other affected functions.
8831 (check_float): Likewise.
8832 (check_complex): Likewise.
8833 (check_int): Likewise.
8834 (check_long): Likewise.
8835 (check_bool): Likewise.
8836 (check_longlong): Likewise.
8837 (main): Don't print noXFails and noXPasses.
8838 * math/gen-libm-test.pl (top level): Don't mention expected
8839 failure handling in comment.
8840 (new_test): Don't handle expected failures.
8841 (parse_args): Don't mention expected failure handling in comment.
8842 (generate_testfile): Don't handle expected failures.
8843 (parse_ulps): Likewise.
8844 (print_ulps_file): Likewise.
8845 (get_failure): Remove function.
8846 (output_test): Don't handle expected failures.
8847 * make/README.libm-test: Don't mention expected failure handling.
8849 * math/libm-test.inc (plus_zero): Make const. Add initializer.
8850 (minus_zero): Likewise.
8851 (plus_infty): Likewise.
8852 (minus_infty): Likewise.
8853 (qnan_value): Likewise.
8854 (max_value): Likewise.
8855 (min_value): Likewise.
8856 (min_subnorm_value): Likewise.
8857 (initialize): Do not initialize those variables dynamically.
8859 2013-05-03 Roland McGrath <roland@hack.frob.com>
8861 * io/open.c (__open_2): Moved to ...
8862 * io/open_2.c: ... this new file.
8863 * io/open64.c (__open64_2): Moved to ...
8864 * io/open64_2.c: ... this new file.
8865 * io/openat.c (__openat_2): Moved to ...
8866 * io/openat_2.c: ... this new file.
8867 * io/openat64.c (__openat64_2): Moved to ...
8868 * io/openat64_2.c: ... this new file.
8869 * io/Makefile (routines): Add them.
8870 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
8871 * sysdeps/unix/sysv/linux/open_2.c: File removed.
8872 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
8873 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
8874 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
8875 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
8876 (__openat64): Add hidden_ver.
8877 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
8878 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
8880 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
8881 Separately conditionalize setting of GLRO(dl_sysinfo) so
8882 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
8883 as well, but the actual setting is only under [NEED_DL_SYSINFO].
8885 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8887 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
8888 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
8890 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
8891 * sysdeps/unix/sysv/linux/powerpc/init-first.c
8892 (_libc_vdso_platform_setup): Add __vdso_time initialization.
8893 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
8894 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
8896 2013-05-03 Joseph Myers <joseph@codesourcery.com>
8898 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
8901 * math/libm-test.inc (hypot_test): Do not use
8902 IGNORE_ZERO_INF_SIGN.
8904 2013-05-03 Andreas Jaeger <aj@suse.de>
8906 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
8908 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
8909 (PF_MAX): Adjust for VSOCK change.
8911 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8913 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8915 2013-05-02 Carlos O'Donell <carlos@redhat.com>
8918 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
8919 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
8920 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
8922 2013-05-02 David S. Miller <davem@davemloft.net>
8924 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8926 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
8928 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
8930 2013-05-01 Roland McGrath <roland@hack.frob.com>
8932 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
8934 2013-05-01 Richard Smith <richard@metafoo.co.uk>
8937 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
8938 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
8939 Use __attribute__ ((__gnu_inline__)).
8940 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
8941 Don't use __attribute__ ((__gnu_inline__)).
8943 2013-05-01 Joseph Myers <joseph@codesourcery.com>
8946 * math/s_catan.c (__catan): Handle small real or imaginary part of
8947 input specially to avoid spurious underflow.
8948 * math/s_catanf.c (__catanf): Likewise.
8949 * math/s_catanh.c (__catanh): Likewise.
8950 * math/s_catanhf.c (__catanhf): Likewise.
8951 * math/s_catanhl.c (__catanhl): Likewise.
8952 * math/s_catanl.c (__catanl): Likewise.
8953 * math/libm-test.inc (catan_test): Add more tests.
8954 (catanh_test): Likewise.
8955 * sysdeps/i386/fpu/libm-test-ulps: Update.
8956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8958 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8960 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8962 2013-04-30 Joseph Myers <joseph@codesourcery.com>
8965 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
8966 accurately for denominator in atan2.
8967 * math/s_catanf.c (__catanf): Likewise.
8968 * math/s_catanh.c (__catanh): Likewise.
8969 * math/s_catanhf.c (__catanhf): Likewise.
8970 * math/s_catanhl.c (__catanhl): Likewise.
8971 * math/s_catanl.c (__catanl): Likewise.
8972 * math/libm-test.inc (catan_test): Add more tests.
8973 (catanh_test): Likewise.
8974 * sysdeps/i386/fpu/libm-test-ulps: Update.
8975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8977 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8979 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
8981 * benchtests/Makefile (bench): Remove slow benchmarks.
8982 * benchtests/atan-inputs: Add slow benchmark inputs.
8983 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
8984 (BENCH_FUNC): Accept variant offset.
8986 * benchtests/bench-skeleton.c (main): Run benchmark for each
8988 * benchtests/cos-inputs: Add slow benchmark inputs.
8989 * benchtests/exp-inputs: Likewise.
8990 * benchtests/pow-inputs: Likewise.
8991 * benchtests/sin-inputs: Likewise.
8992 * benchtests/slowatan-inputs: Remove.
8993 * benchtests/slowatan.c: Remove.
8994 * benchtests/slowcos-inputs: Remove.
8995 * benchtests/slowcos.c: Remove.
8996 * benchtests/slowexp-inputs: Remove.
8997 * benchtests/slowexp.c: Remove.
8998 * benchtests/slowpow-inputs: Remove.
8999 * benchtests/slowpow.c: Remove.
9000 * benchtests/slowsin-inputs: Remove.
9001 * benchtests/slowsin.c: Remove.
9002 * benchtests/slowtan-inputs: Remove.
9003 * benchtests/slowtan.c: Remove.
9004 * benchtests/tan-inputs: Add slow benchmark inputs.
9005 * scripts/bench.pl: Parse comments and directives.
9007 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
9009 ($(objpfx)bench-%.c): Remove *-ITER.
9010 * benchtests/bench-modf.c: Remove definition of ITER.
9011 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
9012 (main): Loop for DURATION seconds instead of fixed number of
9014 * scripts/bench.pl: Don't expect iterations in parameters.
9016 2013-04-29 Roland McGrath <roland@hack.frob.com>
9018 * io/fchdir.c (__fchdir): Renamed from fchdir.
9019 (fchdir): Define as weak alias.
9021 2013-04-29 Joseph Myers <joseph@codesourcery.com>
9023 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
9024 (ERRNO_EDOM): Likewise.
9025 (ERRNO_ERANGE): Likewise.
9026 (noErrnoTests): New variable.
9027 (init_max_error): Set errno to 0.
9028 (test_single_errno): New function.
9029 (test_errno): Likewise.
9030 (check_float_internal): Call test_errno. Set errno to 0.
9031 (check_complex): Refer to errno tests in comment.
9032 (check_int): Call test_errno. Set errno to 0.
9033 (check_long): Likewise.
9034 (check_bool): Likewise.
9035 (check_longlong): Likewise.
9036 (cos_test): Use ERRNO_* flags for errno tests instead of
9038 (expm1_test): Likewise.
9039 (fmod_test): Likewise.
9040 (ilogb_test): Likewise.
9041 (lgamma_test): Likewise.
9042 (pow_test): Likewise.
9043 (remainder_test): Likewise.
9044 (sin_test): Likewise.
9045 (tan_test): Likewise.
9046 (yn_test): Likewise.
9047 (initialize): Set errno to 0.
9048 (main): Print number of errno tests.
9049 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
9051 2013-04-29 Andreas Jaeger <aj@suse.de>
9054 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
9058 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
9059 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
9063 * stdlib/random.c (__initstate): Return NULL if
9067 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
9068 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
9071 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9073 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9075 2013-04-29 Joseph Myers <joseph@codesourcery.com>
9077 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
9078 of individual tests.
9079 (casin_test): Likewise.
9080 (casinh_test): Likewise.
9082 2013-04-27 Joseph Myers <joseph@codesourcery.com>
9085 * math/s_catan.c (__catan): Handle arguments with large real or
9086 imaginary part separately without squaring.
9087 * math/s_catanf.c (__catanf): Likewise.
9088 * math/s_catanh.c (__catanh): Likewise.
9089 * math/s_catanhf.c (__catanhf): Likewise.
9090 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9092 (__catanhl): Handle arguments with large real or imaginary part
9093 separately without squaring.
9094 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9096 (__catanl): Handle arguments with large real or imaginary part
9097 separately without squaring.
9098 * math/libm-test.inc (catan_test): Add more tests.
9099 (catanh_test): Likewise.
9100 * sysdeps/i386/fpu/libm-test-ulps: Update.
9101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9103 2013-04-27 Andreas Jaeger <aj@suse.de>
9106 * stdlib/stdlib.h: Update guards for qecvt.
9107 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
9110 2013-04-27 Allan McRae <allan@archlinux.org>
9112 * sysdeps/i386/fpu/libm-test-ulps: Update.
9114 2013-04-26 Joseph Myers <joseph@codesourcery.com>
9117 * math/s_catan.c: Include <float.h>.
9118 (__catan): Ensure underflow exception occurs for underflowed
9120 * math/s_catanf.c: Include <float.h>.
9121 (__catanf): Ensure underflow exception occurs for underflowed
9123 * math/s_catanh.c: Include <float.h>.
9124 (__catanh): Ensure underflow exception occurs for underflowed
9126 * math/s_catanhf.c: Include <float.h>.
9127 (__catanhf): Ensure underflow exception occurs for underflowed
9129 * math/s_catanhl.c: Include <float.h>.
9130 (__catanhl): Ensure underflow exception occurs for underflowed
9132 * math/s_catanl.c: Include <float.h>.
9133 (__catanl): Ensure underflow exception occurs for underflowed
9135 * math/libm-test.inc (catan_test): Add more tests.
9136 (catanh_test): Likewise.
9139 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
9141 * math/s_ccoshf.c (__ccoshf): Likewise.
9142 * math/s_ccoshl.c (__ccoshl): Likewise.
9143 * math/s_csin.c (__csin): Likewise.
9144 * math/s_csinf.c (__csinf): Likewise.
9145 * math/s_csinh.c (__csinh): Likewise.
9146 * math/s_csinhf.c (__csinhf): Likewise.
9147 * math/s_csinhl.c (__csinhl): Likewise.
9148 * math/s_csinl.c (__csinl): Likewise.
9149 * math/libm-test.inc (ccos_test): Add more tests.
9150 (ccosh_test): Likewise.
9151 (csin_test): Likewise.
9152 (csinh_test): Likewise.
9154 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9156 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
9157 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
9158 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
9159 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
9160 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
9161 powerpc/power5+/fpu folders.
9162 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
9165 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
9167 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9169 2013-04-25 Joseph Myers <joseph@codesourcery.com>
9171 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
9172 additions to variable.
9173 [$(config-machine) = x86_64] (modules-names): Likewise.
9174 ($(objpfx)tst-audit3): Remove dependency.
9175 ($(objpfx)tst-audit3.out): Likewise.
9176 ($(objpfx)tst-audit4): Likewise.
9177 ($(objpfx)tst-audit4.out): Likewise.
9178 ($(objpfx)tst-audit5): Likewise.
9179 ($(objpfx)tst-audit5.out): Likewise.
9180 ($(objpfx)tst-audit6): Likewise.
9181 ($(objpfx)tst-audit6.out): Likewise.
9182 ($(objpfx)tst-audit7): Likewise.
9183 ($(objpfx)tst-audit7.out): Likewise.
9184 (tst-audit3-ENV): Remove variable.
9185 (tst-audit4-ENV): Likewise.
9186 (tst-audit5-ENV): Likewise.
9187 (tst-audit6-ENV): Likewise.
9188 (tst-audit7-ENV): Likewise.
9189 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
9190 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
9191 addition to variable.
9192 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
9193 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
9194 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
9195 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
9196 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
9197 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
9198 tst-audit3, tst-audit4 and tst-audit5.
9199 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
9200 tst-audit6 and tst-audit7.
9201 [$(subdir) = elf] (modules-names): Add audit modules for those
9203 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
9204 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
9205 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
9206 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
9207 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
9208 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
9209 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
9210 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
9211 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
9212 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
9213 [$(subdir) = elf] (tst-audit3-ENV): New variable.
9214 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
9215 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
9216 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
9217 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
9218 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
9220 [$(subdir) = elf && $(config-cflags-avx) = yes]
9221 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
9222 [$(subdir) = elf && $(config-cflags-avx) = yes]
9223 (CFLAGS-tst-auditmod4a.c): Likewise.
9224 [$(subdir) = elf && $(config-cflags-avx) = yes]
9225 (CFLAGS-tst-auditmod4b.c): Likewise.
9226 [$(subdir) = elf && $(config-cflags-avx) = yes]
9227 (CFLAGS-tst-auditmod6b.c): Likewise.
9228 [$(subdir) = elf && $(config-cflags-avx) = yes]
9229 (CFLAGS-tst-auditmod6c.c): Likewise.
9230 [$(subdir) = elf && $(config-cflags-avx) = yes]
9231 (CFLAGS-tst-auditmod7b.c): Likewise.
9232 * elf/tst-audit3.c: Move to ...
9233 * sysdeps/x86_64/tst-audit3.c: ... here.
9234 * elf/tst-audit4.c: Move to ...
9235 * sysdeps/x86_64/tst-audit4.c: ... here.
9236 * elf/tst-audit5.c: Move to ...
9237 * sysdeps/x86_64/tst-audit5.c: ... here.
9238 * elf/tst-audit6.c: Move to ...
9239 * sysdeps/x86_64/tst-audit6.c: ... here.
9240 * elf/tst-audit7.c: Move to ...
9241 * sysdeps/x86_64/tst-audit7.c: ... here.
9242 * elf/tst-auditmod3a.c: Move to ...
9243 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
9244 * elf/tst-auditmod3b.c: Move to ...
9245 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
9246 * elf/tst-auditmod4a.c: Move to ...
9247 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
9248 * elf/tst-auditmod4b.c: Move to ...
9249 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
9250 * elf/tst-auditmod5a.c: Move to ...
9251 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
9252 * elf/tst-auditmod5b.c: Move to ...
9253 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
9254 * elf/tst-auditmod6a.c: Move to ...
9255 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
9256 * elf/tst-auditmod6b.c: Move to ...
9257 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
9258 * elf/tst-auditmod6c.c: Move to ...
9259 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
9260 * elf/tst-auditmod7a.c: Move to ...
9261 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
9262 * elf/tst-auditmod7b.c: Move to ...
9263 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
9265 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
9268 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
9269 define unconditionally.
9270 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
9271 define unconditionally.
9272 (INT8_C, INT16_C, etc.): Likewise.
9274 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
9276 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
9277 __ehdr_start with hidden visibility.
9279 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
9281 2013-04-24 Carlos O'Donell <carlos@redhat.com>
9283 * math/libm-test.inc (cos_test): Use accurate hex constants.
9284 (sincost_test): Likewise.
9286 2013-04-24 Joseph Myers <joseph@codesourcery.com>
9288 * math/libm-test.inc (catan_test): Add more tests.
9289 (catanh_test): Likewise.
9291 * math/s_catanf.c (__catanf): Use suffixed floating-point
9293 * math/s_catanhf.c (__catanhf): Likewise.
9294 * math/s_catanhl.c (__catanhl): Likewise.
9295 * math/s_catanl.c (__catanl): Likewise.
9298 * math/s_catan.c (__catan): Calculate imaginary part of result
9299 with log1p not log unless computing log of number close to 0.
9300 * math/s_catanf.c (__catanf): Likewise.
9301 * math/s_catanl.c (__catanl): Likewise.
9302 * math/s_catanh.c (__catanh): Calculate real part of result with
9303 log1p not log unless computing log of number close to 0.
9304 * math/s_catanhf.c (__catanhf): Likewise.
9305 * math/s_catanhl.c (__catanhl): Likewise.
9306 * math/libm-test.inc (catan_test): Add more tests.
9307 (catanh_test): Likewise.
9308 * sysdeps/i386/fpu/libm-test-ulps: Update.
9309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9311 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9313 * benchtests/Makefile: Mention files in which fast and slow
9314 paths of math functions are implemented.
9316 2013-04-23 Roland McGrath <roland@hack.frob.com>
9318 * sysdeps/posix/timespec_get.c: New file.
9320 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9322 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
9324 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
9326 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
9327 powerpc/power5/fpu folders.
9328 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
9329 * benchtests/Makefile: Add modf testcase.
9330 * benchtests/bench-modf.c: New file: Benchmark test for mo
9332 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9335 * time/Makefile (tests): Add tst-strptime-whitespace.
9336 * time/strptime_l.c (get_number): Use ISSPACE.
9337 (__strptime_internal): Likewise.
9338 * time/tst-strptime-whitespace.c: New test case.
9340 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
9342 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
9344 (_nss_files_init): Set it here.
9346 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
9348 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
9349 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
9352 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
9354 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
9356 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9358 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
9361 2013-04-21 David S. Miller <davem@davemloft.net>
9363 * po/ru.po: Update Russion translation from translation project.
9365 2013-04-17 Adam Conrad <adconrad@0c3.net>
9367 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
9370 2013-04-17 Carlos O'Donell <carlos@redhat.com>
9372 * configure.in: Remove i386 configure warning. Remove i386 case.
9373 * configure: Regenerate.
9374 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
9375 Add example to error message.
9376 * sysdeps/i386/configure: Regenerate.
9378 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9380 * benchtests/Makefile (bench): Add cos, tan, slowcos and
9382 * benchtests/cos-inputs: New file.
9383 * benchtests/slowcos-inputs: New file.
9384 * benchtests/slowcos.c: New file.
9385 * benchtests/slowtan-inputs: New file.
9386 * benchtests/slowtan.c: New file.
9387 * benchtests/tan-inputs: New file.
9389 2013-04-16 Roland McGrath <roland@hack.frob.com>
9391 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
9394 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9396 * benchtests/Makefile: Include cppflags-iterator.mk to add
9397 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
9399 * Makefile.in (bench-clean): New target.
9400 * benchtests/Makefile (bench-clean): Likewise.
9402 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
9404 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
9406 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
9408 * stdio-common/tstdiomisc.c: Fix coding-style violation.
9410 2013-04-15 Andreas Schwab <schwab@suse.de>
9412 * nscd/grpcache.c (cache_addgr): Properly check for short write.
9413 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9414 * nscd/pwdcache.c (cache_addpw): Likewise.
9415 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
9418 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9420 * benchtests/Makefile (bench): Write all output to
9421 bench-out.tmp together.
9423 2013-04-15 Andreas Schwab <schwab@suse.de>
9425 * nscd/nscd.c (main): Don't fork again after closing files.
9427 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9429 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
9431 * benchtests/Rules (bench-deps): Collect dependencies into a
9432 single variable. Add Makefile to dependencies.
9433 ($(objpfx)bench-%.c): Depend on bench-deps.
9435 2013-04-12 Roland McGrath <roland@hack.frob.com>
9436 Xavier Roche <roche+kml2@exalead.com>
9439 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
9440 just that it's a file descriptor.
9441 * manual/llio.texi (Synchronizing AIO Operations): Update description
9442 for EBADF error from aio_fsync.
9444 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9446 * Rules (bench): Move target definition...
9447 * benchtests/Makefile: ... here.
9449 2013-04-11 Carlos O'Donell <carlos@redhat.com>
9451 * math/libm-test.inc (cos_test): Fix PI/2 test.
9452 (sincos_test): Likewise.
9453 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9454 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
9456 2013-04-11 Andreas Schwab <schwab@suse.de>
9459 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
9460 accept exponent character only when digits were seen.
9461 * stdio-common/Makefile (tests): Add bug26.
9462 * stdio-common/bug26.c: New file.
9465 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
9468 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9470 * Makeconfig (rtld-prefix): Define built linker prefix.
9471 * Rules (run-bench): Use it.
9472 * math/Makefile (run-regen-ulps): Likewise.
9474 * Rules (bench): Remove eval.
9476 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9477 Roland McGrath <roland@hack.frob.com>
9478 Ondrej Bilka <neleai@seznam.cz>
9481 * time/getdate.c: Include ctype.h and alloca.h.
9482 (__getdate_r): Trim leading and trailing spaces of input.
9483 * time/tst-getdate.c (tests): Add tests with leading and
9486 2013-04-08 Roland McGrath <roland@hack.frob.com>
9489 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
9490 when computing value.
9492 2013-04-06 Carlos O'Donell <carlos@redhat.com>
9494 * math/README.libm-test (How can I generate "libm-test-ulps"?):
9495 Use testrun.sh to run libm tests.
9498 * elf/dl-open.c (dl_open_worker): memset all of seen array.
9500 2013-04-06 Marko Myllynen <myllynen@redhat.com>
9503 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
9505 2013-04-06 Carlos O'Donell <carlos@redhat.com>
9507 * Makefile.in (regen-ulps): New target.
9508 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
9509 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
9510 [ifneq (no,$(PERL)] (regen-ulps): New target.
9511 [ifeq (no,$(PERL)] (regen-ulps): New target.
9512 * math/libm-test.inc (ulps_file_name): Define.
9513 (output_dir): New variable.
9514 (options): Add "output-dir" option.
9515 (parse_opt): Handle 'o' case.
9516 (main): If output_dir is non-NULL use it as a prefix
9518 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
9520 2013-04-06 Carlos O'Donell <carlos@redhat.com>
9523 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
9524 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
9525 fail configure if __sync_val_compare_and_swap is not inlined.
9526 * sysdeps/i386/configure: Regenerate.
9527 * configure.in: Build for i686 when configured for i386.
9528 * configure: Regenerate.
9529 * README: Remove i386 reference.
9531 2013-04-06 Carlos O'Donell <carlos@redhat.com>
9533 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
9534 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9536 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
9538 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
9539 (lmsnanval): New variables.
9540 (F): Add conversion tests.
9541 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
9542 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
9544 * stdio-common/tstdiomisc.c (F): Properly collect individual
9548 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
9549 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
9550 Instead, use input NaN values or generate a qNaN by arithmetic
9551 operation. Also fix bugs to comply with the standard.
9552 * math/libm-test.inc (remainder_test): Add more tests.
9555 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
9556 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
9557 input NaN values or generate a qNaN by arithmetic operation.
9559 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
9562 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
9565 2013-04-03 Joseph Myers <joseph@codesourcery.com>
9568 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
9570 * math/s_cexpf.c (__cexpf): Likewise.
9571 * math/s_cexpl.c (__cexpl): Likewise.
9572 * math/libm-test.inc (cexp_test): Add more tests.
9574 2013-04-03 Andreas Schwab <schwab@suse.de>
9577 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
9578 order arrays from heap if bigger than alloca cutoff.
9580 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
9582 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
9583 (SNAN_TESTS_double): Refer to GCC PR56831.
9584 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
9587 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9589 * Rules (bench): Move bench.out after the run is complete.
9591 * Rules (bench): Echo currently running benchmark.
9593 * benchtests/Makefile (bench): Add atan and slowatan.
9594 * benchtests/atan-inputs: New file.
9595 * benchtests/slowatan-inputs: New file.
9596 * benchtests/slowatan.c: New file.
9598 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
9599 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
9603 * sysdeps/unix/sysv/linux/kernel-features.h
9604 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
9605 __ASSUME_XFS_RESTRICTED_CHOWN.
9606 * sysdeps/unix/sysv/linux/pathconf.c
9607 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
9608 Save and restore errno.
9610 2013-04-02 Joseph Myers <joseph@codesourcery.com>
9613 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
9614 arguments using __kernel_casinh.
9615 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
9616 arguments using __kernel_casinhf.
9617 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
9618 arguments using __kernel_casinhl.
9619 * math/libm-test.inc (cacosh_test): Add more tests.
9620 * sysdeps/i386/fpu/libm-test-ulps: Update.
9621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9623 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9625 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
9626 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
9628 * bench/Makefile (bench): Add sin and slowsin.
9629 * benchtests/sin-inputs: New file.
9630 * benchtests/slowsin-inputs: New file.
9631 * benchtests/slowsin.c: New file.
9633 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
9634 (bench): Add slowexp and slowpow.
9635 (exp-ITER): Increase iterations.
9636 (pow-ITER): Likewise.
9637 * benchtests/exp-inputs: Change input.
9638 * benchtests/pow-inputs: Likewise.
9639 * benchtests/slowexp-inputs: New file.
9640 * benchtests/slowexp.c: New file.
9641 * benchtests/slowpow-inputs: New file.
9642 * benchtests/slowpow.c: New file.
9644 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9646 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
9648 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9649 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
9650 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9651 * benchtests/Makefile: Add rint benchtest.
9652 * benchtests/rint-inputs: Input for rint benchtest.
9654 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
9656 * Versions.def (libm): Add GLIBC_2.18.
9657 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
9658 hidden libm prototypes.
9659 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
9660 * math/Makefile (libm-calls): Add s_issignaling.
9661 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
9662 __issignalingf, __issignalingl. Adjust all libm.abilist files.
9663 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
9665 * math/math.h [__USE_GNU] (issignaling): New macro.
9666 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
9667 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
9668 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
9669 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
9670 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
9671 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
9672 * manual/arith.texi (issignaling): New section.
9673 * manual/libm-err-tab.pl (@all_functions): Update comment.
9674 * math/gen-libm-test.pl (parse_args): Apply special handling for
9676 * math/libm-test.inc (print_float, issignaling_test): New
9678 (check_float_internal): Add issignaling checks.
9679 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
9681 * sysdeps/powerpc/math-tests.h: New file.
9682 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
9684 * math/test-snan.c (TEST_FUNC): Likewise.
9686 2013-03-30 David S. Miller <davem@davemloft.net>
9688 * po/de.po: Update from translation team.
9690 2013-03-30 Joseph Myers <joseph@codesourcery.com>
9693 * math/k_casinh.c (__kernel_casinh): Handle arguments with
9694 imaginary part less than 1.0 and real part less than 0.5
9696 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9697 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9698 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
9699 (cacos_test): Add more tests.
9700 (casin_test): Likewise.
9701 (casinh_test): Likewise.
9702 * sysdeps/i386/fpu/libm-test-ulps: Update.
9703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9705 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9707 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
9710 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
9711 (__pow_mp): Replace ONE and MONE with their values.
9712 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9713 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
9714 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9715 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
9716 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9717 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9719 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
9721 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
9722 (__pow_mp): Replace ZERO and MZERO with their values.
9723 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
9724 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9725 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9726 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9727 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9728 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
9731 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
9733 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
9735 2013-03-28 Roland McGrath <roland@hack.frob.com>
9737 * include/stdlib.h [!SHARED] (__call_tls_dtors):
9738 Declare with __attribute__ ((weak)).
9739 * stdlib/exit.c (__libc_atexit) [!SHARED]:
9740 Call __call_tls_dtors only if it's not NULL.
9742 2013-03-28 Roland McGrath <roland@hack.frob.com>
9744 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
9745 didn't do it already, then set _dl_phdr and _dl_phnum based on the
9746 magic __ehdr_start linker symbol if it's defined.
9747 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
9748 them up here if it was already done.
9750 * elf/dl-support.c (_dl_phdr): Make pointer to const.
9751 (_dl_aux_init): Use const in cast when setting it.
9752 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
9753 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
9754 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
9756 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
9758 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
9759 * csu/libc-tls.c: Nor here.
9760 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
9762 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
9763 (__libc_message): Never call vsyslog.
9765 2013-03-28 Alan Modra <amodra@gmail.com>
9767 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
9769 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
9772 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9775 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
9777 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9779 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9782 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9783 Don't add gid passed as argument.
9785 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
9787 2013-03-27 Joseph Myers <joseph@codesourcery.com>
9790 * math/k_casinh.c (__kernel_casinh): Handle arguments with
9791 imaginary part between 1.0 and 1.5 and real part less than 0.5
9793 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9794 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9795 * math/libm-test.inc (cacos_test): Add more tests.
9796 (casin_test): Likewise.
9797 (casinh_test): Likewise.
9798 * sysdeps/i386/fpu/libm-test-ulps: Update.
9799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9801 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9803 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
9807 (__dbl_mp): Likewise.
9808 (add_magnitudes): Likewise.
9809 (sub_magnitudes): Likewise.
9817 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
9819 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
9820 (__dubcos): Likewise.
9821 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
9822 (__ieee754_acos): Likewise.
9823 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
9824 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
9826 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9827 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
9829 (my_log2): Likewise.
9830 (checkint): Likewise.
9831 * sysdeps/ieee754/dbl-64/e_remainder.c
9832 (__ieee754_remainder): Likewise.
9833 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9834 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
9836 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9838 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
9839 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
9840 MANTISSA_STORE_T to store computations on mantissa. Use
9841 macros for rounding and division.
9843 (__dbl_mp): Likewise.
9844 (add_magnitudes): Likewise.
9845 (sub_magnitudes): Likewise.
9848 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
9849 powers of two in terms of TWOPOW macro.
9850 (mp_no): Make type of mantissa as MANTISSA_T.
9851 [!RADIXI]: Define RADIXI.
9852 [!TWO52]: Define TWO52.
9853 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
9855 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9857 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
9858 llroundl symbol when building for PPC32.
9860 2013-03-24 Mark H Weaver <mhw@netris.org>
9862 * manual/arith.texi (Normalization Functions): Fix prototypes for
9863 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
9865 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9868 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
9869 high value to check if expl overflow.
9870 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
9871 to check for underflow and overflow.
9872 * math/libm-test.inc: Add exp test.
9874 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
9877 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
9880 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9882 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
9885 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
9887 * math/gen-libm-test.pl (parse_args, special_functions): Properly
9888 wrap blocks consisting of several statements.
9890 * sysdeps/generic/math-tests.h: New file.
9891 * sysdeps/i386/fpu/math-tests.h: Likewise.
9892 * math/test-snan.c: Include it.
9893 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
9895 2013-03-21 Joseph Myers <joseph@codesourcery.com>
9898 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
9899 (__ieee754_j0l): Do not improve calculations using cos of twice
9900 input for inputs above LDBL_MAX / 2.0L.
9901 (__ieee754_y0l): Likewise.
9902 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
9903 (__ieee754_j1l): Do not improve calculations using cos of twice
9904 input for inputs above LDBL_MAX / 2.0L.
9905 (__ieee754_y1l): Likewise.
9906 * math/libm-test.inc (j0_test): Add another test.
9907 (j1_test): Likewise.
9908 (y0_test): Likewise.
9909 (y1_test): Likewise.
9910 * sysdeps/i386/fpu/libm-test-ulps: Update.
9912 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9914 * Rules ($(objpfx)bench-%.c): Include code from a C source
9917 2013-03-21 Joseph Myers <joseph@codesourcery.com>
9920 * math/k_casinh.c (__kernel_casinh): Handle arguments with
9921 imaginary part 1.0 and real part less than 0.5 specially.
9922 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9923 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9924 * math/libm-test.inc (cacos_test): Add more tests.
9925 (casin_test): Likewise.
9926 (casinh_test): Likewise.
9927 * sysdeps/i386/fpu/libm-test-ulps: Update.
9928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9930 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9932 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
9933 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
9935 2013-03-20 Joseph Myers <joseph@codesourcery.com>
9937 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
9938 * config.make.in (config-cflags-sse4): Remove variable.
9939 (config-cflags-avx): Likewise.
9940 (config-cflags-sse2avx): Likewise.
9941 (config-cflags-novzeroupper): Likewise.
9942 (config-asflags-i686): Likewise.
9943 (have-mfma4): Likewise.
9944 (have-as-vis3): Likewise.
9946 * configure.in (MIG): Do not AC_SUBST.
9947 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
9948 (libc_cv_cc_sse4): Do not AC_SUBST.
9949 (libc_cv_cc_avx): Likewise.
9950 (libc_cv_cc_sse2avx): Likewise.
9951 (libc_cv_cc_novzeroupper): Likewise.
9952 (libc_cv_cc_fma4): Likewise.
9953 (libc_cv_as_i686): Likewise.
9954 (libc_cv_sparc_as_vis3): Likewise.
9955 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
9957 (config-asflags-i686): Likewise.
9958 (config-cflags-avx): Likewise.
9959 (config-cflags-sse2avx): Likewise.
9960 (have-mfma4): Likewise.
9961 (config-cflags-novzeroupper): Likewise.
9962 * sysdeps/mach/configure.in (MIG): Likewise.
9963 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
9964 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
9966 (config-cflags-avx): Likewise.
9967 (config-cflags-sse2avx): Likewise.
9968 (have-mfma4): Likewise.
9969 (config-cflags-novzeroupper): Likewise.
9970 * configure: Regenerated.
9971 * sysdeps/i386/configure: Likewise.
9972 * sysdeps/mach/configure: Likewise.
9973 * sysdeps/sparc/configure: Likewise.
9974 * sysdeps/x86_64/configure: Likewise.
9976 2013-03-20 Roland McGrath <roland@hack.frob.com>
9979 * locale/programs/localedef.c (options): Put N_ translation marker
9980 on argument names, not just descriptions.
9982 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9984 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
9986 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
9989 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
9991 2013-03-19 Roland McGrath <roland@hack.frob.com>
9993 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
9994 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
9995 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
9996 [!BEFORE_ABORT] (before_abort): New function.
9997 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
9998 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
9999 (writev_for_fatal): New function.
10000 (WRITEV_FOR_FATAL): New macro; call that.
10001 (backtrace_and_maps): New function.
10002 (BEFORE_ABORT): New macro; call that.
10003 (struct str_list): Type removed.
10004 (__libc_message, __libc_fatal): Functions removed.
10005 Include <sysdeps/posix/libc_fatal.c> instead.
10007 2013-03-19 Joseph Myers <joseph@codesourcery.com>
10009 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
10011 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
10014 2013-03-19 Andreas Schwab <schwab@suse.de>
10016 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
10017 * sysdeps/gnu/configure: Regenerate.
10019 * configure.in: Substitute libc_cv_rtlddir.
10020 * configure: Regenerate.
10021 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
10022 * Makeconfig (rtlddir, inst_rtlddir): New variables.
10023 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
10024 * elf/Makefile (install-others, CFLAGS-interp.c)
10025 (ldso_install, common-ldd-rewrite): Likewise.
10026 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
10027 $(inst_slibdir)/$(rtld-installed-name).
10028 * scripts/rellns-sh: Add -p option.
10029 * Makerules (make-shlib-link): Use rellns-sh to get relative name
10032 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10034 * manual/nptl.texi: Renamed to ...
10035 * manual/threads.texi: ... this.
10036 * manual/Makefile (chapters): Update.
10038 2013-03-18 Roland McGrath <roland@hack.frob.com>
10041 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
10042 on argument names, not just descriptions.
10043 * malloc/memusagestat.c (options): Likewise.
10044 * nss/getent.c (options): Likewise.
10046 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
10049 * iconv/iconv_prog.c (options): Put N_ translation marker
10050 on argument names, not just descriptions.
10051 * iconv/iconvconfig.c (options): Likewise.
10053 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
10055 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
10056 implementation which is faster on all x86_64 architectures.
10057 Tested on AMD, Intel Nehalem, SNB, IVB.
10058 * sysdeps/x86_64/strnlen.S: Likewise.
10060 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10061 Remove all multiarch strlen and strnlen versions.
10062 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10063 Remove strlen and strnlen related parts.
10065 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
10066 Inline strlen part.
10067 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
10069 * sysdeps/x86_64/multiarch/strlen.S: Remove.
10070 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
10071 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
10072 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
10073 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
10074 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
10076 2013-03-17 Carlos O'Donell <carlos@redhat.com>
10078 * manual/memory.texi (Malloc Tunable Parameters):
10079 Sort parameters alphabetically. Add comments for missing entries.
10081 2013-03-17 David S. Miller <davem@davemloft.net>
10083 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10085 2013-03-16 Joseph Myers <joseph@codesourcery.com>
10088 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
10089 for arguments at most half maximum finite value.
10090 * math/libm-test.inc (j0_test): Add more tests.
10091 (j1_test): Likewise.
10092 (y0_test): Likewise.
10093 (y1_test): Likewise.
10094 * sysdeps/i386/fpu/libm-test-ulps: Update.
10095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10098 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
10099 1 / x and functions P and Q for arguments above 0x1p256L.
10100 (__ieee754_y0l): Likewise.
10101 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
10102 (__ieee754_y1l): Likewise.
10103 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
10104 (j1_test): Likewise.
10105 (y0_test): Likewise.
10106 (y1_test): Likewise.
10108 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
10110 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
10113 2013-03-15 Roland McGrath <roland@hack.frob.com>
10115 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
10116 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
10117 zero since it's initialized to EXEC_PAGESIZE.
10119 * sysdeps/unix/sysv/linux/ldsodefs.h
10120 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
10121 * sysdeps/generic/ldsodefs.h: ... here.
10123 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
10125 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
10127 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
10129 * math/test-snan.c: Renamed from
10130 sysdeps/powerpc/fpu/test-powerpc-snan.c.
10131 * math/Makefile (tests): Add test-snan.
10132 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
10135 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
10136 SUFFIX. Initialize qNaN_var with __builtin_nan family of
10138 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
10139 __builtin_nan family of functions.
10140 * math/libm-test.inc (initialize): Initialize qnan_value with
10141 __builtin_nan family of functions.
10142 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
10144 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
10146 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
10147 storage class. Initialize qNaN_var and sNaN_var with
10148 __builtin_nan and __builtin_nans families of functions,
10151 * math/libm-test.inc (acosh_test): Also test with qNaN input.
10152 (sqrt_test): Remove duplicate test with qNaN input.
10153 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
10154 (round_test, signbit_test, significand_test): Note missing +/-Inf
10155 as well as qNaN tests.
10157 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
10158 qNaN_var. Fix a few strings, too.
10159 * math/libm-test.inc (nan_value): Rename to qnan_value.
10160 * math/gen-libm-test.pl (%beautify): Adjust to that.
10161 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
10162 * math/test-misc.c (main): Likewise.
10163 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
10164 to __qnan_bytes, and __qnan_union, respectively.
10165 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
10167 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
10168 and lqnanval, respectively.
10169 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
10170 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
10171 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
10172 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
10174 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
10175 * math/test-misc.c (main) [__x86_64__]: Enable test for long
10178 * math/test-misc.c (main): Fix copy'n'pastos.
10179 * misc/tst-efgcvt.c (special): Likewise.
10181 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
10182 Remove declarations.
10184 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10186 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
10187 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
10188 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
10189 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
10191 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10193 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
10194 macro to return vdso values correctly in IFUNC implementations.
10195 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10196 Optimization by using IFUNC.
10198 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10199 Richard Henderson <rth@redhat.com>
10200 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10202 * Makefile.in (bench): New target.
10203 * NEWS: Mention the benchmark framework.
10204 * Rules (bench): Likewise.
10205 (binaries-bench): Generate binaries for functions to
10207 * benchtests/Makefile: New makefile for benchmark tests.
10208 * benchtests/bench-skeleton.c: New skeleton file for benchmark
10210 * benchtests/exp-inputs: New input file for EXP function.
10211 * benchtests/pow-inputs: New input file for POW function.
10212 * scripts/bench.pl: New script to generate source files for
10213 benchmark programs.
10215 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10217 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10218 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
10219 computations on mantissa. Use macros for rounding and
10221 (denorm): Likewise.
10222 (__dbl_mp): Likewise.
10223 (add_magnitudes): Likewise.
10224 (sub_magnitudes): Likewise.
10227 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
10228 powers of two in terms of TWOPOW macro.
10229 (mp_no): Make type of mantissa as MANTISSA_T.
10230 [!RADIXI]: Define RADIXI.
10231 [!TWO52]: Define TWO52.
10232 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10234 * manual/nptl.texi (cindex): Modify threads to pthreads.
10236 2013-03-15 Joseph Myers <joseph@codesourcery.com>
10238 * sysdeps/x86_64/preconfigure: Regenerated.
10240 2013-03-14 Joseph Myers <joseph@codesourcery.com>
10243 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
10245 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
10246 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
10248 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
10249 * math/libm-test.inc (j0_test): Do not allow one spurious
10250 underflow exception.
10251 (y1_test): Likewise.
10253 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10255 * manual/Makefile (chapters): Add nptl.
10256 * manual/debug.texi (Debugging Support): Add link to Threads
10258 * manual/nptl.texi: New file.
10260 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
10262 2013-03-14 Petr Baudis <pasky@ucw.cz>
10264 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
10265 for non-NULL pointer before the memory validity test. Pointed
10266 out by Holger Brunck <holger.brunck@keymile.com>.
10268 2013-03-13 Andreas Schwab <schwab@suse.de>
10270 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
10273 2013-03-13 Joseph Myers <joseph@codesourcery.com>
10275 * timezone/zic.c: Update from tzcode 2013b.
10277 2013-03-12 Carlos O'Donell <carlos@redhat.com>
10279 * manual/install.texi (Configuring and compiling):
10280 Mention i686 and i586.
10281 * INSTALL: Regenerate.
10283 2013-03-12 Roland McGrath <roland@hack.frob.com>
10285 * sysdeps/init_array/elf-init.c: New file.
10287 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
10288 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
10290 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
10291 __gmon_start__ as global, but as static with a .preinit_array pointer.
10292 * sysdeps/init_array/gmon-start.c: New file. Use that.
10293 * sysdeps/init_array/crti.S: New file, empty except for comments.
10294 * sysdeps/init_array/crtn.S: Likewise.
10296 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
10298 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
10300 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10301 Remove Prefer_SSE_for_memop.
10302 * sysdeps/x86_64/multiarch/init-arch.h: Remove
10303 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
10304 HAS_PREFER_SSE_FOR_MEMOP.
10305 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
10307 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10308 Remove bzero, memset ifunc support.
10309 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
10310 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
10311 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10312 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10314 2013-03-11 Andreas Schwab <schwab@suse.de>
10317 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
10319 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
10320 (GLIBC_2.16): Remove pthread_atfork.
10322 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
10324 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
10325 (ptestcases.h): Likewise.
10327 2013-03-08 Roland McGrath <roland@hack.frob.com>
10329 * Makeconfig ($(common-objpfx)config.status): Depend on
10330 sysdeps/*/preconfigure{,.in} too.
10332 2013-03-08 Joseph Myers <joseph@codesourcery.com>
10334 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
10335 (__free_hook): Use void * instead of __malloc_ptr_t.
10336 (__malloc_hook): Likewise.
10337 (__realloc_hook): Likewise.
10338 (__memalign_hook): Likewise.
10339 (__after_morecore_hook): Likewise.
10340 * malloc/arena.c (save_malloc_hook): Likewise.
10341 (save_free_hook): Likewise.
10342 * malloc/hooks.c (malloc_hook_ini): Likewise.
10343 (realloc_hook_ini): Likewise.
10344 (memalign_hook_ini): Likewise.
10345 * malloc/malloc.c (malloc_hook_ini): Likewise.
10346 (realloc_hook_ini): Likewise.
10347 (memalign_hook_ini): Likewise.
10348 (__free_hook): Likewise.
10349 (__malloc_hook): Likewise.
10350 (__realloc_hook): Likewise.
10351 (__memalign_hook): Likewise.
10352 (__libc_malloc): Likewise.
10353 (__libc_free): Likewise.
10354 (__libc_realloc): Likewise.
10355 (__libc_memalign): Likewise.
10356 (__libc_valloc): Likewise.
10357 (__libc_pvalloc): Likewise.
10358 (__libc_calloc): Likewise.
10359 (__posix_memalign): Likewise.
10360 * malloc/morecore.c (__sbrk): Likewise.
10361 (__default_morecore): Likewise.
10363 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
10365 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
10366 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
10367 __malloc_ptrdiff_t.
10369 * malloc/malloc.h (__malloc_size_t): Remove macro.
10370 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
10372 (old_memalign_hook): Likewise.
10373 (old_realloc_hook): Likewise.
10374 (struct hdr): Likewise.
10376 (mallochook): Likewise.
10377 (memalignhook): Likewise.
10378 (reallochook): Likewise.
10379 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
10380 (tr_old_realloc_hook): Likewise.
10381 (tr_old_memalign_hook): Likewise.
10382 (tr_mallochook): Likewise.
10383 (tr_reallochook): Likewise.
10384 (tr_memalignhook): Likewise.
10386 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10388 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
10389 default_ldbl_pack and using as default implementation.
10390 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
10392 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
10393 redundant definition.
10394 (ldbl_insert_mantissa): Likewise.
10395 (ldbl_canonicalize): Likewise.
10396 (ldbl_nearbyint): Likewise.
10397 (ldbl_pack): Rename to ldbl_pack_ppc.
10398 (ldbl_unpack): Rename to ldbl_unpack_ppc.
10399 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
10400 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
10402 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10404 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
10405 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
10406 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
10407 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
10408 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
10409 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
10410 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
10411 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
10413 2013-03-07 Andreas Jaeger <aj@suse.de>
10415 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10418 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
10420 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
10421 Include mpa.h and declare __MPEXP.
10422 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
10423 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
10424 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
10425 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
10426 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
10427 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
10428 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
10430 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
10431 (__slowpow): Use long double EXPL and LOGL functions to
10433 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
10434 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
10435 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
10436 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
10437 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
10438 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
10440 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
10441 intermediate variable to calculate exponent.
10443 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
10447 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
10448 [!NO__SQR]: Define __sqr.
10449 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
10450 and NO__SQR. Remove all code except __mul and __sqr. Include
10451 sysdeps/ieee754/dbl-64/mpa.c.
10452 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10455 * posix/Makefile (tests): Add tst-pathconf.
10456 * posix/tst-pathconf.c: New test case.
10457 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
10459 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
10461 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
10463 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
10465 2013-03-06 Andreas Jaeger <aj@suse.de>
10467 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
10468 definition via __MAP_ANONYMOUS.
10470 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
10471 it's not part of Linux headers.
10473 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
10474 (MAP_HUGE_MASK): Define.
10476 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10478 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10479 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10481 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10482 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10484 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10485 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
10487 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10489 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
10490 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
10491 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
10492 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
10493 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
10494 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
10496 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10499 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10500 Handle f2fs and efivarfs.
10502 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
10505 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
10506 (EFIVARFS_MAGIC): Add.
10507 (F2FS_LINK_MAX): Add.
10509 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10511 * stdio-common/vfprintf.c: Replace __builtin_expect with
10514 2013-03-06 Joseph Myers <joseph@codesourcery.com>
10517 * sysdeps/generic/bp-sym.h: Remove file.
10518 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
10519 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
10520 <bp-sym.h> and <bp-asm.h>.
10521 (__longjmp): Don't use BP_SYM.
10522 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
10524 (memcpy): Don't use BP_SYM.
10525 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
10526 <bp-sym.h> and <bp-asm.h>.
10527 (memcpy): Don't use BP_SYM.
10528 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
10530 (memcpy): Don't use BP_SYM.
10531 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
10533 (memset): Don't use BP_SYM.
10534 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10535 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10536 (__bzero): Don't use BP_SYM.
10537 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10538 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10539 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
10540 <bp-sym.h> and <bp-asm.h>.
10541 (memcmp): Don't use BP_SYM. Remove comment about bounded
10543 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
10544 <bp-sym.h> and <bp-asm.h>.
10545 (memcpy): Don't use BP_SYM.
10546 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
10547 <bp-sym.h> and <bp-asm.h>.
10548 (memset): Don't use BP_SYM.
10549 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10550 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10551 (__bzero): Don't use BP_SYM.
10552 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10553 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10554 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
10555 <bp-sym.h> and <bp-asm.h>.
10556 (strncmp): Don't use BP_SYM. Remove comment about bounded
10558 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
10559 <bp-sym.h> and <bp-asm.h>.
10560 (memcpy): Don't use BP_SYM.
10561 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
10562 <bp-sym.h> and <bp-asm.h>.
10563 (memset): Don't use BP_SYM.
10564 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10565 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10566 (__bzero): Don't use BP_SYM.
10567 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10568 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10569 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
10570 <bp-sym.h> and <bp-asm.h>.
10571 (__memchr): Don't use BP_SYM.
10572 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
10573 <bp-sym.h> and <bp-asm.h>.
10574 (memcmp): Don't use BP_SYM. Remove comment about bounded
10576 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
10577 <bp-sym.h> and <bp-asm.h>.
10578 (memcpy): Don't use BP_SYM.
10579 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
10580 <bp-sym.h> and <bp-asm.h>.
10581 (__mempcpy): Don't use BP_SYM.
10582 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
10583 <bp-sym.h> and <bp-asm.h>.
10584 (__memrchr): Don't use BP_SYM.
10585 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
10586 <bp-sym.h> and <bp-asm.h>.
10587 (memset): Don't use BP_SYM.
10588 (__bzero): Likewise.
10589 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
10590 <bp-sym.h> and <bp-asm.h>.
10591 (__rawmemchr): Don't use BP_SYM.
10592 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
10593 <bp-sym.h> and <bp-asm.h>.
10594 (__STRCMP): Don't use BP_SYM.
10595 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
10596 <bp-sym.h> and <bp-asm.h>.
10597 (strchr): Don't use BP_SYM.
10598 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
10599 <bp-sym.h> and <bp-asm.h>.
10600 (__strchrnul): Don't use BP_SYM.
10601 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
10602 <bp-sym.h> and <bp-asm.h>.
10603 (strlen): Don't use BP_SYM.
10604 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
10605 <bp-sym.h> and <bp-asm.h>.
10606 (strncmp): Don't use BP_SYM. Remove comment about bounded
10608 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
10609 <bp-sym.h> and <bp-asm.h>.
10610 (__strnlen): Don't use BP_SYM.
10611 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
10612 <bp-sym.h> and <bp-asm.h>.
10613 (__GI__setjmp): Don't use BP_SYM.
10614 (_setjmp): Likewise.
10615 (__sigsetjmp): Likewise.
10616 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
10617 (L(start_addresses)): Don't use BP_SYM.
10618 (_start): Likewise.
10619 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
10621 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
10622 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
10623 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10624 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10625 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
10627 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
10628 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
10629 about bounded pointers.
10630 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10631 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10632 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
10634 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
10635 about bounded pointers. Remove GKM FIXME comments.
10636 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10637 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
10639 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
10640 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
10641 Remove GKM FIXME comments.
10642 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10643 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10644 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
10646 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
10647 about bounded pointers. Remove GKM FIXME comment.
10648 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
10650 (strncmp): Don't use BP_SYM. Remove comment about bounded
10652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
10653 <bp-sym.h> and <bp-asm.h>.
10654 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
10655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
10656 <bp-sym.h> and <bp-asm.h>.
10657 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
10660 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10662 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
10665 2013-03-05 David S. Miller <davem@davemloft.net>
10667 * po/es.po: Update from translation team.
10669 2013-03-05 Andreas Jaeger <aj@suse.de>
10671 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
10672 <bits/mman-linux.h>.
10673 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10675 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
10676 <bits/mman-linux.h> to end of file.
10677 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10679 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
10680 <bits/mman-linux.h> to end of file.
10681 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10683 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
10684 <bits/mman-linux.h> to end of file.
10686 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
10687 (MCL_CURRENT, MCL_FUTURE): Define here.
10689 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10692 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
10694 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10696 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10698 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
10699 fourth parameter needed for rt_sigprocmask syscall.
10700 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
10701 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
10702 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
10703 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
10704 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
10705 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
10707 2013-03-04 Joseph Myers <joseph@codesourcery.com>
10710 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
10711 comment about bounded pointers.
10712 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
10713 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
10715 2013-03-04 Andreas Jaeger <aj@suse.de>
10717 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
10718 common definitions.
10720 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
10721 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
10722 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
10723 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10724 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10725 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10727 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10730 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
10731 __ieee754_sqrl instead of __sqrl.
10733 2013-03-01 Joseph Myers <joseph@codesourcery.com>
10735 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
10736 * sysdeps/powerpc/fpu_control.h: ... here.
10737 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
10738 * sysdeps/powerpc/bits/fenvinline.h: ... here.
10739 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
10740 * sysdeps/powerpc/bits/mathinline.h: ... here.
10742 2013-03-01 Roland McGrath <roland@hack.frob.com>
10744 * elf/dl-hwcaps.c (_dl_important_hwcaps):
10745 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
10746 to just [NEED_DL_SYSINFO_DSO].
10747 * elf/dl-support.c: Likewise.
10748 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
10749 * elf/rtld.c (dl_main): Likewise.
10750 * elf/setup-vdso.h (setup_vdso): Likewise.
10751 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
10752 * sysdeps/unix/sysv/linux/dl-sysdep.c
10753 (_dl_discover_osversion): Likewise.
10755 2013-03-01 Carlos O'Donell <carlos@redhat.com>
10757 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
10758 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
10760 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
10762 * NEWS: Mention libm performance improvements and non-x86 PI
10765 * csu/libc-start.c (__pthread_initialize_minimal): Change
10766 function arguments.
10767 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
10769 2013-02-28 Joseph Myers <joseph@codesourcery.com>
10772 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
10773 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
10774 <bp-sym.h> and <bp-asm.h>.
10775 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10776 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
10778 (memcpy): Don't use BP_SYM.
10779 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
10781 (__mpn_add_n): Don't use BP_SYM.
10782 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
10783 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
10785 (__mpn_addmul_1): Don't use BP_SYM.
10786 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10787 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
10789 (_setjmp): Don't use BP_SYM.
10790 (__novmx_setjmp): Likewise.
10791 (__GI__setjmp): Likewise.
10792 (__vmx_setjmp): Likewise.
10793 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
10795 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
10796 (__bzero): Don't use BP_SYM.
10797 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10798 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10799 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
10800 <bp-sym.h> and <bp-asm.h>.
10801 (memcpy): Don't use BP_SYM.
10802 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
10803 <bp-sym.h> and <bp-asm.h>.
10804 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10805 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
10806 <bp-sym.h> and <bp-asm.h>.
10807 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10808 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
10810 (__mpn_lshift): Don't use BP_SYM.
10811 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10812 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
10814 (memset): Don't use BP_SYM.
10815 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10816 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10817 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
10819 (__mpn_mul_1): Don't use BP_SYM.
10820 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10821 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
10822 <bp-sym.h> and <bp-asm.h>.
10823 (memcmp): Don't use BP_SYM.
10824 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
10825 <bp-sym.h> and <bp-asm.h>.
10826 (memcpy): Don't use BP_SYM.
10827 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
10828 <bp-sym.h> and <bp-asm.h>.
10829 (memset): Don't use BP_SYM.
10830 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
10831 <bp-sym.h> and <bp-asm.h>.
10832 (strncmp): Don't use BP_SYM.
10833 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
10834 <bp-sym.h> and <bp-asm.h>.
10835 (memcpy): Don't use BP_SYM.
10836 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
10837 <bp-sym.h> and <bp-asm.h>.
10838 (memset): Don't use BP_SYM.
10839 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
10840 <bp-sym.h> and <bp-asm.h>.
10841 (__memchr): Don't use BP_SYM.
10842 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
10843 <bp-sym.h> and <bp-asm.h>.
10844 (memcmp): Don't use BP_SYM.
10845 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
10846 <bp-sym.h> and <bp-asm.h>.
10847 (memcpy): Don't use BP_SYM.
10848 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
10849 <bp-sym.h> and <bp-asm.h>.
10850 (__mempcpy): Don't use BP_SYM.
10851 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
10852 <bp-sym.h> and <bp-asm.h>.
10853 (__memrchr): Don't use BP_SYM.
10854 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
10855 <bp-sym.h> and <bp-asm.h>.
10856 (memset): Don't use BP_SYM.
10857 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
10858 <bp-sym.h> and <bp-asm.h>.
10859 (__rawmemchr): Don't use BP_SYM.
10860 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
10861 <bp-sym.h> and <bp-asm.h>.
10862 (__STRCMP): Don't use BP_SYM.
10863 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
10864 <bp-sym.h> and <bp-asm.h>.
10865 (strchr): Don't use BP_SYM.
10866 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
10867 <bp-sym.h> and <bp-asm.h>.
10868 (__strchrnul): Don't use BP_SYM.
10869 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
10870 <bp-sym.h> and <bp-asm.h>.
10871 (strlen): Don't use BP_SYM.
10872 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
10873 <bp-sym.h> and <bp-asm.h>.
10874 (strncmp): Don't use BP_SYM.
10875 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
10876 <bp-sym.h> and <bp-asm.h>.
10877 (__strnlen): Don't use BP_SYM.
10878 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
10880 (__mpn_rshift): Don't use BP_SYM.
10881 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10882 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
10883 <bp-sym.h> and <bp-asm.h>.
10884 (__sigsetjmp): Don't use BP_SYM.
10885 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
10886 (L(start_addresses)): Don't use BP_SYM.
10887 (_start): Likewise.
10888 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
10890 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
10891 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10892 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10893 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
10895 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
10896 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10897 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10898 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
10900 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
10902 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10903 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
10905 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
10907 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10908 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10909 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
10911 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
10913 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
10915 (strncmp): Don't use BP_SYM,
10916 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
10918 (__mpn_sub_n): Don't use BP_SYM.
10919 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10920 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
10922 (__mpn_submul_1): Don't use BP_SYM.
10923 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
10925 <bp-sym.h> and <bp-asm.h>.
10926 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
10927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
10928 <bp-sym.h> and <bp-asm.h>.
10929 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
10932 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10934 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
10935 Use ZK to minimize writes to Z.
10936 (sub_magnitudes): Simplify code a bit.
10937 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
10938 Use ZK to minimize writes to Z.
10939 (sub_magnitudes): Simplify code a bit.
10941 2013-02-27 Roland McGrath <roland@hack.frob.com>
10943 * csu/gmon-start.c: Add special exception to license text.
10945 2013-02-27 Richard Henderson <rth@redhat.com>
10947 * scripts/config.guess: Update from config.git.
10948 * scripts/config.sub: Likewise.
10950 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10952 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
10954 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
10956 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
10958 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
10960 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
10962 2013-02-26 Roland McGrath <roland@hack.frob.com>
10964 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
10965 [$(build-shared = yes].
10967 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10969 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
10970 (__mul): Reduce iterations for calculating mantissa.
10972 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
10974 (__mpranred): Likewise.
10977 * malloc/memusagestat.c (main): Draw graphs for heap and stack
10978 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
10980 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
10982 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
10983 Define __attribute__.
10985 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10987 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
10989 * posix/regex_internal.h (__attribute): Remove.
10990 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
10991 (re_string_context_at): Likewise.
10992 (bitset_not): Use __attribute__ and mark function as possibly
10994 (bitset_merge): Likewise.
10995 (bitset_mask): Likewise.
10996 (re_string_char_size_at): Likewise.
10997 (re_string_wchar_at): Likewise.
10998 (re_string_elem_size_at): Likewise.
11000 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11002 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
11006 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
11010 (denorm): Likewise.
11011 (__dbl_mp): Likewise.
11012 (add_magnitudes): Likewise.
11013 (sub_magnitudes): Likewise.
11017 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
11020 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
11023 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
11026 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
11027 up changes with default code.
11028 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
11031 2013-02-24 Allan McRae <allan@archlinux.org>
11033 * manual/socket.texi (The Internet Namespace): Order menu items
11034 to match that in the file.
11036 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
11037 node listing of the info page menu.
11039 2013-02-21 Joseph Myers <joseph@codesourcery.com>
11042 * sysdeps/i386/bp-asm.h: Remove file.
11043 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11044 (PARMS): Do not use macros from bp-asm.h.
11048 (__mpn_add_n): Do not use BP_SYM
11049 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
11051 (PARMS): Do not use macros from bp-asm.h.
11054 (__mpn_addmul_1): Do not use BP_SYM
11055 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
11057 (PARMS): Do not use macros from bp-asm.h.
11058 (SIGMSK): Likewise.
11059 (_setjmp): Likewise. Do not use BP_SYM.
11060 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
11062 (PARMS): Do not use macros from bp-asm.h.
11063 (SIGMSK): Likewise.
11064 (setjmp): Likewise. Do not use BP_SYM.
11065 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
11067 (PARMS): Do not use macros from bp-asm.h.
11068 (__frexp): Do not use BP_SYM.
11070 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
11072 (PARMS): Do not use macros from bp-asm.h.
11073 (__frexpf): Do not use BP_SYM.
11074 (frexpf): Likewise.
11075 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
11077 (PARMS): Do not use macros from bp-asm.h.
11078 (__frexpl): Do not use BP_SYM.
11079 (frexpl): Likewise.
11080 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
11082 (PARMS): Do not use macros from bp-asm.h.
11083 (__remquo): Do not use BP_SYM.
11084 (remquo): Likewise.
11085 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
11087 (PARMS): Do not use macros from bp-asm.h.
11088 (__remquof): Do not use BP_SYM.
11089 (remquof): Likewise.
11090 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
11092 (PARMS): Do not use macros from bp-asm.h.
11093 (__remquol): Do not use BP_SYM.
11094 (remquol): Likewise.
11095 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
11097 (PARMS): Do not use macros from bp-asm.h.
11100 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
11101 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
11103 (PARMS): Do not use macros from bp-asm.h.
11104 (strlen): Do not use BP_SYM.
11105 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
11107 (PARMS): Do not use macros from bp-asm.h.
11111 (__mpn_add_n): Do not use BP_SYM.
11112 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
11114 (PARMS): Do not use macros from bp-asm.h.
11117 (__mpn_addmul_1): Do not use BP_SYM.
11118 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
11121 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
11123 (PARMS): Do not use macros from bp-asm.h.
11126 (__mpn_lshift): Do not use BP_SYM.
11127 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
11129 (PARMS): Do not use macros from bp-asm.h.
11133 (memcpy): Likewise. Do not use BP_SYM.
11134 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
11135 libc_hidden_def and weak_alias.
11136 (mempcpy): Do not use BP_SYM in weak_alias.
11137 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
11139 (PARMS): Do not use macros from bp-asm.h.
11142 [!BZERO_P] (CHR): Likewise.
11143 (memset): Likewise. Do not use BP_SYM.
11144 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
11146 (PARMS): Do not use macros from bp-asm.h.
11149 (__mpn_mul_1): Do not use BP_SYM.
11150 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
11152 (PARMS): Do not use macros from bp-asm.h.
11155 (__mpn_rshift): Do not use BP_SYM.
11156 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
11158 (PARMS): Do not use macros from bp-asm.h.
11161 (strchr): Likewise. Do not use BP_SYM.
11162 (index): Do not use BP_SYM in weak_alias.
11163 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
11165 (PARMS): Do not use macros from bp-asm.h.
11168 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
11169 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
11171 (PARMS): Do not use macros from bp-asm.h.
11172 (strlen): Do not use BP_SYM.
11173 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
11175 (PARMS): Do not use macros from bp-asm.h.
11179 (__mpn_sub_n): Do not use BP_SYM.
11180 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
11182 (PARMS): Do not use macros from bp-asm.h.
11185 (__mpn_submul_1): Do not use BP_SYM.
11186 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
11188 (PARMS): Do not use macros from bp-asm.h.
11192 (__mpn_add_n): Do not use BP_SYM.
11193 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
11196 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
11198 (PARMS): Do not use macros from bp-asm.h.
11201 (memcmp): Do not use BP_SYM.
11202 (bcmp): Do not use BP_SYM in weak_alias.
11203 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
11205 (PARMS): Do not use macros from bp-asm.h.
11209 (memcpy): Likewise. Do not use BP_SYM.
11210 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
11212 (PARMS): Do not use macros from bp-asm.h.
11216 (memmove): Likewise. Do not use BP_SYM.
11217 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
11219 (PARMS): Do not use macros from bp-asm.h.
11223 (__mempcpy): Likewise. Do not use BP_SYM.
11224 (mempcpy): Do not use BP_SYM in weak_alias.
11225 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
11227 (PARMS): Do not use macros from bp-asm.h.
11230 [!BZERO_P] (CHR): Likewise.
11231 (memset): Likewise. Do not use BP_SYM.
11232 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
11234 (PARMS): Do not use macros from bp-asm.h.
11236 (strcmp): Do not use BP_SYM.
11237 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
11239 (PARMS): Do not use macros from bp-asm.h.
11242 [USE_AS_STRTOK_R] (SAVE): Likewise.
11243 (FUNCTION): Likewise. Do not use BP_SYM.
11244 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
11246 (strtok_r): Likewise.
11247 (__GI___strtok_r): Likewise.
11248 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
11249 (PARMS): Do not use macros from bp-asm.h.
11252 (__mpn_lshift): Do not use BP_SYM.
11253 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
11254 (PARMS): Do not use macros from bp-asm.h.
11257 (__memchr): Do not use BP_SYM.
11258 (memchr): Do not use BP_SYM in weak_alias.
11259 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
11260 (PARMS): Do not use macros from bp-asm.h.
11263 (memcmp): Do not use BP_SYM.
11264 (bcmp): Do not use BP_SYM in weak_alias.
11265 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
11266 (PARMS): Do not use macros from bp-asm.h.
11269 (__mpn_mul_1): Do not use BP_SYM.
11270 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
11272 (PARMS): Do not use macros from bp-asm.h.
11275 (__rawmemchr): Do not use BP_SYM.
11276 (rawmemchr): Do not use BP_SYM in weak_alias.
11277 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
11278 (PARMS): Do not use macros from bp-asm.h.
11281 (__mpn_rshift): Do not use BP_SYM.
11282 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
11283 (PARMS): Do not use macros from bp-asm.h.
11284 (SIGMSK): Likewise.
11285 (__sigsetjmp): Likewise. Do not use BP_SYM.
11286 * sysdeps/i386/start.S: Do not include "bp-sym.h".
11287 (_start): Do not use BP_SYM.
11288 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
11289 (PARMS): Do not use macros from bp-asm.h.
11292 (__stpcpy): Likewise. Do not use BP_SYM.
11293 (stpcpy): Do not use BP_SYM in weak_alias.
11294 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
11296 (PARMS): Do not use macros from bp-asm.h.
11300 (__stpncpy): Likewise. Do not use BP_SYM.
11301 (stpncpy): Do not use BP_SYM in weak_alias.
11302 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
11303 (PARMS): Do not use macros from bp-asm.h.
11306 (strchr): Likewise. Do not use BP_SYM.
11307 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
11309 (PARMS): Do not use macros from bp-asm.h.
11312 (__strchrnul): Likewise. Do not use BP_SYM.
11313 (strchrnul): Do not use BP_SYM in weak_alias.
11314 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
11316 (PARMS): Do not use macros from bp-asm.h.
11318 (strcspn): Do not use BP_SYM.
11319 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
11321 (PARMS): Do not use macros from bp-asm.h.
11324 (strpbrk): Likewise. Do not use BP_SYM.
11325 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
11327 (PARMS): Do not use macros from bp-asm.h.
11330 (strrchr): Likewise. Do not use BP_SYM.
11331 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
11332 (PARMS): Do not use macros from bp-asm.h.
11334 (strspn): Do not use BP_SYM.
11335 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
11336 (PARMS): Do not use macros from bp-asm.h.
11340 (FUNCTION): Likewise. Do not use BP_SYM.
11341 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
11343 (strtok_r): Likewise.
11344 (__GI___strtok_r): Likewise.
11345 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11346 (PARMS): Do not use macros from bp-asm.h.
11350 (__mpn_sub_n): Do not use BP_SYM.
11351 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
11353 (PARMS): Do not use macros from bp-asm.h.
11356 (__mpn_submul_1): Do not use BP_SYM.
11357 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
11359 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
11361 (PARMS): Do not use macros from bp-asm.h.
11366 (__clone): Do not use BP_SYM.
11367 (clone): Do not use BP_SYM in weak_alias.
11368 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
11370 (PARMS): Do not use macros from bp-asm.h.
11372 (__mmap64): Do not use BP_SYM.
11373 (mmap64): Do not use BP_SYM in weak_alias.
11374 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
11375 <bp-sym.h> and <bp-asm.h>.
11376 (PARMS): Do not use macros from bp-asm.h.
11377 (__posix_fadvise64_l64): Do not use BP_SYM.
11378 * sysdeps/unix/sysv/linux/i386/semtimedop.S
11379 (PARMS): Do not use macros from bp-asm.h.
11381 (semtimedop): Do not use BP_SYM.
11382 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
11385 2013-02-21 Allan McRae <allan@archlinux.org>
11387 * manual/message.texi (Charset conversion in gettext):
11388 Move @end statement to beginning of line.
11390 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11392 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
11394 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
11397 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
11398 (denorm): Likewise.
11399 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
11400 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
11402 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11404 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
11405 tail-call to the resolved function if pltexit isn't needed.
11407 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11409 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
11410 or Y being zero as being unlikely.
11411 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11414 2013-02-20 Carlos O'Donell <carlos@redhat.com>
11416 * manual/nss.texi (System Databases and Name Service Switch):
11417 Remove frobnicate @pxref.
11419 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
11421 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
11422 __attribute__ ((unused)) to __attribute__ ((__unused__)).
11424 2013-02-20 Petr Machata <pmachata@redhat.com>
11426 * elf/elf.h (R_ARM_TARGET1): New macro.
11427 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
11428 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
11429 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
11430 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
11431 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
11432 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
11433 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
11434 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
11435 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
11436 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
11437 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
11438 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
11439 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
11440 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
11441 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
11442 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
11443 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
11444 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
11445 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
11446 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
11447 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
11448 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
11449 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
11450 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
11451 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
11452 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
11453 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
11454 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
11455 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
11456 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
11457 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
11458 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
11459 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
11460 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
11461 (R_ARM_THM_GOT_BREL12): Likewise.
11462 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
11463 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
11464 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
11465 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
11466 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
11467 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
11468 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
11469 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
11470 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
11472 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
11474 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
11475 __attribute_used__ to __attribute__ ((unused)).
11477 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11479 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
11481 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
11482 comment formatting.
11483 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
11485 2013-02-19 Joseph Myers <joseph@codesourcery.com>
11488 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
11490 (ENTER): Remove both macro definitions.
11492 (CHECK_BOUNDS_LOW): Likewise.
11493 (CHECK_BOUNDS_HIGH): Likewise.
11494 (CHECK_BOUNDS_BOTH): Likewise.
11495 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
11496 (RETURN_BOUNDED_POINTER): Likewise.
11497 (RETURN_NULL_BOUNDED_POINTER): Likewise.
11498 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
11499 (POP_ERRNO_LOCATION_RETURN): Likewise.
11500 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
11501 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11502 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
11504 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11505 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
11506 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
11507 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
11508 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
11509 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
11510 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
11511 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
11512 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
11513 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
11514 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
11515 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
11516 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11517 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
11519 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11520 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
11522 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11523 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
11524 * sysdeps/i386/i586/memset.S (memset): Likewise.
11525 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
11526 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11527 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
11529 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11530 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
11531 Change uses of L(2) to L(out).
11532 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
11533 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
11534 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
11535 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11536 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
11538 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11539 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
11541 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11542 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
11543 (RETURN): Do not use macro LEAVE.
11544 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
11545 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
11546 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
11547 * sysdeps/i386/i686/memset.S (memset): Likewise.
11548 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
11549 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
11550 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11551 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
11553 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11554 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
11555 L(1_2) and L(1_3) into L(1).
11556 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
11557 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
11558 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11559 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
11560 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11561 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
11562 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
11563 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11564 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
11566 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
11567 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11568 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
11569 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
11570 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
11571 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11572 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
11573 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
11574 * sysdeps/i386/strcspn.S (strcspn): Likewise.
11575 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
11576 * sysdeps/i386/strrchr.S (strrchr): Likewise.
11577 * sysdeps/i386/strspn.S (strspn): Likewise.
11578 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
11580 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11581 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
11582 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
11583 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
11584 L(1_3) into L(1_1).
11585 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
11586 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11587 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
11589 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11591 2013-02-19 Jakub Jelinek <jakub@redhat.com>
11593 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
11596 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11598 * math/atest-exp.c (exp_mpn): Remove ROUND.
11599 * math/atest-exp2.c (exp_mpn): Likewise.
11600 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
11602 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
11603 * stdlib/tst-tls-atexit-lib.c: Likewise.
11604 * stdlib/tst-tls-atexit.c: Likewise.
11606 2013-02-18 Mike Frysinger <vapier@gentoo.org>
11608 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
11609 and __attribute_alloc_size__.
11611 2013-02-18 Mike Frysinger <vapier@gentoo.org>
11613 * include/programs/xmalloc.h: Change __attribute_alloc_size to
11614 __attribute_alloc_size__.
11615 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
11616 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
11618 2013-02-18 Mike Frysinger <vapier@gentoo.org>
11620 * include/programs/xmalloc.h: New file.
11621 * catgets/gencat.c: Include it.
11622 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
11623 * elf/pldd.c: Likewise.
11624 * iconv/iconv_charmap.c: Likewise.
11625 * iconv/iconvconfig.c: Likewise.
11626 * iconv/strtab.c: Likewise.
11627 * locale/programs/locale.c: Likewise.
11628 * locale/programs/localedef.h: Likewise.
11629 * locale/programs/simple-hash.c: Likewise.
11630 * nscd/nscd.h: Likewise.
11631 * nss/makedb.c: Likewise.
11632 * sysdeps/generic/ldconfig.h: Likewise.
11634 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11636 * Versions.def: Add GLIBC_2.18.
11637 * include/link.h (struct link_map): New member l_tls_dtor_count.
11638 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
11639 (__call_tls_dtors): Likewise.
11640 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
11641 __cxa_thread_atexit_impl.
11642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11646 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11648 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11650 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11651 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
11653 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
11655 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11656 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
11658 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
11659 (tests): Add test case tst-tls-atexit.
11660 (modules-names): Add shared library for tst-tls-atexit.
11661 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
11662 (GLIBC_PRIVATE): Add __call_tls_dtors.
11663 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
11665 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
11666 * stdlib/tst-tls-atexit.c: New test case.
11667 * stdlib/tst-tls-atexit-lib.c: New test case.
11669 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
11671 * elf/Versions (ld): Add _dl_find_dso_for_object.
11672 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
11673 * elf/dl-open.c (_dl_find_dso_for_object): New function.
11674 (dl_open_worker): Use _dl_find_dso_for_object.
11675 * elf/dl-sym.c (do_sym): Likewise.
11676 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
11678 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11680 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
11681 Syntactic changes only.
11682 (_dl_runtime_profile): Do a tail-call to the resolved function.
11684 2013-02-17 Joseph Myers <joseph@codesourcery.com>
11687 * sysdeps/x86_64/bp-asm.h: Remove file.
11688 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
11689 <bp-sym.h> and <bp-asm.h>.
11690 (__clone): Do not use BP_SYM.
11691 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
11692 <bp-sym.h> and <bp-asm.h>.
11693 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11694 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
11696 (_setjmp): Do not use BP_SYM.
11697 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
11699 (setjmp): Do not use BP_SYM.
11700 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
11702 (mempcpy): Do not use BP_SYM in weak_alias.
11703 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
11705 (strchr): Do not use BP_SYM.
11706 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
11708 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
11709 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
11710 (_start): Do not use BP_SYM.
11711 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
11713 (strcat): Do not use BP_SYM.
11714 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
11716 (STRCMP): Do not use BP_SYM.
11717 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
11719 (STRCPY): Do not use BP_SYM.
11720 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
11722 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
11724 (FUNCTION): Do not use BP_SYM.
11725 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
11727 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
11729 2013-02-17 Andreas Jaeger <aj@suse.de>
11731 * time/Versions: Sort entries.
11732 * string/Versions: Likewise.
11733 * resolv/Versions: Likewise.
11734 * posix/Versions: Likewise.
11735 * iconv/Versions: Likewise.
11736 * elf/Versions: Likewise.
11737 * wcsmbs/Versions: Likewise.
11739 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11741 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
11742 loop termination condition.
11744 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
11745 variable to calculate EZ.
11748 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
11749 the lower precision input.
11751 2013-02-15 Joseph Myers <joseph@codesourcery.com>
11754 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
11755 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
11756 (run-via-rtld-prefix): Do not handle %-bp tests.
11757 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
11758 (all-object-suffixes): Remove .ob.
11759 (bppfx): Remove variable.
11760 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
11761 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
11762 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
11763 [$(build-bounded) = yes] (libtype.ob): Likewise.
11764 * Makerules (elide-routines.ob): Remove variable.
11765 (do-tests-clean): Do not handle *-bp.out.
11766 (common-mostlyclean): Do not handle *-bp and *-bp.out.
11767 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
11768 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
11769 (tests): Do not include $(tests-bp.out).
11770 (xtests): Do not include $(xtests-bp.out).
11771 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
11772 [$(build-bounded) = yes] ($(addprefix
11773 $(objpfx),$(binaries-bounded))): Remove rule.
11774 ($(objpfx)%-bp.out): Remove rule.
11775 * config.make.in (build-bounded): Remove variable.
11776 * crypt/Makefile [$(build-bounded) = yes]
11777 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
11778 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
11779 append to variable.
11780 [$(build-bounded) = yes] (install-lib): Likewise.
11781 [$(build-bounded) = yes] (generated): Likewise.
11782 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
11784 * intl/Makefile [$(build-bounded) = yes]
11785 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
11786 * math/Makefile [$(build-bounded) = yes]
11787 ($(tests:%=$(objpfx)%-bp): Likewise.
11788 * misc/Makefile [$(build-bounded) = yes]
11789 ($(objpfx)tst-tsearch-bp): Likewise.
11790 * nptl/Makeconfig (bounded-thread-library): Remove variable.
11791 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
11793 * string/Makefile (o-objects.ob): Remove variable.
11794 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
11795 (CFLAGS-.ob): Remove variable.
11796 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
11797 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
11798 both definitions of variable.
11799 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
11800 (ASFLAGS-.ob): Remove variable.
11802 2013-02-14 Joseph Myers <joseph@codesourcery.com>
11805 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
11806 Remove __BOUNDED_POINTERS__ from condition.
11807 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
11808 * string/bits/string2.h [!__NO_STRING_INLINES &&
11809 !__BOUNDED_POINTERS__]: Likewise.
11810 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
11812 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
11813 Remove conditional code.
11814 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
11815 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
11816 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
11820 * csu/libc-start.c: Do not include <bp-sym.h>.
11821 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
11822 * elf/dl-open.c: Do not include <bp-sym.h>.
11823 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
11824 * math/fegetenv.c: Do not include <bp-sym.h>.
11825 (fegetenv): Do not use BP_SYM in versioned symbols.
11826 * nptl/sysdeps/pthread/bits/libc-lockP.h
11827 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
11829 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11830 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
11831 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11832 (__pthread_mutex_destroy): Likewise.
11833 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11834 (__pthread_mutex_lock): Likewise.
11835 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11836 (__pthread_mutex_trylock): Likewise.
11837 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11838 (__pthread_mutex_unlock): Likewise.
11839 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11840 (__pthread_mutexattr_init): Likewise.
11841 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11842 (__pthread_mutexattr_destroy): Likewise.
11843 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11844 (__pthread_mutexattr_settype): Likewise.
11845 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11846 (__pthread_rwlock_init): Likewise.
11847 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11848 (__pthread_rwlock_destroy): Likewise.
11849 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11850 (__pthread_rwlock_rdlock): Likewise.
11851 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11852 (__pthread_rwlock_tryrdlock): Likewise.
11853 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11854 (__pthread_rwlock_wrlock): Likewise.
11855 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11856 (__pthread_rwlock_trywrlock): Likewise.
11857 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11858 (__pthread_rwlock_unlock): Likewise.
11859 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11860 (__pthread_key_create): Likewise.
11861 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11862 (__pthread_setspecific): Likewise.
11863 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11864 (__pthread_getspecific): Likewise.
11865 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
11867 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11868 (_pthread_cleanup_push_defer): Likewise.
11869 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11870 (_pthread_cleanup_pop_restore): Likewise.
11871 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11872 (pthread_setcancelstate): Likewise.
11873 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
11875 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
11876 (memchr): Do not use BP_SYM in weak_alias.
11877 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
11878 (fegetenv): Do not use BP_SYM in versioned symbols.
11879 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
11880 (fesetenv): Do not use BP_SYM in versioned symbols.
11881 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
11882 (feupdateenv): Do not use BP_SYM in versioned symbols.
11883 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
11884 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
11885 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
11886 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
11887 (open64): Do not use BP_SYM in weak_alias.
11888 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
11889 (fegetenv): Do not use BP_SYM in versioned symbols.
11890 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
11891 (fesetenv): Do not use BP_SYM in versioned symbols.
11892 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
11893 (feupdateenv): Do not use BP_SYM in versioned symbols.
11894 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
11895 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
11896 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
11897 (feraiseexcept): Do not use BP_SYM in versioned symbols.
11898 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
11899 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
11900 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
11902 (__libc_start_main): Do not use BP_SYM.
11904 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11906 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
11907 redundant return line.
11909 (denorm): Likewise.
11910 (dbl_mp): Likewise.
11911 (sub_magnitudes): Likewise.
11917 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
11919 (denorm): Likewise.
11920 (dbl_mp): Likewise.
11921 (sub_magnitudes): Likewise.
11928 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
11930 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
11931 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
11934 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
11935 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
11936 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
11937 of __mul for squares.
11938 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
11940 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
11942 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
11943 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11945 2013-02-13 Joseph Myers <joseph@codesourcery.com>
11948 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
11950 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
11951 prototype or function definition. Rename ubp_* variables and
11952 parameters. Remove argv definitions conditional on
11953 [__BOUNDED_POINTERS__].
11954 * debug/backtrace.c (__backtrace): Do not use __unbounded.
11955 * elf/dl-runtime.c (_dl_fixup): Likewise.
11956 * include/set-hooks.h (RUN_HOOK): Likewise.
11957 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
11959 * string/strcpy.c (strcpy): Do not use __unbounded.
11960 * sysdeps/generic/frame.h (struct layout): Likewise.
11961 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
11962 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
11963 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
11964 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
11965 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
11966 (__backtrace): Likewise.
11967 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
11969 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
11970 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11971 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
11973 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
11974 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
11975 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11976 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11977 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
11978 Do not use __unbounded.
11979 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
11980 Rename __unboundedrlimits parameter to rlimits in prototype.
11981 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
11982 Do not use __unbounded.
11983 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
11984 not use __ptrvalue.
11985 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11986 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
11987 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
11988 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
11989 __ptrvalue or __unbounded.
11990 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
11991 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
11993 (__new_msgctl): Do not use __ptrvalue.
11994 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
11996 (__libc_msgrcv): Do not use __ptrvalue.
11997 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
11998 startup_info): Do not use __unbounded.
11999 (__libc_start_main): Likewise. Rename ubp_* variables and
12000 parameters. Remove argv definitions conditional on
12001 [__BOUNDED_POINTERS__].
12002 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
12004 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
12006 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
12008 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
12010 (__new_shmctl): Do not use __ptrvalue.
12011 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
12012 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
12014 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
12015 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
12016 (__libc_sigaction): Likewise.
12017 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
12018 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
12020 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12022 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
12024 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
12026 * string/mempcpy.c: Implement by calling memcpy.
12028 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12030 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
12032 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
12035 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
12036 values in the mantissa.
12038 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
12039 minimize writes to Z.
12040 (sub_magnitudes): Simplify code a bit.
12042 2013-02-12 Roland McGrath <roland@hack.frob.com>
12044 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
12045 from the message. The linker prefixes all warnings with that already.
12047 2013-02-12 Andreas Schwab <schwab@suse.de>
12050 * posix/regexec.c (extend_buffers): Add parameter min_len.
12051 (check_matching): Pass minimum needed length.
12052 (clean_state_log_if_needed): Likewise.
12053 (get_subexp): Likewise.
12054 * posix/Makefile (tests): Add bug-regex34.
12055 (bug-regex34-ENV): Define.
12056 * posix/bug-regex34.c: New file.
12059 * posix/regcomp.c (parse_bracket_exp): When looking up collating
12060 elements compare against the byte sequence of it, not its name.
12061 * posix/Makefile (tests): Add bug-regex35.
12062 (bug-regex35-ENV): Define.
12063 * posix/bug-regex35.c: New file.
12065 2013-02-11 Tom de Vries <tom@codesourcery.com>
12067 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
12069 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
12070 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
12071 (CHECK_EOL): Add undef.
12073 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
12075 * bits/stdlib-bsearch.h: New file.
12076 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
12077 * stdlib/stdlib.h: Likewise.
12079 2013-02-11 Roland McGrath <roland@hack.frob.com>
12081 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
12082 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
12084 * manual/search.texi (Array Search Function): Add missing const in
12086 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
12087 declaration to use rlim_t.
12088 (Basic Scheduling Functions): Remove erroneous const from
12089 sched_getparam prototype. Remove erroneous * from
12090 sched_get_priority_max and sched_get_priority_min prototypes.
12091 (Resource Usage): Fix summary @comment on vtimes to refer to
12092 sys/vtimes.h rather than vtimes.h.
12093 Add missing *s in vtimes prototype.
12094 (Limits on Resources): Fix ulimit prototype to return long int.
12095 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
12096 prototypes to use long int rather than double.
12097 (BSD Random): Fix initstate and setstate to use char *, not void *.
12098 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
12099 prototype to make second argument 'struct aiocb64 *const[]'.
12100 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
12101 (Status of AIO Operations): Remove erroneous const in aio_return and
12102 aio_return64 prototypes.
12103 (Synchronizing I/O): Fix sync prototype to return void.
12104 * manual/startup.texi (Suboptions): Remove an erroneous const in
12105 getsubopt prototype.
12106 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
12107 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
12108 use size_t rather than int.
12109 (Scanning All Users): Likewise for getpwent_r.
12110 (Setting Groups): Add missing const to setgroups prototype.
12111 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
12112 * manual/socket.texi (Host Names): Fix gethostbyaddr and
12113 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
12114 'const void *' rather than 'const char *'.
12115 (Host Address Functions): Likewise for inet_ntop.
12116 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
12117 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
12118 ssize_t for return value.
12119 (Sending Data): Likewise for send, sendto, sendmsg.
12120 (Socket Option Functions): Add a missing const in setsockopt prototype.
12121 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
12122 use wchar_t for the argument.
12123 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
12124 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
12126 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
12127 double/float/long double for second argument.
12128 Fix return types of significand, significandf, significandl.
12129 * manual/filesys.texi (Setting Permissions): Use mode_t for second
12130 argument in fchmod prototype.
12131 (File Owner): Use uid_t and gid_t in fchown prototype.
12132 (File Times): Add const to utimes, futimes, and lutimes prototypes.
12133 (Making Special Files): Use mode_t and dev_t in mknod prototype.
12134 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
12135 use 'const struct dirent **' as argument types to CMP function pointer
12137 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
12138 (File Times): Fix summary magic @comment for struct utimbuf and utime
12139 to refer to utime.h, not time.h.
12140 * manual/string.texi (Argz Functions): Add missing const in
12141 argz_extract and argz_next prototypes.
12142 (Finding Tokens in a String): Likewise for basename.
12143 (String/Array Comparison): Fix typo in wcscasecmp prototype.
12144 (Copying and Concatenation): Fix typo in wmemmove prototype.
12145 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
12146 (Signal Stack): Remove erroneous const in sigstack prototype.
12147 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
12149 (Simple Calendar Time): Likewise for stime.
12150 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
12152 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
12153 say sys/sysctl.h instead.
12154 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
12155 and vsyslog prototypes.
12157 2013-02-11 Tom de Vries <tom@codesourcery.com>
12159 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
12162 2013-02-11 Roland McGrath <roland@hack.frob.com>
12164 * misc/sys/mman.h: Fix typo in mremap comment.
12166 2013-02-08 Roland McGrath <roland@hack.frob.com>
12168 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
12169 the '\0' terminator.
12171 2013-02-08 Joseph Myers <joseph@codesourcery.com>
12174 * debug/segfault.c: Don't include <bp-checks.h>.
12175 * sysdeps/generic/bp-checks.h: Remove file.
12176 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
12177 (__GETDENTS): Don't use CHECK_N.
12178 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
12179 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
12180 (__getgroups): Don't use CHECK_N.
12181 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
12182 (setgroups): Don't use CHECK_N.
12183 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
12184 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
12185 (__libc_msgrcv): Don't use CHECK_N.
12186 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
12187 (__libc_msgsnd): Don't use CHECK_N.
12188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
12190 (__libc_pread): Don't use CHECK_N.
12191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
12192 include <bp-checks.h>.
12193 (__libc_pread64): Don't use CHECK_N.
12194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
12195 include <bp-checks.h>.
12196 (__libc_pwrite): Don't use CHECK_N.
12197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
12198 include <bp-checks.h>.
12199 (__libc_pwrite64): Don't use CHECK_N.
12200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
12202 (__libc_pread): Don't use CHECK_N.
12203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
12204 include <bp-checks.h>.
12205 (__libc_pread64): Don't use CHECK_N.
12206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
12207 include <bp-checks.h>.
12208 (__libc_pwrite): Don't use CHECK_N.
12209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
12210 include <bp-checks.h>.
12211 (__libc_pwrite64): Don't use CHECK_N.
12212 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
12213 (do_pread): Don't use CHECK_N.
12214 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
12215 (do_pread64): Don't use CHECK_N.
12216 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
12217 (do_pwrite): Don't use CHECK_N.
12218 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
12219 (do_pwrite64): Don't use CHECK_N.
12220 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
12221 (__libc_readv): Don't use CHECK_N.
12222 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
12223 (semop): Don't use CHECK_N.
12224 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
12226 (semtimedop): Don't use CHECK_N.
12227 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
12228 (__libc_pread): Don't use CHECK_N.
12229 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
12231 (__libc_pread64): Don't use CHECK_N.
12232 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
12234 (__libc_pwrite): Don't use CHECK_N.
12235 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
12237 (__libc_pwrite64): Don't use CHECK_N.
12238 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
12240 (__libc_msgrcv): Don't use CHECK_N.
12241 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
12242 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
12243 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
12244 (__libc_writev): Don't use CHECK_N.
12246 2013-02-08 Roland McGrath <roland@hack.frob.com>
12248 * string/strcpy.c: Removed unused variable.
12250 * Makeconfig (+sysdep-includes): Define with := rather than =.
12251 Use an existing include/ subdir of each sysdeps dir before it.
12253 2013-02-08 Carlos O'Donell <carlos@redhat.com>
12255 * nscd/connection.c (register_traced_file): Comment function.
12256 [HAVE_INOTIFY] (union __inev): Define.
12257 [HAVE_INOTIFY] (inotify_check_files): New function.
12258 [HAVE_INOTIFY] (clear_db_cache): Likewise.
12259 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
12261 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
12263 2013-02-08 Carlos O'Donell <carlos@redhat.com>
12265 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
12266 loaded if not already and that a failure is permanent.
12268 2013-02-08 Carlos O'Donell <carlos@redhat.com>
12271 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
12272 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
12274 2013-02-08 Joseph Myers <joseph@codesourcery.com>
12277 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
12278 (CHECK_1_NULL_OK): Likewise.
12279 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
12280 (__fxstat): Do not use CHECK_1.
12281 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
12283 (___fxstat64): Do not use CHECK_1.
12284 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
12286 (__fxstatat): Do not use CHECK_1.
12287 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
12289 (__fxstatat64): Do not use CHECK_1.
12290 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
12292 (__fxstat): Do not use CHECK_1.
12293 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
12295 (__fxstatat): Do not use CHECK_1.
12296 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12298 (__getresgid): Do not use CHECK_1.
12299 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12301 (__getresuid): Do not use CHECK_1.
12302 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
12304 (__lxstat): Do not use CHECK_1.
12305 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12307 (__old_msgctl): Do not use CHECK_1.
12308 (__new_msgctl): Likewise.
12309 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
12311 (__new_setrlimit): Do not use CHECK_1.
12312 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12314 (__old_shmctl): Do not use CHECK_1.
12315 (__new_shmctl): Likewise.
12316 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
12318 (__xstat): Do not use CHECK_1.
12319 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
12320 (__lxstat): Do not use CHECK_1.
12321 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
12323 (___lxstat64): Do not use CHECK_1.
12324 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
12325 (__old_msgctl): Do not use CHECK_1.
12326 (__new_msgctl): Likewise.
12327 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
12329 (__gettimeofday): Do not use CHECK_1.
12330 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
12331 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
12332 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
12334 (__gettimeofday): Do not use CHECK_1.
12335 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
12336 (__old_shmctl): Do not use CHECK_1_NULL_OK.
12337 (__new_shmctl): Do not use CHECK_1.
12338 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
12340 (do_sigtimedwait): Do not use CHECK_1.
12341 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
12343 (do_sigwaitinfo): Do not use CHECK_1.
12344 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
12346 (msgctl): Do not use CHECK_1.
12347 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
12349 (shmctl): Do not use CHECK_1.
12350 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
12351 (ustat): Do not use CHECK_1.
12352 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
12354 (__fxstat): Do not use CHECK_1.
12355 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
12357 (__fxstatat): Do not use CHECK_1.
12358 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
12360 (__lxstat): Do not use CHECK_1.
12361 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
12363 (__xstat): Do not use CHECK_1.
12364 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
12365 (__xstat): Do not use CHECK_1.
12366 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
12367 (___xstat64): Do not use CHECK_1.
12370 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
12372 (CHECK_BOUNDS_HIGH): Likewise.
12373 * string/strcpy.c: Do not include <bp-checks.h>.
12374 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
12376 2013-02-07 Roland McGrath <roland@hack.frob.com>
12378 * nscd/nscd-client.h (__nscd_drop_map_ref):
12379 Add __attribute__ ((unused)).
12380 * nis/nss-nisplus.h (niserr2nss): Likewise.
12382 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
12383 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
12385 * csu/libc-tls.c (init_static_tls, init_slotinfo):
12386 Remove inline keyword.
12387 * include/rounding-mode.h (round_away): Likewise.
12388 * libio/wfileops.c (adjust_wide_data): Likewise.
12389 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
12390 (__m128i_strloadu_tolower): Likewise.
12391 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
12392 (__m128i_strloadu_tolower): Likewise.
12393 * time/mktime.c (ydhms_diff): Likewise.
12394 * locale/elem-hash.h (elem_hash): Likewise.
12395 * locale/setlocale.c (setdata): Likewise.
12396 * posix/regex_internal.h (re_string_char_size_at): Likewise.
12397 (re_string_wchar_at): Likewise.
12398 (bitset_not, bitset_merge, bitset_mask): Likewise.
12399 [!(__GNUC__ > 3)] (inline): Remove macro.
12400 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
12401 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
12402 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
12403 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
12404 * string/memcmp.c (memcmp_bytes): Likewise.
12405 * locale/programs/locarchive.c (compute_hashval): Likewise.
12406 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
12407 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
12408 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
12409 * nss/getent.c (print_rpc, print_protocols): Likewise.
12410 (print_passwd, print_group, print_aliases): Likewise.
12411 * nis/nss-nisplus.h (niserr2nss): Likewise.
12412 * nscd/connections.c (restart_p): Likewise.
12413 Change return type to bool.
12415 2013-02-05 Roland McGrath <roland@hack.frob.com>
12417 * Makeconfig (all-Depend-files): Add existing
12418 $(sorted-subdirs:=/Depend) files.
12419 (all-subdirs): Remove nss.
12420 * sysdeps/unix/inet/Subdirs: Add it here instead.
12421 * hesiod/Depend: New file.
12423 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
12424 instead of calling alloca.
12426 * io/lseek.c (__lseek): Rename to __libc_lseek.
12427 Define __lseek as an alias.
12429 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
12431 2013-02-04 Carlos O'Donell <carlos@redhat.com>
12433 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
12434 else clause and remove check for non-standard endianness.
12436 2013-02-04 David S. Miller <davem@davemloft.net>
12438 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12440 2013-02-04 Joseph Myers <joseph@codesourcery.com>
12443 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
12444 (__ubp_memchr): Remove prototype.
12445 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
12446 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
12447 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
12448 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
12449 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
12451 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
12452 (__ubp_memchr): Likewise.
12453 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
12454 (__ubp_memchr): Likewise.
12455 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
12456 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
12457 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
12458 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
12460 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
12461 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
12462 (__getcwd): Do not use CHECK_STRING.
12463 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12465 (__real_chown): Do not use CHECK_STRING.
12466 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
12468 (fchownat): Do not use CHECK_STRING.
12469 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
12471 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12473 (__lchown): Do not use CHECK_STRING.
12474 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12475 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12476 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12477 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
12478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12479 include <bp-checks.h>.
12480 (truncate64): Do not use CHECK_STRING.
12481 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12483 (__real_chown): Do not use CHECK_STRING.
12484 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12486 (__lchown): Do not use CHECK_STRING.
12487 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12489 (__chown): Do not use CHECK_STRING.
12490 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
12492 (truncate64): Do not use CHECK_STRING.
12493 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
12495 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
12496 (__xmknod): Do not use CHECK_STRING.
12497 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
12499 (__xmknodat): Do not use CHECK_STRING.
12500 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12501 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
12503 2013-02-04 Andreas Schwab <schwab@suse.de>
12506 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
12507 * include/netdb.h: Likewise for h_errno.
12508 * elf/tst-stackguard1.c: Include <tls.h>.
12510 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12512 * elf/link.h (struct link_map): Extend the l_addr comment.
12513 * include/link.h (struct link_map): Likewise.
12515 2013-02-01 Joseph Myers <joseph@codesourcery.com>
12518 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
12519 (BOUNDED_1): Remove macro.
12520 * debug/backtrace.c: Don't include <bp-checks.h>.
12521 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
12522 (__backtrace): Likewise.
12523 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
12525 (__backtrace): Don't use BOUNDED_1.
12526 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
12528 (__backtrace): Don't use BOUNDED_1.
12529 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
12530 (__backtrace): Don't use BOUNDED_1.
12531 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
12532 (shmat): Don't use BOUNDED_N.
12534 2013-01-31 Joseph Myers <joseph@codesourcery.com>
12537 * sysdeps/generic/bp-start.h: Remove file.
12538 * csu/libc-start.c: Don't include <bp-start.h>.
12539 (LIBC_START_MAIN): Set up __environ directly instead of using
12540 INIT_ARGV_and_ENVIRON.
12541 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
12545 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
12547 (CHECK_FCNTL): Likewise.
12548 (CHECK_N_PAGES): Likewise.
12551 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
12553 (CHECK_SIGSET_NULL_OK): Likewise.
12554 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
12556 (sigpending): Don't use CHECK_SIGSET.
12557 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
12559 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12560 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
12562 (do_sigsuspend): Don't use CHECK_SIGSET.
12563 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
12565 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
12566 (do_sigwait): Don't use CHECK_SIGSET.
12567 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
12569 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
12570 include <bp-checks.h>.
12571 (sigpending): Don't use CHECK_SIGSET.
12572 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
12573 include <bp-checks.h>.
12574 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12575 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
12577 (sigpending): Don't use CHECK_SIGSET.
12578 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
12580 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12583 * sysdeps/generic/bp-semctl.h: Remove file.
12584 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
12585 <bp-checks.h> and <bp-semctl.h>.
12586 (__old_semctl): Don't use CHECK_SEMCTL.
12587 (__new_semctl): Likewise.
12588 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
12590 (__old_semctl): Don't use CHECK_SEMCTL.
12591 (__new_semctl): Likewise.
12592 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
12593 <bp-checks.h> and <bp-semctl.h>.
12594 (__old_semctl): Don't use CHECK_SEMCTL.
12595 (__new_semctl): Likewise.
12596 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
12597 <bp-checks.h> and <bp-semctl.h>.
12598 (semctl): Don't use CHECK_SEMCTL.
12601 * Makerules (elide-bp-thunks): Remove variable.
12602 (elide-routines.oS): Don't use $(elide-bp-thunks).
12603 (elide-routines.os): Likewise.
12604 (elide-routines.o): Likewise.
12605 (elide-routines.op): Likewise.
12606 (elide-routines.og): Likewise.
12607 (objects): Don't use $(bp-thunks).
12608 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
12610 (common-generated): Do not add s-proto-bp.d.
12611 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
12614 Do not generate makefile rules for bounded-pointer thunks.
12615 * sysdeps/generic/bp-thunks.h: Remove file.
12616 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
12617 * sysdeps/unix/s-proto-bp.S: Likewise.
12620 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
12621 parts of result separately when argument is not close to line from
12622 -i to i and one part of argument is small.
12623 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12624 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12625 * math/libm-test.inc (cacos_test): Add more tests.
12626 (casin_test): Likewise.
12627 (casinh_test): Likewise.
12628 * sysdeps/i386/fpu/libm-test-ulps: Update.
12629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12631 2013-01-31 David S. Miller <davem@davemloft.net>
12633 * po/de.po: Update from translation team.
12635 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
12637 * time/tzfile.c: Include stdint.h for SIZE_MAX.
12639 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
12641 * configure.in (_AC_PROG_CC_C89): New definition.
12642 * configure: Regenerate.
12644 * configure.in (AC_PROG_CPP): New definition.
12645 * configure: Regenerate.
12647 2013-01-23 Joseph Myers <joseph@codesourcery.com>
12649 * debug/tst-backtrace.h: New file.
12650 * debug/tst-backtrace2.c: Include tst-backtrace.h.
12651 (ret): Remove variable.
12653 (FAIL): Remove macro.
12654 (NO_INLINE): Likewise.
12655 (fn1): Use match function instead of strstr.
12656 * debug/tst-backtrace3.c: Include tst-backtrace.h.
12657 (ret): Remove variable.
12659 (FAIL): Remove macro.
12660 (NO_INLINE): Likewise.
12661 (fn): Use match function instead of strstr.
12662 * debug/tst-backtrace4.c: Include tst-backtrace.h.
12663 (ret): Remove variable.
12665 (FAIL): Remove macro.
12666 (NO_INLINE): Likewise.
12667 (handle_signal): Use match function instead of strstr.
12668 * debug/tst-backtrace5.c: Include tst-backtrace.h.
12669 (ret): Remove variable.
12671 (FAIL): Remove macro.
12672 (NO_INLINE): Likewise.
12673 (handle_signal): Use match function instead of strstr.
12675 2013-01-23 Roland McGrath <roland@hack.frob.com>
12677 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
12679 2013-01-23 David S. Miller <davem@davemloft.net>
12681 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
12682 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
12683 argument of CAS if possible.
12684 * sysdeps/sparc/sparc64/bits/atomic.h
12685 (__arch_compare_and_exchange_val_32_acq): Likewise.
12686 (__arch_compare_and_exchange_val_64_acq): Likewise.
12688 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
12690 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
12691 * sysdeps/posix/ulimit.c: ... this.
12692 Include <limits.h>.
12693 * sysdeps/unix/bsd/ulimit.c: Remove file.
12695 2013-01-23 Adam Conrad <adconrad@0c3.net>
12697 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
12698 (LDFLAGS-tst-array5): Likewise.
12700 2013-01-23 Joseph Myers <joseph@codesourcery.com>
12703 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
12704 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
12705 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
12706 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
12708 2013-01-21 David S. Miller <davem@davemloft.net>
12710 * sysdeps/sparc/backtrace.c: New file.
12711 * sysdeps/sparc/sparc32/backtrace.h: New file.
12712 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
12713 * sysdeps/sparc/sparc64/backtrace.h: New file.
12714 * sysdeps/sparc/sparc64/backtrace.c: Delete.
12715 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
12718 2013-01-21 Andreas Schwab <schwab@suse.de>
12721 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
12724 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
12726 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
12728 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12730 2013-01-18 Joseph Myers <joseph@codesourcery.com>
12731 Mark Mitchell <mark@codesourcery.com>
12732 Tom de Vries <tom@codesourcery.com>
12733 Paul Pluzhnikov <ppluzhnikov@google.com>
12735 * debug/tst-backtrace2.c: New file.
12736 * debug/tst-backtrace3.c: Likewise.
12737 * debug/tst-backtrace4.c: Likewise.
12738 * debug/tst-backtrace5.c: Likewise.
12739 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
12740 (CFLAGS-tst-backtrace3.c): Likewise.
12741 (CFLAGS-tst-backtrace4.c): Likewise.
12742 (CFLAGS-tst-backtrace5.c): Likewise.
12743 (LDFLAGS-tst-backtrace2): Likewise.
12744 (LDFLAGS-tst-backtrace3): Likewise.
12745 (LDFLAGS-tst-backtrace4): Likewise.
12746 (LDFLAGS-tst-backtrace5): Likewise.
12747 (tests): Add new tests tst-backtrace2, tst-backtrace3,
12748 tst-backtrace4 and tst-backtrace5.
12750 2013-01-18 Anton Blanchard <anton@samba.org>
12751 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12753 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
12754 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
12755 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
12756 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
12757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12758 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
12759 "+r" and remove output regs list as redundant. Add explicit inline
12760 asm to specify register of return val to work around compiler codegen
12761 bug. Remove (int) cast on return value. Add return type parameter to
12762 use in macro so that this macro does not truncate return value for
12764 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
12765 pass to INTERNAL_VSYSCALL_NCS.
12766 (INLINE_VSYSCALL): Add 'long int' as return type to
12767 INTERNAL_VSYSCALL_NCS macro invocation.
12768 (INTERNAL_VSYSCALL): Add 'long int' as return type to
12769 INTERNAL_VSYSCALL_NCS macro invocation.
12770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12772 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12775 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
12776 Fix application of SIMD FP exception mask.
12778 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
12779 mp_no from a power of two.
12780 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
12781 __mpexp_twomm1. Use __pow_mp.
12783 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
12786 2013-01-17 David S. Miller <davem@davemloft.net>
12788 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12790 2013-01-17 Joseph Myers <joseph@codesourcery.com>
12793 * include/complex.h: Condition contents on [!_COMPLEX_H].
12794 (__kernel_casinhf): New prototype.
12795 (__kernel_casinh): Likewise.
12796 (__kernel_casinhl): Likewise.
12797 * math/Makefile (libm_calls): Add k_casinh.
12798 * math/k_casinh.c: New file.
12799 * math/k_casinhf.c: Likewise.
12800 * math/k_casinhl.c: Likewise.
12801 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
12802 finite nonzero arguments.
12803 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
12804 finite nonzero arguments.
12805 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
12806 finite nonzero arguments.
12807 * math/s_casinh.c: Do not include <float.h>.
12808 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
12809 * math/s_casinhf.c: Do not include <float.h>.
12810 (__casinhf): Move code for finite nonzero arguments to
12812 * math/s_casinhl.c: Do not include <float.h>.
12813 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
12815 (__casinhl): Move code for finite nonzero arguments to
12817 * math/libm-test.inc (cacos_test): Add more tests.
12818 * sysdeps/i386/fpu/libm-test-ulps: Update.
12819 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12821 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
12823 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
12824 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
12825 [!HAVE_MREMAP]: Remove [defined linux] case.
12826 * malloc/arena.c: Do not include <malloc-sysdep.h>.
12828 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12830 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
12832 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
12834 * elf/elf.h (R_386_SIZE32): New relocation.
12835 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
12837 (elf_machine_rela): Likewise.
12838 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
12839 R_X86_64_SIZE64 and R_X86_64_SIZE32.
12841 2013-01-17 Joseph Myers <joseph@codesourcery.com>
12843 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
12844 (FP_FAST_FMA): Do not define.
12845 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
12846 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
12847 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
12848 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
12849 !_SOFT_FLOAT]: Likewise.
12850 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
12851 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
12853 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
12854 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
12855 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
12856 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
12857 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
12858 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
12861 2013-01-16 Andreas Schwab <schwab@suse.de>
12864 * include/stdlib.h (__mktemp): Add declaration.
12865 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
12866 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
12868 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12870 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
12872 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
12873 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
12874 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
12876 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
12877 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
12879 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
12881 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
12882 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
12883 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
12885 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
12886 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
12888 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
12890 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
12892 2013-01-15 David S. Miller <davem@davemloft.net>
12894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12895 trunc{,f} to libm-sysdep_routes.
12896 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
12899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
12900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
12902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
12904 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
12905 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
12906 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
12907 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
12908 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
12909 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
12910 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
12911 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
12913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12914 nearbyint{,f} to libm-sysdep_routes.
12915 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
12918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
12920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
12922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
12924 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
12925 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
12926 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
12928 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
12929 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
12931 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
12932 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
12933 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
12935 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
12936 libc_feholdexcept and libc_fesetenv.
12938 2013-01-15 Mike Frysinger <vapier@gentoo.org>
12940 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
12942 2013-01-14 David S. Miller <davem@davemloft.net>
12944 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
12945 (SPARC_ASM_VIS2_IFUNC): Likewise.
12946 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
12947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
12948 use of 'siam' instruction.
12949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
12951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
12953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
12955 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
12956 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
12957 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
12958 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
12959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
12961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
12963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
12965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
12967 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
12968 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
12969 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
12970 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
12971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
12973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
12974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
12977 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12978 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12979 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12980 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
12982 routines to libm-sysdep_routines.
12983 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12986 fdim/fdimf to libm-sysdep_routines.
12987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
12989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
12990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
12992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
12993 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
12994 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
12995 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
12996 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
12997 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
12998 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
13000 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13002 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
13003 to optimize copies.
13005 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
13006 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13007 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13009 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
13010 local variable MPTWO.
13011 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
13014 2013-01-13 Mike Frysinger <vapier@gentoo.org>
13016 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
13019 2013-01-13 Mike Frysinger <vapier@gentoo.org>
13021 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
13023 2013-01-13 Mike Frysinger <vapier@gentoo.org>
13025 * manual/pattern.texi (glob_t): Document gl_flags.
13026 (glob64_t): Likewise.
13028 2013-01-11 David S. Miller <davem@davemloft.net>
13030 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
13031 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
13032 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
13033 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
13034 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
13035 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
13036 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
13037 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
13038 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
13039 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
13040 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
13041 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
13042 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
13044 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13045 sparc V9 rather than using V8 code.
13046 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13047 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13049 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13051 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
13054 2013-01-11 Roland McGrath <roland@hack.frob.com>
13056 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
13057 not in the main loop.
13058 * configure: Regenerated.
13060 2013-01-11 Joseph Myers <joseph@codesourcery.com>
13062 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
13063 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
13065 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
13066 [!__GLIBC_HAVE_LONG_LONG] case.
13067 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
13068 condition to just #else.
13069 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
13070 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
13071 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
13072 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
13074 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
13075 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13076 #elif condition to just #else.
13077 * sysdeps/unix/sysv/linux/sys/sysmacros.h
13078 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
13079 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13080 #elif condition to just #else.
13082 2013-01-11 Steve Ellcey <sellcey@mips.com>
13084 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
13085 (EF_MIPS_ARCH_64): Fix value.
13086 (EF_MIPS_ARCH_32R2): New.
13087 (EF_MIPS_ARCH_64R2): New.
13089 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
13091 * Makeconfig (+link-pie-before-libc): New.
13092 (+link-pie-after-libc): Likewise.
13093 (+link-pie-tests): Likewise.
13094 (+link-pie): Rewritten.
13095 (link-before-libc): Remove $(config-LDFLAGS).
13096 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
13097 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
13098 (config-LDFLAGS): Renamed to ...
13099 (rtld-LDFLAGS): This.
13100 (rtld-tests-LDFLAGS): New macro.
13101 (link-libc-rpath-link): Likewise.
13102 (link-libc-tests-rpath-link): Likewise.
13103 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
13104 (link-libc): Prepand $(link-libc-rpath-link).
13105 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
13106 (test-program-prefix): New macro.
13107 (test-via-rtld-prefix): Likewise.
13108 (test-program-cmd): Likewise.
13109 (host-test-program-cmd): Likewise.
13110 * Makefile ($(common-objpfx)testrun.sh): Replace
13111 $(run-program-prefix) with $(test-program-prefix).
13112 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
13114 ($(common-objpfx)shlib.lds): Likewise.
13115 (build-module-helper): Likewise.
13116 ($(common-objpfx)format.lds): Likewise.
13117 * Rules (binaries-pie-tests): New.
13118 (binaries-pie-notests): Likewise.
13119 (binaries-pie): Rewritten.
13120 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
13121 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
13122 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
13123 (make-test-out): Replace $(host-built-program-cmd) with
13124 $(host-test-program-cmd).
13125 * config.make.in (build-hardcoded-path-in-tests): New variable.
13126 * configure.in (--enable-hardcoded-path-in-tests): New configure
13128 (hardcoded_path_in_tests): New AC_SUBST.
13129 * configure: Regenerated.
13130 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
13131 $(built-program-cmd) with $(test-program-cmd).
13132 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
13133 (test_program_cmd): This.
13134 * elf/Makefile ($(objpfx)order.out): Run test with
13135 $(test-program-prefix).
13136 ($(objpfx)order2.out): Likewise.
13137 ($(objpfx)tst-initorder.out): Likewise.
13138 ($(objpfx)tst-initorder2.out): Likewise.
13139 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
13140 $(test-program-cmd).
13141 ($(objpfx)tst-array1-static.out): Likewise.
13142 ($(objpfx)tst-array2.out): Likewise.
13143 ($(objpfx)tst-array3.out): Likewise.
13144 ($(objpfx)tst-array4.out): Likewise.
13145 ($(objpfx)tst-array5.out): Likewise.
13146 ($(objpfx)tst-array5-static.out): Likewise.
13147 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
13148 $(test-program-cmd).
13149 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
13150 $(run-program-prefix) with $(test-program-prefix).
13151 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
13152 (test_program_prefix): This.
13153 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
13154 $(run-program-prefix) with $(test-program-prefix).
13155 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
13156 (test_program_prefix): This.
13157 * iconvdata/tst-tables.sh: Likewise.
13158 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
13159 $(run-program-prefix) with $(test-program-prefix).
13160 ($(objpfx)tst-translit.out): Likewise.
13161 ($(objpfx)tst-gettext2.out): Likewise.
13162 ($(objpfx)tst-gettext4.out): Likewise.
13163 ($(objpfx)tst-gettext6.out): Likewise.
13164 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
13165 (test_program_prefix): This.
13166 * intl/tst-gettext2.sh: Likewise.
13167 * intl/tst-gettext4.sh Likewise.
13168 * intl/tst-gettext6.sh: Likewise.
13169 * intl/tst-translit.sh: Likewise.
13170 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
13171 with $(test-program-cmd).
13172 * libio/Makefile ($(objpfx)test-freopen.out): Replace
13173 $(run-program-prefix) with $(test-program-prefix).
13174 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
13175 (test_program_prefix): This.
13176 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
13177 $(run-program-prefix) with $(test-program-prefix).
13178 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
13179 (test_program_prefix): This.
13180 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
13181 * posix/Makefile ($(objpfx)globtest.out): Replace
13182 $(run-via-rtld-prefix) and $(test-wrapper) with
13183 $(test-program-prefix) and $(test-via-rtld-prefix).
13184 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
13185 $(test-program-prefix).
13186 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
13187 $(host-test-program-cmd).
13188 (tst-spawn-ARGS): Likewise.
13189 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
13190 $(test-program-prefix).
13191 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
13192 (test_via_rtld_prefix): This.
13193 (test_wrapper): Renamed to ...
13194 (test_program_prefix): This.
13195 (run_program_prefix): Replaced by test_program_prefix.
13196 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
13197 (test_program_prefix): This.
13198 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
13199 with $(host-test-program-cmd).
13200 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
13201 $(run-program-prefix) with $(test-program-prefix).
13202 ($(objpfx)tst-printf.out): Likewise.
13203 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
13204 $(test-program-cmd).
13205 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
13206 (test_program_prefix): This.
13207 * stdio-common/tst-unbputc.sh: Likewise.
13208 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
13209 $(run-program-prefix) with $(test-program-prefix).
13210 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
13211 (test_program_prefix): This.
13212 * string/Makefile ($(objpfx)tst-svc.out): Replace
13213 $(built-program-cmd) with $(test-program-cmd).
13215 2013-01-11 Andreas Jaeger <aj@suse.de>
13218 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
13219 value. Sync with Linux 3.7.
13221 2013-01-10 David S. Miller <davem@davemloft.net>
13223 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
13224 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13225 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13227 2013-01-10 Roland McGrath <roland@hack.frob.com>
13229 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
13231 * configure: Regenerated.
13233 2013-01-10 David S. Miller <davem@davemloft.net>
13235 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13236 sparc V9 rather than using V8 code.
13237 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13238 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13240 2013-01-10 Roland McGrath <roland@hack.frob.com>
13242 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
13243 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
13244 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
13245 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
13246 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
13247 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
13248 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
13249 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
13250 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
13251 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
13252 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
13253 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
13254 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
13255 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
13256 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
13257 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
13258 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
13259 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
13260 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
13261 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
13262 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
13263 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
13264 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
13265 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
13266 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
13267 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
13268 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
13270 2013-01-10 David S. Miller <davem@davemloft.net>
13272 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13274 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
13276 * posix/Makefile (tests-static): New variable.
13277 (tests): Add $(tests-static).
13278 (tst-exec-static-ARGS): New variable.
13279 (tst-spawn-static-ARGS): Likewise.
13280 * posix/tst-exec-static.c: New file.
13281 * posix/tst-spawn-static.c: Likewise.
13282 * posix/tst-exec.c: Support run directly.
13283 * posix/tst-spawn.c: Likewise.
13285 2013-01-10 Joseph Myers <joseph@codesourcery.com>
13287 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
13289 * math/bits/mathcalls.h (llrint): Likewise.
13290 (llround): Likewise.
13291 * stdlib/stdlib.h (struct drand48_data): Likewise.
13292 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
13293 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
13294 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
13296 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
13298 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
13299 (elf_greg_t): Likewise.
13300 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
13301 (__jmp_buf): Likewise.
13302 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
13304 (llrint): Likewise, for all definitions.
13305 (llrintl): Likewise.
13307 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
13308 Remove [__GNUC__] condition.
13309 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
13310 condition to just [__USE_ISOC99].
13311 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
13313 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
13316 * sysdeps/unix/sysv/linux/x86/bits/environments.h
13317 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
13319 (_POSIX_V6_ILP32_OFF32): Likewise.
13320 (_XBS5_ILP32_OFF32): Likewise.
13321 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
13322 (__ILP32_OFFBIG_LDFLAGS): Likewise.
13324 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13326 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
13328 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
13329 doubles __mpexp_twomm1. Adjust usage.
13330 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
13333 2013-01-10 Andreas Schwab <schwab@suse.de>
13336 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
13337 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
13339 2013-01-09 David S. Miller <davem@davemloft.net>
13342 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
13343 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
13344 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
13345 TCP_FASTOPEN): Define.
13346 (tcp_repair_opt): New structure.
13347 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
13349 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
13350 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
13351 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
13352 (tcp_cookie_transactions): New structure.
13354 2013-01-09 Anton Blanchard <anton@samba.org>
13356 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
13357 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
13358 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
13359 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
13361 2013-01-09 Joseph Myers <joseph@codesourcery.com>
13363 * include/features.h (__USE_ANSI): Remove.
13365 2013-01-09 Roland McGrath <roland@hack.frob.com>
13367 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
13369 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
13371 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
13373 * sysdeps/s390/fpu/libm-test-ulps: Update.
13375 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13377 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
13381 (denorm): Likewise.
13382 (__mp_dbl): Likewise.
13383 (__dbl_mp): Likewise.
13384 (add_magnitudes): Likewise.
13385 (sub_magnitudes): Likewise.
13391 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
13395 (denorm): Likewise.
13396 (__mp_dbl): Likewise.
13397 (__dbl_mp): Likewise.
13398 (add_magnitudes): Likewise.
13399 (sub_magnitudes): Likewise.
13405 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
13409 (denorm): Likewise.
13410 (__mp_dbl): Likewise.
13411 (__dbl_mp): Likewise.
13412 (add_magnitudes): Likewise.
13413 (sub_magnitudes): Likewise.
13420 2013-01-08 Joseph Myers <joseph@codesourcery.com>
13422 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
13423 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
13424 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
13425 2 && __USE_EXTERN_INLINES]: Likewise.
13427 2013-01-08 Andreas Jaeger <aj@suse.de>
13430 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
13432 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
13433 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
13435 2013-01-07 Anton Blanchard <anton@samba.org>
13437 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
13438 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
13439 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
13440 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
13441 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
13442 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13443 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
13444 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
13445 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13446 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13447 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13448 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13449 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13450 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13451 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13452 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13453 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13454 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13455 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
13456 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
13457 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13458 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
13459 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13460 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13461 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
13462 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
13463 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13464 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
13465 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
13466 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13467 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13468 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13469 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13470 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13471 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13472 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13473 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13474 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13475 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
13476 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
13477 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
13478 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13479 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13481 2013-01-07 Joseph Myers <joseph@codesourcery.com>
13483 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
13484 (__MALLOC_PMT): Likewise.
13485 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
13486 [__GNUC__], only on [_LIBC].
13487 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
13488 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
13489 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
13490 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
13491 forward declaration.
13492 (realloc_hook_ini): Likewise.
13493 (memalign_hook_ini): Likewise.
13494 (__libc_memalign): Do not use __MALLOC_PMT in variable
13496 (__libc_valloc): Likewise.
13497 (__libc_pvalloc): Likewise.
13498 (__libc_calloc): Likewise.
13499 (__posix_memalign): Likewise.
13502 * math/s_casinh.c: Include <float.h>.
13503 (__casinh): Do not do computation with squaring and square root
13504 for large arguments.
13505 * math/s_casinhf.c: Include <float.h>.
13506 (__casinhf): Do not do computation with squaring and square root
13507 for large arguments.
13508 * math/s_casinhl.c: Include <float.h>.
13509 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
13510 (__casinhl): Do not do computation with squaring and square root
13511 for large arguments.
13512 * math/libm-test.inc (casin_test): Add more tests.
13513 (casinh_test): Likewise.
13514 * sysdeps/i386/fpu/libm-test-ulps: Update.
13515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13517 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
13519 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
13520 (__x86_64_raw_data_cache_size): Likewise.
13521 (__x86_64_data_cache_size_half): Likewise.
13522 (__x86_64_raw_data_cache_size_half): Likewise.
13523 (__x86_64_shared_cache_size): Likewise.
13524 (__x86_64_raw_shared_cache_size): Likewise.
13525 (__x86_64_shared_cache_size_half): Likewise.
13526 (__x86_64_raw_shared_cache_size_half): Likewise.
13527 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
13529 (__x86_data_cache_size): This.
13530 (__x86_64_raw_data_cache_size): Renamed to ...
13531 (__x86_raw_data_cache_size): This.
13532 (__x86_64_data_cache_size_half): Renamed to ...
13533 (__x86_data_cache_size_half): This.
13534 (__x86_64_raw_data_cache_size_half): Renamed to ...
13535 (__x86_raw_data_cache_size_half): This.
13536 (__x86_64_shared_cache_size): Renamed to ...
13537 (__x86_shared_cache_size): This.
13538 (__x86_64_raw_shared_cache_size): Renamed to ...
13539 (__x86_raw_shared_cache_size): This.
13540 (__x86_64_shared_cache_size_half): Renamed to ...
13541 (__x86_shared_cache_size_half): This.
13542 (__x86_64_raw_shared_cache_size_half): Renamed to ...
13543 (__x86_raw_shared_cache_size_half): This.
13544 * sysdeps/x86_64/memcpy.S: Updated.
13545 * sysdeps/x86_64/memset.S: Likewise.
13546 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13547 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13548 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13550 2013-01-04 David S. Miller <davem@davemloft.net>
13552 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13554 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
13556 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
13557 1 to avoid redefinition warning.
13558 (__USE_GNU): Don't define.
13559 (init_signaling_nan): Protoize.
13561 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13563 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13565 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
13566 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
13567 (__cpymn): Likewise.
13568 (norm): Remove commented code.
13569 (denorm): Likewise.
13570 (__mp_dbl): Likewise.
13572 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
13573 (__cpymn): Likewise.
13574 (norm): Remove commented code.
13575 (denorm): Likewise.
13576 (__mp_dbl): Likewise.
13579 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
13580 mp_no value for 1.0 and 2.0.
13581 (norm): Use RADIXI instead of radixi.d.
13582 (denorm): Likewise.
13583 (__mul): Use 0.0 instead of zero.d.
13584 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
13585 mp_no value for 1.0 and 2.0.
13586 (norm): Use RADIXI instead of radixi.d.
13587 (denorm): Likewise.
13588 (__mul): Use 0.0 instead of zero.d.
13590 2013-01-04 Joseph Myers <joseph@codesourcery.com>
13593 * math/s_casinh.c (__casinh): Reduce finite argument to first
13594 quadrant then set signs of results at the end.
13595 * math/s_casinhf.c (__casinhf): Likewise.
13596 * math/s_casinhl.c (__casinhl): Likewise.
13597 * math/libm-test.inc (casin_test): Add more tests.
13598 (casinh_test): Likewise.
13599 * sysdeps/i386/fpu/libm-test-ulps: Update.
13600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13602 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13604 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
13606 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
13608 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
13610 (denorm): Likewise.
13611 (__mp_dbl): Likewise.
13614 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
13615 and adjust the header comment.
13617 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
13618 variable name from declaration.
13620 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
13622 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13623 Initialize COMMON_CPUID_INDEX_7 element.
13624 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
13625 (CPUID_RTM): Likewise.
13626 (HAS_RTM): Likewise.
13627 (COMMON_CPUID_INDEX_7): New enum.
13629 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
13632 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
13633 size is zero, record memory as freed.
13635 2013-01-03 Andreas Jaeger <aj@suse.de>
13637 * po/ia.po: Add new Interlingua translation.
13639 2012-01-03 Allan McRae <allan@archlinux.org>
13641 * locale/programs/localedef.c: Fix description of '--posix' flag.
13643 2013-01-02 Joseph Myers <joseph@codesourcery.com>
13645 * NEWS: Update dates in second copyright notice.
13646 * README: Update copyright dates in example.
13647 * manual/libc.texinfo: Update copyright dates.
13648 * scripts/test-installation.pl: Update copyright date in --version
13651 * hurd/ctty-input.c: Fix copyright notice formatting.
13652 * hurd/ctty-output.c: Likewise.
13653 * hurd/dtable.c: Likewise.
13654 * hurd/hurd-raise.c: Likewise.
13655 * hurd/hurdprio.c: Likewise.
13656 * hurd/msgportdemux.c: Likewise.
13657 * misc/sys/file.h: Likewise.
13658 * misc/sys/ioctl.h: Likewise.
13659 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13660 * sysdeps/mach/hurd/chdir.c: Likewise.
13661 * sysdeps/mach/hurd/fchdir.c: Likewise.
13662 * sysdeps/mach/hurd/rename.c: Likewise.
13663 * sysdeps/mach/hurd/rmdir.c: Likewise.
13664 * sysdeps/mach/hurd/seekdir.c: Likewise.
13665 * sysdeps/mach/hurd/setsid.c: Likewise.
13666 * sysdeps/posix/wait3.c: Likewise.
13668 * All files with FSF copyright notices: Update copyright dates
13669 using scripts/update-copyrights.
13670 * intl/plural.c: Regenerated.
13671 * locale/programs/charmap-kw.h: Likewise.
13672 * locale/programs/locfile-kw.h: Likewise.
13674 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13676 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
13679 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
13680 calculation loop and add branch prediction.
13682 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
13683 check access beyond bounds of m1np.
13685 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
13687 (__inv): Remove local variable MPTWO to use the global
13689 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
13690 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
13692 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
13693 MP3HALFS static const.
13695 2013-01-01 David S. Miller <davem@davemloft.net>
13697 * po/ca.po: Update from translation team.
13699 2013-01-01 Joseph Myers <joseph@codesourcery.com>
13701 * scripts/update-copyrights: New file.
13702 * Makeconfig: Reformat copyright notice.
13703 * ctype/ctype.h: Likewise.
13704 * debug/swprintf_chk.c: Likewise.
13705 * elf/dl-cache.c: Likewise.
13706 * elf/dl-debug.c: Likewise.
13707 * elf/dl-object.c: Likewise.
13708 * grp/initgroups.c: Likewise.
13709 * hurd/Makefile: Likewise.
13710 * hurd/hurd/signal.h: Likewise.
13711 * hurd/hurdfault.c: Likewise.
13712 * hurd/hurdioctl.c: Likewise.
13713 * hurd/hurdlookup.c: Likewise.
13714 * hurd/intr-msg.c: Likewise.
13715 * iconv/gconv_open.c: Likewise.
13716 * libio/swprintf.c: Likewise.
13717 * locale/lc-ctype.c: Likewise.
13718 * locale/nl_langinfo.c: Likewise.
13719 * mach/Machrules: Likewise.
13720 * mach/Makefile: Likewise.
13721 * malloc/obstack.h: Likewise.
13722 * manual/Makefile: Likewise.
13723 * manual/tsort.awk: Likewise.
13724 * misc/bits/stab.def: Likewise.
13725 * nis/nis_print_group_entry.c: Likewise.
13726 * nis/nis_table.c: Likewise.
13727 * nis/nss_compat/compat-pwd.c: Likewise.
13728 * nis/nss_compat/compat-spwd.c: Likewise.
13729 * po/Makefile: Likewise.
13730 * posix/fnmatch.c: Likewise.
13731 * posix/regex.h: Likewise.
13732 * resolv/Makefile: Likewise.
13733 * resolv/nss_dns/dns-network.c: Likewise.
13734 * resolv/res_hconf.c: Likewise.
13735 * scripts/gen-sorted.awk: Likewise.
13736 * soft-fp/soft-fp.h: Likewise.
13737 * stdio-common/printf.h: Likewise.
13738 * stdlib/monetary.h: Likewise.
13739 * stdlib/random.c: Likewise.
13740 * stdlib/random_r.c: Likewise.
13741 * sysdeps/generic/Makefile: Likewise.
13742 * sysdeps/gnu/Makefile: Likewise.
13743 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13744 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13745 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13746 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13747 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13748 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13749 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13750 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13751 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13752 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13753 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13754 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13755 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13756 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13757 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
13758 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13759 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13760 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13761 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13762 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13763 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13764 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13765 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13766 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
13767 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
13768 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13769 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
13770 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
13771 * sysdeps/mach/hurd/errnos.awk: Likewise.
13772 * sysdeps/mach/hurd/fork.c: Likewise.
13773 * sysdeps/mach/hurd/getcwd.c: Likewise.
13774 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
13775 * sysdeps/mach/hurd/mmap.c: Likewise.
13776 * sysdeps/mach/hurd/utimes.c: Likewise.
13777 * sysdeps/mach/hurd/xmknod.c: Likewise.
13778 * sysdeps/posix/profil.c: Likewise.
13779 * sysdeps/posix/readdir_r.c: Likewise.
13780 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13781 * sysdeps/powerpc/bits/setjmp.h: Likewise.
13782 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
13783 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
13784 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13785 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
13786 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13787 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
13788 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13789 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
13790 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13791 * sysdeps/pthread/lio_listio.c: Likewise.
13792 * sysdeps/sparc/dl-procinfo.h: Likewise.
13793 * sysdeps/unix/i386/sysdep.S: Likewise.
13794 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
13795 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
13796 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
13797 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
13798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13799 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
13800 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
13801 * sysdeps/unix/sysv/linux/speed.c: Likewise.
13802 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
13803 * sysdeps/wordsize-32/divdi3.c: Likewise.
13804 * time/sys/time.h: Likewise.
13805 * wcsmbs/Makefile: Likewise.
13807 2013-01-01 David S. Miller <davem@davemloft.net>
13809 * po/fr.po: Update from translation team.
13811 * catgets/gencat.c: Update copyright year.
13812 * csu/version.c: Likewise.
13813 * debug/catchsegv.sh: Likewise.
13814 * debug/pcprofiledump.c: Likewise.
13815 * debug/xtrace.sh: Likewise.
13816 * elf/ldconfig.c: Likewise.
13817 * elf/ldd.bash.in: Likewise.
13818 * elf/pldd.c: Likewise.
13819 * elf/sotruss.ksh: Likewise.
13820 * elf/sprof.c: Likewise.
13821 * iconv/iconv_prog.c: Likewise.
13822 * iconv/iconvconfig.c: Likewise.
13823 * locale/programs/locale.c: Likewise.
13824 * locale/programs/localedef.c: Likewise.
13825 * login/programs/pt_chown.c: Likewise.
13826 * malloc/memusage.sh: Likewise.
13827 * malloc/memusagestat.c: Likewise.
13828 * malloc/mtrace.pl: Likewise.
13829 * nscd/nscd.c: Likewise.
13830 * nss/getent.c: Likewise.
13831 * nss/makedb.c: Likewise.
13832 * posix/getconf.c: Likewise.
13834 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
13836 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
13839 2012-12-30 Mike Frysinger <vapier@gentoo.org>
13841 * math/bits/mathcalls.h (modf): Use __nonnull.
13843 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13845 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
13846 (split): Use macro CN instead of the bare value.
13847 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
13849 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
13850 instead of the bare value.
13851 (power1): Likewise.
13853 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13855 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
13857 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13859 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
13861 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13862 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
13863 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
13864 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
13866 2012-12-28 Andreas Jaeger <aj@suse.de>
13868 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
13869 values are from Linux 3.7.
13871 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
13872 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
13874 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13876 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
13879 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
13881 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
13882 variables with preprocessor constants.
13883 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13884 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13885 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13887 2012-12-27 Bruno Haible <bruno@clisp.org>
13890 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
13893 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13895 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
13896 and use variable directly.
13897 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
13899 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
13901 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
13902 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
13904 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
13905 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
13906 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
13907 include directive. Remove local variable MPONE.
13908 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
13909 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
13910 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13912 2012-12-25 David S. Miller <davem@davemloft.net>
13914 * version.h (RELEASE): Set to "development".
13915 (VERSION): Set to "2.17.90".
13916 * NEWS: Add 2.18 section.
13918 2012-12-21 David S. Miller <davem@davemloft.net>
13920 * po/hr.po: Update from translation team.
13922 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13924 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
13926 2012-12-19 Steve Ellcey <sellcey@mips.com>
13928 * NEWS: Mention new memcpy for MIPS.
13930 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13932 * manual/contrib.texi (Contributors): Spelling correction.
13934 2012-12-15 David S. Miller <davem@davemloft.net>
13936 * po/ru.po: Update from translation team.
13938 2012-12-13 David S. Miller <davem@davemloft.net>
13940 * NEWS: Mention IFUNC testsuite enhancements.
13942 * po/pl.po: Update from translation team.
13943 * po/bg.po: Likewise.
13945 * manual/contrib.texi (Contributors): Update entries for Hongjiu
13946 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
13948 2012-12-11 David S. Miller <davem@davemloft.net>
13950 * po/sv.po: Update from translation team.
13952 * po/vi.po: Update from translation team.
13954 * po/cs.po: Update from translation team.
13956 * po/de.po: Update from translation team.
13957 * po/eo.po: Likewise.
13958 * po/nl.po: Likewise.
13960 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13963 * manual/argp.texi (Argp Helper Functions): Move node to follow
13964 Argp Parsing State.
13967 * manual/conf.texi (Limits on File System Capacity): Mention if
13968 terminating null is included in the max size.
13970 2012-12-10 Andreas Jaeger <aj@suse.de>
13972 * po/cs.po: Update from translation team.
13974 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13976 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
13977 void pointer and cast to uintptr_t.
13978 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
13980 * sysdeps/s390/s390-64/memcpy.S: Likewise.
13981 * sysdeps/s390/s390-64/memset.S: Likewise.
13983 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
13986 * menual/message.texi (Message Translation): Fix typos.
13987 (Helper programs for gettext): Likewise.
13989 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
13992 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
13995 2012-12-07 David S. Miller <davem@davemloft.net>
13997 * po/libc.pot: Update.
13999 2012-12-07 Richard Henderson <rth@redhat.com>
14002 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
14003 normal/normal case to before the switch.
14004 (_FP_DIV): Likewise.
14006 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
14007 Mike Frysinger <vapier@gentoo.org>
14009 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
14010 check for __NR_fadvise64_64.
14012 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
14014 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
14015 0, not just to plain "0" as a statement.
14016 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
14019 2012-12-06 Joseph Myers <joseph@codesourcery.com>
14021 * NEWS: Use sourceware.org in Bugzilla URL.
14023 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14026 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14028 * stdio-common/tst-put-error.c (do_test): Add newline to the
14029 padded test to ensure flush.
14031 2012-12-05 Jeff Law <law@redhat.com>
14033 * sunrpc/etc.rpc (fedfs_admin): Add entry.
14035 2012-12-05 Joseph Myers <joseph@codesourcery.com>
14037 * README: Don't refer to ports add-on as distributed separately.
14038 Mention AArch64 in list of systems supported in the ports add-on.
14040 * LICENSES: Add more non-FSF copyright and license notices.
14042 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
14045 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
14047 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
14048 10000 as width of padded output.
14050 2012-12-04 Joseph Myers <joseph@codesourcery.com>
14052 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
14054 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
14055 variable LX with __attribute__ ((unused)).
14056 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14058 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14059 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14060 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
14061 with __attribute__ ((unused)).
14063 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
14065 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
14067 2012-12-04 Joseph Myers <joseph@codesourcery.com>
14069 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
14070 (CFLAGS-nldbl-acos.c): New variable.
14071 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
14072 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
14073 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
14074 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
14075 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
14076 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
14077 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
14078 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
14079 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
14080 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
14081 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
14082 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
14083 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
14084 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
14085 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
14086 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
14087 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
14088 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
14089 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
14090 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
14091 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
14092 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
14093 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
14094 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
14095 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
14096 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
14097 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
14098 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
14099 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
14100 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
14101 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
14102 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
14103 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
14104 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
14105 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
14106 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
14107 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
14108 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
14109 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
14110 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
14111 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
14112 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
14113 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
14114 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
14115 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
14116 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
14117 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
14118 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
14119 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
14120 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
14121 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
14122 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
14123 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
14124 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
14125 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
14126 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
14127 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
14128 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
14129 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
14130 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
14131 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
14132 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
14133 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
14134 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
14135 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
14136 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
14137 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
14138 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
14139 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
14140 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
14141 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
14142 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
14143 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
14144 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
14145 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
14146 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
14147 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
14148 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
14149 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
14150 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
14151 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
14152 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
14153 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
14154 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
14155 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
14156 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
14157 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
14158 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
14159 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
14160 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
14161 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
14162 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
14163 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
14164 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
14165 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
14166 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
14167 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
14169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14170 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14173 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
14174 whole low double instead of just low 47 bits when splitting values
14177 2012-12-03 Allan McRae <allan@archlinux.org>
14179 * manual/stdio.texi (Predefined Printf Handlers): Remove
14180 @hsep and @vsep usage.
14182 2012-12-03 Mike Frysinger <vapier@gentoo.org>
14184 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
14185 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
14187 2012-12-03 Jeff Law <law@redhat.com>
14189 * time/sys/time.h (settimeofday): Do not mark TV argument
14192 2012-12-01 Mike Frysinger <vapier@gentoo.org>
14194 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
14195 when currently writing and seek to current position when not.
14196 * libio/Makefile (tests): Remove bug-fclose1.
14197 * libio/bug-fclose1.c: Delete.
14199 2012-12-01 Joseph Myers <joseph@codesourcery.com>
14201 * manual/arith.texi (feenableexcept): Fix typo.
14202 (fedisableexcept): Likewise.
14204 2012-11-30 Roland McGrath <roland@hack.frob.com>
14206 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
14207 second, differently-typed declaration, rather than a cast.
14209 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14211 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
14212 * include/rpc/svc.h: ... here.
14214 2012-11-30 Aurelien Jarno <aurel32@debian.org>
14217 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
14218 depending n and resplen2 to catch cases where answer
14221 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
14223 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
14224 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
14226 2012-11-29 Mike Frysinger <vapier@gentoo.org>
14228 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
14230 2012-11-29 Roland McGrath <roland@hack.frob.com>
14232 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
14234 2012-11-28 Jeff Law <law@redhat.com>
14237 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
14238 dataset_temporary. Track alloca usage into alloca_used.
14239 If dataset is large allocate and release it via malloc/free.
14241 2012-06-04 Florian Weimer <fweimer@redhat.com>
14244 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
14246 2012-11-28 David S. Miller <davem@davemloft.net>
14248 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14250 2012-11-28 Joseph Myers <joseph@codesourcery.com>
14253 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
14254 of pi/2 rounded to nearest to 64 bits.
14255 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
14256 nearest to 64 bits.
14257 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
14260 2012-11-28 Jeff Law <law@redhat.com>
14261 Martin Osvald <mosvald@redhat.com>
14264 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
14265 * sunrpc/svc.c: Include time.h.
14266 (__svc_accept_failed): New function.
14267 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
14268 any reason other than EINTR, call __svc_accept_failed.
14269 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
14270 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
14272 2012-11-28 Andreas Schwab <schwab@suse.de>
14274 * scripts/abilist.awk: Also handle indirect functions in .opd
14277 2012-11-28 Joseph Myers <joseph@codesourcery.com>
14280 * sysdeps/x86/fpu/powl_helper.c: New file.
14281 * sysdeps/x86/fpu/Makefile: Likewise.
14282 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
14284 (__ieee754_powl): Use __powl_helper for finite arguments except
14285 integer exponents below 8.
14286 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
14288 (__ieee754_powl): Use __powl_helper for finite arguments except
14289 integer exponents below 8.
14290 * math/libm-test.inc (pow_test): Add more tests and enable some
14291 previously disabled tests.
14292 * sysdeps/i386/fpu/libm-test-ulps: Update.
14293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14295 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14296 Carlos O'Donell <carlos_odonell@mentor.com>
14298 * nss/makedb.c (is_prime): Assert that input is odd and greater
14299 than 4. Note that fact in a comment too.
14300 (next_prime): Add 4 to input.
14302 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14305 * libio/Makefile (tests): Add test case tst-fwrite-error.
14306 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
14307 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
14308 * libio/tst-fwrite-error.c: New test case.
14310 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
14312 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
14313 before casting to void *.
14314 * include/libc-internal.h (__pointer_type): New macro.
14315 (__integer_if_pointer_type_sub): Likewise.
14316 (__integer_if_pointer_type): Likewise.
14317 (cast_to_integer): Likewise.
14318 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
14319 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
14320 before casting to atomic64_t.
14321 (atomic_exchange_acq): Likewise.
14322 (__arch_exchange_and_add_body): Likewise.
14323 (__arch_add_body): Likewise.
14324 (atomic_add_negative): Likewise.
14325 (atomic_add_zero): Likewise.
14327 2012-11-26 Joseph Myers <joseph@codesourcery.com>
14329 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
14330 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
14331 (add_fdes): Likewise.
14332 (linear_search_fdes): Likewise.
14333 (binary_search_unencoded_fdes): Likewise.
14335 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
14337 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
14339 2012-11-24 Adam Conrad <adconrad@0c3.net>
14341 * configure.in: Autodetect C++ header directories.
14342 * configure: Regenerated.
14344 2012-11-23 Mike Frysinger <vapier@gentoo.org>
14346 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
14348 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
14350 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14352 2012-11-22 Joseph Myers <joseph@codesourcery.com>
14354 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
14355 LDBL_MANT_DIG == 106]: Disable some tests.
14356 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
14358 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
14362 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
14363 input for small inputs. Return +/- pi/2 for large inputs.
14364 * math/libm-test.inc (atan_test): Add more tests.
14366 * sysdeps/generic/unwind-dw2-fde-glibc.c
14367 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
14368 __attribute__ ((unused)).
14371 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
14372 x * y if x and y are nonzero and z is zero.
14375 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
14376 nonzero exponents with absolute value below 0x1p-117 to +/-
14380 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
14381 up arguments below 2**-450, not just those below 2**-500.
14382 * math/libm-test.inc (hypot_test): Add another test.
14385 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
14386 Return a+b for ratio over 2**120, not 2**60.
14387 * math/libm-test.inc (hypot_test): Add another test.
14389 * math/libm-test.inc (clog_test): Use
14390 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
14391 (clog10_test): Likewise.
14394 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
14396 2012-11-22 Andreas Schwab <schwab@suse.de>
14398 * sysdeps/i386/fpu/libm-test-ulps: Update.
14400 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
14402 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
14403 printf output with newline.
14405 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
14408 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
14409 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
14410 -z nodlopen, -z initfirst and -z execstack support.
14411 * configure: Regenerated.
14413 * elf/elf.h (DF_1_NODIRECT): New macro.
14414 (DF_1_IGNMULDEF): Likewise.
14415 (DF_1_NOKSYMS): Likewise.
14416 (DF_1_NOHDR): Likewise.
14417 (DF_1_EDITED): Likewise.
14418 (DF_1_NORELOC): Likewise.
14419 (DF_1_SYMINTPOSE): Likewise.
14420 (DF_1_GLOBAUDIT): Likewise.
14421 (DF_1_SINGLETON): Likewise.
14422 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
14423 DT_1_SUPPORTED_MASK bits.
14424 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
14426 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
14428 * sysdeps/unix/make-syscalls.sh: Document prefixes.
14430 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
14432 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
14435 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
14436 (sendmmsg): Move declarations...
14437 * socket/sys/socket.h: ... here.
14438 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
14439 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
14441 * socket/recvmmsg.c: ... this new file.
14442 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
14443 (sendmmsg): Rename to __sendmmsg, create weak alias and make
14444 definition of __sendmmsg hidden.
14445 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
14446 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
14447 Move ENOSYS stub into and include it from...
14448 * socket/sendmmsg.c: ... this new file.
14449 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
14450 (sysdep_routines): Move recvmmsg and sendmmsg...
14451 * socket/Makefile (routines): ... here.
14452 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
14453 (GLIBC_PRIVATE): Add __sendmmsg.
14454 * include/sys/socket.h (__sendmmsg): Add declarations.
14455 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
14458 2012-11-20 Joseph Myers <joseph@codesourcery.com>
14460 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
14461 variable I1 with __attribute__ ((unused)).
14462 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14464 2012-11-19 Joseph Myers <joseph@codesourcery.com>
14466 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
14467 DUMMY variables with __attribute__ ((unused)).
14469 * bits/byteswap.h: Include <bits/types.h>.
14470 (__bswap_64): Use __uint64_t instead of unsigned long long int.
14472 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
14474 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
14475 string_t. Do not manually set errno.
14476 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
14477 length with __strnlen. Make sure to both set errno and return it on
14480 2012-11-19 David S. Miller <davem@davemloft.net>
14482 With help from Joseph Myers.
14483 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
14484 very large arguments properly.
14485 * math/libm-test.inc (atan_test): New tests.
14486 (atan2_test): New tests.
14487 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14488 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14490 2012-11-19 Joseph Myers <joseph@codesourcery.com>
14493 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
14496 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
14497 [POSIX] (EADDRNOTAVAIL): Likewise.
14498 [POSIX] (EAFNOSUPPORT): Likewise.
14499 [POSIX] (EALREADY): Likewise.
14500 [POSIX] (ECONNABORTED): Likewise.
14501 [POSIX] (ECONNREFUSED): Likewise.
14502 [POSIX] (ECONNRESET): Likewise.
14503 [POSIX] (EDESTADDRREQ): Likewise.
14504 [POSIX] (EDQUOT): Likewise.
14505 [POSIX] (EHOSTUNREACH): Likewise.
14506 [POSIX] (EIDRM): Likewise.
14507 [POSIX] (EISCONN): Likewise.
14508 [POSIX] (ELOOP): Likewise.
14509 [POSIX] (EMULTIHOP): Likewise.
14510 [POSIX] (ENETDOWN): Likewise.
14511 [POSIX] (ENETUNREACH): Likewise.
14512 [POSIX] (ENOBUFS): Likewise.
14513 [POSIX] (ENODATA): Likewise.
14514 [POSIX] (ENOLINK): Likewise.
14515 [POSIX] (ENOMSG): Likewise.
14516 [POSIX] (ENOPROTOOPT): Likewise.
14517 [POSIX] (ENOSR): Likewise.
14518 [POSIX] (ENOSTR): Likewise.
14519 [POSIX] (ENOTCONN): Likewise.
14520 [POSIX] (ENOTSOCK): Likewise.
14521 [POSIX] (EOPNOTSUPP): Likewise.
14522 [POSIX] (EOVERFLOW): Likewise.
14523 [POSIX] (EPROTO): Likewise.
14524 [POSIX] (EPROTONOSUPPORT): Likewise.
14525 [POSIX] (EPROTOTYPE): Likewise.
14526 [POSIX] (ESTALE): Likewise.
14527 [POSIX] (ETIME): Likewise.
14528 [POSIX] (ETXTBSY): Likewise.
14529 [POSIX] (EWOULDBLOCK): Likewise.
14530 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
14531 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
14532 [POSIX] (SEEK_CUR): Likewise.
14533 [POSIX] (SEEK_END): Likewise.
14534 [POSIX || UNIX98] (mode_t): Do not require.
14535 [POSIX] (off_t): Likewise.
14536 [POSIX] (pid_t): Likewise.
14537 [POSIX] (sys/stat.h): Do not allow header.
14538 [POSIX] (unistd.h): Likewise.
14539 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
14540 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
14541 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
14542 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
14544 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
14545 sigevent): Specify elements.
14546 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
14548 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
14549 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
14551 * conform/data/cpio.h-data [POSIX]: Disable whole file.
14552 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
14553 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
14554 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
14555 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
14556 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
14557 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
14558 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
14559 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
14560 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
14561 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
14562 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
14563 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
14564 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
14566 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
14568 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
14570 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
14572 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
14573 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
14574 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
14575 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
14576 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
14577 Specify lower bound on value.
14578 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
14579 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
14580 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
14581 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
14582 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
14583 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
14584 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
14585 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
14587 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
14589 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
14590 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
14591 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
14592 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
14593 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
14594 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
14595 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
14596 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
14597 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
14598 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
14599 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
14600 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
14601 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
14602 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
14603 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
14604 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
14606 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
14608 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
14609 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
14610 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
14611 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
14612 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
14613 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
14615 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
14616 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
14617 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
14618 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
14619 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
14620 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
14621 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
14623 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
14624 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
14625 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
14626 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
14627 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
14628 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
14629 specify as optional.
14630 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
14631 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
14632 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
14633 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
14634 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
14635 [XPG3] (NL_LANGMAX): Likewise.
14636 [POSIX || XPG3] (NL_MSGMAX): Likewise.
14637 [POSIX || XPG3] (NL_NMAX): Likewise.
14638 [POSIX || XPG3] (NL_SETMAX): Likewise.
14639 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
14640 [XPG3] (NZERO): Likewise.
14641 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
14642 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
14643 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
14644 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
14645 (REG_ERANGE): Expect.
14646 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
14648 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
14649 Use (void) in prototype.
14650 [POSIX] (*_t): Allow.
14651 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
14652 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
14653 (WRDE_BADVAL): Expect.
14655 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
14657 [XPG3 || XPG4] (O_RSYNC): Likewise.
14658 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
14660 [XPG3 || XPG4] (pthread_sigmask): Likewise.
14661 [XPG3 || XPG4] (sigqueue): Likewise.
14662 [XPG3 || XPG4] (sigtimedwait): Likewise.
14663 [XPG3 || XPG4] (sigwaitinfo): Likewise.
14664 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
14665 [XPG3 || XPG4] (vsnprintf): Likewise.
14666 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
14668 [XPG3 || XPG4] (blksize_t): Likewise.
14669 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
14671 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
14672 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
14673 [XPG3 || XPG4] (struct itimerspec): Likewise.
14674 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
14675 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
14676 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
14677 [XPG3 || XPG4] (clockid_t): Likewise.
14678 [XPG3 || XPG4] (timer_t): Likewise.
14679 [XPG3 || XPG4] (clock_getres): Likewise.
14680 [XPG3 || XPG4] (clock_gettime): Likewise.
14681 [XPG3 || XPG4] (clock_settime): Likewise.
14682 [XPG3 || XPG4] (nanosleep): Likewise.
14683 [XPG3 || XPG4] (timer_create): Likewise.
14684 [XPG3 || XPG4] (timer_delete): Likewise.
14685 [XPG3 || XPG4] (timer_gettime): Likewise.
14686 [XPG3 || XPG4] (timer_getoverrun): Likewise.
14687 [XPG3 || XPG4] (timer_settime): Likewise.
14688 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
14689 [XPG3 || XPG4] (getlogin_r): Likewise.
14690 [XPG3 || XPG4] (pread): Likewise.
14691 [XPG3 || XPG4] (pthread_atfork): Likewise.
14692 [XPG3 || XPG4] (pwrite): Likewise.
14695 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
14698 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
14700 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
14701 finalizing MALLSTREAM.
14703 * sysdeps/mach/hurd/syncfs.c: New file.
14705 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14708 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
14709 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
14710 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
14711 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
14712 (_nss_dns_gethostbyname4_r): Likewise.
14713 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
14714 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
14716 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
14719 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
14721 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
14723 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
14724 * elf/cache.c (print_entry): Print ",AArch64" for
14727 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
14728 * elf/cache.c (print_entry): Print ",hard-float" for
14731 2012-11-18 David S. Miller <davem@davemloft.net>
14733 With help from Joseph Myers.
14734 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
14736 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
14738 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
14739 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
14741 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
14742 * math/libm-test.inc (y0_test): New tests.
14743 (y1_test): New tests.
14744 * sysdeps/i386/fpu/libm-test-ulps: Update.
14745 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14746 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14748 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
14750 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
14752 * configure: Regenerated.
14754 2012-11-17 David S. Miller <davem@davemloft.net>
14757 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
14758 nonzero exponents with absolute value below 0x1p-128 to +/-
14761 2012-11-17 Joseph Myers <joseph@codesourcery.com>
14763 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
14765 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
14767 * posix/getconf-speclist.c: New file.
14768 * posix/posix-envs.def: Likewise.
14769 * posix/confstr.c (START_ENV_GROUP): New macro.
14770 (END_ENV_GROUP): Likewise.
14771 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
14772 (KNOWN_PRESENT_ENV_STRING): Likewise.
14773 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
14774 (UNKNOWN_ENVIRONMENT): Likewise.
14775 (confstr): Include posix-envs.def instead of handling
14776 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
14777 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
14778 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
14779 (END_ENV_GROUP): Likewise.
14780 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
14781 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
14782 (UNKNOWN_ENVIRONMENT): Likewise.
14783 (__sysconf): Include posix-envs.def instead of handling associated
14784 cases directly here.
14785 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
14786 preprocessing getconf-speclist.c rather than running getconf or
14787 generating empty file.
14789 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
14791 * scripts/check-local-headers.sh: Ignore 'mach' headers.
14793 2012-11-16 Andrej Lajovic <natrij@gmail.com>
14796 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
14798 2012-11-16 David S. Miller <davem@davemloft.net>
14800 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
14801 smaller than LDBL_EPSILON/2.0L, just return xm1.
14803 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
14805 * elf/tst-array1.c (init): Set constructor priority to 1000.
14806 (fini): Set destructor priority to 1000.
14807 * elf/tst-array2dep.c: Likewise.
14809 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14812 * libio/fileops.c (_IO_new_file_write): Correctly return error.
14813 (_IO_new_file_xsputn): Also return EOF if none of the input
14814 data was written when overflow failed.
14815 * libio/iopadn.c (_IO_padn): Likewise.
14816 * libio/iowpadn.c (_IO_wpadn): Likewise.
14817 * stdio-common/tst-put-error.c: Add copyright notice.
14818 (do_test): Add case for printing padded string.
14819 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
14820 _IO_padn returned error.
14821 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
14822 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
14825 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14827 * libio/libioP.h: Add comment note that the references to C++
14828 bits are now obsolete.
14830 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14832 * math/libm-test.inc (check_complex): Use asprintf.
14834 2012-11-14 Joseph Myers <joseph@codesourcery.com>
14836 * debug/pcprofiledump.c (print_version): Update copyright year.
14837 * malloc/memusagestat.c (print_version): Likewise.
14839 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
14842 * elf/Makefile (tests): Add tst-audit8.
14843 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
14844 ($(objpfx)tst-audit8.out): New target.
14845 (tst-audit8-ENV): New variable.
14846 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
14847 audit if l_reloc_result is NULL.
14848 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
14849 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
14850 * elf/tst-audit8.c: New file.
14852 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14854 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
14855 * misc/Makefile (CFLAGS-select.c): Define.
14856 * posix/Makefile (CFLAGS-pause.c): Define.
14858 2012-11-13 David S. Miller <davem@davemloft.net>
14860 * crypt/Makefile: Move test targets after toplevel Rules
14861 inclusion. Grab any necessary sysdep routines when linking.
14862 * crypt/md5.c (md5_process_block): Remove define, we will always
14863 name it __md5_process_block.
14864 (md5_finish_ctx): Update md5_process_block call.
14865 (md5_stream): Likewise.
14866 (md5_process_bytes): Likewise.
14867 (md5_process_block): Rename to __md5_process_block and move to ...
14868 * crypt/md5-block.c: ... here.
14869 * crypt/sha256.c (sha256_process_block): Move to ...
14870 * crypt/sha256-block.c: ... here.
14871 * crypt/sha512.c (sha512_process_block): Move to ...
14872 * crypt/sha512-block.c: ... here.
14873 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
14875 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
14876 * sysdeps/sparc/sparc64/multiarch/Makefile
14877 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
14879 (localedef-aux): Add md5 crypto assembler when in locale subdir.
14880 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
14882 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
14883 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
14884 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
14885 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
14886 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
14887 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
14888 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
14889 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
14890 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
14892 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
14893 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
14895 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
14897 2012-11-13 Joseph Myers <joseph@codesourcery.com>
14899 * timezone/tzselect.ksh: Update from tzcode git revision
14900 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
14901 * timezone/zdump.c: Likewise.
14902 * timezone/zic.c: Likewise.
14903 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
14904 in TZVERSION setting, not $(PKGVERSION).
14905 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
14906 REPORT_BUGS_TO settings.
14909 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
14912 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14914 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
14915 detection to immediately after _FP_ROUND().
14916 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
14919 2012-11-11 David S. Miller <davem@davemloft.net>
14921 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
14923 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
14924 __close rather than their public counterparts.
14926 2012-11-10 Joseph Myers <joseph@codesourcery.com>
14928 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
14930 [UNIX98] (sem_timedwait): Do not expect.
14931 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
14932 [XPG4 || UNIX98] (sockatmark): Do not expect.
14933 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
14934 (clock_getcpuclockid): Do not expect.
14935 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
14936 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
14938 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
14939 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
14940 [UNIX98] (vwscanf): Likewise.
14941 [UNIX98] (vswscanf): Likewise.
14943 2012-11-09 Joseph Myers <joseph@codesourcery.com>
14945 * timezone/version.h: Remove file.
14946 * timezone/README: Do not refer to version.h.
14947 * timezone/Makefile ($(objpfx)zic.o): New dependency on
14948 $(objpfx)version.h.
14949 ($(objpfx)zdump.o): Likewise.
14950 ($(objpfx)version.h): New target.
14952 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
14954 * timezone/README: Don't mention modification to tzselect.ksh.
14955 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
14956 work on unmodified tzselect.ksh. Substitute version numbers in
14959 * Makefile (format-me): Remove.
14960 (INSTALL): Adjust indentation. Use commands directly instead of
14961 using $(format-me).
14963 * aclocal.m4 (ACX_PKGVERSION): New macro.
14964 (ACX_BUGURL): Likewise.
14965 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
14966 (PKGVERSION): New AC_DEFINE_UNQUOTED.
14967 (REPORT_BUGS_TO): Likewise.
14968 * configure: Regenerated.
14969 * config.h.in (PKGVERSION): New macro.
14970 (REPORT_BUGS_TO): Likewise.
14971 * config.make.in (PKGVERSION): New variable.
14972 (PKGVERSION_TEXI): Likewise.
14973 (REPORT_BUGS_TO): Likewise.
14974 (REPORT_BUGS_TEXI): Likewise.
14975 * Makefile (format-me): Use -I$(common-objpfx)manual.
14976 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
14977 ($(common-objpfx)manual/%): New target.
14978 (manual/%): Remove target.
14979 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
14980 (print_version): Use PKGVERSION.
14981 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
14982 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
14983 and REPORT_BUGS_TO.
14984 ($(objpfx)xtrace): Likewise.
14985 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
14986 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
14987 (print_version): Use PKGVERSION.
14988 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
14989 (do_version): Use PKGVERSION.
14990 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
14992 (common-ldd-rewrite): Likewise.
14993 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
14994 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
14995 (print_version): Use PKGVERSION.
14996 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
14997 * elf/pldd.c (argp_program_bug_address): Remove variable.
14998 (more_help): New function.
14999 (argp): Use more_help.
15000 (print_version): Use PKGVERSION.
15001 * elf/sln.c (main): Use PKGVERSION.
15002 (usage): Use REPORT_BUGS_TO.
15003 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
15004 (top level): Use PKGVERSION.
15005 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
15006 (print_version): Use PKGVERSION.
15007 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
15008 (print_version): Use PKGVERSION.
15009 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
15010 (print_version): Use PKGVERSION.
15011 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
15012 (print_version): Use PKGVERSION.
15013 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
15014 (print_version): Use PKGVERSION.
15015 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
15016 (print_version): Use PKGVERSION.
15017 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
15019 ($(objpfx)memusage): Likewise.
15020 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
15021 (do_version): Use PKGVERSION.
15022 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
15023 (print_version): Use PKGVERSION.
15024 * malloc/mtrace.pl ($PACKAGE): Remove variable.
15025 ($PKGVERSION): New variable.
15026 ($REPORT_BUGS_TO): Likewise.
15027 (usage): Use $REPORT_BUGS_TO.
15028 (top level): Use $PKGVERSION.
15029 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
15030 ($(objpfx)pkgvers.texi): New rule.
15031 ($(objpfx)stamp-pkgvers): Likewise.
15032 * manual/install.texi: Include pkgvers.texi.
15033 (--with-pkgversion): Document new configure option.
15034 (--with-bugurl): Likewise.
15035 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
15036 than necessarily for this particular distribution. Use
15037 REPORT_BUGS_TO for where to report bugs.
15038 * INSTALL: Regenerated.
15039 * manual/libc.texinfo: Include pkgvers.texi.
15040 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
15041 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
15042 (print_version): Use PKGVERSION.
15043 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
15044 (print_version): Use PKGVERSION.
15045 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
15046 (print_version): Use PKGVERSION.
15047 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
15048 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
15050 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
15051 (print_version): Use PKGVERSION.
15052 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
15053 (print_version): Use PKGVERSION.
15054 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
15057 * timezone/checktab.awk: Update from tzcode 2012i.
15058 * timezone/ialloc.c: Likewise.
15059 * timezone/private.h: Likewise.
15060 * timezone/scheck.c: Likewise.
15061 * timezone/tzfile.h: Likewise.
15062 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
15063 (TZVERSION): Hardcode tzcode version number.
15064 * timezone/zdump.c: Update from tzcode 2012i.
15065 * timezone/zic.c: Likewise.
15066 * timezone/version.h: New file.
15067 * timezone/README: Describe version.h. Update upstream location.
15070 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
15071 (mktemp): Enable declaration.
15072 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
15073 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
15074 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
15075 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
15077 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
15079 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
15081 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
15083 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
15085 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
15089 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
15090 offset in buffer as u_int32_t not u_long. Consistently use memcpy
15091 for copies of such integer values.
15092 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
15093 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
15095 2012-11-09 Andreas Jaeger <aj@suse.de>
15097 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
15098 definitions and declarations that are provided by
15099 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15101 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15103 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
15104 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
15105 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
15108 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15110 * elf/elf.h: Update comment before AArch64 relocations.
15112 2012-11-07 David S. Miller <davem@davemloft.net>
15114 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
15115 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
15116 (__start_context): Declare.
15117 (__makecontext_ret): Delete.
15118 (__makecontext): Hook up __start_context instead of
15120 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
15121 (sysdep_routines): Add __start_context when in stdlib.
15123 2012-11-07 Joseph Myers <joseph@codesourcery.com>
15125 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
15126 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
15127 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
15129 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
15130 (READELF): New variable. Use it instead of hardcoded "readelf".
15132 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
15134 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
15135 * sysdeps/x86/Makefile: Here.
15136 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
15137 * sysdeps/x86/tst-xmmymm.sh: This.
15139 2012-11-07 Joseph Myers <joseph@codesourcery.com>
15141 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
15143 [UNIX98] (pthread_barrier_t): Do not expect.
15144 [UNIX98] (pthread_barrierattr_t): Likewise.
15145 [UNIX98] (pthread_spinlock_t): Likewise.
15146 [UNIX98] (pthread_barrier_destroy): Likewise.
15147 [UNIX98] (pthread_barrier_init): Likewise.
15148 [UNIX98] (pthread_barrier_wait): Likewise.
15149 [UNIX98] (pthread_barrierattr_destroy): Likewise.
15150 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
15151 [UNIX98] (pthread_barrierattr_init): Likewise.
15152 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
15153 [UNIX98] (pthread_getcpuclockid): Likewise.
15154 [UNIX98] (pthread_mutex_timedlock): Likewise.
15155 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
15156 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
15157 [UNIX98] (pthread_sigmask): Likewise.
15158 [UNIX98] (pthread_spin_destroy): Likewise.
15159 [UNIX98] (pthread_spin_init): Likewise.
15160 [UNIX98] (pthread_spin_lock): Likewise.
15161 [UNIX98] (pthread_spin_trylock): Likewise.
15162 [UNIX98] (pthread_spin_unlock): Likewise.
15163 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
15165 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
15166 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
15167 [XPG3 || XPG4] (pthread_cond_t): Likewise.
15168 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
15169 [XPG3 || XPG4] (pthread_key_t): Likewise.
15170 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
15171 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
15172 [XPG3 || XPG4] (pthread_once_t): Likewise.
15173 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
15174 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
15175 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
15176 [XPG3 || XPG4] (pthread_t): Likewise.
15178 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
15180 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
15182 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
15183 Change function return type to int.
15185 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
15186 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
15187 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
15188 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
15189 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
15190 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
15191 [!POSIX] (posix_madvise): Likewise.
15192 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
15194 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
15195 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
15196 (mode_t): Likewise.
15197 (posix_mem_offset): Likewise.
15198 (posix_typed_mem_get_info): Likewise.
15199 (posix_typed_mem_open): Likewise.
15201 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
15202 Change condition to [XOPEN2K8].
15204 * conform/conformtest.pl: Preprocess allow-header data with -x c
15205 instead of from stdin.
15206 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
15207 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
15208 [C99-based standards] (cerfc): Likewise.
15209 [C99-based standards] (cexp2): Likewise.
15210 [C99-based standards] (cexpm1): Likewise.
15211 [C99-based standards] (clog10): Likewise.
15212 [C99-based standards] (clog1p): Likewise.
15213 [C99-based standards] (clog2): Likewise.
15214 [C99-based standards] (clgamma): Likewise.
15215 [C99-based standards] (ctgamma): Likewise.
15216 [C99-based standards] (cerff): Likewise.
15217 [C99-based standards] (cerfcf): Likewise.
15218 [C99-based standards] (cexp2f): Likewise.
15219 [C99-based standards] (cexpm1f): Likewise.
15220 [C99-based standards] (clog10f): Likewise.
15221 [C99-based standards] (clog1pf): Likewise.
15222 [C99-based standards] (clog2f): Likewise.
15223 [C99-based standards] (clgammaf): Likewise.
15224 [C99-based standards] (ctgammaf): Likewise.
15225 [C99-based standards] (cerfl): Likewise.
15226 [C99-based standards] (cerfcl): Likewise.
15227 [C99-based standards] (cexp2l): Likewise.
15228 [C99-based standards] (cexpm1l): Likewise.
15229 [C99-based standards] (clog10l): Likewise.
15230 [C99-based standards] (clog1pl): Likewise.
15231 [C99-based standards] (clog2l): Likewise.
15232 [C99-based standards] (clgammal): Likewise.
15233 [C99-based standards] (ctgammal): Likewise.
15234 * conform/data/inttypes.h-data [C99-based standards]: Include
15235 stdint.h-data. Remove all expectations for stdint.h contents.
15236 [C99-based standards] (PRI*): Do not allow.
15237 [C99-based standards] (SCN*): Likewise.
15238 [C99-based standards] (*_t): Likewise.
15239 [C99-based-standards] (PRId8): Expect macro.
15240 [C99-based-standards] (PRIi8): Likewise.
15241 [C99-based-standards] (PRIo8): Likewise.
15242 [C99-based-standards] (PRIu8): Likewise.
15243 [C99-based-standards] (PRIx8): Likewise.
15244 [C99-based-standards] (PRIX8): Likewise.
15245 [C99-based-standards] (SCNd8): Likewise.
15246 [C99-based-standards] (SCNi8): Likewise.
15247 [C99-based-standards] (SCNo8): Likewise.
15248 [C99-based-standards] (SCNu8): Likewise.
15249 [C99-based-standards] (SCNx8): Likewise.
15250 [C99-based-standards] (PRIdLEAST8): Likewise.
15251 [C99-based-standards] (PRIiLEAST8): Likewise.
15252 [C99-based-standards] (PRIoLEAST8): Likewise.
15253 [C99-based-standards] (PRIuLEAST8): Likewise.
15254 [C99-based-standards] (PRIxLEAST8): Likewise.
15255 [C99-based-standards] (PRIXLEAST8): Likewise.
15256 [C99-based-standards] (SCNdLEAST8): Likewise.
15257 [C99-based-standards] (SCNiLEAST8): Likewise.
15258 [C99-based-standards] (SCNoLEAST8): Likewise.
15259 [C99-based-standards] (SCNuLEAST8): Likewise.
15260 [C99-based-standards] (SCNxLEAST8): Likewise.
15261 [C99-based-standards] (PRIdFAST8): Likewise.
15262 [C99-based-standards] (PRIiFAST8): Likewise.
15263 [C99-based-standards] (PRIoFAST8): Likewise.
15264 [C99-based-standards] (PRIuFAST8): Likewise.
15265 [C99-based-standards] (PRIxFAST8): Likewise.
15266 [C99-based-standards] (PRIXFAST8): Likewise.
15267 [C99-based-standards] (SCNdFAST8): Likewise.
15268 [C99-based-standards] (SCNiFAST8): Likewise.
15269 [C99-based-standards] (SCNoFAST8): Likewise.
15270 [C99-based-standards] (SCNuFAST8): Likewise.
15271 [C99-based-standards] (SCNxFAST8): Likewise.
15272 [C99-based-standards] (PRId16): Likewise.
15273 [C99-based-standards] (PRIi16): Likewise.
15274 [C99-based-standards] (PRIo16): Likewise.
15275 [C99-based-standards] (PRIu16): Likewise.
15276 [C99-based-standards] (PRIx16): Likewise.
15277 [C99-based-standards] (PRIX16): Likewise.
15278 [C99-based-standards] (SCNd16): Likewise.
15279 [C99-based-standards] (SCNi16): Likewise.
15280 [C99-based-standards] (SCNo16): Likewise.
15281 [C99-based-standards] (SCNu16): Likewise.
15282 [C99-based-standards] (SCNx16): Likewise.
15283 [C99-based-standards] (PRIdLEAST16): Likewise.
15284 [C99-based-standards] (PRIiLEAST16): Likewise.
15285 [C99-based-standards] (PRIoLEAST16): Likewise.
15286 [C99-based-standards] (PRIuLEAST16): Likewise.
15287 [C99-based-standards] (PRIxLEAST16): Likewise.
15288 [C99-based-standards] (PRIXLEAST16): Likewise.
15289 [C99-based-standards] (SCNdLEAST16): Likewise.
15290 [C99-based-standards] (SCNiLEAST16): Likewise.
15291 [C99-based-standards] (SCNoLEAST16): Likewise.
15292 [C99-based-standards] (SCNuLEAST16): Likewise.
15293 [C99-based-standards] (SCNxLEAST16): Likewise.
15294 [C99-based-standards] (PRIdFAST16): Likewise.
15295 [C99-based-standards] (PRIiFAST16): Likewise.
15296 [C99-based-standards] (PRIoFAST16): Likewise.
15297 [C99-based-standards] (PRIuFAST16): Likewise.
15298 [C99-based-standards] (PRIxFAST16): Likewise.
15299 [C99-based-standards] (PRIXFAST16): Likewise.
15300 [C99-based-standards] (SCNdFAST16): Likewise.
15301 [C99-based-standards] (SCNiFAST16): Likewise.
15302 [C99-based-standards] (SCNoFAST16): Likewise.
15303 [C99-based-standards] (SCNuFAST16): Likewise.
15304 [C99-based-standards] (SCNxFAST16): Likewise.
15305 [C99-based-standards] (PRId32): Likewise.
15306 [C99-based-standards] (PRIi32): Likewise.
15307 [C99-based-standards] (PRIo32): Likewise.
15308 [C99-based-standards] (PRIu32): Likewise.
15309 [C99-based-standards] (PRIx32): Likewise.
15310 [C99-based-standards] (PRIX32): Likewise.
15311 [C99-based-standards] (SCNd32): Likewise.
15312 [C99-based-standards] (SCNi32): Likewise.
15313 [C99-based-standards] (SCNo32): Likewise.
15314 [C99-based-standards] (SCNu32): Likewise.
15315 [C99-based-standards] (SCNx32): Likewise.
15316 [C99-based-standards] (PRIdLEAST32): Likewise.
15317 [C99-based-standards] (PRIiLEAST32): Likewise.
15318 [C99-based-standards] (PRIoLEAST32): Likewise.
15319 [C99-based-standards] (PRIuLEAST32): Likewise.
15320 [C99-based-standards] (PRIxLEAST32): Likewise.
15321 [C99-based-standards] (PRIXLEAST32): Likewise.
15322 [C99-based-standards] (SCNdLEAST32): Likewise.
15323 [C99-based-standards] (SCNiLEAST32): Likewise.
15324 [C99-based-standards] (SCNoLEAST32): Likewise.
15325 [C99-based-standards] (SCNuLEAST32): Likewise.
15326 [C99-based-standards] (SCNxLEAST32): Likewise.
15327 [C99-based-standards] (PRIdFAST32): Likewise.
15328 [C99-based-standards] (PRIiFAST32): Likewise.
15329 [C99-based-standards] (PRIoFAST32): Likewise.
15330 [C99-based-standards] (PRIuFAST32): Likewise.
15331 [C99-based-standards] (PRIxFAST32): Likewise.
15332 [C99-based-standards] (PRIXFAST32): Likewise.
15333 [C99-based-standards] (SCNdFAST32): Likewise.
15334 [C99-based-standards] (SCNiFAST32): Likewise.
15335 [C99-based-standards] (SCNoFAST32): Likewise.
15336 [C99-based-standards] (SCNuFAST32): Likewise.
15337 [C99-based-standards] (SCNxFAST32): Likewise.
15338 [C99-based-standards] (PRId64): Likewise.
15339 [C99-based-standards] (PRIi64): Likewise.
15340 [C99-based-standards] (PRIo64): Likewise.
15341 [C99-based-standards] (PRIu64): Likewise.
15342 [C99-based-standards] (PRIx64): Likewise.
15343 [C99-based-standards] (PRIX64): Likewise.
15344 [C99-based-standards] (SCNd64): Likewise.
15345 [C99-based-standards] (SCNi64): Likewise.
15346 [C99-based-standards] (SCNo64): Likewise.
15347 [C99-based-standards] (SCNu64): Likewise.
15348 [C99-based-standards] (SCNx64): Likewise.
15349 [C99-based-standards] (PRIdLEAST64): Likewise.
15350 [C99-based-standards] (PRIiLEAST64): Likewise.
15351 [C99-based-standards] (PRIoLEAST64): Likewise.
15352 [C99-based-standards] (PRIuLEAST64): Likewise.
15353 [C99-based-standards] (PRIxLEAST64): Likewise.
15354 [C99-based-standards] (PRIXLEAST64): Likewise.
15355 [C99-based-standards] (SCNdLEAST64): Likewise.
15356 [C99-based-standards] (SCNiLEAST64): Likewise.
15357 [C99-based-standards] (SCNoLEAST64): Likewise.
15358 [C99-based-standards] (SCNuLEAST64): Likewise.
15359 [C99-based-standards] (SCNxLEAST64): Likewise.
15360 [C99-based-standards] (PRIdFAST64): Likewise.
15361 [C99-based-standards] (PRIiFAST64): Likewise.
15362 [C99-based-standards] (PRIoFAST64): Likewise.
15363 [C99-based-standards] (PRIuFAST64): Likewise.
15364 [C99-based-standards] (PRIxFAST64): Likewise.
15365 [C99-based-standards] (PRIXFAST64): Likewise.
15366 [C99-based-standards] (SCNdFAST64): Likewise.
15367 [C99-based-standards] (SCNiFAST64): Likewise.
15368 [C99-based-standards] (SCNoFAST64): Likewise.
15369 [C99-based-standards] (SCNuFAST64): Likewise.
15370 [C99-based-standards] (SCNxFAST64): Likewise.
15371 [C99-based-standards] (PRIdMAX): Likewise.
15372 [C99-based-standards] (PRIiMAX): Likewise.
15373 [C99-based-standards] (PRIoMAX): Likewise.
15374 [C99-based-standards] (PRIuMAX): Likewise.
15375 [C99-based-standards] (PRIxMAX): Likewise.
15376 [C99-based-standards] (PRIXMAX): Likewise.
15377 [C99-based-standards] (SCNdMAX): Likewise.
15378 [C99-based-standards] (SCNiMAX): Likewise.
15379 [C99-based-standards] (SCNoMAX): Likewise.
15380 [C99-based-standards] (SCNuMAX): Likewise.
15381 [C99-based-standards] (SCNxMAX): Likewise.
15382 [C99-based-standards] (PRIdPTR): Likewise.
15383 [C99-based-standards] (PRIiPTR): Likewise.
15384 [C99-based-standards] (PRIoPTR): Likewise.
15385 [C99-based-standards] (PRIuPTR): Likewise.
15386 [C99-based-standards] (PRIxPTR): Likewise.
15387 [C99-based-standards] (PRIXPTR): Likewise.
15388 [C99-based-standards] (SCNdPTR): Likewise.
15389 [C99-based-standards] (SCNiPTR): Likewise.
15390 [C99-based-standards] (SCNoPTR): Likewise.
15391 [C99-based-standards] (SCNuPTR): Likewise.
15392 [C99-based-standards] (SCNxPTR): Likewise.
15393 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
15395 * conform/data/stdint.h-data: Update comments to clarify
15397 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
15399 [C99-based standards] (INT8_MAX): Likewise.
15400 [C99-based standards] (INT16_MIN): Likewise.
15401 [C99-based standards] (INT16_MAX): Likewise.
15402 [C99-based standards] (INT32_MIN): Likewise.
15403 [C99-based standards] (INT32_MAX): Likewise.
15404 [C99-based standards] (INT64_MIN): Likewise.
15405 [C99-based standards] (INT64_MAX): Likewise.
15406 [C99-based standards] (UINT8_MAX): Likewise.
15407 [C99-based standards] (UINT16_MAX): Likewise.
15408 [C99-based standards] (UINT32_MAX): Likewise.
15409 [C99-based standards] (UINT64_MAX): Likewise.
15410 [C99-based standards] (INT_LEAST8_MIN): Likewise.
15411 [C99-based standards] (INT_LEAST8_MAX): Likewise.
15412 [C99-based standards] (INT_LEAST16_MIN): Likewise.
15413 [C99-based standards] (INT_LEAST16_MAX): Likewise.
15414 [C99-based standards] (INT_LEAST32_MIN): Likewise.
15415 [C99-based standards] (INT_LEAST32_MAX): Likewise.
15416 [C99-based standards] (INT_LEAST64_MIN): Likewise.
15417 [C99-based standards] (INT_LEAST64_MAX): Likewise.
15418 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
15419 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
15420 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
15421 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
15422 [C99-based standards] (INT_FAST8_MIN): Likewise.
15423 [C99-based standards] (INT_FAST8_MAX): Likewise.
15424 [C99-based standards] (INT_FAST16_MIN): Likewise.
15425 [C99-based standards] (INT_FAST16_MAX): Likewise.
15426 [C99-based standards] (INT_FAST32_MIN): Likewise.
15427 [C99-based standards] (INT_FAST32_MAX): Likewise.
15428 [C99-based standards] (INT_FAST64_MIN): Likewise.
15429 [C99-based standards] (INT_FAST64_MAX): Likewise.
15430 [C99-based standards] (UINT_FAST8_MAX): Likewise.
15431 [C99-based standards] (UINT_FAST16_MAX): Likewise.
15432 [C99-based standards] (UINT_FAST32_MAX): Likewise.
15433 [C99-based standards] (UINT_FAST64_MAX): Likewise.
15434 [C99-based standards] (INTPTR_MIN): Likewise.
15435 [C99-based standards] (INTPTR_MAX): Likewise.
15436 [C99-based standards] (UINTPTR_MAX): Likewise.
15437 [C99-based standards] (INTMAX_MIN): Likewise.
15438 [C99-based standards] (INTMAX_MAX): Likewise.
15439 [C99-based standards] (UINTMAX_MAX): Likewise.
15440 [C99-based standards] (PTRDIFF_MIN): Likewise.
15441 [C99-based standards] (PTRDIFF_MAX): Likewise.
15442 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
15443 [C99-based standards] (SIZE_MAX): Likewise.
15444 [C99-based standards] (WCHAR_MAX): Likewise.
15445 [C99-based standards] (WINT_MAX): Likewise.
15446 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
15447 constraint on value.
15448 [C99-based standards] (WCHAR_MIN): Likewise.
15449 [C99-based standards] (WINT_MIN): Likewise.
15450 [C99-based standards] (*_t): Allow.
15451 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
15452 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
15453 Include math.h-data and complex.h-data. Remove all expectations
15454 of math.h and complex.h contents.
15455 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
15457 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
15458 (struct tm): Expect tag.
15459 [C99-based-standards] (wcstof): Expect function.
15460 [C99-based-standards] (wcstold): Likewise.
15461 [C99-based-standards] (wcstoll): Likewise.
15462 [C99-based-standards] (wcstoull): Likewise.
15463 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
15464 macro-int-constant. Specify type.
15465 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
15466 constraint on value.
15467 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
15469 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
15471 [ISO C standards]: Do not allow headers.
15472 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
15473 wcs[abcdefghijklmnopqrstuvwxyz]*.
15474 [ISO C standards] (*_t): Do not allow.
15475 * conform/data/wctype.h-data [C99-based standards] (iswblank):
15477 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
15478 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
15480 [ISO C standards]: Do not allow headers.
15481 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
15482 is[abcdefghijklmnopqrstuvwxyz]*.
15483 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
15484 to[abcdefghijklmnopqrstuvwxyz]*.
15485 [ISO C standards] (*_t): Do not allow.
15486 * conform/data/stdalign.h-data: New file.
15487 * conform/data/stdbool.h-data: Likewise.
15488 * conform/data/stdnoreturn.h-data: Likewise.
15490 2012-11-07 Roland McGrath <roland@hack.frob.com>
15493 * manual/filesys.texi (Directory Entries): Typo fix.
15494 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
15496 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15498 * elf/elf.h (EM_AARCH64): New macro.
15499 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
15500 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
15501 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
15502 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
15503 (R_AARCH64_TLSDESC): Likewise.
15504 (NT_ARM_TLS): Likewise.
15505 (NT_ARM_HW_BREAK): Likewise.
15506 (NT_ARM_HW_WATCH): Likewise.
15508 2012-11-07 Joseph Myers <joseph@codesourcery.com>
15511 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
15512 (__ieee754_powl): Saturate nonzero exponents with absolute value
15513 below 0x1p-79 to +/- 0x1p-79.
15514 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
15515 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
15516 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
15517 nonzero exponents with absolute value below 0x1p-32 to +/-
15519 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
15520 (__ieee754_powl): Saturate nonzero exponents with absolute value
15521 below 0x1p-79 to +/- 0x1p-79.
15522 * math/libm-test.inc (pow_test): Add more tests.
15524 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15526 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
15527 _dl_s390_cap_flags with kernel. Increase string length.
15528 (_dl_s390_platforms): Add z196 and zEC12.
15530 2012-11-07 Joseph Myers <joseph@codesourcery.com>
15532 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
15533 Change XOPEN21K to XOPEN2K.
15535 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
15537 * string/memmove.c: Use memcpy when possible.
15539 2012-11-06 Andreas Jaeger <aj@suse.de>
15541 * po/eo.po: Update from translation team.
15543 2012-11-06 Joseph Myers <joseph@codesourcery.com>
15546 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
15547 exponent and small x and y exponents, scale x or y up. Increase
15548 by 2 the exponent used in scaling up.
15549 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15550 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15551 * math/libm-test.inc (fma_test): Add more tests.
15552 (fma_test_towardzero): Likewise.
15553 (fma_test_downward): Likewise.
15554 (fma_test_upward): Likewise.
15556 2012-11-05 Joseph Myers <joseph@codesourcery.com>
15559 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
15563 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
15564 namespace for names of struct fields.
15565 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
15567 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
15568 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
15570 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15573 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
15575 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
15577 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
15581 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
15584 2012-11-04 Joseph Myers <joseph@codesourcery.com>
15587 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
15588 definitely overflow as x * y not x * y + z.
15589 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15590 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15591 * math/libm-test.inc (fma_test): Add more tests.
15592 (fma_test_towardzero): Likewise.
15593 (fma_test_downward): Likewise.
15594 (fma_test_upward): Likewise.
15596 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
15600 * include/stub-tag.h: Remove file.
15601 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
15603 * manual/maint.texi (Porting): Don't reference it.
15604 * Makerules ($(objpfx)stubs): Likewise.
15605 * dirent/closedir.c: Don't include <stub-tag.h>.
15606 * dirent/dirfd.c: Likewise.
15607 * dirent/fdopendir.c: Likewise.
15608 * dirent/getdents.c: Likewise.
15609 * dirent/getdents64.c: Likewise.
15610 * dirent/opendir.c: Likewise.
15611 * dirent/readdir.c: Likewise.
15612 * dirent/readdir64.c: Likewise.
15613 * dirent/readdir64_r.c: Likewise.
15614 * dirent/readdir_r.c: Likewise.
15615 * dirent/rewinddir.c: Likewise.
15616 * dirent/seekdir.c: Likewise.
15617 * dirent/telldir.c: Likewise.
15618 * gmon/profil.c: Likewise.
15619 * grp/setgroups.c: Likewise.
15620 * inet/if_index.c: Likewise.
15621 * io/access.c: Likewise.
15622 * io/chdir.c: Likewise.
15623 * io/chmod.c: Likewise.
15624 * io/chown.c: Likewise.
15625 * io/close.c: Likewise.
15626 * io/dup.c: Likewise.
15627 * io/dup2.c: Likewise.
15628 * io/dup3.c: Likewise.
15629 * io/euidaccess.c: Likewise.
15630 * io/faccessat.c: Likewise.
15631 * io/fchdir.c: Likewise.
15632 * io/fchmod.c: Likewise.
15633 * io/fchmodat.c: Likewise.
15634 * io/fchown.c: Likewise.
15635 * io/fchownat.c: Likewise.
15636 * io/fcntl.c: Likewise.
15637 * io/flock.c: Likewise.
15638 * io/fstatfs.c: Likewise.
15639 * io/fstatfs64.c: Likewise.
15640 * io/fstatvfs.c: Likewise.
15641 * io/fstatvfs64.c: Likewise.
15642 * io/futimens.c: Likewise.
15643 * io/fxstat.c: Likewise.
15644 * io/fxstat64.c: Likewise.
15645 * io/fxstatat.c: Likewise.
15646 * io/fxstatat64.c: Likewise.
15647 * io/getcwd.c: Likewise.
15648 * io/isatty.c: Likewise.
15649 * io/lchmod.c: Likewise.
15650 * io/lchown.c: Likewise.
15651 * io/link.c: Likewise.
15652 * io/linkat.c: Likewise.
15653 * io/lseek.c: Likewise.
15654 * io/lseek64.c: Likewise.
15655 * io/lxstat64.c: Likewise.
15656 * io/mkdir.c: Likewise.
15657 * io/mkdirat.c: Likewise.
15658 * io/mkfifo.c: Likewise.
15659 * io/mkfifoat.c: Likewise.
15660 * io/open.c: Likewise.
15661 * io/open64.c: Likewise.
15662 * io/openat.c: Likewise.
15663 * io/openat64.c: Likewise.
15664 * io/pipe.c: Likewise.
15665 * io/pipe2.c: Likewise.
15666 * io/poll.c: Likewise.
15667 * io/posix_fadvise.c: Likewise.
15668 * io/posix_fadvise64.c: Likewise.
15669 * io/posix_fallocate.c: Likewise.
15670 * io/posix_fallocate64.c: Likewise.
15671 * io/read.c: Likewise.
15672 * io/readlink.c: Likewise.
15673 * io/readlinkat.c: Likewise.
15674 * io/rmdir.c: Likewise.
15675 * io/sendfile.c: Likewise.
15676 * io/sendfile64.c: Likewise.
15677 * io/statfs.c: Likewise.
15678 * io/statfs64.c: Likewise.
15679 * io/statvfs.c: Likewise.
15680 * io/statvfs64.c: Likewise.
15681 * io/symlink.c: Likewise.
15682 * io/symlinkat.c: Likewise.
15683 * io/ttyname.c: Likewise.
15684 * io/ttyname_r.c: Likewise.
15685 * io/umask.c: Likewise.
15686 * io/unlink.c: Likewise.
15687 * io/unlinkat.c: Likewise.
15688 * io/utime.c: Likewise.
15689 * io/utimensat.c: Likewise.
15690 * io/write.c: Likewise.
15691 * io/xmknod.c: Likewise.
15692 * io/xmknodat.c: Likewise.
15693 * io/xstat.c: Likewise.
15694 * io/xstat64.c: Likewise.
15695 * login/getpt.c: Likewise.
15696 * login/grantpt.c: Likewise.
15697 * login/unlockpt.c: Likewise.
15698 * math/e_acoshl.c: Likewise.
15699 * math/e_acosl.c: Likewise.
15700 * math/e_asinl.c: Likewise.
15701 * math/e_atan2l.c: Likewise.
15702 * math/e_atanhl.c: Likewise.
15703 * math/e_coshl.c: Likewise.
15704 * math/e_expl.c: Likewise.
15705 * math/e_fmodl.c: Likewise.
15706 * math/e_gammal_r.c: Likewise.
15707 * math/e_hypotl.c: Likewise.
15708 * math/e_j0l.c: Likewise.
15709 * math/e_j1l.c: Likewise.
15710 * math/e_jnl.c: Likewise.
15711 * math/e_lgammal_r.c: Likewise.
15712 * math/e_log10l.c: Likewise.
15713 * math/e_log2l.c: Likewise.
15714 * math/e_logl.c: Likewise.
15715 * math/e_powl.c: Likewise.
15716 * math/e_rem_pio2l.c: Likewise.
15717 * math/e_sinhl.c: Likewise.
15718 * math/e_sqrtl.c: Likewise.
15719 * math/fclrexcpt.c: Likewise.
15720 * math/fedisblxcpt.c: Likewise.
15721 * math/feenablxcpt.c: Likewise.
15722 * math/fegetenv.c: Likewise.
15723 * math/fegetexcept.c: Likewise.
15724 * math/fegetround.c: Likewise.
15725 * math/feholdexcpt.c: Likewise.
15726 * math/fesetenv.c: Likewise.
15727 * math/fesetround.c: Likewise.
15728 * math/feupdateenv.c: Likewise.
15729 * math/fgetexcptflg.c: Likewise.
15730 * math/fraiseexcpt.c: Likewise.
15731 * math/fsetexcptflg.c: Likewise.
15732 * math/ftestexcept.c: Likewise.
15733 * math/k_cosl.c: Likewise.
15734 * math/k_rem_pio2l.c: Likewise.
15735 * math/k_sinl.c: Likewise.
15736 * math/k_tanl.c: Likewise.
15737 * math/s_asinhl.c: Likewise.
15738 * math/s_atanl.c: Likewise.
15739 * math/s_cbrtl.c: Likewise.
15740 * math/s_erfl.c: Likewise.
15741 * math/s_expm1l.c: Likewise.
15742 * math/s_log1pl.c: Likewise.
15743 * math/s_tanhl.c: Likewise.
15744 * misc/acct.c: Likewise.
15745 * misc/brk.c: Likewise.
15746 * misc/chflags.c: Likewise.
15747 * misc/chroot.c: Likewise.
15748 * misc/fchflags.c: Likewise.
15749 * misc/fgetxattr.c: Likewise.
15750 * misc/flistxattr.c: Likewise.
15751 * misc/fremovexattr.c: Likewise.
15752 * misc/fsetxattr.c: Likewise.
15753 * misc/fsync.c: Likewise.
15754 * misc/ftruncate.c: Likewise.
15755 * misc/futimes.c: Likewise.
15756 * misc/futimesat.c: Likewise.
15757 * misc/getdomain.c: Likewise.
15758 * misc/getdtsz.c: Likewise.
15759 * misc/gethostid.c: Likewise.
15760 * misc/gethostname.c: Likewise.
15761 * misc/getloadavg.c: Likewise.
15762 * misc/getpagesize.c: Likewise.
15763 * misc/getsysstats.c: Likewise.
15764 * misc/getxattr.c: Likewise.
15765 * misc/gtty.c: Likewise.
15766 * misc/ioctl.c: Likewise.
15767 * misc/lgetxattr.c: Likewise.
15768 * misc/listxattr.c: Likewise.
15769 * misc/llistxattr.c: Likewise.
15770 * misc/lremovexattr.c: Likewise.
15771 * misc/lsetxattr.c: Likewise.
15772 * misc/lutimes.c: Likewise.
15773 * misc/madvise.c: Likewise.
15774 * misc/mincore.c: Likewise.
15775 * misc/mlock.c: Likewise.
15776 * misc/mlockall.c: Likewise.
15777 * misc/mmap.c: Likewise.
15778 * misc/mprotect.c: Likewise.
15779 * misc/msync.c: Likewise.
15780 * misc/munlock.c: Likewise.
15781 * misc/munlockall.c: Likewise.
15782 * misc/munmap.c: Likewise.
15783 * misc/preadv.c: Likewise.
15784 * misc/preadv64.c: Likewise.
15785 * misc/ptrace.c: Likewise.
15786 * misc/pwritev.c: Likewise.
15787 * misc/pwritev64.c: Likewise.
15788 * misc/readv.c: Likewise.
15789 * misc/reboot.c: Likewise.
15790 * misc/remap_file_pages.c: Likewise.
15791 * misc/removexattr.c: Likewise.
15792 * misc/revoke.c: Likewise.
15793 * misc/select.c: Likewise.
15794 * misc/setdomain.c: Likewise.
15795 * misc/setegid.c: Likewise.
15796 * misc/seteuid.c: Likewise.
15797 * misc/sethostid.c: Likewise.
15798 * misc/sethostname.c: Likewise.
15799 * misc/setregid.c: Likewise.
15800 * misc/setreuid.c: Likewise.
15801 * misc/setxattr.c: Likewise.
15802 * misc/sstk.c: Likewise.
15803 * misc/stty.c: Likewise.
15804 * misc/swapoff.c: Likewise.
15805 * misc/swapon.c: Likewise.
15806 * misc/sync.c: Likewise.
15807 * misc/syncfs.c: Likewise.
15808 * misc/syscall.c: Likewise.
15809 * misc/truncate.c: Likewise.
15810 * misc/ualarm.c: Likewise.
15811 * misc/usleep.c: Likewise.
15812 * misc/ustat.c: Likewise.
15813 * misc/utimes.c: Likewise.
15814 * misc/vhangup.c: Likewise.
15815 * misc/writev.c: Likewise.
15816 * posix/_exit.c: Likewise.
15817 * posix/alarm.c: Likewise.
15818 * posix/execve.c: Likewise.
15819 * posix/fexecve.c: Likewise.
15820 * posix/fork.c: Likewise.
15821 * posix/fpathconf.c: Likewise.
15822 * posix/getaddrinfo.c: Likewise.
15823 * posix/getegid.c: Likewise.
15824 * posix/geteuid.c: Likewise.
15825 * posix/getgid.c: Likewise.
15826 * posix/getgroups.c: Likewise.
15827 * posix/getlogin.c: Likewise.
15828 * posix/getlogin_r.c: Likewise.
15829 * posix/getpgid.c: Likewise.
15830 * posix/getpid.c: Likewise.
15831 * posix/getppid.c: Likewise.
15832 * posix/getresgid.c: Likewise.
15833 * posix/getresuid.c: Likewise.
15834 * posix/getsid.c: Likewise.
15835 * posix/getuid.c: Likewise.
15836 * posix/glob64.c: Likewise.
15837 * posix/nanosleep.c: Likewise.
15838 * posix/pathconf.c: Likewise.
15839 * posix/pause.c: Likewise.
15840 * posix/posix_madvise.c: Likewise.
15841 * posix/pread.c: Likewise.
15842 * posix/pread64.c: Likewise.
15843 * posix/pwrite.c: Likewise.
15844 * posix/pwrite64.c: Likewise.
15845 * posix/sched_getaffinity.c: Likewise.
15846 * posix/sched_getp.c: Likewise.
15847 * posix/sched_gets.c: Likewise.
15848 * posix/sched_primax.c: Likewise.
15849 * posix/sched_primin.c: Likewise.
15850 * posix/sched_rr_gi.c: Likewise.
15851 * posix/sched_setaffinity.c: Likewise.
15852 * posix/sched_setp.c: Likewise.
15853 * posix/sched_sets.c: Likewise.
15854 * posix/sched_yield.c: Likewise.
15855 * posix/setgid.c: Likewise.
15856 * posix/setlogin.c: Likewise.
15857 * posix/setpgid.c: Likewise.
15858 * posix/setresgid.c: Likewise.
15859 * posix/setresuid.c: Likewise.
15860 * posix/setsid.c: Likewise.
15861 * posix/setuid.c: Likewise.
15862 * posix/sleep.c: Likewise.
15863 * posix/spawni.c: Likewise.
15864 * posix/sysconf.c: Likewise.
15865 * posix/times.c: Likewise.
15866 * posix/wait.c: Likewise.
15867 * posix/wait3.c: Likewise.
15868 * posix/wait4.c: Likewise.
15869 * posix/waitpid.c: Likewise.
15870 * resolv/gai_sigqueue.c: Likewise.
15871 * resource/getpriority.c: Likewise.
15872 * resource/getrlimit.c: Likewise.
15873 * resource/getrusage.c: Likewise.
15874 * resource/nice.c: Likewise.
15875 * resource/setpriority.c: Likewise.
15876 * resource/setrlimit.c: Likewise.
15877 * resource/ulimit.c: Likewise.
15878 * rt/aio_cancel.c: Likewise.
15879 * rt/aio_fsync.c: Likewise.
15880 * rt/aio_read.c: Likewise.
15881 * rt/aio_sigqueue.c: Likewise.
15882 * rt/aio_suspend.c: Likewise.
15883 * rt/aio_write.c: Likewise.
15884 * rt/clock_getres.c: Likewise.
15885 * rt/clock_gettime.c: Likewise.
15886 * rt/clock_nanosleep.c: Likewise.
15887 * rt/clock_settime.c: Likewise.
15888 * rt/lio_listio.c: Likewise.
15889 * rt/mq_close.c: Likewise.
15890 * rt/mq_getattr.c: Likewise.
15891 * rt/mq_notify.c: Likewise.
15892 * rt/mq_open.c: Likewise.
15893 * rt/mq_receive.c: Likewise.
15894 * rt/mq_send.c: Likewise.
15895 * rt/mq_setattr.c: Likewise.
15896 * rt/mq_timedreceive.c: Likewise.
15897 * rt/mq_timedsend.c: Likewise.
15898 * rt/mq_unlink.c: Likewise.
15899 * rt/shm_open.c: Likewise.
15900 * rt/shm_unlink.c: Likewise.
15901 * rt/timer_create.c: Likewise.
15902 * rt/timer_delete.c: Likewise.
15903 * rt/timer_getoverr.c: Likewise.
15904 * rt/timer_gettime.c: Likewise.
15905 * rt/timer_settime.c: Likewise.
15906 * setjmp/__longjmp.c: Likewise.
15907 * setjmp/setjmp.c: Likewise.
15908 * signal/kill.c: Likewise.
15909 * signal/killpg.c: Likewise.
15910 * signal/raise.c: Likewise.
15911 * signal/sigaction.c: Likewise.
15912 * signal/sigaltstack.c: Likewise.
15913 * signal/sigblock.c: Likewise.
15914 * signal/sigignore.c: Likewise.
15915 * signal/sigintr.c: Likewise.
15916 * signal/signal.c: Likewise.
15917 * signal/sigpause.c: Likewise.
15918 * signal/sigpending.c: Likewise.
15919 * signal/sigqueue.c: Likewise.
15920 * signal/sigreturn.c: Likewise.
15921 * signal/sigset.c: Likewise.
15922 * signal/sigsetmask.c: Likewise.
15923 * signal/sigstack.c: Likewise.
15924 * signal/sigsuspend.c: Likewise.
15925 * signal/sigtimedwait.c: Likewise.
15926 * signal/sigvec.c: Likewise.
15927 * signal/sigwait.c: Likewise.
15928 * signal/sigwaitinfo.c: Likewise.
15929 * signal/sysv_signal.c: Likewise.
15930 * socket/accept.c: Likewise.
15931 * socket/accept4.c: Likewise.
15932 * socket/bind.c: Likewise.
15933 * socket/connect.c: Likewise.
15934 * socket/getpeername.c: Likewise.
15935 * socket/getsockname.c: Likewise.
15936 * socket/getsockopt.c: Likewise.
15937 * socket/isfdtype.c: Likewise.
15938 * socket/listen.c: Likewise.
15939 * socket/recv.c: Likewise.
15940 * socket/recvfrom.c: Likewise.
15941 * socket/recvmsg.c: Likewise.
15942 * socket/send.c: Likewise.
15943 * socket/sendmsg.c: Likewise.
15944 * socket/sendto.c: Likewise.
15945 * socket/setsockopt.c: Likewise.
15946 * socket/shutdown.c: Likewise.
15947 * socket/sockatmark.c: Likewise.
15948 * socket/socket.c: Likewise.
15949 * socket/socketpair.c: Likewise.
15950 * stdio-common/ctermid.c: Likewise.
15951 * stdio-common/cuserid.c: Likewise.
15952 * stdio-common/remove.c: Likewise.
15953 * stdio-common/rename.c: Likewise.
15954 * stdio-common/renameat.c: Likewise.
15955 * stdio-common/tempname.c: Likewise.
15956 * stdlib/getcontext.c: Likewise.
15957 * stdlib/makecontext.c: Likewise.
15958 * stdlib/setcontext.c: Likewise.
15959 * stdlib/swapcontext.c: Likewise.
15960 * stdlib/system.c: Likewise.
15961 * streams/fattach.c: Likewise.
15962 * streams/fdetach.c: Likewise.
15963 * streams/getmsg.c: Likewise.
15964 * streams/getpmsg.c: Likewise.
15965 * streams/putmsg.c: Likewise.
15966 * streams/putpmsg.c: Likewise.
15967 * sysdeps/unix/bsd/getpt.c: Likewise.
15968 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
15969 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
15970 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
15973 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
15974 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
15975 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
15976 * sysvipc/msgctl.c: Likewise.
15977 * sysvipc/msgget.c: Likewise.
15978 * sysvipc/msgrcv.c: Likewise.
15979 * sysvipc/msgsnd.c: Likewise.
15980 * sysvipc/semctl.c: Likewise.
15981 * sysvipc/semget.c: Likewise.
15982 * sysvipc/semop.c: Likewise.
15983 * sysvipc/semtimedop.c: Likewise.
15984 * sysvipc/shmat.c: Likewise.
15985 * sysvipc/shmctl.c: Likewise.
15986 * sysvipc/shmdt.c: Likewise.
15987 * sysvipc/shmget.c: Likewise.
15988 * termios/tcdrain.c: Likewise.
15989 * termios/tcflow.c: Likewise.
15990 * termios/tcflush.c: Likewise.
15991 * termios/tcgetattr.c: Likewise.
15992 * termios/tcgetpgrp.c: Likewise.
15993 * termios/tcsendbrk.c: Likewise.
15994 * termios/tcsetattr.c: Likewise.
15995 * termios/tcsetpgrp.c: Likewise.
15996 * time/adjtime.c: Likewise.
15997 * time/clock.c: Likewise.
15998 * time/getitimer.c: Likewise.
15999 * time/gettimeofday.c: Likewise.
16000 * time/setitimer.c: Likewise.
16001 * time/settimeofday.c: Likewise.
16002 * time/stime.c: Likewise.
16003 * time/time.c: Likewise.
16005 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
16007 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
16010 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
16012 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
16014 2012-11-03 Joseph Myers <joseph@codesourcery.com>
16017 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
16018 FE_TONEAREST before applying Dekker multiplication and Knuth
16019 addition. Clear inexact exceptions and check for exact zero
16020 results afterwards.
16021 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16022 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16023 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16024 * math/libm-test.inc (fma_test): Add more tests.
16025 (fma_test_towardzero): Likewise.
16026 (fma_test_downward): Likewise.
16027 (fma_test_upward): Likewise.
16028 * sysdeps/generic/math_private.h (default_libc_fesetround): New
16030 (libc_fesetround): New macro.
16031 (libc_fesetroundf): Likewise.
16032 (libc_fesetroundl): Likewise.
16033 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
16035 (libc_fesetround_387): Likewise.
16036 (libc_fesetroundf): New macro.
16037 (libc_fesetround): Likewise.
16038 (libc_fesetroundl): Likewise.
16039 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
16041 (libc_fesetroundf): New macro.
16042 (libc_fesetround): Likewise.
16043 (libc_fesetroundl): Likewise.
16044 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
16045 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
16046 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
16048 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
16049 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
16051 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
16052 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
16054 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
16058 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
16059 integer constant usable in #if and use that to give value to enum
16061 (FE_DIVBYZERO): Likewise.
16062 (FE_UNDERFLOW): Likewise.
16063 (FE_OVERFLOW): Likewise.
16064 (FE_INVALID): Likewise.
16065 (FE_INVALID_SNAN): Likewise.
16066 (FE_INVALID_ISI): Likewise.
16067 (FE_INVALID_IDI): Likewise.
16068 (FE_INVALID_ZDZ): Likewise.
16069 (FE_INVALID_IMZ): Likewise.
16070 (FE_INVALID_COMPARE): Likewise.
16071 (FE_INVALID_SOFTWARE): Likewise.
16072 (FE_INVALID_SQRT): Likewise.
16073 (FE_INVALID_INTEGER_CONVERSION): Likewise.
16074 (FE_TONEAREST): Likewise.
16075 (FE_TOWARDZERO): Likewise.
16076 (FE_UPWARD): Likewise.
16077 (FE_DOWNWARD): Likewise.
16078 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
16079 (FE_DIVBYZERO): Likewise.
16080 (FE_OVERFLOW): Likewise.
16081 (FE_UNDERFLOW): Likewise.
16082 (FE_INEXACT): Likewise.
16083 (FE_TONEAREST): Likewise.
16084 (FE_DOWNWARD): Likewise.
16085 (FE_UPWARD): Likewise.
16086 (FE_TOWARDZERO): Likewise.
16087 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
16088 (FE_UNDERFLOW): Likewise.
16089 (FE_OVERFLOW): Likewise.
16090 (FE_DIVBYZERO): Likewise.
16091 (FE_INVALID): Likewise.
16092 (FE_TONEAREST): Likewise.
16093 (FE_TOWARDZERO): Likewise.
16094 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
16095 (FE_OVERFLOW): Likewise.
16096 (FE_UNDERFLOW): Likewise.
16097 (FE_DIVBYZERO): Likewise.
16098 (FE_INEXACT): Likewise.
16099 (FE_TONEAREST): Likewise.
16100 (FE_TOWARDZERO): Likewise.
16101 (FE_UPWARD): Likewise.
16102 (FE_DOWNWARD): Likewise.
16103 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
16104 (FE_DIVBYZERO): Likewise.
16105 (FE_OVERFLOW): Likewise.
16106 (FE_UNDERFLOW): Likewise.
16107 (FE_INEXACT): Likewise.
16108 (FE_TONEAREST): Likewise.
16109 (FE_DOWNWARD): Likewise.
16110 (FE_UPWARD): Likewise.
16111 (FE_TOWARDZERO): Likewise.
16113 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
16115 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
16117 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
16119 * scripts/cross-test-ssh.sh (command): Use newlines to separate
16120 commands. Quote $PWD.
16121 (blacklist_exports): Don't use remove_newlines. Replace "declare
16123 (remove_newlines): Remove.
16125 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
16127 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
16128 * stdlib/stdlib.h (atof): Moved to ...
16129 * include/bits/stdlib-float.h: Here. New file.
16130 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
16131 * stdlib/bits/stdlib-float.h: New file.
16132 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
16134 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
16137 2012-11-02 Joseph Myers <joseph@codesourcery.com>
16139 * conform/conformtest.pl (@headers): Add fenv.h.
16140 * conform/data/fenv.h-data: New file.
16141 * include/fenv.h [_ISOMAC]: Disable all contents of file except
16142 include of <math/fenv.h>.
16144 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
16145 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
16146 && !UNIX98]. Enables tests for XOPEN2K8.
16147 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
16148 POSIX2008]: Likewise.
16150 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
16151 (struct rusage): Do not expect type or its members.
16154 * math/math.h (FP_NAN): Define macro to integer constant usable in
16155 #if and use that to give value to enum constant.
16156 (FP_INFINITE): Likewise.
16157 (FP_ZERO): Likewise.
16158 (FP_SUBNORMAL): Likewise.
16159 (FP_NORMAL): Likewise.
16161 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
16163 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
16164 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
16167 2012-11-02 Roland McGrath <roland@hack.frob.com>
16169 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
16170 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
16171 autoconf-time if not.
16172 * configure.in: Remove AC_PREREQ.
16174 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16176 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
16177 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
16178 of the internal implementation.
16180 2012-11-02 Joseph Myers <joseph@codesourcery.com>
16182 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
16183 except include of <misc/sys/syslog.h>.
16185 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
16187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
16188 function returns with a NULL context exit with zero.
16190 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16192 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
16194 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
16196 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
16197 (run_program_cmd): This.
16198 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
16199 (tst_langinfo): New variable. Use it.
16201 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
16203 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
16204 floating point opcodes.
16206 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
16208 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
16211 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
16213 * sysdeps/mach/hurd/powerpc: Remove directory.
16214 * sysdeps/mach/powerpc: Likewise.
16216 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
16218 * scripts/check-local-headers.sh: Ignore c++ headers.
16220 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
16222 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
16223 __libc_cleanup_region_start argument.
16225 2012-11-01 Joseph Myers <joseph@codesourcery.com>
16229 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
16230 x * y using scaling, not as x * y + z.
16231 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16232 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16233 * math/libm-test.inc (fma_test): Add more tests.
16234 (fma_test_towardzero): Likewise.
16235 (fma_test_downward): Likewise.
16236 (fma_test_upward): Likewise.
16238 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
16240 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
16242 2012-10-31 Joseph Myers <joseph@codesourcery.com>
16244 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
16247 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
16249 * rt/tst-shm.c (worker): Correct checking for mmap failure.
16251 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
16253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16258 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16261 Fix the order of the list for glibc 2.17.
16262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16265 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
16267 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16269 2012-10-31 Joseph Myers <joseph@codesourcery.com>
16272 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
16273 for low part of x being zero before using __atanl (y).
16274 * math/libm-test.inc (atan2_test): Add another test.
16276 * manual/install.texi (Configuring and compiling): Document
16277 general use of test-wrapper and test-wrapper-env.
16278 * INSTALL: Regenerated.
16280 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
16281 (__fma): Do not extract and scale down low bits on after-rounding
16282 systems when result rounded to normal precision would have normal
16284 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
16285 (__fmal): Do not extract and scale down low bits on after-rounding
16286 systems when result rounded to normal precision would have normal
16288 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
16289 (__fmal): Do not extract and scale down low bits on after-rounding
16290 systems when result rounded to normal precision would have normal
16292 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
16294 (fma_test): Add more tests.
16295 (fma_test_towardzero): Likewise.
16296 (fma_test_downward): Likewise.
16297 (fma_test_upward): Likewise.
16299 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
16301 * sysdeps/i386/tininess.h: Renamed to ...
16302 * sysdeps/x86/tininess.h: This.
16303 * sysdeps/x86_64/tininess.h: Removed.
16305 2012-10-30 Joseph Myers <joseph@codesourcery.com>
16307 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
16308 input. Use $(build-program-cmd).
16309 ($(objpfx)tst-array1-static.out): Likewise.
16310 ($(objpfx)tst-array2.out): Likewise.
16311 ($(objpfx)tst-array3.out): Likewise.
16312 ($(objpfx)tst-array4.out): Likewise.
16313 ($(objpfx)tst-array5.out): Likewise.
16314 ($(objpfx)tst-array5-static.out): Likewise.
16316 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
16318 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
16321 * nss/nsswitch.h (nss_interface_function): Provide new
16322 macro for use with NSS functions.
16323 * grp/initgroups.c: Use new macro.
16324 * nss/getXXbyYY.c: Likewise.
16325 * nss/getXXbyYY_r.c: Likewise.
16326 * nss/getXXent.c: Likewise.
16327 * nss/getXXent_r.c: Likewise.
16328 * sysdeps/posix/getaddrinfo.c: Likewise.
16330 2012-10-30 Andreas Jaeger <aj@suse.de>
16332 * po/ru.po: Update Russion translation from translation project.
16334 2012-10-30 Joseph Myers <joseph@codesourcery.com>
16338 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
16339 result and shift together with sticky bit instead of replicating
16340 round-to-nearest rounding.
16341 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16342 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16343 * math/libm-test.inc (fma_test): Add more tests. Do not permit
16344 missing underflow exceptions.
16345 (fma_test_towardzero): Add more tests.
16346 (fma_test_downward): Likewise.
16347 (fma_test_upward): Likewise.
16350 * sysdeps/generic/tininess.h: New file.
16351 * sysdeps/i386/tininess.h: Likewise.
16352 * sysdeps/sh/tininess.h: Likewise.
16353 * sysdeps/x86_64/tininess.h: Likewise.
16354 * stdlib/tst-strtod-underflow.c: Likewise.
16355 * stdlib/tst-tininess.c: Likewise.
16356 * stdlib/strtod_l.c: Include <tininess.h>.
16357 (round_and_return): Do not set errno for exact underflow cases.
16358 Force an underflow exception when setting errno for underflow.
16359 Determine underflow based on rounding to normal precision if
16360 TININESS_AFTER_ROUNDING.
16361 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
16362 ERANGE for exact underflow cases.
16363 * stdlib/Makefile (tests): Add tst-tininess and
16364 tst-strtod-underflow.
16365 ($(objpfx)tst-tininess): Use $(link-libm).
16366 ($(objpfx)tst-strtod-underflow): Likewise.
16368 2012-10-30 Andreas Jaeger <aj@suse.de>
16371 * elf/Makefile (tests): Remove conditional for have-initfini-array
16372 since this is now always required and the variable does not exist
16374 (tests-static): Likewise.
16375 (modules-names): Likewise.
16377 * po/eo.po: Add Esperanto translation from translation project.
16379 * elf/tst-array1.c (fini_array): Make writeable so that it can be
16380 merged with constructor/destructor.
16381 (init_array): Likewise.
16382 * elf/tst-array2dep.c (fini_array): Likewise.
16383 (init_array): Likewise.
16385 2012-10-29 Mike Frysinger <vapier@gentoo.org>
16387 * manual/message.texi: Delete @cartouche tags.
16389 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
16391 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
16393 * sysdeps/mach/hurd/fsync.c: Likewise.
16395 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
16396 [_POSIX_REALTIME_SIGNALS]: Change condition to
16397 [_POSIX_REALTIME_SIGNALS > 0].
16399 2012-10-27 Andreas Jaeger <aj@suse.de>
16401 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
16402 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
16403 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
16404 [__WORDSIZE != 64]: Likewise.
16406 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
16408 * iconvdata/tst-table.sh: Remove ${SHELL}.
16409 * iconvdata/tst-tables.sh: Likewise.
16411 2012-10-25 David S. Miller <davem@davemloft.net>
16413 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16414 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
16417 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
16419 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16420 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
16421 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
16424 2012-10-25 Roland McGrath <roland@hack.frob.com>
16426 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16427 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
16430 2012-10-25 Joseph Myers <joseph@codesourcery.com>
16431 Jim Blandy <jimb@codesourcery.com>
16433 * scripts/cross-test-ssh.sh: New file.
16434 * manual/install.texi (Configuring and compiling): Document use of
16436 * INSTALL: Regenerated.
16438 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
16440 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
16443 2012-10-25 Joseph Myers <joseph@codesourcery.com>
16445 * Makeconfig (run-program-prefix): Fix comment.
16447 2012-10-24 Joseph Myers <joseph@codesourcery.com>
16448 Jim Blandy <jimb@codesourcery.com>
16450 * Makeconfig (test-wrapper): New variable,
16451 (test-wrapper-env): Likewise.
16452 [$(cross-compiling) = yes && $(test-wrapper) != ""]
16453 (run-built-tests): Define to yes.
16454 (run-program-prefix): Use $(test-wrapper).
16455 (built-program-cmd): Likewise.
16456 * Rules (make-test-out): Use $(test-wrapper-env) and
16457 $(host-built-program-cmd).
16458 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
16459 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
16461 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
16462 $(test-wrapper-env) to tst-rtld-load-self.sh.
16463 ($(objpfx)order2.out): Use $(test-wrapper).
16464 ($(objpfx)tst-initorder.out): Likewise.
16465 ($(objpfx)tst-initorder2.out): Likewise.
16466 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
16467 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
16468 (test_wrapper_env): New variable. Use it to run ld.so.
16469 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
16470 Use it to run ld.so.
16471 (test_wrapper_env): Likewise.
16472 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
16473 $(test-wrapper) to run-iconv-test.sh.
16474 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
16475 (ICONV): Use $test_wrapper.
16476 * posix/Makefile ($(objpfx)globtest.out): Pass
16477 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
16478 globtest.sh, not $(run-program-prefix).
16479 * posix/globtest.sh (run_via_rtld_prefix): New variable.
16480 (test_wrapper): Likewise.
16481 (test_wrapper_env): Likewise. Use it to run globtest with HOME
16482 set together with run_via_rtld_prefix.
16483 (run_program_prefix): Define in terms of test_wrapper and
16484 run_via_rtld_prefix.
16486 2012-10-24 Roland McGrath <roland@hack.frob.com>
16488 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
16489 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
16493 * include/time.h: Remove librt_hidden_proto (clock_gettime).
16494 Declare __clock_getres, __clock_gettime, __clock_settime,
16495 __clock_nanosleep, and __clock_getcpuclockid.
16496 * rt/clock_gettime.c: Define __clock_gettime as an alias.
16497 Remove librt_hidden_def (clock_gettime).
16498 * sysdeps/unix/clock_gettime.c: Likewise.
16499 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
16500 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
16501 * rt/clock_getres.c: Define __clock_getres as an alias.
16502 * sysdeps/posix/clock_getres.c: Likewise.
16503 * rt/clock_settime.c: Define __clock_settime as an alias.
16504 * sysdeps/unix/clock_settime.c: Likewise.
16505 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
16506 * sysdeps/unix/clock_nanosleep.c: Likewise.
16507 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
16508 * rt/clock-compat.c: New file.
16509 * rt/Makefile (librt-routines): Add clock-compat and move
16510 $(clock-routines) to ...
16511 (routines): ... here, new variable.
16512 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
16513 Don't add get_clockfreq here.
16514 * rt/Versions (libc: GLIBC_2.17): New version set.
16515 Add clock_* symbols here.
16516 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
16517 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
16518 (GLIBC_2.17): Add clock_* symbols.
16519 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16520 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16521 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16526 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16527 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
16528 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16529 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16530 * NEWS: Mention the move.
16532 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
16533 Use __open, __read, __close rather than their public counterparts.
16534 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16535 (__get_clockfreq_via_cpuinfo): Likewise.
16536 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
16537 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
16539 * config.h.in (HAVE_IFUNC): New #undef.
16540 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
16542 * configure: Regenerated.
16544 2012-10-24 Mike Frysinger <vapier@gentoo.org>
16546 * configure.in: Move READELF check to start of file.
16547 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
16548 libc_cv_asm_gnu_indirect_function in the process.
16549 * configure: Regenerated.
16551 2012-10-24 Mike Frysinger <vapier@gentoo.org>
16553 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
16554 send the output to /dev/null.
16555 (libc_cv_cc_with_libunwind): Likewise.
16556 (libc_cv_as_noexecstack): Likewise.
16557 * configure: Regenerate.
16559 2012-10-24 Joseph Myers <joseph@codesourcery.com>
16561 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
16563 * posix/globtest.sh (TMPDIR): Do not set.
16564 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
16565 (testout): Likewise.
16567 2012-10-24 Andreas Jaeger <aj@suse.de>
16569 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
16570 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
16571 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
16572 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
16573 posix_fadvise64, posix_fallocate64.
16575 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
16576 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
16577 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
16579 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
16581 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
16583 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
16584 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
16585 <bits/fcntl-linux.h>.
16586 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
16588 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
16589 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
16590 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
16591 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
16592 [__WORDSIZE != 64]: Likewise.
16594 2012-10-23 Joseph Myers <joseph@codesourcery.com>
16596 * Makeconfig (run-built-tests): New variable.
16597 * Rules [$(cross-compiling) = yes]: Change condition to
16598 [$(run-built-tests) = no].
16599 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
16600 to [$(run-built-tests) = yes].
16601 * elf/Makefile [$(cross-compiling) = no]: Likewise
16602 * grp/Makefile [$(cross-compiling) = no]: Likewise.
16603 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
16604 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
16605 * intl/Makefile [$(cross-compiling) = no]: Likewise.
16606 * io/Makefile [$(cross-compiling) = no]: Likewise.
16607 * libio/Makefile [$(cross-compiling) = no]: Likewise.
16608 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
16609 * misc/Makefile [$(cross-compiling) = no]: Likewise.
16610 * posix/Makefile [$(cross-compiling) = no]: Likewise.
16611 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
16612 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
16613 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
16614 * string/Makefile [$(cross-compiling) = no]: Likewise.
16616 * posix/Makefile ($(objpfx)globtest.out): Pass
16617 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
16618 $(rtld-installed-name).
16619 * posix/globtest.sh (elf_objpfx): Remove variable.
16620 (rtld_installed_name): Likewise.
16621 (library_path): Likewise.
16622 (run_program_prefix): New variable. Use for running globtest
16625 2012-10-23 Jim Blandy <jimb@codesourcery.com>
16626 Joseph Myers <joseph@codesourcery.com>
16628 * Makeconfig (host-built-program-cmd): New variable.
16629 * elf/Makefile (tst-stackguard1-ARGS): Use
16630 $(host-built-program-cmd).
16631 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
16632 (tst-spawn-ARGS): Likewise.
16633 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
16635 2012-10-23 Joseph Myers <joseph@codesourcery.com>
16636 Jim Blandy <jimb@codesourcery.com>
16638 * Makeconfig (run-via-rtld-prefix): New variable.
16639 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
16640 (built-program-cmd): Likewise.
16642 2012-10-22 Andreas Jaeger <aj@suse.de>
16644 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
16645 __O_RSYNC if it exists, otherwise to O_SYNC.
16647 2012-10-22 Jim Blandy <jimb@codesourcery.com>
16648 Joseph Myers <joseph@codesourcery.com>
16650 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
16652 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
16654 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
16657 2012-10-22 Andreas Jaeger <aj@suse.de>
16659 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
16661 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
16663 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16664 bits/fcntl-linux.h.
16666 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
16667 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
16669 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
16671 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
16674 2012-10-21 Jim Blandy <jimb@codesourcery.com>
16675 Joseph Myers <joseph@codesourcery.com>
16677 * config.make.in (NM): New variable.
16679 2012-10-21 Andreas Jaeger <aj@suse.de>
16681 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
16682 definitions and declarations that are provided by
16683 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16685 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
16688 * elf/Makefile (tests-static): Add tst-leaks1-static.
16689 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
16690 ($(objpfx)tst-leaks1-static): New rule.
16691 ($(objpfx)tst-leaks1-static-mem): Likewise.
16692 (tst-leaks1-static-ENV): New macro.
16693 * elf/dl-open.c (dl_open_worker): Check the main application
16694 only if SHARED is defined.
16695 * elf/tst-leaks1-static.c: New file.
16697 2012-10-20 Andreas Jaeger <aj@suse.de>
16699 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
16700 generic values for Linux.
16701 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
16702 and declarations that are provided by <bits/fcntl-linux.h> and
16703 include <bits/fcntl-linux.h>.
16704 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16705 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16707 2012-10-20 Roland McGrath <roland@hack.frob.com>
16709 * io/fcntl.h: Move include of <bits/types.h> to the top and
16710 include it unconditionally.
16712 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
16714 * wcsmbs/Makefile (tests-ifunc): New variable.
16715 (tests): Add $(tests-ifunc).
16716 * wcsmbs/test-wcschr-ifunc.c: New file.
16717 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
16718 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
16719 * wcsmbs/test-wcslen-ifunc.c: Likewise.
16720 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
16721 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
16723 * string/Makefile (tests-ifunc): New variable.
16724 (tests): Add $(tests-ifunc).
16725 * string/test-memccpy.c (TEST_NAME): New macro.
16726 * string/test-memchr.c (TEST_NAME): Likewise.
16727 * string/test-memcmp.c (TEST_NAME): Likewise.
16728 * string/test-memcpy.c (TEST_NAME): Likewise.
16729 * string/test-memmem.c (TEST_NAME): Likewise.
16730 * string/test-memmove.c (TEST_NAME): Likewise.
16731 * string/test-memset.c (TEST_NAME): Likewise.
16732 * string/test-rawmemchr.c (TEST_NAME): Likewise.
16733 * string/test-stpcpy.c (TEST_NAME): Likewise.
16734 * string/test-stpncpy.c (TEST_NAME): Likewise.
16735 * string/test-strcasecmp.c (TEST_NAME): Likewise.
16736 * string/test-strcasestr.c (TEST_NAME): Likewise.
16737 * string/test-strcat.c (TEST_NAME): Likewise.
16738 * string/test-strchr.c (TEST_NAME): Likewise.
16739 * string/test-strcmp.c(TEST_NAME): Likewise.
16740 * string/test-strcpy.c (TEST_NAME): Likewise.
16741 * string/test-strcspn.c (TEST_NAME): Likewise.
16742 * string/test-strlen.c (TEST_NAME): Likewise.
16743 * string/test-strncasecmp.c (TEST_NAME): Likewise.
16744 * string/test-strncmp.c (TEST_NAME): Likewise.
16745 * string/test-strncpy.c (TEST_NAME): Likewise.
16746 * string/test-strnlen.c (TEST_NAME): Likewise.
16747 * string/test-strpbrk.c (TEST_NAME): Likewise.
16748 * string/test-strrchr.c (TEST_NAME): Likewise.
16749 * string/test-strspn.c (TEST_NAME): Likewise.
16750 * string/test-strstr.c (TEST_NAME): Likewise.
16751 * string/test-bcopy-ifunc.c: New file.
16752 * string/test-bzero-ifunc.c: Likewise.
16753 * string/test-memccpy-ifunc.c: Likewise.
16754 * string/test-memchr-ifunc.c: Likewise.
16755 * string/test-memcmp-ifunc.c: Likewise.
16756 * string/test-memcpy-ifunc.c: Likewise.
16757 * string/test-memmem-ifunc.c: Likewise.
16758 * string/test-memmove-ifunc.c: Likewise.
16759 * string/test-mempcpy-ifunc.c: Likewise.
16760 * string/test-memset-ifunc.c: Likewise.
16761 * string/test-rawmemchr-ifunc.c: Likewise.
16762 * string/test-stpcpy-ifunc.c: Likewise.
16763 * string/test-stpncpy-ifunc.c: Likewise.
16764 * string/test-strcasecmp-ifunc.c: Likewise.
16765 * string/test-strcasestr-ifunc.c: Likewise.
16766 * string/test-strcat-ifunc.c: Likewise.
16767 * string/test-strchr-ifunc.c: Likewise.
16768 * string/test-strchrnul-ifunc.c: Likewise.
16769 * string/test-strcmp-ifunc.c: Likewise.
16770 * string/test-strcpy-ifunc.c: Likewise.
16771 * string/test-strcspn-ifunc.c: Likewise.
16772 * string/test-strlen-ifunc.c: Likewise.
16773 * string/test-strncasecmp-ifunc.c: Likewise.
16774 * string/test-strncat-ifunc.c: Likewise.
16775 * string/test-strncmp-ifunc.c: Likewise.
16776 * string/test-strncpy-ifunc.c: Likewise.
16777 * string/test-strnlen-ifunc.c: Likewise.
16778 * string/test-strpbrk-ifunc.c: Likewise.
16779 * string/test-strrchr-ifunc.c: Likewise.
16780 * string/test-strspn-ifunc.c: Likewise.
16781 * string/test-strstr-ifunc.c: Likewise.
16783 * debug/Makefile (tests-ifunc): New variable.
16784 (tests): Add $(tests-ifunc).
16785 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
16786 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
16787 * debug/test-stpcpy_chk-ifunc.c: New file.
16788 * debug/test-strcpy_chk-ifunc.c: Likewise.
16790 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16793 * elf/dl-load.c (open_verify): Retry read if the entire ELF
16794 header is not read in.
16796 2012-10-19 Joseph Myers <joseph@codesourcery.com>
16798 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
16799 script to $(SHELL) as $<. Pass $(common-objpfx) to script
16800 directly. Pass built executable to script as
16801 $(built-program-cmd).
16802 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
16803 $testprogram without using LD_LIBRARY_PATH and $ldso.
16805 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
16806 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
16807 $(rtld-installed-name).
16808 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
16809 (rtld_installed_name): Likewise.
16810 (library_path): Likewise.
16811 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
16812 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
16813 $(run-program-prefix) to tst-tables.sh.
16814 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
16815 it to run tst-table-from and tst-table-to.
16816 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
16817 Pass it to tst-table.sh.
16818 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
16819 $(run-program-prefix) to tst-gettext.sh.
16820 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
16822 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
16824 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
16825 to run tst-gettext.
16826 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
16827 to run tst-gettext2.
16828 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
16829 to run tst-translit.
16830 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
16831 $(run-program-prefix) to tst-mtrace.sh.
16832 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
16834 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
16835 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
16836 $(rtld-installed-name).
16837 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
16838 (rtld_installed_name): Likewise.
16839 (run_program_prefix): New variable. Use it to run wordexp-test.
16841 * Makeconfig (ARCH): Remove all definitions.
16842 (machine): Likewise.
16843 [ARCH]: Remove conditional code.
16844 [!objdir]: Give error.
16845 [!objdir] (objpfx): Remove.
16846 [!objdir] (common-objpfx): Likewise.
16847 [!objdir] (common-objdir): Likewise.
16848 * configure.in (config_makefile): Remove. Hardcode Makefile in
16849 AC_CONFIG_FILES call.
16850 * configure: Regenerated.
16853 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
16855 (testout): Likewise.
16857 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
16858 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
16859 $(rtld-installed-name).
16860 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
16861 (rtld_installed_name): Likwise.
16862 (runit): Remove function.
16863 (run_getconf): New variable, Use it for running getconf binary.
16865 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
16868 * string/test-memmem.c (check_result): New function.
16869 (do_one_test): Use it.
16870 (check1): New function.
16871 (test_main): Use it.
16873 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
16875 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
16877 2012-10-18 Joseph Myers <joseph@codesourcery.com>
16879 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
16880 (_G_LSEEK64): Likewise.
16881 (_G_MMAP64): Likewise.
16882 (_G_FSTAT64): Likewise.
16883 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
16884 (_G_LSEEK64): Likewise.
16885 (_G_MMAP64): Likewise.
16886 (_G_FSTAT64): Likewise.
16887 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
16888 unconditional. Call __mmap64 directly.
16889 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
16890 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
16891 __lseek64 directly.
16892 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
16893 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
16895 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
16896 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
16897 __lseek64 directly.
16898 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
16899 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
16900 __lseek64 directly.
16901 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
16902 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
16903 __lseek64 directly.
16904 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
16905 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
16906 __fxstat64 directly.
16907 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
16908 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
16910 (freopen64) [!_G_OPEN64]: Remove conditional code.
16911 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
16913 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
16914 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
16916 (ftello64) [!_G_LSEEK64]: Remove conditional code.
16917 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
16919 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
16920 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
16922 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
16923 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
16925 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
16926 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
16928 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
16929 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
16931 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
16933 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16936 * manual/memory.texi (Malloc Tunable Parameters): Add note
16937 about free list pointers overwriting some perturb bytes.
16938 Wording suggested by Roland McGrath.
16940 2012-10-17 Joseph Myers <joseph@codesourcery.com>
16942 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
16943 (lgamma_test): Likewise.
16944 (tgamma_test): Likewise.
16946 2012-10-16 Florian Weimer <fweimer@redhat.com>
16949 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
16950 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
16952 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
16954 * NEWS: Mention BZ #14716.
16955 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
16956 when removing AVAILABLE1_USES_J macro.
16958 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
16960 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
16961 (__bswap_64): __uint64_t for unsigned 64-bit int.
16963 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
16965 * include/string.h (memmem): Declare libc hidden alias.
16966 * string/memmem.c (memmem): Define libc hidden alias.
16967 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
16968 __read, __close instead of open, read, close.
16970 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
16972 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
16973 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
16975 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
16976 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
16977 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
16979 (__rawmemchr_sse2): Likewise.
16980 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
16981 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
16982 (__strchr_sse2): Likewise.
16983 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
16984 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
16985 (__strcasecmp_sse2): Likewise.
16986 (__strncasecmp_sse2): Likewise.
16987 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
16988 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
16989 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
16990 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
16991 (__strrchr_sse2): Likewise.
16992 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
16994 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
16995 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
16996 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16997 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16998 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
16999 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17000 * sysdeps/x86_64/multiarch/memset.S: Likewise.
17001 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17002 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
17003 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
17004 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
17005 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
17006 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
17007 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
17008 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
17009 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17010 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
17011 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
17012 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
17013 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
17014 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
17015 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
17016 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
17017 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17018 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
17019 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17020 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17021 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17022 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
17023 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
17025 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
17027 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
17028 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
17029 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
17030 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
17032 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
17034 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
17035 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
17036 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
17037 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
17039 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17040 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17041 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17042 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17043 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17044 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17045 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17046 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17047 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17048 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17049 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17050 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17051 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17052 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
17053 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
17054 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17055 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
17056 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
17057 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17058 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17059 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17060 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17061 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17062 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17063 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17064 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
17065 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
17066 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
17067 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
17068 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17069 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
17070 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17071 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17072 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
17073 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17074 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17075 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17076 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17077 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17078 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17079 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
17081 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
17082 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
17083 * include/ifunc-impl-list.h: New file.
17084 * misc/ifunc-impl-list.c: Likewise.
17085 * misc/Makefile (routines): Add ifunc-impl-list.
17086 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
17087 * string/test-string.h: Include <ifunc-impl-list.h>.
17088 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
17089 impl_array): New variables.
17090 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
17092 (test_init): Call __libc_ifunc_impl_list to initialize
17093 func_list if TEST_IFUNC and TEST_NAME are defined.
17095 * string/Makefile (strop-tests): Add bcopy and bzero.
17096 * string/test-bcopy.c: New file.
17097 * string/test-bzero.c: Likewise.
17098 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
17100 * string/test-memset.c: Support bzero test if TEST_BZERO is
17102 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
17104 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
17106 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
17109 2012-10-10 Joseph Myers <joseph@codesourcery.com>
17111 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
17112 * configure: Regenerated.
17114 * Makeconfig (+link-static-before-libc): Don't include
17115 $(link-static-libc).
17117 * libio/libio.h (_IO_pos_t): Remove.
17119 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
17121 * NEWS: Add note about FIPS mode. Wording suggested by Roland
17124 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
17126 * crypt/crypt-entry.c: Include fips-private.h.
17127 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
17128 * crypt/md5c-test.c (main): Tolerate disabled MD5.
17129 * sysdeps/unix/sysv/linux/fips-private.h: New file.
17130 * sysdeps/generic/fips-private.h: New file, dummy fallback.
17132 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
17134 * crypt/crypt-private.h: Include stdbool.h.
17135 (_ufc_setup_salt_r): Return bool.
17136 * crypt/crypt-entry.c: Include errno.h.
17137 (__crypt_r): Return NULL with EINVAL for bad salt.
17138 * crypt/crypt_util.c (bad_for_salt): New.
17139 (_ufc_setup_salt_r): Check that salt is long enough and within
17140 the specified alphabet.
17141 * crypt/badsalttest.c: New file.
17142 * crypt/Makefile (tests): Add it.
17143 ($(objpfx)badsalttest): New.
17145 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
17147 * NEWS: Add entry for BZ #14602.
17149 2012-10-09 Joseph Myers <joseph@codesourcery.com>
17151 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
17153 * math/libm-test.inc: Update comment listing what functions and
17155 (isgreater_test): New function.
17156 (isgreaterequal_test): Likewise.
17157 (isless_test): Likewise.
17158 (islessequal_test): Likewise.
17159 (islessgreater_test): Likewise.
17160 (isunordered_test): Likewise.
17161 (main): Call the new functions.
17163 2012-10-09 Roland McGrath <roland@hack.frob.com>
17165 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
17166 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
17167 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
17168 * sysdeps/i386/configure: Regenerated.
17169 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
17170 * sysdeps/mach/configure: Regenerated.
17171 * sysdeps/mach/hurd/configure: Regenerated.
17172 * sysdeps/powerpc/configure: Regenerated.
17173 * sysdeps/powerpc/powerpc32/configure: Regenerated.
17174 * sysdeps/powerpc/powerpc64/configure: Regenerated.
17175 * sysdeps/s390/s390-32/configure: Regenerated.
17176 * sysdeps/s390/s390-64/configure: Regenerated.
17177 * sysdeps/sh/configure: Regenerated.
17178 * sysdeps/sparc/configure: Regenerated.
17179 * sysdeps/unix/sysv/linux/configure: Regenerated.
17180 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
17181 * sysdeps/x86_64/configure: Regenerated.
17183 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
17184 defined. Don't check if MAP is NULL.
17186 2012-10-09 Joseph Myers <joseph@codesourcery.com>
17188 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
17189 (_G_stat64): Likewise.
17190 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
17191 (_G_stat64): Likewise.
17192 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
17193 instead of struct _G_stat64.
17194 * libio/fileops.c (mmap_remap_check): Likewise.
17195 (decide_maybe_mmap): Likewise.
17196 (_IO_new_file_seekoff): Likewise.
17197 (_IO_file_stat): Likewise.
17198 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
17200 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
17201 instead of struct _G_stat64.
17202 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17204 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
17207 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17209 (CHECK_EOL): New macro.
17210 (two_way_short_needle): Check beginning of haystack for EOL. Use
17212 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17213 Replace with CHECK_EOL.
17214 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17215 Replace with CHECK_EOL.
17217 2012-10-08 Joseph Myers <joseph@codesourcery.com>
17219 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
17221 * math/libm-test.inc: Update comment listing what functions and
17223 (finite_test): New function.
17224 (isinf_test): Likewise.
17225 (isnan_test): Likewise.
17226 (fpclassify_test): Test subnormal input.
17227 (isfinite_test): Likewise.
17228 (isnormal_test): Likewise.
17229 (main): Call the new functions.
17231 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
17234 * Makerules (%.dynsym): Force C locale when running
17235 $(OBJDUMP) --dynamic-syms.
17237 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
17239 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
17242 2012-10-06 David S. Miller <davem@davemloft.net>
17244 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
17245 upper 32-bits of the length value in %o2 since we use branch-on-register
17246 tests which consider the entire 64-bit register.
17248 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
17250 * string/test-strstr.c (check2): Add a test for page boundary.
17252 2012-10-05 David S. Miller <davem@davemloft.net>
17254 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
17255 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
17257 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
17259 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
17260 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
17261 and bzero when HWCAP_SPARC_CRYPTO is present.
17263 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
17266 * string/test-strstr.c (check2): New function.
17267 (test_main): Call check2.
17269 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
17271 * string/bug-strcasestr1.c (do_test): Moved to ...
17272 * string/test-strcasestr.c (check1): Here. New function.
17273 (do_one_test): Break out result checking code into ...
17274 (check_result): This. New function.
17275 (do_one_test): Call check_result.
17276 (test_main): Call check1.
17277 * string/bug-strchr1.c (do_test): Moved to ...
17278 * string/test-strchr.c (check1): Here. New function.
17279 (do_one_test): Break out result checking code into ...
17280 (check_result): This. New function.
17281 (do_one_test): Call check_result.
17282 (test_main): Call check1.
17283 * string/bug-strstr1.c (main): Moved to ...
17284 * string/test-strstr.c (check1): Here. New function.
17285 (do_one_test): Break out result checking code into ...
17286 (check_result): This. New function.
17287 (do_one_test): Call check_result.
17288 (test_main): Call check1.
17289 * string/bug-strcasestr1.c: Removed.
17290 * string/bug-strchr1.c: Likewise.
17291 * string/bug-strstr1.c: Likewise.
17293 * elf/Makefile (dl-routines): Add hwcaps.
17294 * elf/dl-support.c (_dl_important_hwcaps): Removed.
17295 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
17296 (_dl_important_hwcaps): Moved to ...
17297 * elf/dl-hwcaps.c: Here. New file.
17298 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
17301 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
17302 if IS_IN_rtld isn't defined.
17304 * elf/dl-support.c (_dl_sysinfo_map): New.
17305 Include "get-dynamic-info.h" and "setup-vdso.h".
17306 (_dl_non_dynamic_init): Call setup_vdso.
17307 * elf/dynamic-link.h: Don't include <assert.h>.
17308 (elf_get_dynamic_info): Moved to ...
17309 * elf/get-dynamic-info.h: Here. New file.
17310 * elf/dynamic-link.h: Include "get-dynamic-info.h".
17311 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
17312 * elf/setup-vdso.h: Here. New file.
17313 * elf/rtld.c: Include "setup-vdso.h".
17314 (dl_main): Call setup_vdso.
17316 2012-10-05 Joseph Myers <joseph@codesourcery.com>
17318 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
17319 creal in comment listing functions tested. List finite, isinf,
17320 isnan, isless, islessequal, isgreater, isgreaterequal,
17321 islessgreater, isunordered, lgamma_r and pow10 as functions and
17322 macros not tested. Mention which functions not tested are aliases
17323 for other functions. Fix typo. Note that signs of NaNs are not
17326 * scripts/config.guess: Update from config.git.
17327 * scripts/config.sub: Likewise.
17329 2012-10-04 Roland McGrath <roland@hack.frob.com>
17331 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
17332 * misc/madvise.c (madvise): Renamed to __madvise.
17333 Make madvise a weak alias.
17334 * include/sys/mman.h: Declare __madvise.
17335 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
17336 * sysdeps/unix/syscalls.list
17337 (madvise): Make __madvise the strong name, and madvise a weak alias.
17338 * sysdeps/unix/sysv/linux/syscalls.list
17339 (madvise, mmap): Remove redundant entries.
17340 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
17341 * malloc/malloc.c (mtrim): Likewise.
17342 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
17344 2012-10-03 Roland McGrath <roland@hack.frob.com>
17346 * sysdeps/mach/hurd/dl-cache.c: File removed.
17347 * config.h.in (USE_LDCONFIG): New #undef.
17348 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
17349 * configure: Regenerated.
17350 * elf/Makefile (dl-routines): Add dl-cache only under
17351 [$(use-ldconfig) = yes].
17352 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
17353 cache on [USE_LDCONFIG].
17354 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
17356 * elf/rtld.c (dl_main): Likewise.
17358 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
17360 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
17361 _SC_LEVEL4_CACHE_LINESIZE.
17363 2012-10-03 Roland McGrath <roland@hack.frob.com>
17365 * sysdeps/unix/bsd/confstr.h: File removed.
17367 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
17369 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
17372 2012-10-02 Roland McGrath <roland@hack.frob.com>
17374 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
17375 Make 'mapoff' field ElfW(Off) rather than off_t.
17377 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
17379 * nscd/Makefile: Remove nscd-cflags and all its users.
17380 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
17381 (CFLAGS-nonlib): Add compiler flags for nscd modules.
17384 * malloc.c (malloc_printerr): Clarify error message.
17386 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
17389 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17390 Set bit_FMA_Usable if FMA is supported.
17391 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
17393 (bit_FMA4_Usable): Updated.
17394 (index_FMA_Usable): New macro.
17395 (CPUID_FMA): Likewise
17396 (HAS_FMA): Defined with bit_FMA_Usable.
17398 2012-10-01 Roland McGrath <roland@hack.frob.com>
17400 * bits/types.h (__swblk_t): Type removed.
17401 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
17402 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
17403 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17404 (__SWBLK_T_TYPE): Likewise.
17405 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17406 (__SWBLK_T_TYPE): Likewise.
17407 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17408 (__SWBLK_T_TYPE): Likewise.
17409 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17410 (__SWBLK_T_TYPE): Likewise.
17412 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
17413 Honza Horak <hhorak@redhat.com>
17415 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
17416 (xdr_mapname): Use YPMAXMAP as maxsize.
17417 (xdr_peername): Use YPMAXPEER as maxsize.
17418 (xdr_keydat): Use YPAXRECORD as maxsize.
17419 (xdr_valdat): Use YPMAXRECORD as maxsize.
17421 2012-10-01 Roland McGrath <roland@hack.frob.com>
17423 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
17425 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
17426 * csu/init-first.c: ... here.
17427 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
17428 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
17429 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
17430 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
17431 * sysdeps/i386/init-first.c: File removed.
17432 * sysdeps/sh/init-first.c: File removed.
17434 2012-10-01 Joseph Myers <joseph@codesourcery.com>
17437 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
17438 if x * y might underflow to zero and z is zero.
17439 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17440 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17441 * math/libm-test.inc (min_subnorm_value): New variable.
17442 (fma_test): Add more tests.
17443 (fma_test_towardzero): Likewise.
17444 (fma_test_downward): Likewise
17445 (fma_test_upward): Likewise.
17446 (initialize): Set min_subnorm_value.
17448 2012-09-29 Joseph Myers <joseph@codesourcery.com>
17451 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
17453 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
17454 mode for addition resulting in exact zero.
17455 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
17456 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
17458 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17459 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17460 * math/libm-test.inc (fma_test): Add more tests.
17461 (fma_test_towardzero): New function.
17462 (fma_test_downward): Likewise.
17463 (fma_test_upward): Likewise.
17464 (main): Call the new functions.
17466 2012-09-28 David S. Miller <davem@davemloft.net>
17468 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
17470 2012-09-28 Roland McGrath <roland@hack.frob.com>
17472 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
17473 instead of SIGALRM.
17475 * sysdeps/gnu/_G_config.h: Moved to ...
17476 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
17477 * sysdeps/mach/hurd/_G_config.h: Moved to ...
17478 * sysdeps/generic/_G_config.h: ... here.
17480 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
17482 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
17484 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
17485 Conditionalize target on [libnss_test1.so-version].
17487 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
17489 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
17490 (elfobjdir): Move out of conditionals.
17492 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
17493 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
17494 (__nss_lookup_function): Conditionalize label remove_from_tree on
17495 [!DO_STATIC_NSS || SHARED], matching its only use.
17497 2012-09-28 David S. Miller <davem@davemloft.net>
17499 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
17500 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
17502 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
17504 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
17505 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
17506 when HWCAP_SPARC_CRYPTO is present.
17508 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
17510 * io/tst-mknodat.c: Create a FIFO instead of a socket.
17512 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
17515 * stdio-common/vfprintf.c (process_string_arg): Revert
17518 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
17520 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
17522 * stdio-common/tst-sprintf.c: Include <locale.h>
17523 (main): Test sprintf's handling of incomplete multibyte
17526 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
17528 * elf/dl-runtime.c (VERSYMIDX): Removed.
17529 * elf/dl-version.c (VERSYMIDX): Likewise.
17530 * elf/do-rel.h (VERSYMIDX): Likewise.
17531 (VALIDX): Likewise.
17532 * elf/dynamic-link.h (VERSYMIDX): Likewise.
17533 * elf/rtld.c (VALIDX): Likewise.
17534 (ADDRIDX): Likewise.
17535 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
17536 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
17537 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
17538 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
17539 (VALIDX): Likewise.
17540 (ADDRIDX): Likewise.
17542 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
17544 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
17546 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
17549 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
17551 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
17552 addresses are in the same scope as 192.0.2/24.
17553 * posix/gai.conf: Document new scope table defaults.
17555 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17558 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
17559 for ftell. Compute offsets from write pointers instead.
17560 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17562 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17565 * libio/Makefile (tests): New test case tst-fseek.
17566 * libio/tst-fseek.c: New test case to verify that fseek/ftell
17567 combination works in wide mode.
17568 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
17569 state when the external buffer state changes.
17571 2012-09-27 David S. Miller <davem@davemloft.net>
17574 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
17575 pass reloc->r_addend in as the 'high' argument to
17576 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
17578 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17580 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
17582 * rt/tst-aio2.c: Include <pthread.h>.
17583 * rt/tst-aio3.c: Likewise.
17585 2012-09-27 Steve Ellcey <sellcey@mips.com>
17587 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
17589 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
17591 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
17592 contents on [SHARED].
17594 2012-09-26 Marek Polacek <polacek@redhat.com>
17598 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
17599 for C++ and GCC <4.3 as well as for non GCC compilers.
17601 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
17603 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17605 2012-09-25 Roland McGrath <roland@hack.frob.com>
17607 * Makefile.in (all, install): Declare with .PHONY.
17608 Reported by Michael Hope <michael.hope@linaro.org>.
17610 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17612 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
17613 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
17615 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
17617 (sydep_routines): Add the new and the internal functions.
17618 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
17619 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
17620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
17621 (GLIBC_2.17): Add the new function.
17622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17623 (GLIBC_2.17): Likewise.
17624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
17625 (GLIBC_2.17): Likewise.
17626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
17627 (GLIBC_2.17): Likewise.
17628 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
17630 2012-09-25 Alan Modra <amodra@gmail.com>
17632 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
17633 Add release barrier before setting once_control to say
17634 initialisation is done. Add hints on lwarx. Use macro in
17636 (clear_once_control): Add release barrier.
17638 2012-09-25 Joseph Myers <joseph@codesourcery.com>
17641 * math/s_clog.c (__clog): Handle more values close to |z| = 1
17643 * math/s_clog10.c (__clog10): Likewise.
17644 * math/s_clog10f.c (__clog10f): Likewise.
17645 * math/s_clog10l.c (__clog10l): Likewise.
17646 * math/s_clogf.c (__clogf): Likewise.
17647 * math/s_clogl.c (__clogl): Likewise.
17648 * math/Makefile (libm-calls): Add x2y2m1.
17649 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
17650 (__x2y2m1): Likewise.
17651 (__x2y2m1l): Likewise.
17652 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
17653 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
17654 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17655 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
17656 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
17657 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
17658 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
17659 * sysdeps/i386/fpu/libm-test-ulps: Update.
17660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17663 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
17664 int as type of variable DEPTH.
17665 (glob): Use size_t instead of int as type of variables NEWCOUNT
17668 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17670 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
17671 Add s_sincosf-sse2.
17672 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
17673 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
17674 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
17675 macros for using routine as __sincosf_ia32.
17676 Use macro for function declaration and weak_alias.
17677 * sysdeps/i386/fpu/libm-test-ulps: Update.
17679 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
17680 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17682 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
17683 subnormal argument.
17684 * math/s_cexpf.c (__cexpf): Likewise.
17685 * math/s_csinf.c (__csinf): Likewise.
17686 * math/s_csinhf.c (__csinhf): Likewise.
17687 * math/s_ctanf.c (__ctanf): Likewise.
17688 * math/s_ctanhf.c (__ctanhf): Likewise.
17689 * math/s_ccosh.c (__ccoshf): Likewise.
17690 * math/s_cexp.c (__cexpl): Likewise.
17691 * math/s_csin.c (__csin): Likewise.
17692 * math/s_csinh.c (__csinh): Likewise.
17693 * math/s_ctan.c (__ctan): Likewise.
17694 * math/s_ctanh.c (ctanh): Likewise.
17695 * math/s_ccoshl.c (__ccoshl): Likewise.
17696 * math/s_cexpl.c (__cexpl): Likewise.
17697 * math/s_csinl.c (__csinl): Likewise.
17698 * math/s_csinhl.c (__csinhl): Likewise.
17699 * math/s_ctanl.c (__ctanl): Likewise.
17700 * math/s_ctanhl.c (__ctanhl): Likewise.
17702 2012-09-25 Joseph Myers <joseph@codesourcery.com>
17704 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
17705 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
17706 (_IO_off_t): Define to __off_t, not _G_off_t.
17707 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
17708 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
17709 (_IO_wint_t): Define to wint_t, not _G_wint_t.
17710 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
17711 type of __dummy and __dummy2 fields.
17712 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
17713 (_G_ssize_t): Likewise.
17714 (_G_off_t): Likewise.
17715 (_G_pid_t): Likewise.
17716 (_G_uid_t): Likewise.
17717 (_G_wchar_t): Likewise.
17718 (_G_wint_t): Likewise.
17719 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
17720 (_G_ssize_t): Likewise.
17721 (_G_off_t): Likewise.
17722 (_G_pid_t): Likewise.
17723 (_G_uid_t): Likewise.
17724 (_G_wchar_t): Likewise.
17725 (_G_wint_t): Likewise.
17726 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
17727 (_G_ssize_t): Likewise.
17728 (_G_off_t): Likewise.
17729 (_G_pid_t): Likewise.
17730 (_G_uid_t): Likewise.
17731 (_G_wchar_t): Likewise.
17732 (_G_wint_t): Likewise.
17734 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17736 * malloc/arena.c: Include malloc-sysdep.h.
17737 (shrink_heap): Use check_may_shrink_heap to decide if madvise
17738 is sufficient to shrink the heap or an unmap is needed.
17739 * sysdeps/generic/malloc-sysdep.h: New file. Define
17740 new function check_may_shrink_heap.
17741 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
17742 new function check_may_shrink_heap.
17744 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17746 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
17749 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
17751 * catgets/test-gencat.sh: Add "set -e".
17752 * elf/tst-pathopt.sh: Likewise.
17753 * grp/tst_fgetgrent.sh: Likewise.
17754 * iconvdata/run-iconv-test.sh: Likewise.
17755 * intl/tst-gettext.sh: Likewise.
17756 * intl/tst-gettext2.sh: Likewise.
17757 * intl/tst-gettext4.sh: Likewise.
17758 * intl/tst-gettext6.sh: Likewise.
17759 * intl/tst-translit.sh: Likewise.
17760 * io/ftwtest-sh: Likewise.
17761 * libio/test-freopen.sh: Likewise.
17762 * malloc/tst-mtrace.sh: Likewise.
17763 * posix/globtest.sh: Likewise.
17764 * posix/tst-getconf.sh: Likewise.
17765 * posix/wordexp-tst.sh: Likewise.
17766 * stdio-common/tst-printf.sh: Likewise.
17767 * stdio-common/tst-unbputc.sh: Likewise.
17768 * stdlib/tst-fmtmsg.sh: Likewise.
17769 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
17770 * catgets/Makefile: Do not specify -e option when running
17771 testsuite shell scripts.
17772 * elf/Makefile: Likewise.
17773 * grp/Makefile: Likewise.
17774 * iconvdata/Makefile: Likewise.
17775 * intl/Makefile: Likewise.
17776 * io/Makefile: Likewise.
17777 * libio/Makefile: Likewise.
17778 * malloc/Makefile: Likewise.
17779 * posix/Makefile: Likewise.
17780 * stdio-common/Makefile: Likewise.
17781 * stdlib/Makefile: Likewise.
17782 * sysdeps/x86_64/Makefile: Likewise.
17784 * io/ftwtest-sh: Add copyright header.
17785 * posix/globtest.sh: Likewise.
17786 * posix/tst-getconf.sh: Likewise.
17787 * posix/wordexp-tst.sh: Likewise.
17788 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
17790 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
17793 * Makeconfig (+link): Defined as $(+link-static) if
17794 $(build-shared) isn't yes.
17795 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
17797 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
17799 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
17802 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
17803 new chunk size with MALLOC_ALIGN_MASK.
17805 2012-09-24 Joseph Myers <joseph@codesourcery.com>
17808 * stdio-common/printf_fphex.c: Include <stdbool.h> and
17810 (__printf_fphex): Determine rounding using get_rounding_mode and
17812 * stdio-common/tst-printf-round.c (struct hex_test): New
17814 (hex_tests): New variable.
17815 (test_hex_in_one_mode): New function.
17816 (do_test): Also run tests for hex float output.
17818 2012-09-21 Joseph Myers <joseph@codesourcery.com>
17820 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
17821 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
17822 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
17823 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
17824 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
17825 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
17826 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
17827 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
17829 2012-09-20 Joseph Myers <joseph@codesourcery.com>
17831 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
17832 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
17833 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
17834 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
17836 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
17839 * elf/rtld.c (dl_main): Limit the check for self loading to normal
17841 * elf/tst-rtld-load-self.sh: New test.
17842 * elf/Makefile: Run it.
17844 2012-09-18 Joseph Myers <joseph@codesourcery.com>
17846 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
17847 (tst-writev-ENV): Remove.
17848 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
17850 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
17852 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
17854 2012-09-17 Joseph Myers <joseph@codesourcery.com>
17856 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
17858 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
17860 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
17861 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
17862 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
17865 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
17868 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
17869 * config.make.in (have-cpp-asm-debuginfo): Removed.
17870 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
17871 * configure: Regenerated.
17873 2012-09-14 Joseph Myers <joseph@codesourcery.com>
17876 * stdio-common/printf_fp.c: Include <stdbool.h> and
17878 (___printf_fp): Determine rounding using get_rounding_mode and
17880 * stdio-common/tst-printf-round.c: New file.
17881 * stdio-common/Makefile (tests): Add tst-printf-round.
17882 (link-libm): New variable.
17883 ($(objpfx)tst-printf-round): Depend in $(link-libm).
17885 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
17888 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
17889 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
17891 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
17894 2012-09-13 Joseph Myers <joseph@codesourcery.com>
17896 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
17897 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17898 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17899 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17901 2012-09-12 Joseph Myers <joseph@codesourcery.com>
17904 * include/rounding-mode.h: New file.
17905 * sysdeps/generic/get-rounding-mode.h: Likewise.
17906 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
17907 * stdlib/strtod_l.c: Include <rounding-mode.h>.
17908 (MAX_VALUE): New macro.
17909 (MIN_VALUE): Likewise.
17910 (overflow_value): New function.
17911 (underflow_value): Likewise.
17912 (round_and_return): Use overflow_value and underflow_value to
17913 determine return values in overflow and underflow cases. Use
17914 round_away to determine rounding depending on rounding mode.
17915 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
17916 determine return values in overflow and underflow cases.
17917 * stdlib/tst-strtod-round.c: Include <fenv.h>.
17918 (struct test_results): New structure.
17919 (struct test): Use struct test_results to store expected results
17920 for all rounding modes.
17921 (TEST): Include expected results for all rounding modes.
17922 (test_in_one_mode): New function.
17923 (do_test): Use test_in_one_mode to compute and check results.
17924 Check results for all rounding modes.
17925 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
17928 2012-12-09 Allan McRae <allan@archlinux.org>
17930 * sysdeps/i386/fpu/libm-test-ulps: Update
17932 2012-09-11 Joseph Myers <joseph@codesourcery.com>
17934 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
17935 (_G_int32_t): Likewise.
17936 (_G_uint16_t): Likewise.
17937 (_G_uint32_t): Likewise.
17938 (_G_HAVE_BOOL): Likewise.
17939 (_G_HAVE_ATEXIT): Likewise.
17940 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17941 (_G_HAVE_IO_FILE_OPEN): Likewise.
17942 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
17943 (_G_int32_t): Likewise.
17944 (_G_uint16_t): Likewise.
17945 (_G_uint32_t): Likewise.
17946 (_G_HAVE_BOOL): Likewise.
17947 (_G_HAVE_ATEXIT): Likewise.
17948 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17949 (_G_HAVE_IO_FILE_OPEN): Likewise.
17950 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
17951 (_G_int32_t): Likewise.
17952 (_G_uint16_t): Likewise.
17953 (_G_uint32_t): Likewise.
17954 (_G_HAVE_BOOL): Likewise.
17955 (_G_HAVE_ATEXIT): Likewise.
17956 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17957 (_G_HAVE_IO_FILE_OPEN): Likewise.
17959 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
17961 * csu/libc-tls.c: Update copyright years.
17963 2012-09-10 Joseph Myers <joseph@codesourcery.com>
17965 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
17966 [!_G_USING_THUNKS]: Remove conditional code.
17967 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
17968 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
17970 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
17971 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
17972 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17973 (_G_VTABLE_LABEL_PREFIX): Likewise.
17974 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17975 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17976 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17977 (_G_VTABLE_LABEL_PREFIX): Likewise.
17978 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
17979 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17980 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17981 (_G_VTABLE_LABEL_PREFIX): Likewise.
17982 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
17984 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
17986 * libio/Makefile: Include ../Makeconfig before tests.
17987 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
17988 only if $(build-shared) is yes.
17990 * iconv/gconv_db.c: Update copyright years.
17992 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17994 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
17995 unwind info if defined PIC. Fix special cases description.
17996 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
17998 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
18000 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
18002 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
18004 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
18006 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
18009 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
18010 (LDLIBS-tst-chk4): This.
18011 (LDFLAGS-tst-chk5): Renamed to ...
18012 (LDLIBS-tst-chk5): This.
18013 (LDFLAGS-tst-chk6): Renamed to ...
18014 (LDLIBS-tst-chk6): This.
18015 (LDFLAGS-tst-lfschk4): Renamed to ...
18016 (LDLIBS-tst-lfschk4): This.
18017 (LDFLAGS-tst-lfschk5): Renamed to ...
18018 (LDLIBS-tst-lfschk5): This.
18019 (LDFLAGS-tst-lfschk6): Renamed to ...
18020 (LDLIBS-tst-lfschk6): This.
18022 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
18023 on $(common-objpfx)soversions.mk.
18025 2012-09-07 Joseph Myers <joseph@codesourcery.com>
18028 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
18031 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18033 * malloc/arena.c (arena_get_retry): New function that gets
18034 another arena for the caller to try its request on.
18035 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
18036 current arena cannot fulfill the request.
18037 (__libc_memalign): Likewise.
18038 (__libc_memalign): Likewise.
18039 (__libc_pvalloc): Likewise.
18040 (__libc_calloc): Likewise.
18042 2012-09-05 John Tobey <john.tobey@gmail.com>
18045 * manual/arith.texi (Operations on Complex): Fix description
18046 of carg branch cut.
18048 2012-09-06 Joseph Myers <joseph@codesourcery.com>
18051 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
18055 * manual/memory.texi (Memory): Make order of menu items match
18058 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18060 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
18061 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
18062 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
18064 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18066 * csu/libc-tls.c (static_dtv): Renamed to ...
18067 (_dl_static_dtv): This. Make it global.
18068 (_dl_initial_dtv): Removed.
18069 (__libc_setup_tls): Updated.
18070 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
18071 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
18074 2012-09-06 Petr Machata <pmachata@redhat.com>
18076 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
18077 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
18078 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
18079 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
18081 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18084 * csu/libc-tls.c (_dl_initial_dtv): New variable.
18085 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
18088 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18091 * Makeconfig (link-static-before-libc): Replace $(+prector)
18093 (link-static-after-libc): Replace $(+postctor) with
18095 (link-bounded): Replace $(+prector)/$(+postctor) with
18096 $(+prectorT)/$(+postctorT).
18097 (+prectorT): New macro.
18098 (+postctorT): Likewise.
18100 2012-09-06 Joseph Myers <joseph@codesourcery.com>
18102 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
18103 (round_str): Handle values above the maximum for IBM long double
18105 * stdlib/tst-strtod-round.c (tests): Regenerated.
18107 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18109 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
18111 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
18112 zarch_nohighgprs around the zarch optimized routines.
18113 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
18114 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
18115 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
18118 2012-09-05 David S. Miller <davem@davemloft.net>
18120 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18122 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
18123 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
18124 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
18125 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
18128 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
18130 * malloc/arena.c: Fold copyright years.
18131 * malloc/mcheck.c, malloc/memusage.c: Likewise.
18133 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
18135 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
18137 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
18139 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
18141 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
18143 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
18144 change internal state upon failure.
18146 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
18148 * malloc/mcheck.c (mcheck_check_all): Fix typo.
18149 * malloc/memusage.c (mmap): Likewise.
18150 (mmap64, mremap): Likewise. Adjust name in comment.
18152 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18154 * libio/fileops.c: Fix typos in comments.
18155 * libio/oldfileops.c: Likewise.
18156 * libio/wfileops.c: Likewise.
18158 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18161 * malloc/Makefile (tests): Add tst-malloc-usable test case.
18162 (tst-malloc-usable-ENV): Set environment for test case.
18163 * malloc/hooks.c (malloc_check_get_size): New function to get
18165 * malloc/malloc.c (musable): Use malloc_check_get_size.
18166 * malloc/tst-malloc-usable.c: New test case.
18168 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
18170 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
18172 2012-09-05 Allan McRae <allan@archlinux.org>
18175 * configure.in (CXX_SYSINCLUDES): Use compiler output to
18176 determine header location.
18177 * configure: Regenerated.
18179 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
18181 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
18183 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
18184 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
18186 (test): Regenerate.
18188 2012-09-04 David S. Miller <davem@davemloft.net>
18190 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
18191 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
18192 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
18194 2012-09-04 Florian Weimer <fweimer@redhat.com>
18196 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
18199 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
18201 2012-09-04 Joseph Myers <joseph@codesourcery.com>
18204 * libio/iogetdelim.c: Include <limits.h>.
18205 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
18206 + len + 1 would overflow.
18208 2012-09-03 Andreas Jaeger <aj@suse.de>
18210 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18211 * sysdeps/i386/fpu/libm-test-ulps: Update.
18213 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18215 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18216 Add s_sinf-sse2, s_conf-sse2.
18218 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
18219 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
18220 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
18221 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
18223 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
18224 for using routine as __sinf_ia32.
18225 Use macro for function declaration and weak_alias.
18226 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
18227 for using routine as __cosf_ia32.
18228 Use macro for function declaration and weak_alias.
18230 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
18231 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
18233 * sysdeps/x86_64/fpu/s_sinf.S: New file.
18234 * sysdeps/x86_64/fpu/s_cosf.S: New file.
18235 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18237 * math/libm-test.inc (cos_test): Add more test cases.
18238 (sin_test): Likewise.
18239 (sincos_test): Likewise.
18241 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18243 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
18244 (IFUNC_RESOLVE): Make pointers to the specialized implementations
18246 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18248 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
18251 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
18252 first element of the GOT.
18253 (elf_machine_load_address): Return the difference between
18254 the runtime address of _DYNAMIC and elf_machine_dynamic ().
18256 2012-09-01 Allan McRae <allan@archlinux.org>
18259 * configure.in (AWK): Require gawk version 3.0 or later.
18260 * configure: Regenerated.
18262 2012-09-01 Joseph Myers <joseph@codesourcery.com>
18264 * sysdeps/unix/sysv/linux/kernel-features.h
18265 (__ASSUME_POSIX_CPU_TIMERS): Remove.
18266 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18267 [__NR_clock_getres]: Make code unconditional.
18268 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
18269 (clock_getcpuclockid): Remove code left unreachable by removal of
18271 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
18272 code unconditional.
18273 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
18274 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18275 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
18276 Make code unconditional.
18277 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
18278 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18279 * sysdeps/unix/sysv/linux/clock_settime.c
18280 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
18282 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
18283 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18285 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
18288 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
18289 scripts/test-installation.pl.
18291 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
18292 and $ld_so_version if it is set.
18294 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18297 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
18298 failure if reading from procfs failed.
18299 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
18301 2012-08-27 Joseph Myers <joseph@codesourcery.com>
18303 * sysdeps/unix/sysv/linux/kernel-features.h
18304 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
18305 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
18306 Remove conditional code.
18307 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18308 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
18309 Remove conditional code.
18310 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18311 * sysdeps/unix/sysv/linux/i386/fxstat.c
18312 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18313 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18314 * sysdeps/unix/sysv/linux/i386/fxstatat.c
18315 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18316 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18317 * sysdeps/unix/sysv/linux/i386/lxstat.c
18318 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18319 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18320 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
18321 Remove conditional code.
18322 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18323 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
18324 Remove conditional code.
18325 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18326 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
18327 <kernel-features.h>.
18328 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
18330 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
18331 Remove conditional code.
18332 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18333 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
18334 Remove conditional.
18336 2012-08-27 Mike Frysinger <vapier@gentoo.org>
18339 * NEWS: Add fixed bug number.
18341 2012-08-27 Joseph Myers <joseph@codesourcery.com>
18344 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
18345 underflowing exponent in case of negative sign.
18346 * stdlib/tst-strtod-round-data: Add more tests.
18347 * stdlib/tst-strtod-round.c (tests): Regenerated.
18350 * stdlib/strtod_l.c (NDIG): Remove.
18351 (HEXNDIG): Likewise.
18352 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
18353 smallest representable value.
18354 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
18355 lie within an exact representation of 1/2 ulp of the result.
18356 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
18358 (TENS_P9_IDX): Define unconditionally.
18359 (TENS_P9_SIZE): Likewise.
18360 (TENS_P10_IDX): Likewise.
18361 (TENS_P10_SIZE): Likewise.
18362 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
18363 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
18364 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
18365 entries for 10^2^13 and 10^2^14.
18366 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
18367 (TENS_P13_IDX): Define.
18368 (TENS_P13_SIZE): Likewise.
18369 (TENS_P14_IDX): Likewise.
18370 (TENS_P14_SIZE): Likewise.
18371 (_fpioconst_pow10): Change array size to
18372 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
18374 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
18375 1024]: Add entries for 10^2^13 and 10^2^14.
18376 [LAST_POW10 > _LAST_POW10]: Remove #error.
18377 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
18378 (_fpioconst_pow10): Change array size to
18379 FPIOCONST_POW10_ARRAY_SIZE.
18380 * stdlib/gen-fpioconst.c: New file.
18381 * stdlib/gen-tst-strtod-round.c: Likewise.
18382 * stdlib/tst-strtod-round-data: Likewise.
18383 * stdlib/tst-strtod-round.c: Likewise.
18384 * stdlib/Makefile (tests): Add tst-strtod-round.
18387 * stdlib/strtod_l.c: Include <stdint.h>.
18388 (NDEBUG): Do not define.
18389 (round_and_return): Change EXPONENT parameter to type intmax_t.
18390 Rearrange calculations to avoid internal overflow possibilities.
18391 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
18392 Rearrange calculations to avoid internal overflow possibilities.
18393 Assert that number fits inside MPNSIZE limbs.
18394 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
18395 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
18396 calculations and add assertions to avoid internal overflow
18397 possibilities. Add casts to avoid signed/unsigned operations.
18398 * stdlib/tst-strtod-overflow.c: New file.
18399 * stdlib/Makefile (tests): Add tst-strtod-overflow.
18401 2012-08-25 Marek Polacek <polacek@redhat.com>
18403 * time/time.h: Fix some typos in comments.
18405 2012-08-23 Roland McGrath <roland@hack.frob.com>
18407 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
18408 * posix/tst-rfc3484-2.c: Likewise.
18409 * posix/tst-rfc3484-3.c: Likewise.
18411 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
18413 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
18414 (EF_ARM_ABI_FLOAT_HARD): Likewise.
18416 2012-08-23 Joseph Myers <joseph@codesourcery.com>
18418 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
18419 #include of fxstatat64.c.
18421 2012-08-22 Roland McGrath <roland@hack.frob.com>
18423 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
18424 * shadow/getspent_r.c: Likewise.
18425 * shadow/getspnam.c: Likewise.
18426 * shadow/getspnam_r.c: Likewise.
18427 * gshadow/getsgent.c: Likewise.
18428 * gshadow/getsgent_r.c: Likewise.
18429 * gshadow/getsgnam.c: Likewise.
18430 * gshadow/getsgnam_r.c: Likewise.
18431 * inet/getnetbyad.c: Likewise.
18432 * inet/getnetbyad_r.c: Likewise.
18433 * inet/getnetbynm.c: Likewise.
18434 * inet/getnetbynm_r.c: Likewise.
18435 * inet/getnetent.c: Likewise.
18436 * inet/getnetent_r.c: Likewise.
18437 * inet/getproto.c: Likewise.
18438 * inet/getproto_r.c: Likewise.
18439 * inet/getprtent.c: Likewise.
18440 * inet/getprtent_r.c: Likewise.
18441 * inet/getprtname.c: Likewise.
18442 * inet/getprtname_r.c: Likewise.
18443 * inet/getrpcbyname.c: Likewise.
18444 * inet/getrpcbyname_r.c: Likewise.
18445 * inet/getrpcbynumber.c: Likewise.
18446 * inet/getrpcbynumber_r.c: Likewise.
18447 * inet/getrpcent.c: Likewise.
18448 * inet/getrpcent_r.c: Likewise.
18449 * inet/getaliasent.c: Likewise.
18450 * inet/getaliasent_r.c: Likewise.
18451 * inet/getaliasname.c: Likewise.
18452 * inet/getaliasname_r.c: Likewise.
18453 * nscd/getgrgid_r.c: Likewise.
18454 * nscd/getgrnam_r.c: Likewise.
18455 * nscd/gethstbyad_r.c: Likewise.
18456 * nscd/gethstbynm3_r.c: Likewise.
18457 * nscd/getpwnam_r.c: Likewise.
18458 * nscd/getpwuid_r.c: Likewise.
18459 * nscd/getsrvbynm_r.c: Likewise.
18460 * nscd/getsrvbypt_r.c: Likewise.
18461 * nscd/gai.c: Likewise.
18463 * configure.in (build_nscd): New substituted variable, set
18464 by --disable-build-nscd and defaults to $use_nscd.
18465 * configure: Regenerated.
18466 * config.make.in (build-nscd): New substituted variable.
18467 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
18468 Change conditional to require [$(build-nscd) = yes] as well.
18469 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
18472 * configure.in (use_nscd): New substituted variable, set by
18473 --disable-nscd. If enabled, define USE_NSCD.
18474 * configure: Regenerated.
18475 * config.h.in: Add USE_NSCD.
18476 * config.make.in (use-nscd): New substituted variable.
18477 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
18478 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
18479 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
18480 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
18481 (CFLAGS-getgrnam_r.c): Likewise.
18482 (CFLAGS-initgroups.c): Likewise.
18483 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
18484 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
18486 * inet/getnetgrent_r.c
18487 (nscd_setnetgrent): New function, broken out of ...
18488 (setnetgrent): ... here. Call it.
18489 (innetgr): Conditionalize nscd bits on [USE_NSCD].
18490 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
18491 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
18492 * nscd/Makefile (routines, aux): Move definitions after include of
18493 Makeconfig. Conditionalize on [$(use-nscd) != no].
18494 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
18495 Conditionalize on [USE_NSCD].
18496 (is_nscd, nscd_init_cb): Likewise.
18497 (nss_load_library): Conditionalize init callback on [USE_NSCD].
18498 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
18499 * nss/nss_db/db-init.c: Likewise.
18500 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
18502 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
18503 (make_request): Use it.
18504 (cache_valid_p): New function.
18505 (__check_pf): Use it.
18506 * NEWS: Add item for --disable-nscd.
18508 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
18510 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
18511 to support sed >= 4.2.1-20-ga9bf076.
18512 * configure: Regenerated.
18514 2012-08-22 Roland McGrath <roland@hack.frob.com>
18516 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
18517 Conditionalize whole body on [IREL].
18519 2012-08-22 Jeff Law <law@redhat.com>
18522 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
18523 if the family is PF_UNSPEC.
18525 2012-08-22 Mike Frysinger <vapier@gentoo.org>
18527 * Makerules (lib-version): Rename from V.
18528 (install-lib-nosubdir): Change V to lib-version.
18530 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
18533 * powerpc32/power6/wcschr.c: New file.
18534 * powerpc32/power6/wcscpy.c: New file.
18535 * powerpc32/power6/wcsrchr.c: New file.
18536 * powerpc64/power6/wcschr.c: New file.
18537 * powerpc64/power6/wcscpy.c: New file.
18538 * powerpc64/power6/wcsrchr.c: New file.
18540 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
18542 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
18543 (two_way_short_needle): Use it.
18544 * string/strstr.c (AVAILABLE1_USES_J): Define.
18545 * string/strcasestr.c: Likewise.
18547 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
18549 * string/strcasestr.c (TOLOWER): Make side-effect safe.
18552 * NEWS: Add an entry.
18553 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
18554 define their defaults.
18555 (two_way_short_needle): Detect end-of-string on-the-fly.
18556 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
18557 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
18558 * string/bug-strcasestr1.c: New test.
18559 * string/Makefile: Run it.
18561 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
18564 * string/str-two-way.h (two_way_short_needle): Optimize matching of
18565 the first character.
18567 2012-08-21 Roland McGrath <roland@hack.frob.com>
18569 * csu/elf-init.c (__libc_csu_irel): Function removed.
18570 * csu/libc-start.c (apply_irel): New function.
18571 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
18573 2012-08-21 Joseph Myers <joseph@codesourcery.com>
18575 * sysdeps/unix/sysv/linux/kernel-features.h
18576 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
18577 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
18578 <kernel-features.h>.
18579 [__NR_fadvise64_64]: Make code unconditional.
18580 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
18581 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
18582 !__NR_fadvise64_64)]: Likewise.
18583 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
18584 !__NR_fadvise64_64))]: Likewise.
18585 [__NR_fadvise64]: Make code unconditional.
18586 [!__NR_fadvise64]: Remove conditional code.
18587 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
18588 <kernel-features.h>.
18589 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18591 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
18594 not include <kernel-features.h>.
18595 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18597 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18599 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
18600 include <kernel-features.h>.
18601 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18603 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18606 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
18608 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
18609 slight instruction rearrangements per scrollpipe analysis.
18610 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
18612 2012-08-20 Roland McGrath <roland@hack.frob.com>
18614 * manual/syslog.texi (syslog; vsyslog, closelog):
18615 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
18616 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
18618 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
18619 DSOCAPS to match condition on defining it.
18621 2012-08-20 Joseph Myers <joseph@codesourcery.com>
18623 * sysdeps/unix/sysv/linux/kernel-features.h
18624 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
18625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
18626 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18627 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
18629 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18630 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
18632 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18633 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18635 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
18636 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
18638 * sysdeps/unix/sysv/linux/kernel-features.h
18639 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
18640 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
18642 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18643 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
18644 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
18645 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18646 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
18647 Make code unconditional.
18648 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18649 (__mmap64) [!__NR_mmap2]: Likewise.
18650 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
18651 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
18652 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18653 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
18654 [__NR_mmap2]: Make code unconditional.
18655 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18656 (__mmap64) [!__NR_mmap2]: Likewise.
18658 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18660 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
18662 2012-08-18 Andreas Jaeger <aj@suse.de>
18664 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
18666 2012-08-18 Mike Frysinger <vapier@gentoo.org>
18668 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
18669 * include/unistd.h (__have_sock_cloexec): Likewise.
18670 (__have_pipe2): Likewise.
18671 (__have_dup3): Likewise.
18673 2012-08-18 Mike Frysinger <vapier@gentoo.org>
18676 * include/unistd.h (__have_pipe2): Change define into an extern int.
18677 (__have_dup3): Likewise.
18678 * socket/have_sock_cloexec.c: Include fcntl.h.
18679 (__have_pipe2): New variable.
18680 (__have_dup3): Likewise.
18682 2012-08-17 Mike Frysinger <vapier@gentoo.org>
18684 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
18686 2012-08-17 Marek Polacek <polacek@redhat.com>
18688 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
18689 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
18691 2012-08-17 Roland McGrath <roland@hack.frob.com>
18693 * configure.in: Add AC_SUBST for sysheaders.
18694 * configure: Regenerated.
18695 * config.make.in (sysheaders): New substituted variable.
18697 * sysdeps/unix/mkfifo.c: Moved ...
18698 * sysdeps/posix/mkfifo.c: ... here.
18699 * sysdeps/unix/mkfifoat.c: Moved ...
18700 * sysdeps/posix/mkfifoat.c: ... here.
18702 * sysdeps/unix/utime.c: Moved ...
18703 * sysdeps/posix/utime.c: ... here.
18705 * sysdeps/unix/time.c: Moved ...
18706 * sysdeps/posix/time.c: ... here.
18707 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
18708 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
18710 * sysdeps/unix/nice.c: Moved ...
18711 * sysdeps/posix/nice.c: ... here.
18713 * sysdeps/unix/alarm.c: Moved ...
18714 * sysdeps/posix/alarm.c: ... here.
18716 * intl/Makefile ($(codeset_mo)): Depend on the input file.
18718 2012-08-17 Jeff Law <law@redhat.com>
18720 * intl/Makefile (codeset_mo): New variable.
18721 ($(codeset_mo)): New target.
18722 (tst-codeset.out): Depend on that. Remove explicit rule.
18723 (tst-gettext3.out, tst-gettext5.out): Likewise.
18724 (LOCPATH-ENV, tst-codeset-ENV): New variables.
18725 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
18726 * intl/tst-codeset.sh: Remove.
18727 * intl/tst-gettext3.sh: Likewise.
18728 * intl/tst-gettext5.sh: Likewise.
18730 2012-08-17 Roland McGrath <roland@hack.frob.com>
18732 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
18733 * sysdeps/unix/syscalls.list: ... here.
18735 * sysdeps/posix/getaddrinfo.c
18736 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
18737 (gaiconf_init, gaiconf_reload): Use them.
18738 [!_STATBUF_ST_NSEC]
18739 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
18740 Define using time_t rather than struct timespec.
18742 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
18743 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
18745 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
18747 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
18748 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
18751 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
18752 __libc_cleanup_push argument.
18754 * bits/param.h: New file.
18755 * misc/sys/param.h: New file.
18756 * include/sys/param.h: New file.
18757 * misc/Makefile (headers): Add bits/param.h.
18758 * sysdeps/generic/sys/param.h: File removed.
18759 * sysdeps/unix/sysv/linux/bits/param.h: New file.
18760 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
18761 * sysdeps/mach/hurd/bits/param.h: New file.
18762 * sysdeps/mach/hurd/sys/param.h: File removed.
18764 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
18767 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
18769 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
18770 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
18773 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
18774 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
18775 rather than -D_IO_MTSAFE_IO conditionally.
18776 * stdio-common/Makefile (CPPFLAGS): Likewise.
18777 * wcsmbs/Makefile (CPPFLAGS): Likewise.
18778 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
18779 Use $(libio-mtsafe).
18780 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
18781 of -D_IO_MTSAFE_IO.
18782 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
18783 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
18784 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
18785 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
18786 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
18787 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
18788 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
18789 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
18790 (CFLAGS-fread_u_chk.c): Likewise.
18791 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
18792 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
18793 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
18794 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
18795 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
18796 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
18797 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
18798 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
18799 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
18801 * libio/Makefile: Test [$(libc-reentrant) = yes]
18802 instead of [$(filter %REENTRANT, $(defines)) nonempty].
18805 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
18806 * sysdeps/pthread/configure: File removed.
18807 * sysdeps/pthread/Makeconfig: New file.
18808 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
18809 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
18811 2012-08-16 Gary Benson <gbenson@redhat.com>
18813 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
18814 unmapping the first object in a namespace.
18816 2012-08-16 Roland McGrath <roland@hack.frob.com>
18818 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
18819 (__internal_setnetgrent): ... this. Add internal_function to
18820 definition. Add libc_hidden_def.
18821 (setnetgrent): Update caller.
18822 (internal_endnetgrent): Renamed to ...
18823 (__internal_endnetgrent): ... this. Add internal_function to
18824 definition. Add libc_hidden_def.
18825 (endnetgrent): Update caller.
18826 (internal_getnetgrent_r): Renamed to ...
18827 (__internal_getnetgrent_r): ... this. Add internal_function to
18828 definition. Add libc_hidden_def.
18829 (__getnetgrent_r): Update caller.
18830 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
18832 2012-08-16 Joseph Myers <joseph@codesourcery.com>
18834 * stdlib/longlong.h: Update from GCC.
18836 2012-08-16 Roland McGrath <roland@hack.frob.com>
18838 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
18839 on _QL, which is set by umul_ppmm but never used.
18840 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
18841 variables, which are set by GMP macros but never used.
18842 * stdio-common/_itowa.c (_itowa): Likewise.
18843 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
18844 * stdlib/mod_1.c (mpn_mod_1): Likewise.
18846 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
18848 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
18849 struct La_sh_regs is not constant.
18850 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
18851 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
18852 and struct La_sparc64_regs are not constant.
18854 2012-08-16 Joseph Myers <joseph@codesourcery.com>
18856 * sysdeps/unix/sysv/linux/kernel-features.h
18857 (__ASSUME_POSIX_TIMERS): Remove.
18858 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18859 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18860 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
18861 Make code unconditional.
18862 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18863 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
18864 Make code unconditional.
18865 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18866 * sysdeps/unix/sysv/linux/clock_nanosleep.c
18867 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
18868 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18869 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
18870 Make code unconditional.
18871 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18872 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
18873 (__libc_missing_posix_timers): Remove.
18875 2012-08-15 Roland McGrath <roland@hack.frob.com>
18877 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
18878 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
18880 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
18882 * elf/dl-sym.c: Include <stdlib.h>.
18884 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
18885 constants, which avoids warnings in 32-bit builds.
18887 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
18888 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
18890 * misc/lseek.c: File moved to ...
18891 * io/lseek.c: ... here.
18893 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
18895 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
18896 shifting LEN more than 31 bits at once.
18898 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18901 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
18902 segmentation fault for a case of two empty input strings.
18903 * string/test-strncasecmp.c (check1): Renamed to...
18904 (bz12205): ...this.
18905 (bz14195): Add new testcase for two empty input strings and N > 0.
18906 (test_main): Call new testcase, adapt for renamed function.
18908 2012-08-15 Andreas Jaeger <aj@suse.de>
18911 * crypt/md5test2.c: New test, based on test supplied by Serge
18912 Belyshev <belyshev@depni.sinp.msu.ru>.
18913 * crypt/Makefile (xtests): Add md5test-giant..
18914 * crypt/Makefile ($(objpfx)md5test-giant): Add.
18916 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
18919 * crypt/md5.c (md5_process_block): Don't assume the buffer
18920 length is less than 2**32.
18921 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
18922 length is less than 2**64.
18924 2012-08-15 Roland McGrath <roland@hack.frob.com>
18926 * string/str-two-way.h: Include <sys/param.h>.
18927 (MAX): Macro removed.
18929 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
18930 Move #define and #undef of memmove to just before and after
18931 including <string.h>.
18933 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
18934 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
18935 and after including <string.h>. Move declarations of
18936 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
18937 to before #include "string/memmove.c".
18939 * include/dirent.h: Declare __getdirentries.
18941 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
18942 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
18944 2012-08-14 Mike Frysinger <vapier@gentoo.org>
18946 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
18947 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
18948 * sysdeps/i386/configure: Regenerated.
18949 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
18950 STABS_CURRENT_FILE, and STABS_FUN.
18951 (END): Remove call to STABS_FUN_END.
18952 (STABS_CURRENT_FILE1): Delete.
18953 (STABS_CURRENT_FILE): Likewise.
18954 (STABS_FUN): Likewise.
18955 (STABS_FUN_END): Likewise.
18956 (STABS_FUN2): Likewise.
18957 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
18958 * sysdeps/x86_64/configure: Regenerated.
18960 2012-08-14 Roland McGrath <roland@hack.frob.com>
18962 * elf/dl-open.c: Include <atomic.h>.
18963 * elf/dl-lookup.c: Likewise.
18965 2012-08-14 Joseph Myers <joseph@codesourcery.com>
18967 * sysdeps/unix/sysv/linux/kernel-features.h
18968 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
18969 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
18971 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
18973 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
18974 condition on __ASSUME_CLONE_THREAD_FLAGS.
18976 2012-08-14 Andreas Jaeger <aj@suse.de>
18978 * sysdeps/i386/fpu/libm-test-ulps: Update.
18980 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
18982 * include/atomic.h (atomic_exchange_and_add): Split into ...
18983 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
18986 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
18988 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18990 2012-08-13 Jeff Law <law@redhat.com>
18992 * manual/stdio.texi (snprintf): Clarify handling of the trailing
18993 null byte in the output string.
18995 2012-08-10 Joseph Myers <joseph@codesourcery.com>
18997 * sysdeps/unix/sysv/linux/kernel-features.h
18998 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
18999 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
19000 (__ASSUME_ARG_MAX_STACK_BASED): Define.
19001 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
19002 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
19003 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
19004 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
19006 2012-08-09 Jeff Law <law@redhat.com>
19009 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
19010 When avoid_arena is set, don't retry in the that arena. Pick the
19011 next one, whatever it might be.
19012 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
19013 (arena_lock): Pass in new parameter to arena_get2.
19014 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
19016 (__libc_malloc): Unify retrying after main arena failure with
19017 __libc_memalign version.
19018 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
19020 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
19023 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
19024 to __redirect_strstr.
19025 (__strstr_sse42): Use typeof __redirect_strstr.
19026 (__strstr_ia32): Likewise.
19027 (__libc_strstr): New prototype.
19028 (strstr): Renamed to ...
19029 (__libc_strstr): This.
19030 (strstr): New strong alias of __libc_strstr.
19031 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
19032 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
19035 (__libc_time): New prototype.
19036 (time_ifunc): Replace time with __libc_time.
19037 (time): New strong alias and hidden definition of __libc_time.
19038 (__GI_time): Remove strong alias.
19039 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
19040 Include <stddef.h>.
19041 (memmove): Redefined to __redirect_memmove.
19042 (__memmove_sse2): Use typeof __redirect_memmove.
19043 (__memmove_ssse3): Likewise.
19044 (__memmove_ssse3_back): Likewise.
19045 (__libc_memmove): New prototype.
19046 (memmove): Renamed to ...
19047 (__libc_memmove): This.
19048 (memmove): New strong alias of __libc_memmove.
19050 2012-08-08 Mark Salter <msalter@redhat.com>
19053 (R_MN10300_TLS_GD): Define.
19054 (R_MN10300_TLS_LD): Likewise.
19055 (R_MN10300_TLS_LDO): Likewise.
19056 (R_MN10300_TLS_GOTIE): Likewise.
19057 (R_MN10300_TLS_IE): Likewise.
19058 (R_MN10300_TLS_LE): Likewise.
19059 (R_MN10300_TLS_DTPMOD): Likewise.
19060 (R_MN10300_TLS_DTPOFF): Likewise.
19061 (R_MN10300_TLS_TPOFF): Likewise.
19062 (R_MN10300_SYM_DIFF): Likewise.
19063 (R_MN10300_ALIGN): Likewise.
19064 (R_MN10300_NUM): Update.
19066 2012-08-08 Joseph Myers <joseph@codesourcery.com>
19068 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
19071 2012-08-08 Roland McGrath <roland@hack.frob.com>
19073 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
19075 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
19076 sysdeps/unix -> sysdeps/posix move.
19077 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19079 2012-08-07 Allan McRae <allan@archlinux.org>
19082 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
19083 (SUNOS_CPP): Likewise.
19084 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
19086 (open_input): Call CPP using execvp.
19088 2012-08-07 Joseph Myers <joseph@codesourcery.com>
19090 * sysdeps/unix/sysv/linux/kernel-features.h
19091 (__ASSUME_PROT_GROWSUPDOWN): Remove.
19092 (__ASSUME_NO_CLONE_DETACHED): Likewise.
19093 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
19094 (__ASSUME_WAITID_SYSCALL): Likewise.
19095 * sysdeps/unix/sysv/linux/dl-execstack.c
19096 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
19097 code unconditional.
19098 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
19100 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
19101 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
19102 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
19104 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
19106 [__ASSUME_WAITID_SYSCALL]: Likewise.
19107 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
19109 2012-08-07 Roland McGrath <roland@hack.frob.com>
19111 * sysdeps/unix/closedir.c: Renamed to ...
19112 * sysdeps/posix/closedir.c: ... here.
19113 * sysdeps/unix/dirfd.c: Renamed to ...
19114 * sysdeps/posix/dirfd.c: ... here.
19115 * sysdeps/unix/dirstream.h: Renamed to ...
19116 * sysdeps/posix/dirstream.h: ... here.
19117 * sysdeps/unix/fdopendir.c: Renamed to ...
19118 * sysdeps/posix/fdopendir.c: ... here.
19119 * sysdeps/unix/opendir.c: Renamed to ...
19120 * sysdeps/posix/opendir.c: ... here.
19121 * sysdeps/unix/readdir.c: Renamed to ...
19122 * sysdeps/posix/readdir.c: ... here.
19123 * sysdeps/unix/readdir_r.c: Renamed to ...
19124 * sysdeps/posix/readdir_r.c: ... here.
19125 * sysdeps/unix/rewinddir.c: Renamed to ...
19126 * sysdeps/posix/rewinddir.c: ... here.
19127 * sysdeps/unix/seekdir.c: Renamed to ...
19128 * sysdeps/posix/seekdir.c: ... here.
19129 * sysdeps/unix/telldir.c: Renamed to ...
19130 * sysdeps/posix/telldir.c: ... here.
19131 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
19132 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
19133 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
19134 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
19136 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
19137 * bits/fcntl.h: ... here.
19139 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
19141 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
19142 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
19143 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
19144 (struct flock): Move l_start, l_len to the beginning.
19145 Use __pid_t for l_pid.
19146 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
19147 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
19148 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
19149 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
19150 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
19151 [__USE_LARGEFILE64] (struct flock64): New type.
19152 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
19154 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
19155 * bits/dirent.h: ... here.
19157 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
19158 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
19160 2012-08-07 Joseph Myers <joseph@codesourcery.com>
19162 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19163 Change from 2.6.0 to 2.6.16.
19164 * sysdeps/unix/sysv/linux/configure: Regenerated.
19165 * sysdeps/unix/sysv/linux/kernel-features.h
19166 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
19167 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
19169 (__ASSUME_UTIMES): Likewise.
19170 (__ASSUME_CLONE_STOPPED): Remove.
19171 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
19172 architectures, not kernel version.
19173 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
19174 (__ASSUME_NO_CLONE_DETACHED): Likewise.
19175 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
19176 (__ASSUME_WAITID_SYSCALL): Likewise.
19177 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
19178 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
19179 * README: State 2.6.16 as minimum Linux kernel version. Do not
19180 refer to older versions.
19182 2012-08-06 Roland McGrath <roland@hack.frob.com>
19184 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
19185 Define alphasort64 as an alias.
19186 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
19187 Define versionsort64 as an alias.
19188 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
19189 Define scandir64 as an alias.
19190 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
19191 Define scandirat64 as an alias.
19192 * dirent/alphasort64.c (alphasort64):
19193 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
19194 * dirent/versionsort64.c: Likewise.
19195 * dirent/scandir64.c: Likewise.
19196 * dirent/scandirat64.c: Likewise.
19197 * sysdeps/wordsize-64/alphasort.c: File removed.
19198 * sysdeps/wordsize-64/alphasort64.c: File removed.
19199 * sysdeps/wordsize-64/scandir.c: File removed.
19200 * sysdeps/wordsize-64/scandir64.c: File removed.
19201 * sysdeps/wordsize-64/scandirat.c: File removed.
19202 * sysdeps/wordsize-64/scandirat64.c: File removed.
19203 * sysdeps/wordsize-64/versionsort.c: File removed.
19204 * sysdeps/wordsize-64/versionsort64.c: File removed.
19205 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
19206 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
19207 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
19208 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
19209 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
19210 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
19211 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
19212 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
19214 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
19215 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
19216 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
19217 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19218 [defined __arch64__ || defined __sparcv9]
19219 (__INO_T_MATCHES_INO64_T): New macro.
19220 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19221 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
19222 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
19223 * sysdeps/unix/sysv/linux/bits/dirent.h
19224 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
19225 (_DIRENT_MATCHES_DIRENT64): New macro.
19227 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
19228 Define lockf64 as an alias.
19229 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
19230 Define fseeko64 as an alias.
19231 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
19232 Define ftello64 as an alias.
19233 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
19234 Define _IO_fgetpos64 and fgetpos64 as aliases.
19235 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
19236 Define _IO_fsetpos64 and fsetpos64 as aliases.
19237 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
19238 Conditionalize body on this.
19239 * libio/fseeko64.c: Likewise.
19240 * libio/ftello64.c: Likewise.
19241 * libio/iofgetpos64.c: Likewise.
19242 * libio/iofsetpos64.c: Likewise.
19243 * sysdeps/wordsize-64/lockf.c: File removed.
19244 * sysdeps/wordsize-64/lockf64.c: File removed.
19245 * sysdeps/wordsize-64/fseeko.c: File removed.
19246 * sysdeps/wordsize-64/fseeko64.c: File removed.
19247 * sysdeps/wordsize-64/ftello.c: File removed.
19248 * sysdeps/wordsize-64/ftello64.c: File removed.
19249 * sysdeps/wordsize-64/iofgetpos.c: File removed.
19250 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
19251 * sysdeps/wordsize-64/iofsetpos.c: File removed.
19252 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
19253 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
19254 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
19255 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
19256 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
19257 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
19258 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
19259 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
19260 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
19261 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
19262 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
19264 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
19265 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
19266 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
19267 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19268 [defined __arch64__ || defined __sparcv9]
19269 (__OFF_T_MATCHES_OFF64_T): New macro.
19270 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19271 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
19272 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19273 (__OFF_T_MATCHES_OFF64_T): New macro.
19275 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
19277 * stdlib/secure-getenv.c (__secure_getenv): Replace
19278 GLIBC_2_16 with GLIBC_2_17.
19280 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
19282 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
19283 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
19285 2012-08-03 David S. Miller <davem@davemloft.net>
19287 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19289 2012-08-03 Joseph Myers <joseph@codesourcery.com>
19291 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
19293 (__ASSUME_CORRECT_SI_PID): Likewise.
19294 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
19295 (__ASSUME_TMPFS_NAME): Likewise.
19296 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
19297 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
19298 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
19299 (HAVE_AUX_SECURE): Make definition unconditional.
19300 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
19301 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
19303 2012-08-03 Roland McGrath <roland@hack.frob.com>
19305 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
19306 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
19307 * sysdeps/mach/hurd/eloop-threshold.h: New file.
19308 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19309 __eloop_threshold instead of SYMLOOP_MAX.
19311 * sysdeps/generic/eloop-threshold.h: New file.
19312 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
19314 * elf/chroot_canon.c (chroot_canon): Likewise.
19316 2012-08-03 Joseph Myers <joseph@codesourcery.com>
19319 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19320 Change to 2.6.0 everywhere.
19321 * sysdeps/unix/sysv/linux/configure: Regenerated.
19322 * sysdeps/unix/sysv/linux/kernel-features.h
19323 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
19324 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
19326 (__ASSUME_POSIX_TIMERS): Define unconditionally.
19327 (__ASSUME_FUTEX_REQUEUE): Remove.
19328 (__ASSUME_STATFS64): Define unconditionally.
19329 (__ASSUME_AT_SECURE): Likewise.
19330 (__ASSUME_CORRECT_SI_PID): Likewise.
19331 (__ASSUME_TGKILL): Define without depending on kernel version for
19333 (__ASSUME_UTIMES): Likewise.
19334 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
19336 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
19337 (__ASSUME_TMPFS_NAME): Likewise.
19338 * README: Update reference to Linux kernel versions.
19340 2012-08-02 Marek Polacek <polacek@redhat.com>
19343 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
19344 libc_cv_asm_type_prefix with %.
19345 * configure: Regenerated.
19346 * include/libc-symbols.h: Remove comment about
19347 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
19348 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
19349 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
19350 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
19351 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
19352 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
19353 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
19354 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
19355 * elf/tst-unique2mod1.c: Likewise.
19356 * elf/tst-unique1mod2.c: Likewise.
19357 * elf/tst-unique1mod1.c: Likewise.
19358 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
19359 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
19360 Replace ASM_TYPE_DIRECTIVE with .type.
19361 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19362 * sysdeps/i386/sysdep.h: Likewise.
19363 * sysdeps/x86_64/sysdep.h: Likewise.
19364 * sysdeps/sh/sysdep.h: Likewise.
19365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
19366 Do not define ASM_TYPE_DIRECTIVE.
19367 * sysdeps/powerpc/sysdep.h: Likewise.
19368 * sysdeps/powerpc/powerpc32/sysdep.h:
19369 Replace ASM_TYPE_DIRECTIVE with .type.
19370 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
19371 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19372 * sysdeps/i386/fpu/e_powf.S: Likewise.
19373 * sysdeps/i386/fpu/e_expl.S: Likewise.
19374 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19375 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19376 * sysdeps/i386/fpu/e_pow.S: Likewise.
19377 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19378 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19379 * sysdeps/i386/fpu/s_expm1.S: Likewise.
19380 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19381 * sysdeps/i386/fpu/e_log2.S: Likewise.
19382 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19383 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19384 * sysdeps/i386/fpu/e_powl.S: Likewise.
19385 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19386 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19387 * sysdeps/i386/fpu/e_logl.S: Likewise.
19388 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19389 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19390 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19391 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19392 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19393 * sysdeps/i386/fpu/e_log.S: Likewise.
19394 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19395 * sysdeps/i386/fpu/e_logf.S: Likewise.
19396 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19397 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19398 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19399 * sysdeps/i386/fpu/e_log10.S: Likewise.
19400 * sysdeps/i386/fpu/s_frexp.S: Likewise.
19401 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19402 * sysdeps/i386/fpu/s_asinh.S: Likewise.
19403 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19404 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19405 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
19406 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19407 * sysdeps/i386/i686/strtok.S: Likewise.
19408 * sysdeps/i386/i386-mcount.S: Likewise.
19409 * sysdeps/i386/strtok.S: Likewise.
19410 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
19411 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19412 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19413 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19414 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
19415 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19416 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19417 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19418 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19419 * sysdeps/x86_64/_mcount.S: Likewise.
19420 * sysdeps/x86_64/strtok.S: Likewise.
19421 * sysdeps/sh/_mcount.S: Likewise.
19423 2012-08-01 Roland McGrath <roland@hack.frob.com>
19425 * libio/iofopen.c: Include <fcntl.h>.
19426 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
19427 (_IO_fopen64, fopen64): Define as aliases.
19428 * libio/iofopen64.c: Include <fcntl.h>.
19429 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
19430 Conditionalize body on this.
19431 * sysdeps/wordsize-64/iofopen.c: File removed.
19432 * sysdeps/wordsize-64/iofopen64.c: File removed.
19434 2012-08-01 Marek Polacek <polacek@redhat.com>
19436 * libc/Makeconfig: Use elf in place of binfmt-subdir.
19437 Use dlfcn directly instead of a variable.
19438 (binfmt-subdir): Do not define.
19441 2012-08-01 Joseph Myers <joseph@codesourcery.com>
19443 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
19444 Remove all definitions.
19445 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
19446 <kernel-features.h>.
19447 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
19448 (miss_F_GETOWN_EX): Remove all definitions.
19449 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
19451 [!__ASSUME_FCNTL64]: Remove conditional code.
19452 [__ASSUME_FCNTL64]: Make code unconditional.
19453 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
19454 <kernel-features.h>.
19455 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
19456 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
19457 (lockf64) [__NR_fcntl64]: Make code unconditional.
19458 (lockf64) [__ASSUME_FCNTL64]: Likewise.
19460 * sysdeps/unix/sysv/linux/kernel-features.h
19461 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
19462 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
19463 Make code unconditional.
19464 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19465 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
19467 [__NR_vfork]: Make code unconditional.
19468 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19469 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
19471 [__NR_vfork]: Make code unconditional.
19472 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19473 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19475 2012-08-01 Roland McGrath <roland@hack.frob.com>
19477 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
19478 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
19480 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19481 Define mkstemp64 as an alias.
19482 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19483 Define mkstemps64 as an alias.
19484 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19485 Define mkostemp64 as an alias.
19486 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19487 Define mkostemps64 as an alias.
19488 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
19489 Conditionalize body on this.
19490 * misc/mkostemp64.c: Likewise.
19491 * misc/mkostemps64.c: Likewise.
19492 * misc/mkstemps64.c: Likewise.
19493 * sysdeps/wordsize-64/mkstemp64.c: File removed.
19494 * sysdeps/wordsize-64/mkostemp64.c: File removed.
19495 * sysdeps/wordsize-64/mkostemp.c: File removed.
19496 * sysdeps/wordsize-64/mkstemp.c: File removed.
19497 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
19498 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
19499 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
19500 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
19503 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
19504 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
19505 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
19506 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
19508 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
19509 compat_symbol macros from <shlib-compat.h> rather than the underlying
19510 default_symbol_version and symbol_version macros, so that DEFAULT
19511 lines in shlib-versions are respected.
19512 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
19514 2012-08-01 Florian Weimer <fweimer@redhat.com>
19516 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
19517 Declare with warn_unused_result.
19518 (setgid, setregid, setegid, setresgid): Likewise.
19519 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
19521 * WUR-REPORT: Remove set*id functions.
19523 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
19525 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
19527 2012-07-31 Roland McGrath <roland@hack.frob.com>
19530 * include/sys/socket.h (__libc_accept, __libc_accept4):
19531 Add attribute_hidden.
19532 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
19534 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
19536 * inet/getnetgrent_r.c (setup): Likewise.
19538 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
19540 2012-07-31 David S. Miller <davem@davemloft.net>
19542 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19544 2012-07-31 Joseph Myers <joseph@codesourcery.com>
19547 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
19548 value between 1.0 and 2.0 and smaller part has absolute value less
19550 * math/s_clog10.c (__clog10): Likewise.
19551 * math/s_clog10f.c (__clog10f): Likewise.
19552 * math/s_clog10l.c (__clog10l): Likewise.
19553 * math/s_clogf.c (__clogf): Likewise.
19554 * math/s_clogl.c (__clogl): Likewise.
19555 * math/libm-test.inc (clog_test): Add more tests.
19556 (clog10_test): Likewise.
19557 * sysdeps/i386/fpu/libm-test-ulps: Update.
19558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19560 2012-07-31 Florian Weimer <fweimer@redhat.com>
19562 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
19563 Exit with zero in case no suitable GID is found, and write a
19564 message to standard error.
19566 2012-07-30 Roland McGrath <roland@hack.frob.com>
19568 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
19570 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
19571 (MAXPATHLEN): Removed.
19572 (NOGROUP, NODEV): New macros.
19573 (setbit, clrbit, isset, isclr): New macros.
19574 (howmany, roundup, powerof2): New macros.
19575 (DEV_BSIZE): New macro.
19577 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
19578 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
19580 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
19581 definition on [!__NO_LONG_DOUBLE_MATH].
19583 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
19584 PTR_MANGLE and PTR_DEMANGLE.
19586 * socket/accept4.c (accept4): Rename to __libc_accept4.
19587 Define accept4 as a weak alias.
19589 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
19590 on [_DIRENT_HAVE_D_TYPE].
19591 * io/ftw.c (ftw_dir): Likewise.
19593 * io/xmknod.c (__xmknod): Don't check PATH for being null.
19595 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
19597 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
19598 Use the BSD numbers rather than the arbitrary ones we had.
19599 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
19600 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
19601 (SIGXCPU, SIGXFSZ): New macros.
19604 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
19605 initializer on [_LIBC_REENTRANT].
19607 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
19608 definitions inside [_POSIX_MAPPED_FILES].
19610 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
19612 * dirent/opendir.c: Include <fcntl.h>.
19614 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
19615 (__libc_getspecific): Likewise.
19616 (__libc_key_create): Likewise.
19618 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
19619 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
19620 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
19621 (tmpfile64): Define as alias.
19622 * sysdeps/wordsize-64/tmpfile.c: File removed.
19623 * sysdeps/wordsize-64/tmpfile64.c: File removed.
19624 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
19625 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
19627 * stdio-common/vfscanf.c: Include <stdbool.h>.
19628 * nss/makedb.c: Likewise.
19629 * stdio-common/_i18n_number.h: Likewise.
19630 * argp/argp-help.c: Likewise.
19631 * posix/wordexp.c: Likewise.
19632 * sysdeps/posix/spawni.c: Likewise.
19633 * nss/nss_files/files-initgroups.c: Likewise.
19634 * stdio-common/reg-modifier.c: Include <stdlib.h>.
19635 * nss/nss_files/files-initgroups.c: Likewise.
19636 * nss/nss_db/db-netgrp.c: Likewise.
19637 * nss/nss_db/db-initgroups.c: Likewise.
19638 * io/fchmodat.c: Include <sys/stat.h>.
19640 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
19641 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
19643 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
19646 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
19647 Add multiple inclusion protection.
19649 2012-07-27 David S. Miller <davem@davemloft.net>
19651 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19653 2012-07-27 Gary Benson <gbenson@redhat.com>
19656 * elf/rtld.c: Include <stap-probe.h>.
19657 (dl_main): Added static probes "init_start" and "init_complete".
19658 * elf/dl-load.c: Include <stap-probe.h>.
19659 (lose): Take new parameter "nsid".
19660 Added static probe "map_failed".
19661 (_dl_map_object_from_fd): Pass namespace id to lose.
19662 Added static probe "map_start".
19663 (open_verify): Pass namespace id to lose.
19664 * elf/dl-open.c: Include <stap-probe.h>.
19665 (dl_open_worker) Added static probes "map_complete", "reloc_start"
19666 and "reloc_complete".
19667 * elf/dl-close.c: Include <stap-probe.h>.
19668 (_dl_close_worker): Added static probes "unmap_start" and
19670 * elf/rtld-debugger-interface.txt: New file documenting the above.
19672 2012-07-26 Roland McGrath <roland@hack.frob.com>
19674 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
19675 rather than a string variable.
19676 * sunrpc/rpc_main.c (h_output): Likewise.
19677 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
19679 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
19681 * inet/check_native.c: New file.
19683 2012-07-26 Joseph Myers <joseph@codesourcery.com>
19686 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
19687 if larger part has absolute value 1.0.
19688 * math/s_clog10.c (__clog10): Likewise.
19689 * math/s_clog10f.c (__clog10f): Likewise.
19690 * math/s_clog10l.c (__clog10l): Likewise.
19691 * math/s_clogf.c (__clogf): Likewise.
19692 * math/s_clogl.c (__clogl): Likewise.
19693 * math/libm-test.inc (clog_test): Add more tests.
19694 (clog10_test): Likewise.
19695 * sysdeps/i386/fpu/libm-test-ulps: Update.
19696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19698 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
19699 (pltexit): Likewise.
19700 (La_regs): Likewise.
19701 (La_retval): Likewise.
19702 (int_retval): Likewise.
19703 Update #error for removed macros to refer only to definitions in
19705 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
19707 (pltexit): Likewise.
19708 (La_regs): Likewise.
19709 (La_retval): Likewise.
19710 (int_retval): Likewise.
19711 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
19713 (pltexit): Likewise.
19714 (La_regs): Likewise.
19715 (La_retval): Likewise.
19716 (int_retval): Likewise.
19717 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
19719 (pltexit): Likewise.
19720 (La_regs): Likewise.
19721 (La_retval): Likewise.
19722 (int_retval): Likewise.
19723 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
19725 (pltexit): Likewise.
19726 (La_regs): Likewise.
19727 (La_retval): Likewise.
19728 (int_retval): Likewise.
19729 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
19731 (pltexit): Likewise.
19732 (La_regs): Likewise.
19733 (La_retval): Likewise.
19734 (int_retval): Likewise.
19735 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
19737 (pltexit): Likewise.
19738 (La_regs): Likewise.
19739 (La_retval): Likewise.
19740 (int_retval): Likewise.
19741 * sysdeps/generic/tst-audit.h: Update comment to refer only to
19742 macro definitions in tst-audit.h.
19743 * sysdeps/i386/tst-audit.h: New file.
19744 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
19745 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
19746 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
19747 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
19748 * sysdeps/sh/tst-audit.h: Likewise.
19749 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
19750 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
19751 * sysdeps/x86_64/tst-audit.h: Likewise.
19753 2012-07-26 Andreas Jaeger <aj@suse.de>
19755 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
19758 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
19759 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
19760 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
19762 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
19763 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
19764 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
19766 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
19769 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
19771 (si_call_addr, si_syscall, si_arch): Define new macro.
19772 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
19774 (si_call_addr, si_syscall, si_arch): Define new marcro.
19775 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
19777 (si_call_addr, si_syscall, si_arch): Define new macro.
19778 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
19780 (si_call_addr, si_syscall, si_arch): Define new macro.
19782 2012-07-25 Joseph Myers <joseph@codesourcery.com>
19785 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19786 Change to 2.4.21 where previously 2.4.1.
19787 * sysdeps/unix/sysv/linux/configure: Regenerated.
19788 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
19789 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
19790 Linux kernel version.
19791 (__ASSUME_STD_AUXV): Remove.
19792 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
19794 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
19795 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
19796 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
19797 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
19798 (__ASSUME_NETLINK_SUPPORT): Likewise.
19799 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
19800 (__no_netlink_support): Remove conditional definition.
19801 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
19803 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
19804 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
19805 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
19806 (if_nameindex_ioctl): Remove.
19807 (if_nameindex_netlink): Do not handle __no_netlink_support.
19808 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
19810 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
19811 Remove conditional code.
19812 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
19814 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
19816 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
19817 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
19818 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
19820 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
19821 [!__ASSUME_STD_AUXV]: Remove conditional code.
19822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
19823 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
19824 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
19825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
19826 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
19827 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
19829 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
19830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19831 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
19832 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
19834 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
19835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
19836 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
19838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19839 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
19841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
19842 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19843 code unconditional.
19844 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19846 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19848 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19851 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19853 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
19856 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19857 code unconditional.
19858 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19860 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19862 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
19865 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19866 code unconditional.
19867 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19869 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19871 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19874 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
19876 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
19877 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
19878 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
19879 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
19880 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
19881 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
19882 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
19883 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
19884 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
19885 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
19886 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
19887 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
19888 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
19889 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
19890 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
19891 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
19892 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
19893 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
19894 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
19895 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
19896 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
19897 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
19898 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19900 2012-07-25 Florian Weimer <fweimer@redhat.com>
19902 * Versions.def: Add GLIBC_2.17.
19903 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
19904 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
19905 Introduce __libc_secure_getenv.
19906 * stdlib/Versions (2.17): Add secure_getenv
19907 (GLIBC_PRIVATE): Add __libc_secure_getenv.
19908 * stdlib/secure-getenv.c: Rename __secure_getenv to
19909 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
19910 symbol __secure_getenv for GLIBC_2.0.
19911 * stdlib/tst-secure-getenv.c: New.
19912 * stdlib/Makefile (tests): Add testcase.
19913 * manual/startup.texi (Environment Access): Document
19915 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
19916 __libc_secure_getenv.
19917 * inet/ruserpass.c (ruserpass): Likewise.
19918 * malloc/mtrace.c (mtrace): Likewise.
19919 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
19920 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
19921 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
19922 * sysdeps/posix/tempname.c: Likewise. Evaluate
19923 HAVE_SECURE_GETENV.
19924 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
19925 __secure_getenv to __libc_secure_getenv.
19926 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
19927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19931 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
19932 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
19933 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19934 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
19935 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
19936 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19937 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
19939 2012-07-25 Joseph Myers <joseph@codesourcery.com>
19941 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
19942 (struct La_i86_retval): Likewise.
19943 (struct La_x86_64_regs): Likewise.
19944 (struct La_x86_64_retval): Likewise.
19945 (struct La_x32_regs): Likewise.
19946 (struct La_x32_retval): Likewise.
19947 (struct La_ppc32_regs): Likewise.
19948 (struct La_ppc32_retval): Likewise.
19949 (struct La_ppc64_regs): Likewise.
19950 (struct La_ppc64_retval): Likewise.
19951 (struct La_sh_regs): Likewise.
19952 (struct La_sh_retval): Likewise.
19953 (struct La_s390_32_regs): Likewise.
19954 (struct La_s390_32_retval): Likewise.
19955 (struct La_s390_64_regs): Likewise.
19956 (struct La_s390_64_retval): Likewise.
19957 (struct La_sparc32_regs): Likewise.
19958 (struct La_sparc32_retval): Likewise.
19959 (struct La_sparc64_regs): Likewise.
19960 (struct La_sparc64_retval): Likewise.
19961 (struct audit_ifaces): Remove architecture-specific pltenter and
19963 * sysdeps/i386/ldsodefs.h: New file.
19964 * sysdeps/powerpc/ldsodefs.h: Likewise.
19965 * sysdeps/s390/ldsodefs.h: Likewise.
19966 * sysdeps/sh/ldsodefs.h: Likewise.
19967 * sysdeps/sparc/ldsodefs.h: Likewise.
19968 * sysdeps/x86_64/ldsodefs.h: Likewise.
19970 2012-07-25 Marek Polacek <polacek@redhat.com>
19973 * math/libm-test.inc (yn_test): Add another test.
19974 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
19975 to ERANGE when the result is +-Inf.
19976 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
19977 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
19978 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
19979 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
19981 2012-07-24 Joseph Myers <joseph@codesourcery.com>
19983 * conform/data/time.h-data (NULL): Use macro-constant. Require
19985 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
19987 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
19989 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
19991 * configure.in <sysdeps resolving>: Correct printing
19993 * configure: Regenerate.
19995 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
19997 * math/w_ilogb.c: Include <limits.h>.
19998 * math/w_ilogbl.c: Likewise.
20000 2012-07-20 Joseph Myers <joseph@codesourcery.com>
20002 * manual/lang.texi (__va_copy): Document primarily as ISO C99
20003 va_copy. Document allowing for unavailable va_copy only as
20004 pre-C99 compatibility.
20005 * manual/string.texi (Copying and Concatenation): Use va_copy
20006 instead of __va_copy in concat example.
20008 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
20010 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
20011 (__sendto): Use create_address_port. Initialize APORT and deallocate
20014 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
20015 with O_NOLINK passed to __file_name_lookup.
20017 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
20018 with O_NOLINK passed to __file_name_lookup.
20020 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
20021 negative N or less than NGIDS.
20023 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
20024 type to string_t. Set ERANGE as errno and return it if NAME is not big
20025 enough. Use memcpy instead of strncpy.
20027 2012-07-20 Joseph Myers <joseph@codesourcery.com>
20029 * elf/Makefile (check-data): Remove.
20030 (localplt.data): New vpath directive.
20031 ($(objpfx)check-localplt.out): Use localplt.data from vpath
20032 instead of $(check-data).
20033 * scripts/data/localplt-generic.data: Move to ...
20034 * sysdeps/generic/localplt.data: ... here.
20035 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
20036 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
20037 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
20038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
20040 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
20041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
20043 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
20044 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
20046 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
20047 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
20049 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
20050 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
20052 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
20053 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
20056 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20058 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
20059 PPC32 and PPC64 files.
20060 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
20061 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
20063 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20065 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
20066 __makecontext_ret to ...
20067 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
20068 ... here and call exit if uc_link is NULL. New file.
20069 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
20070 __makecontext_ret.S.
20071 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
20072 __makecontext_ret to ...
20073 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
20074 ... here and call exit if uc_link is NULL. New file.
20075 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
20076 __makecontext_ret.S.
20078 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20080 * elf/elf.h (R_390_IRELATIVE): New definition.
20081 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
20082 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
20083 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
20084 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
20085 (elf_machine_lazy_rel): Likewise.
20086 * sysdeps/s390/dl-irel.h: New file.
20087 * sysdeps/s390/s390-64/memcpy.S: New asm code.
20088 * sysdeps/s390/s390-64/memset.S: New asm code.
20089 * sysdeps/s390/s390-64/memcmp.S: New asm code.
20090 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
20091 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
20092 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
20093 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
20094 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
20095 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
20096 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
20097 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
20098 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
20099 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
20100 * sysdeps/s390/s390-32/memcpy.S: New asm code.
20101 * sysdeps/s390/s390-32/memset.S: New asm code.
20102 * sysdeps/s390/s390-32/memcmp.S: New asm code.
20104 2012-07-17 Marek Polacek <polacek@redhat.com>
20107 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
20108 * sysdeps/s390/s390-64/configure.in: Likewise.
20109 * sysdeps/sparc/configure.in: Likewise.
20110 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
20111 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
20112 * sysdeps/i386/configure.in: Likewise.
20113 * sysdeps/x86_64/configure.in: Likewise.
20114 * sysdeps/sh/configure.in: Likewise.
20115 * sysdeps/s390/s390-32/configure: Regenerated.
20116 * sysdeps/s390/s390-64/configure: Likewise.
20117 * sysdeps/x86_64/configure: Likewise.
20118 * sysdeps/sh/configure: Likewise.
20119 * sysdeps/powerpc/powerpc64/configure: Likewise.
20120 * sysdeps/powerpc/powerpc32/configure: Likewise.
20121 * sysdeps/sparc/configure: Likwise.
20122 * sysdeps/i386/configure: Likewise.
20124 * elf/dl-open.c: Comment fixes.
20126 2012-07-17 Joseph Myers <joseph@codesourcery.com>
20128 * Makefile [CXX] (check-data): Remove.
20129 [CXX] (c++-types.data): New vpath directive.
20130 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
20131 vpath. Do not allow for C++ type data being missing.
20132 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
20133 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
20134 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
20135 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
20136 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
20137 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
20138 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
20139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
20141 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
20142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
20144 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
20145 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
20147 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
20148 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
20150 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
20151 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
20153 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
20154 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
20156 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
20157 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
20159 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
20160 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
20162 * elf/tls-macros.h (TLS_LE): Move architecture-specific
20163 definitions to architecture-specific files.
20164 (TLS_IE): Likewise.
20165 (TLS_LD): Likewise.
20166 (TLS_GD): Likewise.
20167 * sysdeps/i386/tls-macros.h: New file.
20168 * sysdeps/powerpc/tls-macros.h: Likewise.
20169 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
20170 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
20171 * sysdeps/sh/tls-macros.h: Likewise.
20172 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
20173 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
20174 * sysdeps/x86_64/tls-macros.h: Likewise.
20176 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
20178 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
20179 zero value for regular exit case.
20181 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
20182 (__start_context): Preserve zero value for regular exit case.
20184 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
20185 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20187 * manual/setjmp.texi (setcontext): Clarify normal process
20188 termination when uc_link is the null pointer.
20189 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
20192 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
20194 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
20195 preprocessor. Test for each exception mask separately.
20197 2012-07-16 Andreas Jaeger <aj@suse.de>
20199 * po/ru.po: Update from translation team.
20201 2012-07-15 Joseph Myers <joseph@codesourcery.com>
20203 * conform/data/string.h-data (NULL): Use macro-constant. Require
20205 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
20206 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
20207 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
20208 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
20209 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20211 2012-07-13 Andreas Jaeger <aj@suse.de>
20213 * po/fr.po: Update from translation team.
20215 2012-07-12 Marek Polacek <polacek@redhat.com>
20218 * math/libm-test.inc (yn_test): Add test for BZ #14173.
20219 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
20222 2012-07-12 Joseph Myers <joseph@codesourcery.com>
20225 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20226 Change to 2.4.1 where previously 2.4.0.
20227 * sysdeps/unix/sysv/linux/configure: Regenerated.
20228 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
20229 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
20231 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
20232 (__ASSUME_AT_CLKTCK): Remove.
20233 (__ASSUME_AT_PAGESIZE): Likewise.
20234 (__ASSUME_AT_XID): Likewise.
20235 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
20236 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
20237 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
20239 (HAVE_AUX_PAGESIZE): Likewise.
20240 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
20241 [__ASSUME_AT_CLKTCK]: Make code unconditional.
20242 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
20244 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
20247 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
20248 the temporary buffer used to invoke __gethostbyname2_r,
20249 __gethostbyaddr_r and gethostbyname4_r to make room for struct
20250 host_data / struct gaih_addrtuple.
20251 * resolv/nss_dns/dns-host.c (global scope): Move definition of
20252 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
20253 header file nss/nsswitch.h.
20254 * nss/nsswitch.h (global scope): Add definition of implementation
20255 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
20256 resolv/nss_dns/dns-host.c).
20258 2012-07-11 Andreas Jaeger <aj@suse.de>
20260 * po/fr.po: Update from translation team.
20262 * po/sv.po: Update from translation team
20263 * po/fr.po: Another update from translation team.
20265 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20267 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
20268 for subnormals or multiply small sinh result by itself.
20269 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20270 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20272 2012-07-11 David S. Miller <davem@davemloft.net>
20274 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20276 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
20279 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
20280 (INTERNAL_MARK): Shift it here.
20282 2012-07-10 Marek Polacek <polacek@redhat.com>
20285 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
20286 libc_cv_asm_global_directive with .globl.
20287 * configure: Regenerated.
20288 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
20290 * sysdeps/i386/configure: Regenerated.
20291 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
20293 * sysdeps/x86_64/configure: Regenerated.
20294 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
20295 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
20296 * elf/tst-unique2mod2.c: Likewise.
20297 * elf/tst-unique2mod1.c: Likewise.
20298 * elf/tst-unique1mod2.c: Likewise.
20299 * elf/tst-unique1mod1.c: Likewise.
20300 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20301 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20302 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20303 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20304 * sysdeps/mach/sysdep.h: Likewise.
20305 * sysdeps/i386/sysdep.h: Likewise.
20306 * sysdeps/i386/i386-mcount.S: Likewise.
20307 * sysdeps/x86_64/_mcount.S: Likewise.
20308 * sysdeps/x86_64/sysdep.h: Likewise.
20309 * sysdeps/sh/_mcount.S: Likewise.
20310 * sysdeps/sh/sysdep.h: Likewise.
20311 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
20312 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
20313 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
20314 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20315 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
20316 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
20317 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
20318 * locale/localeinfo.h: Likewise.
20319 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
20320 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
20322 2012-07-09 Roland McGrath <roland@hack.frob.com>
20325 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
20327 * manual/message.texi (The Uniforum approach): Likewise.
20328 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
20329 (glibc iconv Implementation): Likewise.
20331 2012-07-09 Joseph Myers <joseph@codesourcery.com>
20334 * math/s_clog.c (__clog): Avoid scaling a value down where that
20335 could result in underflow.
20336 * math/s_clog10.c (__clog10): Likewise.
20337 * math/s_clog10f.c (__clog10f): Likewise.
20338 * math/s_clog10l.c (__clog10l): Likewise.
20339 * math/s_clogf.c (__clogf): Likewise.
20340 * math/s_clogl.c (__clogl): Likewise.
20341 * math/libm-test.inc (clog_test): Add more tests.
20342 (clog10_test): Likewise.
20343 * sysdeps/i386/fpu/libm-test-ulps: Update.
20344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20346 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
20349 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
20350 by 7 not 8 to examine high bit of fractional part.
20353 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
20354 for call to __mcount_internal.
20355 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
20356 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
20357 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
20359 2012-07-06 Joseph Myers <joseph@codesourcery.com>
20362 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
20363 approximation for values within 0x1p-13f of an odd multiple of
20365 * math/libm-test.inc (tan_test): Do not allow spurious underflow
20366 exception. Add more tests.
20367 * sysdeps/i386/fpu/libm-test-ulps: Update.
20370 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
20371 inputs and return -1 for them. Do not check for +Inf in case not
20372 reachable for +Inf.
20373 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20374 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
20375 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
20376 and return -1 for them. Do not check for +Inf in case not
20377 reachable for +Inf.
20378 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
20380 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
20381 and return -1 for them. Do not check for +Inf in case not
20382 reachable for +Inf.
20383 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
20384 spurious underflow.
20385 * sysdeps/i386/fpu/libm-test-ulps: Update.
20386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20388 2012-07-06 Mike Frysinger <vapier@gentoo.org>
20390 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
20392 2012-07-05 Joseph Myers <joseph@codesourcery.com>
20396 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
20397 could result in spurious underflow. Scale down values above
20398 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
20399 * math/s_csqrtf.c (__csqrtf): Likewise.
20400 * math/s_csqrtl.c (__csqrtl): Likewise.
20401 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
20402 spurious underflow.
20403 * sysdeps/i386/fpu/libm-test-ulps: Update.
20404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20406 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
20408 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
20410 * catgets/xopen-msg.awk: New file.
20411 * catgets/xopen-msg.sed: Removed.
20413 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
20415 * intl/po2test.awk: New file.
20416 * intl/po2test.sed: Removed.
20418 2012-07-04 Joseph Myers <joseph@codesourcery.com>
20421 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
20422 or multiply small sinh result by itself.
20423 * math/s_ctanf.c (__ctanf): Likewise.
20424 * math/s_ctanh.c (__ctanh): Likewise.
20425 * math/s_ctanhf.c (__ctanhf): Likewise.
20426 * math/s_ctanhl.c (__ctanhl): Likewise.
20427 * math/s_ctanl.c (__ctanl): Likewise.
20428 * math/libm-test.inc (ctan_test_tonearest): New function.
20429 (ctan_test_towardzero): Likewise.
20430 (ctan_test_downward): Likewise.
20431 (ctan_test_upward): Likewise.
20432 (ctanh_test_tonearest): Likewise.
20433 (ctanh_test_towardzero): Likewise.
20434 (ctanh_test_downward): Likewise.
20435 (ctanh_test_upward): Likewise.
20436 (main): Call these new functions.
20437 * sysdeps/i386/fpu/libm-test-ulps: Update.
20438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20440 2012-07-03 Mike Frysinger <vapier@gentoo.org>
20442 * .gitignore: Delete /ports entry.
20444 2012-07-03 Andreas Jaeger <aj@suse.de>
20446 * po/bg.po: Update from translation team.
20447 * po/cs.po: Likewise.
20448 * po/de.po: Likewise.
20449 * po/hr.po: Likewise.
20450 * po/nl.pl: Likewise.
20451 * po/pl.po: Likewise.
20452 * po/vi.po: Likewise.
20454 2012-07-03 Joseph Myers <joseph@codesourcery.com>
20456 * Makeconfig [!+link] (+link-before-libc): New variable.
20457 [!+link] (+link-after-libc): Likewise.
20458 [!+link] (+link-tests): Likewise.
20459 [!+link] (+link): Define in terms of $(+link-before-libc) and
20460 $(+link-after-libc).
20461 [!+link-static] (+link-static-before-libc): New variable.
20462 [!+link-static] (+link-static-after-libc): Likewise.
20463 [!+link-static] (+link-static-tests): Likewise.
20464 [!+link-static] (+link-static): Define in terms of
20465 $(+link-static-before-libc) and $(+link-static-after-libc).
20466 [build-shared] (link-libc-before-gnulib): New variable.
20467 [build-shared] (link-libc-tests): Likewise.
20468 [build-shared] (link-libc): Define in terms of
20469 $(link-libc-before-gnulib).
20470 [!build-shared] (link-libc-tests): New variable.
20471 (link-libc-static-tests): New variable.
20472 [!gnulib] (gnulib-arch): New variable.
20473 [!gnulib] (gnulib-tests): Likewise.
20474 [!gnulib] (static-gnulib-arch): Likewise.
20475 [!gnulib] (static-gnulib-tests): Likewise.
20476 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
20477 Define with "=" instead of ":=".
20478 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
20479 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
20480 * Rules (binaries-all-notests): New variable.
20481 (binaries-all-tests): Likewise.
20482 (binaries-static-notests): Likewise.
20483 (binaries-static-tests): Likewise.
20484 (binaries-all): Define using $(binaries-all-notests) and
20485 $(binaries-all-tests).
20486 (binaries-static): Define using $(binaries-static-notests) and
20487 $(binaries-static-tests).
20488 (binaries-shared-tests): New variable.
20489 (binaries-shared-notests): Likewise.
20490 (binaries-shared): Remove variable.
20491 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
20492 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
20493 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
20494 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
20495 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
20496 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
20497 * elf/Makefile (sln-modules): New variable.
20498 (extra-objs): Add $(sln-modules:=.o).
20499 (ldconfig-modules): Add static-stubs.
20500 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
20501 * elf/static-stubs.c: New file.
20504 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
20505 by 7 not 8 to examine high bit of fractional part. Use volatile
20506 variables when splitting into final array of floats if
20507 __FLT_EVAL_METHOD__ != 0.
20508 * math/libm-test.inc (cos_test): Add another test.
20509 (sin_test): Likewise.
20510 * sysdeps/i386/fpu/libm-test-ulps: Update.
20513 * math/libm-test.inc (cosh_test): Add more tests.
20515 * version.h (RELEASE): Set to "development".
20516 (VERSION): Set to "2.16.90".
20518 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
20520 * NEWS: Update copyright. Remove last-updated date.
20521 Mention math library bug fixes and timezone data changes.
20522 * README: Mention GNU/Hurd, x32, and HPPA support status.
20524 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
20526 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
20528 2012-06-27 Andreas Jaeger <aj@suse.de>
20530 * manual/contrib.texi (Contributors): Add Samuel Thibault.
20532 2012-06-25 Andreas Jaeger <aj@suse.de>
20534 * sysdeps/s390/fpu/libm-test-ulps: Update.
20536 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
20537 Thomas Schwinge <thomas@codesourcery.com>
20539 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
20540 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
20541 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
20544 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
20546 * sysdeps/mach/start.c: Remove file.
20547 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
20548 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
20549 * sysdeps/sh/init-first.c: Likewise.
20551 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
20552 registers for frame unwinding purposes, add CFI directives.
20553 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
20554 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
20555 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
20558 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
20559 __fortify_fail returning.
20560 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
20562 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
20563 sysdeps/sh/____longjmp_chk.S.
20564 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
20565 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
20566 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
20567 (gen-as-const-headers): Append sigaltstack-offsets.sym.
20569 * sysdeps/sh/abort-instr.h: New file.
20570 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
20571 process in case exit returns.
20573 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
20574 initialize the GOT register before use.
20576 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
20577 calculation of ARGC > 4.
20579 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
20580 meaningful names to some local labels.
20582 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20583 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20585 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
20586 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
20587 (__arch_compare_and_exchange_val_16_acq): Likewise.
20588 (__arch_compare_and_exchange_val_32_acq): Likewise.
20589 (atomic_exchange_and_add): Fix gUSA sequence.
20590 (atomic_add): Likewise.
20591 (atomic_add_negative): Likewise.
20592 (atomic_add_zero): Likewise.
20593 (atomic_bit_test_set): Likewise.
20595 2012-06-22 Andreas Schwab <schwab@redhat.com>
20598 * include/link.h (struct link_map): Add l_free_initfini.
20599 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
20601 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
20602 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
20603 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
20606 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
20608 * configure.in: Use AC_LANG_SOURCE.
20609 * configure: Regenerate.
20611 2012-06-22 Roland McGrath <roland@hack.frob.com>
20613 * configure.in (libc_cv_localstatedir): New substituted variable.
20614 * configure: Regenerated.
20615 * config.make.in (localstatedir): New variable, substituted from
20616 libc_cv_localstatedir.
20617 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
20618 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
20619 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
20620 * sysdeps/gnu/configure: Regenerated.
20622 2012-06-21 Jeff Law <law@redhat.com>
20625 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
20626 free. Simplify list management for _LIBC case.
20628 2012-06-21 Joseph Myers <joseph@codesourcery.com>
20631 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
20632 Clear sign bit of 64-bit integer value before comparing against
20635 * sysdeps/mach/configure: Regenerated.
20637 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
20640 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
20642 2012-06-21 Jeff Law <law@redhat.com>
20645 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
20646 uint16_t for elements in the "seen" array to avoid char overflows.
20647 * elf/dl-fini.c (_dl_sort_fini): Likewise.
20648 * elf/dl-open.c (dl_open_worker): Likewise.
20650 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
20652 * scripts/list-sources.sh: Scan PORTS for translations.
20653 * po/libc.pot: Regenerated.
20655 2012-06-21 Andreas Jaeger <aj@suse.de>
20658 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
20660 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
20661 * bits/byteswap-16.h (__bswap_16): Likewise.
20662 * bits/byteswap.h (__bswap_constant_16): Likewise.
20664 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
20667 * sysdeps/i386/fpu_control.h: Removed.
20668 * sysdeps/x86_64/fpu_control.h: Moved to ...
20669 * sysdeps/x86/fpu_control.h: Here.
20671 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
20672 (_FPU_SETCW): Likewise.
20674 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
20677 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
20678 * sysdeps/x86/fpu/bits/mathinline.h: This.
20679 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
20683 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
20684 functions if __x86_64__ is defined.
20686 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
20688 * string/endian.h: Add !__ASSEMBLER__ condition for including
20689 conversion interfaces.
20691 2012-06-15 Joseph Myers <joseph@codesourcery.com>
20694 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
20695 of ABS(x) in calculating zero to negative powers other than odd
20697 * math/libm-test.inc (pow_test): Add more tests.
20699 2012-06-15 Andreas Jaeger <aj@suse.de>
20701 * manual/contrib.texi (Contributors): Update entry of Liubov
20702 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
20705 2012-06-15 Cyril Hrubis <metan@ucw.cz>
20707 * string/string.h: Add __wur to GNU version of strerror_r.
20709 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
20712 * string/Makefile (tests): Add tst-strtok_r.
20713 * string/tst-strtok_r.c: New file.
20714 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
20715 RAX_LP/RDX_LP on SAVE_PTR.
20717 2012-06-14 Roland McGrath <roland@hack.frob.com>
20719 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
20721 2012-06-14 Joseph Myers <joseph@codesourcery.com>
20723 * libm_test.inc (csqrt_test): Allow more spurious underflow
20725 (j0_test): Likewise.
20726 (j1_test): Likewise.
20727 (y0_test): Likewise.
20728 (y1_test): Likewise.
20730 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
20732 * po/Makefile (libc.pot): Use UTF-8 charset.
20734 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
20737 Suppress sign-conversion warning from FD_SET.
20738 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
20739 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
20740 not unsigned long int.
20741 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
20743 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
20747 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
20748 __extern_always_inline instead of __extern_inline.
20749 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
20750 (__signbit): Likewise.
20751 (__signbitl): Support C++ namespace.
20752 (lrintf): New inline function.
20754 (llrintf): Likewise.
20755 (llrint): Likewise.
20765 (floorf): Likewise.
20766 (nearbyint): Likewise.
20767 (nearbyintf): Likewise.
20769 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
20771 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
20772 non-default versions.
20774 2012-06-11 Roland McGrath <roland@hack.frob.com>
20777 * manual/argp.texi (Argp): Reword argp_parse description slightly.
20779 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
20781 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
20782 (FE_UPWARD, FE_DOWNWARD): Don't define.
20783 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
20784 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
20786 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
20788 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
20789 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20791 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20793 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20794 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
20795 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
20796 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
20798 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
20801 * sysdeps/i386/fpu/bits/fenv.h: Removed.
20802 * sysdeps/i386/fpu/Implies: New file.
20803 * sysdeps/x86_64/fpu/Implies: Likewise.
20804 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
20805 * sysdeps/x86/fpu/bits/fenv.h: This.
20807 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
20810 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20813 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
20814 character 0xffff that matches the last element of the
20817 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20819 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
20822 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20824 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
20825 values higher than 25.6283.
20827 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20829 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
20830 subnormal exponent extraction and add some __builtin_expect.
20831 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
20832 Fix for subnormal mantissa calculation.
20834 2012-06-04 Mike Frysinger <vapier@gentoo.org>
20836 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
20837 cpu2 is -1 and errno is not ENOSYS.
20839 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
20842 * sysdeps/i386/i486/bits/string.h: Renamed to ...
20843 * sysdeps/x86/bits/string.h: This.
20844 * sysdeps/x86_64/bits/string.h: Removed.
20846 * sysdeps/i386/i486/bits/string.h: Define inline functions only
20847 if not compiling for x86-64, but compiling for >= i486.
20849 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
20850 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
20852 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
20853 New macro from Linux kernel 3.4.0.
20854 (FP_XSTATE_MAGIC2): Likewise.
20855 (FP_XSTATE_MAGIC2_SIZE): Likewise.
20856 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
20857 (struct _fpx_sw_bytes): New struct.
20858 (struct _xsave_hdr): Likewise.
20859 (struct _ymmh_state): Likewise.
20860 (struct _xstate): Likewise.
20862 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
20863 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
20864 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
20865 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
20866 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
20867 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
20869 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
20870 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
20871 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
20872 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
20873 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
20874 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
20876 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20879 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
20880 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
20881 (sysdep_headers): Include sys/platform/ppc.h.
20882 * sysdeps/powerpc/test-gettimebase.c: Test for
20883 __ppc_get_timebase() to catch future ISA opcode/insn changes.
20884 * manual/Makefile (appendices): Include platform.texi.
20885 * manual/contrib.texi (Contributors): Update @node pointers.
20886 * manual/maint.texi (Maintenance): Likewise.
20887 (Platform): New node.
20888 * manual/platform.texi: New file. Document the new features.
20890 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20891 Jakub Jelinek <jakub@redhat.com>
20894 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
20895 where __builtin_expect is unavailable.
20897 2012-06-03 David S. Miller <davem@davemloft.net>
20899 * stdlib/longlong.h: Updated from GCC.
20901 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
20904 * sysdeps/powerpc/powerpc32/mcount.c: New file.
20905 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
20907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
20908 (GLIBC_2.16): Likewise.
20910 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
20912 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
20914 2012-06-01 Joseph Myers <joseph@codesourcery.com>
20916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
20917 (default-abi): New variable.
20918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
20919 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
20921 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
20923 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
20925 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
20928 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
20929 definition. Document in comment.
20931 2012-06-01 David S. Miller <davem@davemloft.net>
20933 * stdlib/longlong.h: Updated from GCC.
20935 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
20938 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
20939 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
20940 sys/debugreg.h sys/io.h here.
20941 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
20942 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
20944 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
20945 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
20946 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
20947 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
20948 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
20949 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
20951 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
20952 Define only if __x86_64__ is defined.
20954 2012-06-01 Joseph Myers <joseph@codesourcery.com>
20957 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
20958 Use int64_t for variable i.
20959 * math/libm-test.inc (fmod_test): Add more tests.
20961 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
20962 z computation is not scheduled after fetestexcept.
20963 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
20964 Use math_force_eval instead of asm to ensure calculation scheduled
20965 before exception test.
20966 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
20967 Ensure a1 + u.d computation is not scheduled after fetestexcept.
20969 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
20971 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
20972 computation is not scheduled after fetestexcept.
20974 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
20977 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
20978 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
20980 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20982 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
20983 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
20985 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
20988 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
20990 (__WCHAR_MIN): Support __WORDSIZE == 64.
20991 (__WCHAR_MAX): Likewise.
20993 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
20994 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
20997 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
20998 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
21001 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
21002 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
21004 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
21005 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
21007 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
21008 Defined to 1 if __x86_64__ isn't defined.
21009 (_STAT_VER_LINUX_OLD): New.
21010 (st_atime): Remove duplicate.
21011 (st_mtime): Likewise.
21012 (st_ctime): Likewise.
21014 2012-05-31 David S. Miller <davem@davemloft.net>
21016 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
21019 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
21021 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
21025 * elf/dl-reloc.c: Include <_itoa.h>.
21026 (_dl_reloc_bad_type): Remove use of INTUSE.
21027 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
21028 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
21029 * stdio-common/psiginfo.c (psiginfo): Likewise.
21030 * stdio-common/psignal.c (psignal): Likewise.
21031 * string/strsignal.c (strsignal): Likewise.
21032 * include/signal.h (_sys_siglist): Declare hidden proto.
21033 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
21034 INTVARDEF with libc_hidden_data_def.
21035 * stdio-common/itoa-udigits.c: Likewise.
21036 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
21037 (_itoa_lower_digits_internal): Remove declaration.
21038 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
21039 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
21040 (_sys_sigabbrev_internal): Remove aliases.
21041 (_sys_siglist): Define hidden alias.
21043 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
21045 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21048 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
21051 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
21052 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
21054 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
21055 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
21056 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
21057 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
21058 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
21059 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
21061 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
21062 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
21063 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
21065 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
21073 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
21074 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
21075 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
21077 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
21078 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
21079 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
21080 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
21081 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
21082 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
21084 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
21085 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
21087 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
21088 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
21090 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
21091 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
21092 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
21094 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
21095 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
21097 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
21099 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
21100 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
21101 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
21103 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
21105 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
21107 2012-05-31 Joseph Myers <joseph@codesourcery.com>
21109 * math/math.h (M_El): Use two more decimal places.
21110 (M_LOG2El): Likewise.
21111 (M_LOG10El): Likewise.
21112 (M_LN2l): Likewise.
21113 (M_LN10l): Likewise.
21115 (M_PI_2l): Likewise.
21116 (M_PI_4l): Likewise.
21117 (M_1_PIl): Likewise.
21118 (M_2_PIl): Likewise.
21119 (M_2_SQRTPIl): Likewise.
21120 (M_SQRT2l): Likewise.
21121 (M_SQRT1_2l): Likewise.
21123 2012-05-31 David S. Miller <davem@davemloft.net>
21125 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
21126 values between float registers.
21127 * sysdeps/sparc/sparc64/memset.S: Likewise.
21128 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21130 2012-05-31 Mike Frysinger <vapier@gentoo.org>
21132 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
21133 -D_FORTIFY_SOURCE=1.
21134 (CPPFLAGS-tst-longjmp_chk.c): Define.
21135 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
21136 (CPPFLAGS-tst-longjmp_chk2.c): Define.
21137 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
21138 CFLAGS-tst-wchar-h.c.
21140 2012-05-31 Marek Polacek <polacek@redhat.com>
21143 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
21144 __endmntent_internal): Remove declaration.
21145 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
21146 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
21147 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
21149 2012-05-30 David S. Miller <davem@davemloft.net>
21151 * sysdeps/sparc/sparc32/soft-fp/q_util.c
21152 (___Q_simulate_exceptions): Use real FP ops rather than writing
21154 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
21157 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21160 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
21161 * sysdeps/x86/bits/xtitypes.h: This.
21163 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
21164 * sysdeps/x86/bits/wordsize.h: This.
21166 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
21167 * sysdeps/x86/bits/huge_vall.h: This.
21169 * sysdeps/i386/bits/select.h: Removed.
21170 * sysdeps/x86_64/bits/select.h: Renamed to ...
21171 * sysdeps/x86/bits/select.h: This.
21173 * sysdeps/i386/bits/setjmp.h: Removed.
21174 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
21175 * sysdeps/x86/bits/setjmp.h: This.
21177 * sysdeps/i386/bits/mathdef.h: Removed.
21178 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
21179 * sysdeps/x86/bits/mathdef.h: This.
21181 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
21184 * include/sys/socket.h (__connect_internal)
21185 (__libc_sa_len_internal): Remove declaration.
21186 (__connect, __libc_sa_len): Declare hidden_proto.
21187 (SA_LEN): Remove use of INTUSE.
21188 * socket/connect.c: Add libc_hidden_def.
21189 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
21190 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
21191 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
21193 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
21194 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
21195 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
21196 of adding _internal alias.
21198 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21201 * sysdeps/i386/bits/link.h: Removed.
21202 * sysdeps/i386/bits/linkmap.h: Likewise.
21203 * sysdeps/x86_64/bits/link.h: Renamed to ...
21204 * sysdeps/x86/bits/link.h: This.
21205 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
21206 * sysdeps/x86/bits/linkmap.h: This.
21208 * sysdeps/i386/bits/endian.h: Removed.
21209 * sysdeps/x86_64/bits/endian.h: Renamed to ...
21210 * sysdeps/x86/bits/endian.h: This.
21212 * sysdeps/i386/bits/byteswap.h: Removed.
21213 * sysdeps/i386/bits/byteswap-16.h: Likewise.
21214 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
21215 * sysdeps/x86/bits/byteswap.h: This.
21216 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
21217 * sysdeps/x86/bits/byteswap-16.h: This.
21218 * sysdeps/i386/Implies: Add x86.
21219 * sysdeps/x86_64/Implies: Likewise.
21221 2012-05-30 David S. Miller <davem@davemloft.net>
21223 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
21224 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
21225 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
21226 (FP_TRAPPING_EXCEPTIONS): Define.
21227 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
21228 (FP_TRAPPING_EXCEPTIONS): Define.
21229 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
21230 subnormals only when inexact has been signalled or underflow
21231 exceptions are enabled.
21232 (_FP_PACK_CANONICAL): Likewise.
21234 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21237 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
21238 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
21240 2012-05-30 Richard Henderson <rth@twiddle.net>
21242 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
21243 with #ifndef NOT_IN_libc.
21245 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
21246 marked to avoid plt entry.
21248 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21251 * Makeconfig (default-abi): New macro.
21252 (abi-includes): Likewise.
21253 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
21254 $(abi-$(default-abi)-lib-soname) for soname if defined.
21255 ($(common-objpfx)gnu/lib-names.stmp): Generate from
21257 * Makefile (installed-stubs): Likewise.
21258 * include/stubs-biarch.h: Removed.
21259 * scripts/lib-names.awk: Only handle one library at a time.
21260 * scripts/soversions.awk: Remove WORDSIZE support.
21261 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
21263 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
21265 (syscall-list-default-condition): Likewise.
21266 (syscall-list-default-condition): Likewise.
21267 (syscall-list-includes): Likewise.
21268 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
21269 syscall-list-* with abi-*. Handle undefined abi-variants.
21270 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
21271 * sysdeps/unix/sysv/linux/i386/Implies: New file.
21272 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
21273 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
21274 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
21275 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
21277 (syscall-list-32-options): Likewise.
21278 (syscall-list-32-condition): Likewise.
21279 (syscall-list-64-options): Likewise.
21280 (syscall-list-64-condition): Likewise.
21281 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
21283 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
21286 (abi-64-ld-soname): New macro.
21287 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
21288 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
21291 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
21292 * sysdeps/x86_64/x32/shlib-versions: Likewise.
21294 2012-05-30 Joseph Myers <joseph@codesourcery.com>
21296 * sysdeps/unix/sysv/linux/kernel-features.h
21297 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
21298 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
21299 include <kernel-features.h>.
21300 [!__NR_ftruncate64]: Remove conditional code.
21301 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21302 [__NR_ftruncate64]: Make code unconditional.
21303 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21304 * sysdeps/unix/sysv/linux/truncate64.c: Do not
21305 include <kernel-features.h>.
21306 [!__NR_ftruncate64]: Remove conditional code.
21307 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21308 [__NR_ftruncate64]: Make code unconditional.
21309 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
21311 include <kernel-features.h>.
21312 [!__NR_ftruncate64]: Remove conditional code.
21313 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21314 [__NR_ftruncate64]: Make code unconditional.
21315 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21317 include <kernel-features.h>.
21318 [!__NR_ftruncate64]: Remove conditional code.
21319 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21320 [__NR_ftruncate64]: Make code unconditional.
21321 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21323 * configure.in (libc_cv_fpie): Weaken to a compile test using
21324 LIBC_TRY_CC_OPTION.
21325 * configure: Regenerated.
21327 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21329 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
21330 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
21331 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
21332 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21334 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
21335 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
21336 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
21337 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
21338 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
21339 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21342 2012-05-27 David S. Miller <davem@davemloft.net>
21344 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
21346 (__Q_simulate_exceptions): Return void. Change to simulate
21347 exceptions by writing into the %fsr.
21348 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
21349 (__Qp_handle_exceptions): Likewise.
21351 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
21352 __Qp_handle_exceptions.
21353 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
21354 __Qp_handle_exceptions.
21355 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
21356 as unused and give dummy FP_RND_NEAREST initializer.
21357 (FP_INHIBIT_RESULTS): Define.
21358 (___Q_simulate_exceptions): Update declaration.
21359 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
21361 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
21362 as unused and give dummy FP_RND_NEAREST initializer.
21363 (__Qp_handle_exceptions): Update declaration.
21364 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
21367 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
21369 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
21370 the temporary FPU control word.
21371 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
21372 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
21373 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
21374 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21375 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21376 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
21377 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
21378 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21379 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21380 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
21381 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21383 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21385 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
21388 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
21390 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
21391 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
21392 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
21393 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
21395 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
21396 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
21399 2012-05-27 Ulrich Drepper <drepper@gmail.com>
21401 * po/h.po: Update from translation team.
21403 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
21405 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
21407 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
21408 handling of denormals.
21409 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21410 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
21411 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21412 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21413 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21414 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
21415 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
21418 2012-05-26 Marek Polacek <polacek@redhat.com>
21421 * math/libm-test.inc (fma_test): Don't always expect underflow
21424 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21427 * elf/tst-execstack.c: Include stackinfo.h.
21428 (do_test): Adjust test case to ensure that pthread_getattr_np
21429 behaviour remains the same after marking stack executable.
21431 2012-05-25 Joseph Myers <joseph@codesourcery.com>
21433 * sysdeps/unix/sysv/linux/kernel-features.h
21434 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
21435 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
21437 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
21438 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
21439 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
21441 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
21442 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
21444 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
21446 * configure.in: Define the default includes to being none.
21447 * configure: Regenerated.
21449 2012-05-25 Roland McGrath <roland@hack.frob.com>
21451 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
21452 * sysdeps/x86_64/setjmp.S: Likewise.
21453 * sysdeps/i386/bsd-setjmp.S: Likewise.
21454 * sysdeps/i386/bsd-_setjmp.S: Likewise.
21455 * sysdeps/i386/setjmp.S: Likewise.
21456 * sysdeps/i386/__longjmp.S: Likewise.
21457 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
21458 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
21460 * include/stap-probe.h: New file.
21461 * configure.in: Handle --enable-systemtap.
21462 * configure: Regenerated.
21463 * config.h.in (USE_STAP_PROBE): New #undef.
21464 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
21465 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
21466 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
21468 2012-05-25 Joseph Myers <joseph@codesourcery.com>
21471 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
21472 to 2.4.0 where earlier.
21473 * sysdeps/unix/sysv/linux/configure: Regenerated.
21474 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
21475 <kernel-features.h>.
21476 [__ASSUME_32BITUIDS]: Make code unconditional.
21477 [!__ASSUME_32BITUIDS]: Remove conditional code.
21478 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
21479 <kernel-features.h>.
21480 [__ASSUME_32BITUIDS]: Make code unconditional.
21481 [!__ASSUME_32BITUIDS]: Remove conditional code.
21482 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
21483 [__ASSUME_32BITUIDS]: Make code unconditional.
21484 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
21485 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
21486 <kernel-features.h>.
21487 [__ASSUME_32BITUIDS]: Make code unconditional.
21488 [!__ASSUME_32BITUIDS]: Remove conditional code.
21489 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
21490 <kernel-features.h>.
21491 [__ASSUME_32BITUIDS]: Make code unconditional.
21492 [!__ASSUME_32BITUIDS]: Remove conditional code.
21493 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
21494 <kernel-features.h>.
21495 [__ASSUME_32BITUIDS]: Make code unconditional.
21496 [!__ASSUME_32BITUIDS]: Remove conditional code.
21497 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
21498 <kernel-features.h>.
21499 [__ASSUME_32BITUIDS]: Make code unconditional.
21500 [!__ASSUME_32BITUIDS]: Remove conditional code.
21501 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21502 <kernel-features.h>.
21503 [__ASSUME_32BITUIDS]: Make code unconditional.
21504 [!__ASSUME_32BITUIDS]: Remove conditional code.
21505 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21506 <kernel-features.h>.
21507 [__ASSUME_32BITUIDS]: Make code unconditional.
21508 [!__ASSUME_32BITUIDS]: Remove conditional code.
21509 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
21510 <kernel-features.h>.
21511 [__ASSUME_32BITUIDS]: Make code unconditional.
21512 [!__ASSUME_32BITUIDS]: Remove conditional code.
21513 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
21514 <kernel-features.h>.
21515 [__ASSUME_32BITUIDS]: Make code unconditional.
21516 [!__ASSUME_32BITUIDS]: Remove conditional code.
21517 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21518 <kernel-features.h>.
21519 [__ASSUME_32BITUIDS]: Make code unconditional.
21520 [!__ASSUME_32BITUIDS]: Remove conditional code.
21521 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
21522 <kernel-features.h>.
21523 [__ASSUME_32BITUIDS]: Make code unconditional.
21524 [!__ASSUME_32BITUIDS]: Remove conditional code.
21525 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
21526 <kernel-features.h>.
21527 [__NR_setresgid] (__setresgid): Do not declare.
21528 [__ASSUME_32BITUIDS]: Make code unconditional.
21529 [!__ASSUME_32BITUIDS]: Remove conditional code.
21530 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
21531 <kernel-features.h>.
21532 [__NR_setresuid] (__setresuid): Do not declare.
21533 [__ASSUME_32BITUIDS]: Make code unconditional.
21534 [!__ASSUME_32BITUIDS]: Remove conditional code.
21535 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
21536 <kernel-features.h>.
21537 [__ASSUME_32BITUIDS]: Make code unconditional.
21538 [!__ASSUME_32BITUIDS]: Remove conditional code.
21539 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
21540 <kernel-features.h>.
21541 [__ASSUME_32BITUIDS]: Make code unconditional.
21542 [!__ASSUME_32BITUIDS]: Remove conditional code.
21543 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
21544 <kernel-features.h>.
21545 [__ASSUME_32BITUIDS]: Make code unconditional.
21546 [!__ASSUME_32BITUIDS]: Remove conditional code.
21547 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
21548 <kernel-features.h>.
21549 [__ASSUME_32BITUIDS]: Make code unconditional.
21550 [!__ASSUME_32BITUIDS]: Remove conditional code.
21551 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
21552 <kernel-features.h>.
21553 [__ASSUME_32BITUIDS]: Make code unconditional.
21554 [!__ASSUME_32BITUIDS]: Remove conditional code.
21555 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
21556 <kernel-features.h>.
21557 [__ASSUME_32BITUIDS]: Make code unconditional.
21558 [!__ASSUME_32BITUIDS]: Remove conditional code.
21559 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
21560 <kernel-features.h>.
21561 [__ASSUME_32BITUIDS]: Make code unconditional.
21562 [!__ASSUME_32BITUIDS]: Remove conditional code.
21563 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
21564 <kernel-features.h>.
21565 [__ASSUME_32BITUIDS]: Make code unconditional.
21566 [!__ASSUME_32BITUIDS]: Remove conditional code.
21567 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
21568 <kernel-features.h>.
21569 [__ASSUME_32BITUIDS]: Make code unconditional.
21570 [!__ASSUME_32BITUIDS]: Remove conditional code.
21571 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21572 <kernel-features.h>.
21573 [__ASSUME_32BITUIDS]: Make code unconditional.
21574 [!__ASSUME_32BITUIDS]: Remove conditional code.
21575 * sysdeps/unix/sysv/linux/kernel-features.h
21576 (__ASSUME_SETRESUID_SYSCALL): Remove.
21577 (__ASSUME_SETRESGID_SYSCALL): Likewise.
21578 (__ASSUME_32BITUIDS): Likewise.
21579 (__ASSUME_LDT_WORKS): Likewise.
21580 (__ASSUME_O_DIRECTORY): Likewise.
21581 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
21582 architecture but not kernel version.
21583 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
21584 (__ASSUME_MMAP2_SYSCALL): Likewise.
21585 (__ASSUME_STAT64_SYSCALL): Likewise.
21586 (__ASSUME_IPC64): Likewise.
21587 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
21588 <kernel-features.h>.
21589 [__ASSUME_32BITUIDS]: Make code unconditional.
21590 [!__ASSUME_32BITUIDS]: Remove conditional code.
21591 * sysdeps/unix/sysv/linux/opendir.c: Do not include
21592 <kernel-features.h>.
21593 [__ASSUME_O_DIRECTORY]: Make code unconditional.
21594 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
21595 132096]: Remove conditional code.
21596 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
21597 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
21598 <kernel-features.h>.
21599 [__ASSUME_32BITUIDS]: Make code unconditional.
21600 [!__ASSUME_32BITUIDS]: Remove conditional code.
21601 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
21602 <kernel-features.h>.
21603 [__ASSUME_32BITUIDS]: Make code unconditional.
21604 [!__ASSUME_32BITUIDS]: Remove conditional code.
21605 * sysdeps/unix/sysv/linux/setegid.c: Do not include
21606 <kernel-features.h>.
21607 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
21609 (__setresgid): Do not declare.
21610 [__ASSUME_32BITUIDS]: Make code unconditional.
21611 [!__ASSUME_32BITUIDS]: Remove conditional code.
21612 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
21613 <kernel-features.h>.
21614 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
21616 (__setresuid): Do not declare.
21617 [__ASSUME_32BITUIDS]: Make code unconditional.
21618 [!__ASSUME_32BITUIDS]: Remove conditional code.
21619 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
21620 <kernel-features.h>.
21621 [__ASSUME_32BITUIDS]: Make code unconditional.
21622 [!__ASSUME_32BITUIDS]: Remove conditional code.
21623 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
21624 <kernel-features.h>.
21625 [__ASSUME_32BITUIDS]: Make code unconditional.
21626 [!__ASSUME_32BITUIDS]: Remove conditional code.
21628 2012-05-25 Richard Henderson <rth@twiddle.net>
21630 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
21631 dl_hwcap to ifunc resolver.
21632 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
21634 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
21635 dl_hwcap to ifunc resolver.
21636 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
21638 2012-05-24 Joseph Myers <joseph@codesourcery.com>
21641 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
21642 for |x| <= 2**-26, not 2**-57.
21643 * math/libm-test.inc (acos_test): Do not allow spurious underflow
21646 2012-05-24 Jeff Law <law@redhat.com>
21648 * stdio-common/Makefile (tests): Add bug25.
21649 * stdio-common/bug25.c: New test.
21651 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
21654 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
21655 multiple of MALLOC_ALIGNMENT in size.
21656 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
21658 2012-05-24 Joseph Myers <joseph@codesourcery.com>
21660 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
21662 (FILENAME_MAX): Use macro-int-constant.
21663 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
21664 (_IOFBF): Use macro-int-constant.
21665 (_IOLBF): Likewise.
21666 (_IONBF): Likewise.
21667 (SEEK_CUR): Likewise.
21668 (SEEK_END): Likewise.
21669 (SEEK_SET): Likewise.
21670 (TMP_MAX): Likewise.
21671 (EOF): Use macro-int-constant. Require < 0.
21672 (NULL): Use macro-constant. Require == 0.
21673 (stdin): Require type to be FILE *.
21674 (stdout): Likewise.
21675 (stderr): Likewise.
21676 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
21677 macro-int-constant.
21678 (EXIT_SUCCESS): Likewise.
21679 (NULL): Use macro-constant. Require == 0.
21680 (RAND_MAX): Use macro-int-constant.
21681 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
21682 [C99-based standards] (strtof): Require function.
21683 [C99-based standards] (strtold): Likewise.
21684 [C99-based standards] (strtoll): Likewise.
21685 [C99-based standards] (strtoull): Likewise.
21686 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21687 [ISO || ISO99 || ISO11] (limits.h): Likewise.
21688 [ISO || ISO99 || ISO11] (math.h): Likewise.
21689 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
21690 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21691 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21693 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
21696 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
21697 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
21698 * intl/dgettext.c (DCGETTEXT): Likewise.
21699 * intl/gettext.c (DCGETTEXT): Likewise.
21700 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
21701 * posix/regex_internal.h (gettext): Likewise.
21702 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
21703 Remove declaration.
21704 * include/argz.h (__argz_count_internal)
21705 (__argz_stringify_internal): Remove declaration.
21706 (__argz_count, __argz_stringify): Declare hidden proto.
21707 * intl/dcgettext.c: Remove use of INTDEF.
21708 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
21709 * string/argz-stringify.c: Likewise.
21710 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
21711 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
21712 Declare hidden proto.
21713 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
21714 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
21715 Declare hidden proto.
21716 * include/stdio.h (__asprintf_internal): Don't declare.
21717 (__asprintf): Don't define as macro. Declare hidden proto.
21718 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
21719 (__fsetlocking): Declare hidden proto.
21720 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
21721 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
21723 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
21724 (_IO_setlinebuf): Remove use of INTUSE.
21725 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
21726 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
21727 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
21728 Remove declaration.
21729 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
21730 (_IO_do_flush): Remove use of INTUSE.
21731 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
21732 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
21733 (_IO_adjust_column, _IO_least_wmarker)
21734 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
21735 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
21736 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
21737 (_IO_default_doallocate, _IO_wdefault_doallocate)
21738 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
21739 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
21740 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
21741 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
21742 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
21743 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
21744 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
21745 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
21746 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
21747 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
21748 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
21749 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
21750 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
21752 (_IO_flush_all_internal, _IO_adjust_column_internal)
21753 (_IO_default_uflow_internal, _IO_default_finish_internal)
21754 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
21755 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
21756 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
21757 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
21758 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
21759 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
21760 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
21761 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
21762 (_IO_file_close_internal, _IO_file_close_it_internal)
21763 (_IO_file_underflow_internal, _IO_file_overflow_internal)
21764 (_IO_file_init_internal, _IO_file_attach_internal)
21765 (_IO_file_fopen_internal, _IO_file_read_internal)
21766 (_IO_file_sync_internal, _IO_file_seek_internal)
21767 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
21768 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
21769 (_IO_str_underflow_internal, _IO_str_overflow_internal)
21770 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
21771 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
21772 (_IO_list_all_internal, _IO_link_in_internal)
21773 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
21774 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
21775 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
21776 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
21777 (_IO_do_write_internal, _IO_padn_internal)
21778 (_IO_getline_info_internal, _IO_getline_internal)
21779 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
21780 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
21781 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
21782 (_IO_vfscanf_internal, _IO_vfprintf_internal)
21783 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
21784 (_IO_init_internal, _IO_un_link_internal): Don't declare.
21785 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
21786 with libc_hidden_ver, remove use of INTUSE.
21787 * libio/genops.c: Likewise.
21788 * libio/freopen.c: Likewise.
21789 * libio/freopen64.c: Likewise.
21790 * libio/iofclose.c: Likewise.
21791 * libio/iofdopen.c: Likewise.
21792 * libio/iofflush.c: Likewise.
21793 * libio/iofflush_u.c: Likewise.
21794 * libio/iofgets.c: Likewise.
21795 * libio/iofgets_u.c: Likewise.
21796 * libio/iofopen.c: Likewise.
21797 * libio/iofopncook.c: Likewise.
21798 * libio/iofread.c: Likewise.
21799 * libio/iofread_u.c: Likewise.
21800 * libio/ioftell.c: Likewise.
21801 * libio/iofwrite.c: Likewise.
21802 * libio/iogetline.c: Likewise.
21803 * libio/iogets.c: Likewise.
21804 * libio/iogetwline.c: Likewise.
21805 * libio/iopadn.c: Likewise.
21806 * libio/iopopen.c: Likewise.
21807 * libio/ioseekoff.c: Likewise.
21808 * libio/ioseekpos.c: Likewise.
21809 * libio/iosetbuffer.c: Likewise.
21810 * libio/iosetvbuf.c: Likewise.
21811 * libio/ioungetc.c: Likewise.
21812 * libio/ioungetwc.c: Likewise.
21813 * libio/iovdprintf.c: Likewise.
21814 * libio/iovsprintf.c: Likewise.
21815 * libio/iovsscanf.c: Likewise.
21816 * libio/memstream.c: Likewise.
21817 * libio/obprintf.c: Likewise.
21818 * libio/oldfileops.c: Likewise.
21819 * libio/oldiofclose.c: Likewise.
21820 * libio/oldiofdopen.c: Likewise.
21821 * libio/oldiofopen.c: Likewise.
21822 * libio/oldiopopen.c: Likewise.
21823 * libio/oldstdfiles.c: Likewise.
21824 * libio/putc.c: Likewise.
21825 * libio/setbuf.c: Likewise.
21826 * libio/setlinebuf.c: Likewise.
21827 * libio/stdfiles.c: Likewise.
21828 * libio/strops.c: Likewise.
21829 * libio/vasprintf.c: Likewise.
21830 * libio/vscanf.c: Likewise.
21831 * libio/vsnprintf.c: Likewise.
21832 * libio/vswprintf.c: Likewise.
21833 * libio/wfiledoalloc.c: Likewise.
21834 * libio/wfileops.c: Likewise.
21835 * libio/wgenops.c: Likewise.
21836 * libio/wmemstream.c: Likewise.
21837 * libio/wstrops.c: Likewise.
21838 * libio/__fpurge.c: Likewise.
21839 * libio/__fsetlocking.c: Likewise.
21840 * assert/assert.c: Likewise.
21841 * debug/fgets_chk.c: Likewise.
21842 * debug/fgets_u_chk.c: Likewise.
21843 * debug/fread_chk.c: Likewise.
21844 * debug/fread_u_chk.c: Likewise.
21845 * debug/gets_chk.c: Likewise.
21846 * debug/obprintf_chk.c: Likewise.
21847 * debug/vasprintf_chk.c: Likewise.
21848 * debug/vdprintf_chk.c: Likewise.
21849 * debug/vsnprintf_chk.c: Likewise.
21850 * debug/vsprintf_chk.c: Likewise.
21851 * malloc/mtrace.c: Likewise.
21852 * misc/error.c: Likewise.
21853 * misc/syslog.c: Likewise.
21854 * stdio-common/asprintf.c: Likewise.
21855 * stdio-common/fxprintf.c: Likewise.
21856 * stdio-common/getw.c: Likewise.
21857 * stdio-common/isoc99_fscanf.c: Likewise.
21858 * stdio-common/isoc99_scanf.c: Likewise.
21859 * stdio-common/isoc99_vfscanf.c: Likewise.
21860 * stdio-common/isoc99_vscanf.c: Likewise.
21861 * stdio-common/isoc99_vsscanf.c: Likewise.
21862 * stdio-common/printf-prs.c: Likewise.
21863 * stdio-common/printf_fp.c: Likewise.
21864 * stdio-common/printf_fphex.c: Likewise.
21865 * stdio-common/printf_size.c: Likewise.
21866 * stdio-common/putw.c: Likewise.
21867 * stdio-common/scanf.c: Likewise.
21868 * stdio-common/sprintf.c: Likewise.
21869 * stdio-common/tmpfile.c: Likewise.
21870 * stdio-common/vfprintf.c: Likewise.
21871 * stdio-common/vfscanf.c: Likewise.
21872 * stdlib/strfmon_l.c: Likewise.
21873 * sunrpc/openchild.c: Likewise.
21874 * sunrpc/xdr_stdio.c: Likewise.
21875 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
21876 * sysdeps/mach/hurd/tmpfile.c: Likewise.
21878 2012-05-24 Roland McGrath <roland@hack.frob.com>
21880 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
21882 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
21883 in the third column, to generate for the shared library an IFUNC
21884 that uses _dl_vdso_vsym.
21885 * Makerules (COMPILE.c, compile-stdin.c): New variables.
21886 * Makeconfig (object-suffixes-noshared): New variable.
21888 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
21889 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
21890 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
21891 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
21894 * include/sys/time.h (__gettimeofday): Remove macro.
21895 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
21896 * time/gettimeofday.c (__gettimeofday): Remove #undef.
21898 (__gettimeofday): Add libc_hidden_def.
21899 (gettimeofday): Add libc_hidden_weak.
21900 * sysdeps/mach/gettimeofday.c: Likewise.
21901 * sysdeps/posix/gettimeofday.c: Likewise.
21902 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
21903 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
21904 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
21905 (__gettimeofday_internal): Remove strong_alias.
21906 (__gettimeofday): Add libc_hidden_def.
21907 (gettimeofday): Add libc_hidden_weak.
21908 * sysdeps/unix/syscalls.list (gettimeofday):
21909 Remove __gettimeofday_internal alias.
21911 2012-05-24 Daniel Jacobowitz <drow@false.org>
21912 H.J. Lu <hongjiu.lu@intel.com>
21915 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
21916 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
21917 (largebin_index_32_big): New.
21918 (largebin_index): Use it for 16-byte alignment.
21919 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
21920 correction with front_misalign.
21922 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
21924 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
21925 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
21927 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
21929 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
21931 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
21933 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
21935 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
21937 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
21939 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
21941 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
21943 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
21945 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
21947 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
21950 * scripts/data/c++-types-x32-linux-gnu.data: New file.
21951 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
21953 2012-05-24 Joseph Myers <joseph@codesourcery.com>
21957 * math/libm-test.inc (exp_test): Add test from bug 14036.
21958 (pow_test): Add test from bug 10846.
21960 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
21962 (special_function): Do not include flags in test name.
21963 (parse_args): Likewise.
21964 * sysdeps/i386/fpu/libm-test-ulps: Update.
21965 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21966 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21967 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21970 * math/gen-libm-test.pl (%beautify): Add entries for underflow
21972 * math/libm-test.inc ("Philosophy"): Update comment about
21974 (UNDERFLOW_EXCEPTION): New macro.
21975 (UNDERFLOW_EXCEPTION_OK): Likewise.
21976 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
21977 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
21978 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
21979 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
21980 (INVALID_EXCEPTION_OK): Update value.
21981 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21982 (OVERFLOW_EXCEPTION_OK): Likewise.
21983 (IGNORE_ZERO_INF_SIGN): Likewise.
21984 (test_exceptions): Handle underflow exceptions.
21985 (acos_test): Update for underflow exception expectations.
21986 (cexp_test): Likewise.
21987 (clog_test): Likewise.
21988 (clog10_test): Likewise.
21989 (csqrt_test): Likewise.
21990 (ctan_test): Likewise.
21991 (ctanh_test): Likewise.
21992 (exp_test): Likewise.
21993 (exp10_test): Likewise.
21994 (exp2_test): Likewise.
21995 (expm1_test): Likewise.
21996 (fma_test): Likewise.
21997 (j0_test): Likewise.
21998 (jn_test): Likewise.
21999 (nexttoward_test): Likewise.
22000 (pow_test): Likewise.
22001 (scalbn_test): Likewise.
22002 (scalbln_test): Likewise.
22003 (tan_test): Likewise.
22004 (y1_test): Likewise.
22005 * sysdeps/i386/fpu/libm-test-ulps: Update.
22006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22008 2012-05-23 David S. Miller <davem@davemloft.net>
22010 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
22011 (__libc_sigaction): Remove unused local variables.
22013 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22015 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
22017 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
22019 mktime: avoid signed integer overflow
22020 * time/mktime.c (__mktime_internal): Do not mishandle the case
22021 where diff == INT_MIN.
22023 mktime: simplify computation of average
22024 * time/mktime.c (ranged_convert): Use new time_t_avg function
22025 instead of rolling our own (probably-slower) code.
22027 mktime: do not assume signed right shift propagates sign bit
22028 * time/mktime.c (isdst_differ): New static function.
22029 (__mktime_internal): No need to normalize tm_isdst now.
22030 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
22033 mktime: merge another wrapv change from gnulib
22034 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
22035 from some compilers.
22037 mktime: remove incorrect attempt at unusual arithmetics
22038 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
22039 The code didn't really work on such machines anyway.
22040 (TYPE_MINIMUM): Assume two's complement.
22041 (twos_complement_arithmetic): Verify that long_int and time_t
22042 are two's complement (or unsigned, in the latter case).
22044 mktime: check signed shifts on long_int and time_t, too
22045 * time/mktime.c (SHR): Check that shifts work as desired
22046 on the types long_int and time_t too, as SHR is used on
22049 mktime: do not assume 'long' is wide enough
22050 * time/mktime.c (verify): Move decl up.
22051 (long_int): New type.
22052 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
22053 to remove assumption in the code that 'long' is wide enough to
22054 store year values. This assumption is not true on x32 and on
22055 some non-glibc platforms.
22057 mktime: merge wrapv change from gnulib
22058 * time/mktime.c (WRAPV): New macro.
22059 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
22060 (guess_time_tm, __mktime_internal): Do not assume that signed
22061 integer overflow wraps around; modern compilers generate code
22062 where this assumption is no longer valid.
22064 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22066 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22067 Replace "jmp L(pseudo_end)" with "ret".
22068 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
22071 2012-05-23 Andreas Jaeger <aj@suse.de>
22073 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
22074 * sysdeps/unix/sysv/linux/poll.c: Remove file.
22076 2012-05-23 Andreas Jaeger <aj@suse.de>
22077 Maximilian Attems <max@stro.at>
22079 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
22082 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22084 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
22085 code so that pseudo_end is just ret and the stack pointer is
22086 correct also for static library in error case.
22088 2012-05-23 Joseph Myers <joseph@codesourcery.com>
22090 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
22091 move to syscalls.list.
22092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
22093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
22094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
22095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
22097 * manual/install.texi (Running make install): Do not mention Linux
22098 kernel version for which pt_chown is not needed.
22099 (Linux): Do not mention problems with nscd with 2.0 kernels.
22100 * INSTALL: Regenerated.
22102 2012-05-23 Andreas Jaeger <aj@suse.de>
22104 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
22105 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
22107 * sysdeps/unix/sysv/linux/s390/bits/mman.h
22108 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22109 * sysdeps/unix/sysv/linux/sh/bits/mman.h
22110 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22111 * sysdeps/unix/sysv/linux/i386/bits/mman.h
22112 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22113 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
22114 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22115 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
22116 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22117 * sysdeps/unix/sysv/linux/bits/in.h
22118 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
22120 2012-05-22 Roland McGrath <roland@hack.frob.com>
22122 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
22123 (PREPARE_VERSION): Just use assert instead, it will be elided
22124 under [NDEBUG] anyway.
22126 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22128 * sysdeps/unix/sysv/linux/Makefile: Include
22129 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
22130 (sysdep_routines): Remove sysctl.
22131 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
22132 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
22133 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
22134 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
22135 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
22137 2012-05-22 Andreas Jaeger <aj@suse.de>
22139 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
22140 that pseudo_end is just ret and the stack pointer is correct also
22141 for static library in error case.
22143 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
22146 * nss/nsswitch.c (defconfig_entries): New variable.
22147 (__nss_database_lookup): Don't leak defconfig entries.
22148 (nss_parse_service_list): Don't leak on error paths.
22149 (free_database_entries): New function.
22150 (free_defconfig): New function.
22151 (free_mem): Move common code to free_database_entries.
22153 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22155 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
22157 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
22159 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22160 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
22161 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
22163 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
22164 (INTERNAL_SYSCALL_TYPES): Likewise.
22165 (LOAD_ARGS_TYPES_[1-6]): Likewise.
22166 (LOAD_REGS_TYPES_[1-6]): Likewise.
22167 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
22168 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
22170 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22172 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
22173 copysignl for GLIBC_2_0.
22174 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
22175 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
22176 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
22177 logbl for GLIBC_2_0.
22178 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
22179 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
22181 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22183 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
22184 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
22186 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22189 * time/mktime.c: Update copyright years.
22191 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
22193 mktime: merge comment-quoting-style change from gnulib
22194 * time/mktime.c: Quote 'like this' in comments.
22195 The GNU coding standards suggest that we no longer quote `like this',
22196 as "`" and "'" are typically rendered asymmetrically nowadays.
22197 The typical gnulib style is to quote 'like this' when quoting
22198 code, and "like this" when quoting English.
22200 * time/mktime.c (compile-command): Add "-I.".
22202 mktime: merge mktime-internal.h change from gnulib
22203 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
22205 mktime: merge time_r change from gnulib
22206 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
22208 mktime: merge DEBUG change from gnulib
22209 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
22210 case system <time.h> has a #define.
22212 mktime: merge <sys/types.h> change from gnulib
22213 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
22214 since <time.t> is now guaranteed to define time_t.
22216 mktime: merge HAVE_CONFIG_H change from gnulib
22217 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
22219 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22221 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
22224 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
22226 (struct rusage): Use anonymous union to pad each field to
22229 2012-05-21 David S. Miller <davem@davemloft.net>
22231 * Makefules (o-iterator): Remove .s cases.
22232 (compile-command.s): Delete.
22233 (COMPILE.s): Delete.
22234 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
22236 2012-05-21 Joseph Myers <joseph@codesourcery.com>
22238 * configure.in (libc_cv_predef_stack_protector): Only consider
22239 "foobar" and "__stack_chk_fail" lines in libc_undefs.
22240 * configure: Regenerated.
22242 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22244 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
22245 New macro. Use R*LP on int and pointer.
22246 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
22247 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
22248 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
22249 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
22251 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
22252 [__WORDSIZE_TIME64_COMPAT32] instead of
22253 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
22254 (struct utmp): Likewise.
22255 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
22256 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
22258 (__WORDSIZE_TIME64_COMPAT32): This.
22259 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
22260 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
22261 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
22262 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
22263 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
22264 (__WORDSIZE_TIME64_COMPAT32): New macro.
22266 2012-05-21 Andreas Jaeger <aj@suse.de>
22268 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
22269 only if [SHARED]. Add prototype for __wcschr_ia32.
22271 2012-05-21 Roland McGrath <roland@hack.frob.com>
22273 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
22274 of %rbp unmolested in the jmp_buf while mangling the low bits.
22275 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
22276 unmolested high bits of %rbp while demangling the low bits.
22277 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22279 2012-05-21 Andreas Jaeger <aj@suse.de>
22281 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
22282 * sunrpc/svc_simple.c: Use it for registerrpc.
22283 * sunrpc/xcrypt.c: Use it for passwd2des.
22285 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
22287 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22289 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
22290 Don't define if [__SYSCALL_WORDSIZE != 32].
22291 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
22294 2012-05-21 Bruno Haible <bruno@clisp.org>
22295 Andreas Jaeger <aj@suse.de>
22297 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
22298 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
22299 inptr and inend for must_buffer_ch.
22300 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
22301 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
22302 * stdio-common/Makefile (tests): Remove bug15.
22303 (bug15-ENV): Remove macro.
22304 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
22307 2012-05-19 Andreas Jaeger <aj@suse.de>
22308 Roland McGrath <roland@hack.frob.com>
22310 * manual/contrib.texi: Completely rewritten. It contains now an
22311 alphabetical list of contributors and their contributions.
22313 2012-05-21 Richard Henderson <rth@twiddle.net>
22315 * misc/getauxval.c (__getauxval): Use unsigned long int.
22316 * misc/sys/auxv.h: Include <sys/cdefs.h>.
22317 (getauxval): Use unsigned long int.
22319 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22321 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22323 2012-05-21 Roland McGrath <roland@hack.frob.com>
22325 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
22326 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
22327 __alignof__ (long double).
22329 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22331 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22333 2012-05-20 Richard Henderson <rth@twiddle.net>
22335 * misc/getauxval.c: New file.
22336 * misc/sys/auxv.h: New file.
22337 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
22338 (routines): Add getauxval.
22339 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
22340 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
22341 * elf/dl-sysdep.c (_dl_auxv): Remove.
22342 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
22343 * elf/dl-support.c (_dl_auxv): New variable.
22344 (_dl_aux_init): Initialize it.
22345 * manual/startup.texi (Auxiliary Vector): New node.
22346 * sysdeps/generic/bits/hwcap.h: New file.
22347 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
22348 * sysdeps/powerpc/sysdep.h: ... here. Include it.
22349 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
22350 * sysdeps/sparc/sysdep.h: ... here. Include it.
22351 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
22352 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
22353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
22356 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
22357 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
22358 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
22359 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
22360 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
22361 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
22362 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
22364 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22366 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22368 2012-05-19 David S. Miller <davem@davemloft.net>
22370 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22372 2012-05-19 Joseph Myers <joseph@codesourcery.com>
22375 * math/s_ccosh.c: Include <float.h>
22376 (__ccosh): Avoid internal overflow calculating sinh and cosh
22377 values before multiplying by sin and cos values.
22378 * math/s_ccoshf.c: Likewise.
22379 * math/s_ccoshl.c: Likewise.
22380 * math/s_csin.c: Likewise.
22381 * math/s_csinf.c: Likewise.
22382 * math/s_csinl.c: Likewise.
22383 * math/s_csinh.c: Likewise.
22384 * math/s_csinhf.c: Likewise.
22385 * math/s_csinhl.c: Likewise.
22386 * math/libm-test.inc (ccos_test): Add more tests.
22387 (ccosh_test): Likewise.
22388 (csin_test): Likewise.
22389 (csinh_test): Likewise.
22390 * sysdeps/i386/fpu/libm-test-ulps: Update.
22391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22393 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
22395 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
22396 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
22398 * sysdeps/x86_64/x32/_itoa.h: Add comment.
22400 2012-05-19 Joseph Myers <joseph@codesourcery.com>
22402 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
22403 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
22404 * sysdeps/powerpc/soft-fp/Versions: Likewise.
22405 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
22406 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
22407 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
22408 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
22409 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
22410 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
22411 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
22412 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
22413 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
22414 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
22415 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
22416 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
22417 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
22418 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
22419 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
22420 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
22421 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
22422 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
22423 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
22424 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
22425 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
22426 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
22427 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
22428 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
22429 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
22430 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
22431 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
22432 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
22434 2012-05-18 Andreas Jaeger <aj@suse.de>
22436 * csu/.gitignore: Delete.
22438 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
22440 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
22441 (timex): Use __syscall_slong_t.
22443 2012-05-18 Andreas Jaeger <aj@suse.de>
22444 Carlos O'Donell <carlos_odonell@mentor.com>
22446 * manual/install.texi (Configuring and compiling): Update
22447 description about files modified in the source directory.
22448 * INSTALL: Regenerated.
22450 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
22452 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
22453 value. Use "or" to set return value to -1.
22454 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
22455 negate return value.
22457 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22459 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
22460 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
22461 failure if the compiler has Graphite support disabled.
22462 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
22464 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
22465 CFLAGS-memmove.c): Likewise.
22466 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
22469 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
22471 * sysdeps/x86_64/x32/_itoa.h: New file.
22473 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
22474 getdents system call only if kernel and user dirents have the
22475 same d_ino and d_off.
22477 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22478 LLONG_MAX != LONG_MAX.
22479 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22480 (_fitoa_word): Likewise.
22482 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
22484 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
22485 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
22486 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
22488 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
22489 include <bits/wordsize.h>. Check __x86_64__ instead of
22491 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
22492 if __x86_64__ is defined. Use anonymous union on fpstate.
22494 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
22497 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
22499 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
22500 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
22501 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
22502 Refer to _rtld_local_ro instead of _rtld_global_ro.
22503 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
22505 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
22507 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
22509 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
22510 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
22511 of _rtld_global, and rtld_progname instead of _dl_argv[0].
22513 * sysdeps/powerpc/powerpc32/dl-machine.c
22514 (__elf_machine_runtime_setup) [PROF]: Don't reference
22517 2012-05-18 Andreas Jaeger <aj@suse.de>
22519 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
22520 function only available for GCCs before 3.4 since GCC 3.4
22521 introduced a builtin.
22523 (llrintf): Likewise.
22524 (llrint): Likewise.
22531 (nearbyint): Likewise.
22532 (nearbyintf): Likewise.
22536 (floorf): Likewise.
22538 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
22540 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
22541 on both fields and cast pointer to __syscall_ulong_t.
22543 * bits/types.h (__fsword_t): New type.
22544 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
22545 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
22546 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22547 (__FSWORD_T_TYPE): Likewise.
22548 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22549 (__FSWORD_T_TYPE): Likewise.
22550 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22551 (__FSWORD_T_TYPE): Likewise.
22552 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
22553 (__FSWORD_T_TYPE): Likewise.
22554 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
22555 __SWORD_TYPE with __fsword_t.
22556 (statfs64): Likewise.
22558 2012-05-17 David S. Miller <davem@davemloft.net>
22560 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
22562 2012-05-17 Andreas Jaeger <aj@suse.de>
22564 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
22567 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
22569 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
22571 2012-05-17 Andreas Jaeger <aj@suse.de>
22573 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
22576 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
22578 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
22580 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
22582 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
22583 * sysdeps/x86_64/tst-mallocalign1.c: New file.
22585 2012-05-17 Andreas Jaeger <aj@suse.de>
22586 Carlos O'Donell <carlos_odonell@mentor.com>
22589 * sysdeps/x86_64/multiarch/init-arch.h
22590 (bit_YMM_Usable): Rename to...
22591 (bit_AVX_Usable): ... this.
22592 (bit_FMA4_Usable): New macro.
22593 (bit_XMM_state): New macro.
22594 (bit_YMM_state): New macro.
22595 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
22596 [__ASSEMBLER__] (index_AVX_Usable): ... this.
22597 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
22598 (CPUID_OSXSAVE): New macro.
22599 (CPUID_AVX): New macro.
22600 (CPUID_FMA4): New macro.
22601 (index_YMM_Usable): Rename to...
22602 (index_AVX_Usable): ... this.
22603 (HAS_AVX): Use HAS_ARCH_FEATURE.
22604 (HAS_FMA4): Likewise.
22605 (HAS_YMM_USABLE): Remove.
22606 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22607 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
22609 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
22610 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
22611 * sysdeps/x86_64/multiarch/Makefile: Likewise.
22612 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
22613 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
22615 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
22617 * math/libm-test.c: Support platforms without multiple rounding modes.
22618 * math/bug-nextafter.c: Support platforms without FP exceptions.
22619 * math/bug-nexttoward.c: Likewise.
22620 * math/test-fenv.c: Likewise.
22621 * math/test-misc.c: Likewise.
22622 * stdlib/bug-getcontext.c: Likewise.
22624 2012-05-17 Andreas Jaeger <aj@suse.de>
22626 * manual/examples/search.c (critter_cmp): Change signature to
22628 * manual/string.texi (Collation Functions): Likewise.
22630 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22632 * bits/types.h: Fold copyright years.
22633 * bits/typesizes.h: Likewise.
22634 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
22635 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
22636 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
22637 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
22638 * time/time.h: Likewise.
22640 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
22643 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
22644 in instead of returning them. Return void.
22645 (__libc_mallinfo): Accumulate over all arenas.
22646 (__malloc_stats): Adjust for change in int_mallinfo interface.
22648 2012-05-16 Roland McGrath <roland@hack.frob.com>
22651 * configure.in (NM): Add AC_CHECK_TOOL for it.
22652 (libc_extra_cflags): New substituted variable.
22653 Check for -fstack-protector being used implicitly.
22654 * configure: Regenerated.
22655 * config.make.in (config-extra-cflags): New variable,
22656 gets @libc_extra_cflags@.
22657 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
22660 * configure.in: Check for _FORTIFY_SOURCE being predefined.
22661 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
22662 * configure: Regenerated.
22663 * config.make.in (CPPUNDEFS): New substituted variable.
22664 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
22665 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
22666 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
22668 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22670 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
22671 (mq_attr): Use __syscall_slong_t.
22673 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22675 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
22676 Check __x86_64__ instead of __WORDSIZE.
22677 (_STAT_VER_LINUX): Likewise.
22678 (stat): Check __x86_64__ instead of __WORDSIZE. Use
22679 __syscall_ulong_t and __syscall_slong_t.
22680 (stat64): Likewise.
22682 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22684 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
22686 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22688 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
22690 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22692 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
22695 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
22696 include <bits/wordsize.h>. Check __x86_64__ instead of
22698 (greg_t): Use "__extension__ long long int" if __x86_64__ is
22700 (mcontext_t): Replace "unsigned long" with "unsigned long long".
22702 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
22703 include <bits/wordsize.h>. Check __x86_64__ instead of
22705 (user_regs_struct): Use "__extension__ unsigned long long"
22706 instead of "unsigned long" if __x86_64__ is defined.
22707 (user): Likewise. Pad after pointer field if __ILP32__ is
22710 2012-05-16 Joseph Myers <joseph@codesourcery.com>
22712 * configure.in (makeinfo): Require version 4.5 or later. Allow
22714 * configure: Regenerated.
22715 * manual/install.texi (texinfo): Increase version requirement to
22717 * INSTALL: Regenerated.
22719 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
22721 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22723 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
22725 * sysdeps/x86_64/x32/ffs.c: New file.
22727 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
22729 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
22730 defined. Use __syscall_ulong_t.
22731 (shminfo): Use __syscall_ulong_t.
22732 (shm_info): Likewise.
22734 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
22737 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
22739 (msgqnum_t): Use __syscall_ulong_t.
22740 (msglen_t): Likewise.
22741 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
22744 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
22745 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
22747 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
22749 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
22750 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
22752 * sysvipc/sys/msg.h (msgbuf): Replace long int with
22755 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
22756 include <bits/wordsize.h>. Check __x86_64__ instead of
22759 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
22760 "unsigned long long int" if __x86_64__ is defined.
22761 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
22763 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
22764 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
22765 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
22767 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
22769 (GET_PC): Cast to uintptr_t first.
22770 (GET_FRAME): Likewise.
22771 (GET_STACK): Likewise.
22773 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
22774 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
22775 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
22776 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
22777 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
22778 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
22779 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
22780 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
22781 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
22782 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
22783 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
22784 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
22785 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
22786 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
22787 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
22788 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
22789 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
22790 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
22791 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
22792 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
22793 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
22794 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
22795 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
22796 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
22797 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
22798 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
22799 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
22800 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
22801 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
22803 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
22805 * Makerules (+depfiles): Also collect depfiles from .oS in
22807 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
22808 .oS, $(libnldbl-routines)).
22810 * Makerules (native-compile-mkdep-flags): Define.
22811 * sunrpc/Makefile (extra-objs): Add $(addprefix
22812 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
22813 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
22814 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
22815 calling $(make-target-directory).
22817 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22819 * bits/types.h (__snseconds_t): Removed.
22820 * time/time.h (struct timespec): Replace __snseconds_t with
22822 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
22823 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
22825 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22826 (__SNSECONDS_T_TYPE): Likewise.
22827 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22828 (__SNSECONDS_T_TYPE): Likewise.
22829 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22830 (__SNSECONDS_T_TYPE): Likewise.
22832 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22834 * sysdeps/mach/hurd/bits/typesizes.h
22835 (__SYSCALL_SLONG_TYPE): New macro.
22836 (__SYSCALL_ULONG_TYPE): Likewise.
22838 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22840 * bits/types.h (__syscall_slong_t): New type.
22841 (__syscall_ulong_t): Likewise.
22843 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
22844 (__SYSCALL_ULONG_TYPE): Likewise.
22845 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22846 (__SYSCALL_SLONG_TYPE): Likewise.
22847 (__SYSCALL_ULONG_TYPE): Likewise.
22848 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22849 (__SYSCALL_SLONG_TYPE): Likewise.
22850 (__SYSCALL_ULONG_TYPE): Likewise.
22851 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22852 (__SYSCALL_SLONG_TYPE): Likewise.
22853 (__SYSCALL_ULONG_TYPE): Likewise.
22855 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22857 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
22858 Add sigaltstack-offsets.sym.
22859 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
22860 <sigaltstack-offsets.h>.
22861 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
22862 longjmp_msg pointer.
22863 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
22864 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
22866 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
22868 2012-05-15 Joseph Myers <joseph@codesourcery.com>
22870 * elf/stackguard-macros.h: Remove file.
22871 * sysdeps/generic/stackguard-macros.h: New file.
22872 * sysdeps/i386/stackguard-macros.h: Likewise.
22873 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
22874 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
22875 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
22876 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
22877 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
22878 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
22879 * sysdeps/x86_64/stackguard-macros.h: Likewise.
22880 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
22881 <elf/stackguard-macros.h>.
22884 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
22885 __aligned__ in attribute.
22886 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
22887 (gregset_t): Likewise.
22889 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22891 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
22892 * sysdeps/x86_64/64/Implies-after: Here. New file.
22893 * sysdeps/x86_64/x32/Implies-after: New file.
22895 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22897 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
22898 and access return value for _dl_profile_fixup. Use R10_LP to
22901 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22903 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
22905 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22907 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
22908 * sysdeps/x86_64/x32/sysdep.h: New file.
22910 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22912 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
22913 * sysdeps/x86_64/setjmp.S: Likewise.
22915 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22917 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
22918 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
22919 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
22920 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
22921 remove unused global constant.
22923 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
22925 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
22926 include of <not-cancel.h>.
22928 2012-05-15 Roland McGrath <roland@hack.frob.com>
22930 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
22932 2012-05-15 Jeff Law <law@redhat.com>
22933 Andreas Jaeger <aj@suse.de>
22936 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
22938 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
22939 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
22940 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
22941 code changing __hst_map_handle.map.
22943 2012-05-15 Roland McGrath <roland@hack.frob.com>
22945 * configure.in (sysnames): Look for Implies-before and Implies-after
22947 * configure: Regenerated.
22949 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22951 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
22952 8-byte data alignment with LP_SIZE alignment.
22954 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22956 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
22959 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22961 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
22963 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22965 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
22966 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
22967 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
22969 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
22971 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22973 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
22974 (stackinfo_sub_sp): Likewise.
22976 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22978 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
22981 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22983 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
22986 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22988 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
22991 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22993 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
22995 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22997 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
22998 into R11_LP and load __x86_64_shared_cache_size_half into
23001 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23003 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
23006 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23008 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
23010 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
23012 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
23014 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
23015 powerpc32/power7/fpu/s_logb.c via #include.
23016 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
23017 powerpc32/power7/fpu/s_logbf.c via #include.
23018 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
23019 powerpc32/power7/fpu/s_logbl.c via #include.
23021 2012-05-15 Joseph Myers <joseph@codesourcery.com>
23023 * README.libm: Remove file.
23025 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23027 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
23028 count for x32. Use R*_LP and omit operand-size suffix.
23030 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23032 * shlib-versions: Move x86_64-.*-linux.* entries to ...
23033 * sysdeps/x86_64/64/shlib-versions: Here. New file.
23034 * sysdeps/x86_64/x32/shlib-versions: New file.
23036 2012-05-14 Roland McGrath <roland@hack.frob.com>
23038 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
23039 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
23040 Use _dl_fatal_printf instead.
23042 2012-05-14 Joseph Myers <joseph@codesourcery.com>
23044 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
23045 set if not set by the user. Do not allow for being unset.
23046 * sysdeps/unix/sysv/linux/configure: Regenerated.
23048 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23050 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
23051 the `q' suffix from lea and replace .quad with ASM_ADDR.
23053 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23055 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
23056 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
23058 (PTR_DEMANGLE): Likewise.
23060 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23062 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
23064 (ASM_ADDR): Likewise.
23065 (RAX_LP): Likewise.
23066 (RBP_LP): Likewise.
23067 (RBX_LP): Likewise.
23068 (RCX_LP): Likewise.
23069 (RDI_LP): Likewise.
23070 (RSI_LP): Likewise.
23071 (RSP_LP): Likewise.
23074 (R10_LP): Likewise.
23075 (R10_LP): Likewise.
23076 (R11_LP): Likewise.
23077 (R12_LP): Likewise.
23078 (R13_LP): Likewise.
23079 (R14_LP): Likewise.
23080 (R15_LP): Likewise.
23082 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23084 * sysdeps/x86_64/x32/dl-machine.h: New file.
23086 2012-05-14 Andreas Jaeger <aj@suse.de>
23088 * manual/Makefile (subdir): Remove export of subdir.
23089 (all): Remove target.
23090 (.PHONY): Remove all from list.
23091 (mkinstalldirs): Remove.
23092 (.PHONY): Remove installdirs from list.
23093 ($(inst_infodir)/libc.info): Use make-target-directory.
23094 (installdirs): Remove.
23095 (subdir_%): Remove.
23096 (glibc-targets): Remove.
23099 ($(objpfx)stubs ../po/manual.pot): Remove.
23100 ($(objpfx)stamp%): Remove.
23101 (make-target-directory): Remove.
23102 (subdir_install): Remove.
23103 (routines): Remove.
23110 * manual/.gitignore: Remove, it's not needed anymore.
23111 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
23113 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
23115 (texis): Renamed to $(objpfx)texis.
23116 (texis-path): New, contains path to generated files.
23117 (chapters.%): Use texis-path for complete path, add extra argument
23119 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
23120 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
23121 (summary,texi, stamp-summary): Use complete path of
23122 files. Generate files in build dir.
23123 (dir-add.texi): Build in build dir.
23124 (libm-err.texi,stamp-libm-err): Likewise.
23125 (version.texi, stamp-version): Likewise.
23126 (.%c.texi): Likewise.
23127 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
23128 (mostlyclean): Remove target.
23129 (realclean): Remove target.
23130 (generated): Add new variable with contents from mostlyclean and
23131 realclean, remove entries duplicated in common-mostlyclean, add
23132 stamp-libm-err and stamp-version.
23133 (generated-dirs): Add libc directory.
23134 ($(inst_infodir)/libc.info): Install files from build dir.
23136 * manual/install.texi (Configuring and compiling): Adjust since
23137 the info files are not part of the tar ball anymore.
23139 2012-05-14 Andreas Jaeger <aj@suse.de>
23141 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
23144 2012-05-14 Joseph Myers <joseph@codesourcery.com>
23147 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
23148 to 2.2.0 where earlier.
23149 * sysdeps/unix/sysv/linux/configure: Regenerated.
23150 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
23151 Remove conditional code.
23152 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
23153 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
23154 Remove conditional code.
23155 [!__NR_lchown]: Likewise.
23156 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23157 [__NR_lchown]: Likewise.
23158 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
23159 comment referencing __ASSUME_LCHOWN_SYSCALL.
23160 * sysdeps/unix/sysv/linux/i386/sigaction.c
23161 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23162 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23163 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
23164 Remove conditional code.
23165 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
23166 (__protocol_available): Remove #if 0 code.
23167 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
23169 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
23170 * sysdeps/unix/sysv/linux/kernel-features.h
23171 (__ASSUME_GETCWD_SYSCALL): Don't define.
23172 (__ASSUME_REALTIME_SIGNALS): Likewise.
23173 (__ASSUME_PREAD_SYSCALL): Likewise.
23174 (__ASSUME_PWRITE_SYSCALL): Likewise.
23175 (__ASSUME_POLL_SYSCALL): Likewise.
23176 (__ASSUME_LCHOWN_SYSCALL): Likewise.
23177 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
23179 (__ASSUME_SIOCGIFNAME): Don't define.
23180 (__ASSUME_MSG_NOSIGNAL): Likewise.
23181 (__ASSUME_SENDFILE): Define unconditionally.
23182 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
23183 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
23185 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
23186 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
23187 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
23188 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23189 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
23190 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
23191 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
23193 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23194 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
23196 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23197 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
23199 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23200 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
23202 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23203 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
23205 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23206 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
23208 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23209 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
23211 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23212 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
23214 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23215 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23216 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
23217 Remove conditional code.
23218 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23219 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
23220 Remove conditional code.
23221 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23222 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
23223 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
23224 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
23225 Remove conditional code.
23226 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23227 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
23228 Remove conditional code.
23229 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23230 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
23231 Remove conditional code.
23232 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23233 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
23234 Remove conditional code.
23235 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23236 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
23237 Remove conditional code.
23238 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23239 * sysdeps/unix/sysv/linux/sh/pwrite64.c
23240 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23241 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23242 * sysdeps/unix/sysv/linux/sigaction.c
23243 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23244 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23245 * sysdeps/unix/sysv/linux/sigpending.c
23246 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23247 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23248 * sysdeps/unix/sysv/linux/sigprocmask.c
23249 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23250 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23251 * sysdeps/unix/sysv/linux/sigsuspend.c
23252 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23253 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23254 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23255 (__libc_missing_rt_sigs): Remove.
23256 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
23257 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
23258 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
23259 Remove conditional code.
23260 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
23261 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
23263 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
23264 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
23265 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
23266 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
23268 2012-05-14 Andreas Jaeger <aj@suse.de>
23270 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
23271 it's not used in glibc.
23272 (__coshm1): Likewise.
23273 (__acosh1p): Likewise.
23276 * manual/string.texi (Copying and Concatenation): Add missing
23277 variable in concat example.
23278 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
23280 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23283 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
23284 __builtin_clzl with __builtin_clzll.
23286 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23289 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
23292 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23294 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
23295 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
23296 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
23297 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
23299 2012-05-14 Mike Frysinger <vapier@gentoo.org>
23301 * NEWS: Update ia64 info.
23303 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
23305 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
23308 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
23310 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
23311 * sysdeps/unix/syscalls.list (dup3): Likewise.
23312 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
23313 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
23315 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
23317 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
23318 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
23320 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
23322 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
23324 (TLS_IE): Use mov/add instead of movq/addq to load thread
23326 (TLS_GD_PREFIX): New.
23329 2012-05-11 David S. Miller <davem@davemloft.net>
23331 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
23332 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
23333 (_FPU_SETCW): Likewise.
23335 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23337 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
23338 is 32-byte aligned.
23340 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
23343 * iconvdata/gb18030.c: Update tables.
23344 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
23345 characters specially.
23346 (BODY for TO_LOOP): Add encoding of missing ranges.
23348 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
23351 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
23352 * sysdeps/mach/hurd/dup3.c: Likewise.
23353 * sysdeps/mach/hurd/readlinkat.c: Likewise.
23354 * sysdeps/powerpc/memmove.c:: Likewise.
23356 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23358 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
23359 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
23361 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23363 * elf/elf.h (R_X86_64_RELATIVE64): New.
23364 (R_X86_64_NUM): Updated.
23365 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23366 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
23367 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
23368 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
23369 tst-quad1pie tst-quad2pie
23370 (modules-names): Add tst-quadmod1 tst-quadmod2.
23371 ($(objpfx)tst-quad1): New dependency.
23372 ($(objpfx)tst-quad2): Likewise.
23373 ($(objpfx)tst-quad1pie): Likewise.
23374 ($(objpfx)tst-quad2pie): Likewise.
23375 * sysdeps/x86_64/tst-quad1.c: New file.
23376 * sysdeps/x86_64/tst-quad1pie.c: New file.
23377 * sysdeps/x86_64/tst-quad2.c: Likewise.
23378 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
23379 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
23380 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
23381 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
23382 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
23384 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23386 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
23387 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
23388 * streams/stropts.h (t_scalar_t): Define type.
23390 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
23391 (_PATH_PRESERVE): Set to "/var/lib".
23392 (_PATH_RWHODIR): Set to "/var/spool/rwho".
23394 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
23397 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
23398 if __dir_mkfile succeeded.
23400 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
23401 checking for _hurd_dtablesize. Unlock it right after having
23402 finished _hurd_dtable allocation.
23404 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23406 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
23407 * sysdeps/mach/hurd/configure: Regenerated.
23408 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
23409 special-casing to...
23410 * sysdeps/gnu/configure.in: ... this new file.
23411 * sysdeps/unix/sysv/linux/configure: Regenerated.
23412 * sysdeps/gnu/configure: New generated file.
23414 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
23415 for Linux: use nsec instead of usec, as well as:
23416 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
23417 members of type struct timespec.
23418 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
23420 (struct stat64): Likewise.
23421 (_STATBUF_ST_NSEC): New macro.
23422 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
23424 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
23425 __strtoul_internal rather than strtoul.
23427 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23429 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
23432 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23434 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
23435 which preserves existing values.
23436 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
23438 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23440 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
23441 TIMEOUT values. Return EINVAL for NFDS values either negative or
23442 greater than FD_SETSIZE.
23444 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23446 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
23447 allocated, call __vm_protect to finish enabling the existing space, and
23448 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
23449 allocate the remainder.
23451 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23453 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
23454 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
23456 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23458 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
23459 sysdeps/mach/hurd/readlink.c.
23461 * posix/tst-sysconf.c (posix_options): Only use
23462 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
23463 _POSIX_SYNCHRONIZED_IO when they are defined
23464 * sysdeps/mach/hurd/bits/posix_opt.h:
23465 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
23466 (_XOPEN_REALTIME): Undefine macro.
23467 (_XOPEN_REALTIME_THREADS): Undefine macro.
23468 (_XOPEN_SHM): Undefine macro.
23469 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
23471 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
23473 (_POSIX_ASYNC_IO): Undefine macro.
23474 (_POSIX_PRIORITIZED_IO): Undefine macro.
23475 (_POSIX_SPIN_LOCKS): Define macro to -1.
23477 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
23478 SA_NODEFER, SA_RESETHAND.
23479 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
23480 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
23483 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23485 * elf/Makefile (pldd-modules): Define unconditionally.
23487 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23489 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
23491 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23493 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
23494 Return ENOENT when name is empty.
23495 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
23497 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23499 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
23501 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
23503 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23505 Fix mlock in all cases except non-readable pages.
23506 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
23507 instead of VM_PROT_ALL as parameter to __vm_wire function.
23509 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
23510 (__mkdir): When path is `/', just fail with EEXIST.
23511 * sysdeps/mach/hurd/mkdirat.c: Likewise.
23513 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23515 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
23516 <sys/uio.h> (for writev).
23517 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
23518 and <sys/param.h> (for MIN).
23520 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23522 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
23523 REQUESTED_TIME. Properly set the remaining time and return EINTR
23526 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23528 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
23529 Depend on against $(link-rpcuserlibs).
23531 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23533 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
23534 (__libc_stack_end): Do not use attribute_relro.
23535 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
23536 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
23537 to libthread-provided value.
23538 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
23541 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23544 * bits/libc-lock.h (__libc_once_get): New macro.
23545 * sysdeps/mach/bits/libc-lock.h: Likewise.
23546 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
23547 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
23548 instead of using implementation details.
23550 * libio/fileops.c: Unconditionally include <kernel-features.h>.
23551 * libio/freopen.c: Likewise.
23552 * libio/freopen64.c: Likewise.
23553 * misc/syslog.c: Likewise.
23554 * nscd/connections.c: Likewise.
23555 * nscd/netgroupcache.c: Likewise.
23556 * sysdeps/posix/getcwd.c: Likewise.
23558 2012-05-10 Roland McGrath <roland@hack.frob.com>
23560 * math/w_ilogbf.c: Add #include <limits.h>.
23562 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23564 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
23565 path instead of returning without unlocking.
23567 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
23568 immediate-write ioctls.
23569 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
23571 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23573 * sysdeps/mach/hurd/i386/init-first.c (init): Use
23574 __builtin_frame_address instead of making assumptions about the
23575 location of the return address relative to DATA. Force early load of
23576 the return address.
23577 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
23578 __builtin_frame_address.
23581 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
23582 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
23583 implement dup3 and do some further code clean-ups.
23584 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
23585 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
23587 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23589 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
23591 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
23592 HURD_CRITICAL_END around holding _hurd_dtable_lock.
23593 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
23594 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
23595 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
23598 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
23599 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
23600 when handler == SIG_ERR, not when handler != SIG_ERR.
23602 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23604 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
23605 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
23608 accept4 for GNU Hurd.
23609 * include/sys/socket.h (__libc_accept4): New prototype.
23610 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
23611 to implement __libc_accept4.
23612 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
23614 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
23616 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
23617 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
23618 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
23619 signal-defines.sym.
23621 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23623 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
23625 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23627 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
23628 assertion on O_CLOEXEC flag.
23629 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
23630 * hurd/intern-fd.c: Likewise.
23631 * hurd/port2fd.c: Likewise.
23633 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23636 * bits/in.h (IPV6_PKTINFO): Define new macro.
23637 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
23639 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23644 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
23645 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23646 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
23647 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
23648 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23649 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
23650 * math/libm-test.inc (logb_test) : Additional logb tests.
23652 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
23653 Andreas Jaeger <aj@suse.de>
23655 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
23656 * configure: Regenerated.
23657 * config.h.in (LINK_OBSOLETE_RPC): New macro.
23658 * config.make.in (link-obsolete-rpc): New substituted variable.
23659 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
23660 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
23661 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
23662 (shared-only-routines): Don't set it under [link-obsolete-rpc],
23663 so that libc.a contains the symbols.
23664 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
23665 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
23666 * sunrpc/auth_none.c: Likewise.
23667 * sunrpc/auth_unix.c: Likewise.
23668 * sunrpc/authdes_prot.c: Likewise.
23669 * sunrpc/authuxprot.c: Likewise.
23670 * sunrpc/clnt_gen.c: Likewise.
23671 * sunrpc/clnt_perr.c: Likewise.
23672 * sunrpc/clnt_raw.c: Likewise.
23673 * sunrpc/clnt_simp.c: Likewise.
23674 * sunrpc/clnt_tcp.c: Likewise.
23675 * sunrpc/clnt_udp.c: Likewise.
23676 * sunrpc/clnt_unix.c: Likewise.
23677 * sunrpc/des_crypt.c: Likewise.
23678 * sunrpc/des_soft.c: Likewise.
23679 * sunrpc/get_myaddr.c: Likewise.
23680 * sunrpc/key_call.c: Likewise.
23681 * sunrpc/key_prot.c: Likewise.
23682 * sunrpc/netname.c: Likewise.
23683 * sunrpc/pm_getmaps.c: Likewise.
23684 * sunrpc/pm_getport.c: Likewise.
23685 * sunrpc/pmap_clnt.c: Likewise.
23686 * sunrpc/pmap_prot.c: Likewise.
23687 * sunrpc/pmap_prot2.c: Likewise.
23688 * sunrpc/pmap_rmt.c: Likewise.
23689 * sunrpc/publickey.c: Likewise.
23690 * sunrpc/rpc_cmsg.c: Likewise.
23691 * sunrpc/rpc_common.c: Likewise.
23692 * sunrpc/rpc_dtable.c: Likewise.
23693 * sunrpc/rpc_prot.c: Likewise.
23694 * sunrpc/rpc_thread.c: Likewise.
23695 * sunrpc/rtime.c: Likewise.
23696 * sunrpc/svc.c: Likewise.
23697 * sunrpc/svc_auth.c: Likewise.
23698 * sunrpc/svc_raw.c: Likewise.
23699 * sunrpc/svc_run.c: Likewise.
23700 * sunrpc/svc_tcp.c: Likewise.
23701 * sunrpc/svc_udp.c: Likewise.
23702 * sunrpc/svc_unix.c: Likewise.
23703 * sunrpc/svcauth_des.c: Likewise.
23704 * sunrpc/xcrypt.c: Likewise.
23705 * sunrpc/xdr.c: Likewise.
23706 * sunrpc/xdr_array.c: Likewise.
23707 * sunrpc/xdr_float.c: Likewise.
23708 * sunrpc/xdr_intXX_t.c: Likewise.
23709 * sunrpc/xdr_mem.c: Likewise.
23710 * sunrpc/xdr_rec.c: Likewise.
23711 * sunrpc/xdr_ref.c: Likewise.
23712 * sunrpc/xdr_sizeof.c: Likewise.
23713 * sunrpc/xdr_stdio.c: Likewise.
23715 2012-05-10 Roland McGrath <roland@hack.frob.com>
23717 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
23718 change. Update copyright years.
23720 2012-05-10 Joseph Myers <joseph@codesourcery.com>
23722 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
23724 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
23725 Joseph Myers <joseph@codesourcery.com>
23726 Paul Pluzhnikov <ppluzhnikov@google.com>
23729 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
23731 [cross-compiling] (extra-libs): Likewise.
23732 [cross-compiling] (extra-libs-others): Likewise.
23733 [cross-compiling] (librpcsvc-routines): Likewise.
23734 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
23735 [cross-compiling] (omit-deps): Likewise.
23736 (sunrpc-CPPFLAGS): New variable.
23737 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
23738 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
23739 (cross-rpcgen-objs): New variable.
23740 (extra-objs): Append $(cross-rpcgen-objs).
23741 ($(cross-rpcgen-objs)): New rule.
23742 ($(objpfx)cross-rpcgen): Likewise.
23743 (rpcgen-cmd): Define to use $(built-program-file). Expand
23745 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
23746 ($(objpfx)x%.stmp): Likewise.
23747 * sunrpc/proto.h [IS_IN_build] (_): Define.
23748 [IS_IN_build] (_libc_intl_domainname): Likewise.
23750 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23752 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
23753 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
23754 and R_X86_64_TPOFF64.
23756 2012-05-10 Joseph Myers <joseph@codesourcery.com>
23758 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
23759 sysdeps/unix/sysv/syscalls.list.
23762 * sysdeps/unix/sysv/syscalls.list: Remove file.
23764 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
23767 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
23768 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
23769 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
23770 (__LC_IDENTIFICATION): Make these macros useful in #if
23771 expressions, as required by C99.
23773 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
23775 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
23776 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
23779 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
23781 * stdlib/longlong.h: Updated from GCC.
23783 2012-05-09 Andreas Jaeger <aj@suse.de>
23785 * nscd/nscd.c (run_modes): Make named enum, reorder so that
23786 default is first entry.
23787 (run_mode): Set type.
23788 (main): Remove informal message about syslog.
23789 (options): Fix typo.
23792 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
23795 (llrintf): Likewise.
23796 (llrint): Likewise.
23799 (nearbyint): Likewise.
23800 (nearbyintf): Likewise.
23802 2012-05-09 Andreas Jaeger <aj@suse.de>
23803 Pedro Alves <palves@redhat.com>
23805 * nscd/nscd.c (run_mode): Use enum.
23806 (main): Cleanup coding style issue.
23808 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
23809 Andreas Jaeger <aj@suse.de>
23811 * nscd/nscd.c (go_background): Replaced with...
23812 (run_mode): ... this.
23813 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
23814 (options): Add -F --foreground.
23815 (main): Implement it.
23816 (parse_opt): Parse it.
23818 2012-05-09 Andreas Jaeger <aj@suse.de>
23821 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
23822 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
23823 -Wconversion warning.
23824 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
23827 2012-05-09 Joseph Myers <joseph@codesourcery.com>
23829 * conform/data/locale.h-data (NULL): Use macro-constant. Require
23831 (LC_ALL): Use macro-int-constant.
23832 (LC_COLLATE): Likewise.
23833 (LC_CTYPE): Likewise.
23834 (LC_MESSAGES): Likewise.
23835 (LC_MONETARY): Likewise.
23836 (LC_NUMERIC): Likewise.
23837 (LC_TIME): Likewise.
23838 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
23839 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
23840 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23841 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
23843 [C99-based standards] (float_t): Expect type.
23844 [C99-based standards] (double_t): Expect type.
23845 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
23847 [C99-based standards] (HUGE_VALL): Likewise.
23848 [C99-based standards] (INFINITY): Likewise.
23849 [C99-based standards] (NAN): Likewise.
23850 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
23851 [C99-based standards] (FP_NAN): Likewise.
23852 [C99-based standards] (FP_NORMAL): Likewise.
23853 [C99-based standards] (FP_SUBNORMAL): Likewise.
23854 [C99-based standards] (FP_ZERO): Likewise.
23855 [C99-based standards] (FP_FAST_FMA): Use
23856 optional-macro-int-constant. Specify type. Require == 1.
23857 [C99-based standards] (FP_FAST_FMAF): Likewise.
23858 [C99-based standards] (FP_FAST_FMAL): Likewise.
23859 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
23860 [C99-based standards] (FP_ILOGBNAN): Likewise.
23861 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
23863 [C99-based standards] (MATH_ERREXCEPT): Likewise.
23864 [C99-based standards] (math_errhandling): Specify type.
23865 [ISO99 || ISO11] (signgam): Do not allow.
23866 [non-C99-based standards] (copysignf): Do not allow.
23867 [non-C99-based standards] (exp2f): Likewise.
23868 [non-C99-based standards] (log2f): Likewise.
23869 [non-C99-based standards] (modff): Allow.
23870 [non-C99-based standards] (erff): Do not allow.
23871 [non-C99-based standards] (erfcf): Likewise.
23872 [non-C99-based standards] (gammaf): Likewise.
23873 [non-C99-based standards] (hypotf): Likewise.
23874 [non-C99-based standards] (j0f): Likewise.
23875 [non-C99-based standards] (j1f): Likewise.
23876 [non-C99-based standards] (jnf): Likewise.
23877 [non-C99-based standards] (lgammaf): Likewise.
23878 [non-C99-based standards] (tgammaf): Likewise.
23879 [non-C99-based standards] (y0f): Likewise.
23880 [non-C99-based standards] (y1f): Likewise.
23881 [non-C99-based standards] (ynf): Likewise.
23882 [non-C99-based standards] (isnanf): Likewise.
23883 [non-C99-based standards] (acoshf): Likewise.
23884 [non-C99-based standards] (asinhf): Likewise.
23885 [non-C99-based standards] (atanhf): Likewise.
23886 [non-C99-based standards] (cbrtf): Likewise.
23887 [non-C99-based standards] (expm1f): Likewise.
23888 [non-C99-based standards] (ilogbf): Likewise.
23889 [non-C99-based standards] (log1pf): Likewise.
23890 [non-C99-based standards] (logbf): Likewise.
23891 [non-C99-based standards] (nextafterf): Likewise.
23892 [non-C99-based standards] (remainderf): Likewise.
23893 [non-C99-based standards] (rintf): Likewise.
23894 [non-C99-based standards] (scalbf): Likewise.
23895 [non-C99-based standards] (copysignl): Likewise.
23896 [non-C99-based standards] (exp2l): Likewise.
23897 [non-C99-based standards] (log2l): Likewise.
23898 [non-C99-based standards] (modfl): Allow.
23899 [non-C99-based standards] (erfl): Do not allow.
23900 [non-C99-based standards] (erfcl): Likewise.
23901 [non-C99-based standards] (gammal): Likewise.
23902 [non-C99-based standards] (hypotl): Likewise.
23903 [non-C99-based standards] (j0l): Likewise.
23904 [non-C99-based standards] (j1l): Likewise.
23905 [non-C99-based standards] (jnl): Likewise.
23906 [non-C99-based standards] (lgammal): Likewise.
23907 [non-C99-based standards] (tgammal): Likewise.
23908 [non-C99-based standards] (y0l): Likewise.
23909 [non-C99-based standards] (y1l): Likewise.
23910 [non-C99-based standards] (ynl): Likewise.
23911 [non-C99-based standards] (isnanl): Likewise.
23912 [non-C99-based standards] (acoshl): Likewise.
23913 [non-C99-based standards] (asinhl): Likewise.
23914 [non-C99-based standards] (atanhl): Likewise.
23915 [non-C99-based standards] (cbrtl): Likewise.
23916 [non-C99-based standards] (expm1l): Likewise.
23917 [non-C99-based standards] (ilogbl): Likewise.
23918 [non-C99-based standards] (log1pl): Likewise.
23919 [non-C99-based standards] (logbl): Likewise.
23920 [non-C99-based standards] (nextafterl): Likewise.
23921 [non-C99-based standards] (remainderl): Likewise.
23922 [non-C99-based standards] (rintl): Likewise.
23923 [non-C99-based standards] (scalbl): Likewise.
23924 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23925 [non-C99-based standards] (FP_*): Do not allow.
23926 [C99-based standards] (FP_*): Change to
23927 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
23928 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23930 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
23931 (SIG_ERR): Likewise.
23932 [X/Open-based standards] (SIG_HOLD): Likewise.
23933 (SIG_IGN): Likewise.
23934 (SIGABRT): Use macro-int-constant. Specify type. Require
23936 (SIGFPE): Likewise.
23937 (SIGILL): Likewise.
23938 (SIGINT): Likewise.
23939 (SIGSEGV): Likewise.
23940 (SIGTER): Likewise.
23941 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
23942 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
23943 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
23944 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
23945 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
23946 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
23947 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
23948 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
23949 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
23950 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
23951 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
23952 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
23953 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
23954 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
23955 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
23956 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
23957 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
23958 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
23959 [X/Open-based standards] (SIGTRAP): Likewise.
23960 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
23961 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
23962 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
23963 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
23964 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23967 2012-05-08 Ian Wienand <ianw@vmware.com>
23970 * time/tzset.c (__tzset_parse_tz): Update default rules for
23971 daylight time changes in the Energy Policy Act of 2005.
23973 2012-05-09 Andreas Jaeger <aj@suse.de>
23976 * elf/ldconfig.c (parse_conf): Change string to make clear that
23977 ldconfig only issued a warning if ld.so.conf does not exist.
23979 2012-05-08 David S. Miller <davem@davemloft.net>
23981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
23982 movxtod instead of popping the value on the stack.
23984 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23986 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
23988 * config.h.in: Add HAVE_ARM_PCS_VFP.
23990 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
23993 * include/features.h: Warn if user requests __FORTIFY_SOURCE
23994 checking but the checks are disabled for any reason.
23996 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
23998 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
23999 and ELF64_R_TYPE with ELFW(R_TYPE).
24001 2012-05-08 Joseph Myers <joseph@codesourcery.com>
24003 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
24004 (ulimit): Likewise.
24006 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
24007 (settimeofday): Likewise.
24009 2012-05-08 Mike Frysinger <vapier@gentoo.org>
24011 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
24012 a struct th_u2 inside the union, and move tu_block/tu_code into
24013 a new th_u3 union of tu_block/tu_code inside of that. Move
24014 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
24015 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
24016 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
24017 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
24018 (th_stuff): Change to th_u1.tu_stuff.
24020 (th_msg): Change to th_u1.th_u2.tu_data.
24022 2012-05-07 David S. Miller <davem@davemloft.net>
24024 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24027 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
24028 (SETUP_PIC_REG): Use it.
24029 (SETUP_PIC_REG_LEAF): Use it.
24031 2012-05-07 Joseph Myers <joseph@codesourcery.com>
24035 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24037 (EXPL_FINITE): Likewise.
24038 (FLDLOG): Likewise.
24039 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24040 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24042 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24044 (EXPL_FINITE): Likewise.
24045 (FLDLOG): Likewise.
24046 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24047 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24049 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
24050 test of -max_value argument for long double.
24051 * sysdeps/i386/fpu/libm-test-ulps: Update.
24052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24054 2012-05-06 David S. Miller <davem@davemloft.net>
24056 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
24057 quad soft-float symbols whose references which are compiler
24059 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24061 2012-05-06 Joseph Myers <joseph@codesourcery.com>
24065 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24067 (EXPL_FINITE): Likewise.
24068 (FLDLOG): Likewise.
24071 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
24072 Adjust comments for base varying.
24073 (__expl_finite): Change alias to EXPL_FINITE.
24074 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
24076 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
24077 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
24078 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24079 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
24080 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24082 (EXPL_FINITE): Likewise.
24083 (FLDLOG): Likewise.
24086 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
24087 Adjust comments for base varying.
24088 (__expl_finite): Change alias to EXPL_FINITE.
24089 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
24091 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24094 * math/libm-test.inc (check_float_internal): Correct ulp
24095 calculation for subnormal expected results.
24097 2012-05-06 Andreas Jaeger <aj@suse.de>
24099 * Makeconfig (+math-flags): New, set to -frounding-math.
24100 (+cflags): Add +math-flags so that all of glibc gets compiled with
24103 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
24105 2012-05-05 Joseph Myers <joseph@codesourcery.com>
24107 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
24113 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
24114 (__ieee754_expl): Allow for and saturate large arguments.
24115 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
24116 (u_threshold): Likewise.
24117 (__exp): Call __ieee754_exp before checking for overflow and
24119 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
24120 (u_threshold): Likewise.
24121 (__expf): Call __ieee754_expf before checking for overflow and
24123 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
24124 (u_threshold): Likewise.
24125 (__expl): Call __ieee754_expl before checking for overflow and
24127 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
24128 (__ieee754_expl): Allow for and saturate large arguments.
24129 * math/libm-test.inc (exp_test): Add another test. Do not allow
24130 missing overflow exception on overflow.
24131 (expm1_test): Do not allow missing overflow exception on overflow.
24133 * sysdeps/i386/fpu/e_expl.c: Move to ...
24134 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
24135 rather than using inline asm.
24136 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
24137 * sysdeps/x86_64/fpu/e_expl.S: Copy from
24138 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
24140 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
24143 (signal): Likewise.
24147 2012-05-04 Joseph Myers <joseph@codesourcery.com>
24149 * sysdeps/unix/syscalls.list (adjtime): Add entry from
24150 sysdeps/unix/common/syscalls.list.
24151 (fchmod): Likewise.
24152 (fchown): Likewise.
24153 (ftruncate): Likewise.
24154 (getrusage): Likewise.
24155 (gettimeofday): Likewise.
24156 (setpgid): Likewise.
24157 (setregid): Likewise.
24158 (setreuid): Likewise.
24159 (sigaction): Likewise.
24160 (truncate): Likewise.
24161 (vhangup): Likewise.
24162 * sysdeps/unix/common/syscalls.list: Remove file.
24163 * sysdeps/unix/bsd/Implies: Don't include unix/common.
24164 * sysdeps/unix/sysv/linux/Implies: Likewise.
24166 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
24168 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
24169 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
24170 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
24172 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
24174 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
24176 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
24177 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
24179 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
24180 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
24182 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
24183 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
24185 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
24186 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
24188 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
24189 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
24191 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
24192 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
24194 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
24196 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
24198 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
24200 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
24202 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
24203 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
24205 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
24207 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
24209 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
24211 2012-05-04 Joseph Myers <joseph@codesourcery.com>
24213 * sysdeps/unix/common/bits/dirent.h: Remove file.
24214 * sysdeps/unix/common/bits/fcntl.h: Likewise.
24216 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
24217 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
24218 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
24219 * sysdeps/unix/bsd/isatty.c: Likewise.
24220 * sysdeps/unix/bsd/tcdrain.c: Likewise.
24221 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
24222 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
24224 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24227 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
24228 long double comparison inaccuracies.
24229 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
24230 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24232 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
24234 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
24235 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
24237 2012-05-04 Joseph Myers <joseph@codesourcery.com>
24240 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
24241 nonzero digits before rounding a hex value.
24242 * stdlib/tst-strtod.c (tests): Add another test.
24244 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24246 * sysdeps/s390/fpu/libm-test-ulps: Update.
24248 2012-05-03 Andreas Jaeger <aj@suse.de>
24250 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
24251 does not get optimized out.
24252 (malloc_opt_barrier): New.
24254 2012-05-03 Andreas Jaeger <aj@suse.de>
24255 Roland McGrath <roland@hack.frob.com>
24257 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
24258 intermediate file deletion.
24259 (generated): Add .symlist files.
24261 2012-05-03 Joseph Myers <joseph@codesourcery.com>
24264 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
24265 Redirect under this condition.
24266 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
24267 [__USE_GNU] (__dprintf_chk): Not under this condition.
24268 [__USE_GNU] (__vdprintf_chk): Likewise.
24269 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
24270 under this condition.
24271 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
24272 [__USE_XOPEN2K8] (dprintf): Define under this condition.
24273 [__USE_XOPEN2K8] (vdprintf): Likewise.
24274 [__USE_GNU] (__dprintf_chk): Not under this condition.
24275 [__USE_GNU] (__vdprintf_chk): Likewise.
24276 [__USE_GNU] (dprintf): Likewise.
24277 [__USE_GNU] (vdprintf): Likewise.
24279 2012-05-03 Roland McGrath <roland@hack.frob.com>
24281 * elf/Makefile (common-generated): Set this instead of generated for
24282 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
24283 $(all-built-dso)-derived lists.
24285 2012-05-03 Andreas Jaeger <aj@suse.de>
24287 * sysdeps/i386/fpu/libm-test-ulps: Update.
24290 * FAQ.in: Likewise.
24291 * scripts/gen-FAQ.pl: Likewise.
24292 * manual/install.texi (Installation): Point to online location of
24294 * Makefile (files-for-dist): Remove FAQ.
24297 2012-05-02 Allan McRae <allan@archlinux.org>
24299 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
24300 (LDFLAGS-reldepmod5.so): Likewise.
24301 (LDFLAGS-reldep6mod1.so): Likewise.
24302 (LDFLAGS-reldep6mod4.so): Likewise.
24303 (LDFLAGS-reldep8mod3.so): Likewise.
24304 (LDFLAGS-unload4mod1.so): Likewise.
24305 (LDFLAGS-unload4mod2.so): Likewise.
24306 (LDFLAGS-tst-initorder): Likewise.
24307 (LDFLAGS-tst-initordera2.so): Likewise.
24308 (LDFLAGS-tst-initordera3.so): Likewise.
24309 (LDFLAGS-tst-initordera4.so): Likewise.
24310 (LDFLAGS-tst-initorderb2.so): Likewise.
24311 (LDFLAGS-noload): Likewise.
24312 (LDFLAGS-next): Likewise.
24313 (LDFLAGS-order2mod1.so): Likewise.
24314 (LDFLAGS-order2mod2.so): Likewise.
24315 (LDFLAGS-tst-initorder2): Likewise.
24316 (LDFLAGS-tst-initorder2a.so): Likewise.
24317 (LDFLAGS-tst-initorder2b.so): Likewise.
24318 (LDFLAGS-tst-initorder2c.so): Likewise.
24319 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
24321 2012-05-02 David S. Miller <davem@davemloft.net>
24323 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24325 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
24328 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
24330 2012-05-02 Andreas Jaeger <aj@suse.de>
24332 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
24333 since we manipulate rounding mode.
24334 (CPPFLAGS-test-idouble.c): Likewise.
24335 (CPPFLAGS-test-ifloat.c): Likewise.
24336 (CFLAGS-test-ldouble.c): Likewise.
24337 (CFLAGS-test-double.c): Likewise.
24338 (CFLAGS-test-float.c): Likewise.
24339 (CFLAGS-test-misc.c): Likewise.
24340 (CFLAGS-test-test-fenv.c): Likewise.
24342 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24346 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
24347 comparisons to determine direction to adjust input.
24349 2012-05-01 Roland McGrath <roland@hack.frob.com>
24351 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
24352 output to the target.
24354 * scripts/localplt.awk: New file.
24355 * elf/Makefile ($(objpfx)check-localplt): Target removed.
24356 (check-localplt-CFLAGS): Variable removed.
24357 ($(all-built-dso:=.jmprel)): New static pattern rule.
24358 (generated): Add those targets.
24359 (localplt-built-dso): New variable.
24360 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
24362 * elf/check-localplt.c: File removed.
24364 * scripts/check-execstack.awk: New file.
24365 * elf/Makefile ($(objpfx)check-execstack): Target removed.
24366 (check-execstack-CFLAGS): Variable removed.
24367 ($(objpfx)check-execstack.h): Target removed.
24368 ($(objpfx)execstack-default): New target.
24369 (generated): Add that instead of check-execstack.h.
24370 ($(all-built-dso:=.phdr)): New static pattern rule.
24371 (generated): Add those targets.
24372 * elf/check-execstack.c: File removed.
24374 * scripts/check-textrel.awk: New file.
24375 * elf/Makefile ($(objpfx)check-textrel): Target removed.
24376 (check-textrel-CFLAGS): Variable removed.
24377 (all-built-dso): Use := to define.o
24378 ($(all-built-dso:=.dyn)): New static pattern rule.
24379 (generated): Add those targets.
24380 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
24381 * config.make.in (READELF): New substituted variable.
24382 * elf/check-textrel.c: File removed.
24384 2012-05-01 Joseph Myers <joseph@codesourcery.com>
24386 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24388 * conform/data/ctype.h-data [C99-based standards] (isblank):
24390 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
24391 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
24392 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24393 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
24394 Specify type. Require positive value.
24395 (EILSEQ): Likewise.
24396 (ERANGE): Likewise.
24397 [ISO || POSIX] (EILSEQ): Do not expect.
24398 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
24399 Specify type. Require positive value.
24400 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
24401 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
24402 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
24403 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
24404 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
24405 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
24406 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
24407 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
24408 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
24409 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
24410 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
24411 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
24412 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
24413 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
24414 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
24415 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
24416 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
24417 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
24418 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
24419 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
24420 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
24421 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
24422 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
24423 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
24424 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
24425 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
24426 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
24427 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
24428 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
24429 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
24430 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
24431 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
24432 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
24433 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
24434 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
24435 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
24436 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
24437 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
24438 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
24439 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
24440 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
24441 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
24442 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
24443 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
24444 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
24445 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
24446 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
24447 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
24448 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
24449 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
24450 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
24451 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
24452 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
24453 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
24454 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
24455 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
24456 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
24457 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
24458 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
24459 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
24460 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
24461 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
24462 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
24463 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
24464 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
24465 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
24466 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
24467 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
24468 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
24469 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
24470 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
24471 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
24472 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
24473 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
24474 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
24475 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
24476 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
24478 (FLT_ROUNDS): Expect as macro, not constant.
24479 (FLT_MANT_DIG): Use macro-int-constant.
24480 (DBL_MANT_DIG): Likewise.
24481 (LDBL_MANT_DIG): Likewise.
24482 (FLT_DIG): Likewise.
24483 (DBL_DIG): Likewise.
24484 (LDBL_DIG): Likewise.
24485 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
24486 (DBL_MIN_EXP): Likewise.
24487 (LDBL_MIN_EXP): Likewise.
24488 (FLT_MAX_EXP): Use macro-int-constant.
24489 (DBL_MAX_EXP): Likewise.
24490 (LDBL_MAX_EXP): Likewise.
24491 (FLT_MAX_10_EXP): Likewise.
24492 (DBL_MAX_10_EXP): Likewise.
24493 (LDBL_MAX_10_EXP): Likewise.
24494 (FLT_MAX): Use macro-constant.
24495 (DBL_MAX): Likewise.
24496 (LDBL_MAX): Likewise.
24497 (FLT_EPSILON): Use macro-constant. Give upper bound.
24498 (DBL_EPSILON): Likewise.
24499 (LDBL_EPSILON): Likewise.
24500 (FLT_MIN): Likewise.
24501 (DBL_MIN): Likewise.
24502 (LDBL_MIN): Likewise.
24503 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
24504 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
24505 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
24506 [ISO11] (FLT_HAS_SUBNORM): Likewise.
24507 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
24508 [ISO11] (DBL_DECIMAL_DIG): Likewise.
24509 [ISO11] (FLT_DECIMAL_DIG): Likewise.
24510 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
24511 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
24512 [ISO11] (FLT_TRUE_MIN): Likewise.
24513 [ISO11] (LDBL_TRUE_MIN): Likewise.
24514 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24515 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
24516 (SCHAR_MIN): Use macro-int-constant. Specify type.
24517 (SCHAR_MAX): Likewise.
24518 (UCHAR_MAX): Likewise.
24519 (CHAR_MIN): Likewise.
24520 (CHAR_MAX): Likewise.
24521 (MB_LEN_MAX): Use macro-int-constant.
24522 (SHRT_MIN): Use macro-int-constant. Specify type.
24523 (SHRT_MAX): Likewise.
24524 (USHRT_MAX): Likewise.
24525 (INT_MAX): Likewise.
24526 (INT_MIN): Use macro-int-constant. Specify type. Make upper
24528 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
24530 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
24532 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
24533 bound negative. Suffix upper bound with "L".
24534 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
24536 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
24538 [C99-based standards] (LLONG_MAX): Likewise.
24539 [C99-based standards] (ULLONG_MAX): Likewise.
24540 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
24542 [ISO11] (max_align_t): Require type.
24543 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24545 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
24546 from $CFLAGS, without defining away __attribute__ calls.
24547 (checknamespace): Use $CFLAGS_namespace.
24549 * conform/conformtest.pl (@keywords): Only include C99 keywords
24550 for standards based on C99 or C11.
24552 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
24554 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
24557 * conform/conformtest.pl: Handle "macro-int-constant" and test for
24558 usability of symbols in #if.
24560 * conform/conformtest.pl: If macro or constant types start
24561 "promoted:", expect the symbol to be of the following type
24562 promoted by the integer promotions.
24564 * conform/conformtest.pl: Parse all "constant" and "macro" lines
24565 in one place. Also handle "macro-constant".
24567 * conform/conformtest.pl: Only accept expected macro values with
24568 "==". Parse all "macro" lines in one place.
24569 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
24571 * conform/conformtest.pl: Handle braced types on "constant" lines
24572 instead of handling "typed-constant".
24573 * conform/data/signal.h-data: Use "constant" instead of
24576 * conform/conformtest.pl: Handle "optional-" at start of lines in
24577 one place rather than duplicating several cases. Handle each
24578 format of "macro" line with initial "optional-".
24580 * conform/conformtest.pl: Only accept expected constant or
24581 optional-constant values with "==". Parse all "constant" lines in
24582 one place. Parse all "optional-constant" lines in one place.
24583 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
24584 * conform/data/fmtmsg.h-data: Likewise.
24585 * conform/data/netinet/in.h-data: Likewise.
24586 * conform/data/tar.h-data: Likewise.
24587 * conform/data/limits.h-data: Use "==" form on "constant" and
24588 "optional-constant" lines.
24590 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
24591 Use -std=c99 for XOPEN2K.
24592 (@knownproblems): Remove.
24593 (newtoken): Don't check %isknown.
24595 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
24596 Do not expect macro.
24597 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
24598 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
24599 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
24600 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
24601 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
24602 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
24603 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
24604 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
24605 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
24606 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
24607 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
24608 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
24609 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
24610 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
24611 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
24612 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
24613 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
24614 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
24615 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
24616 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
24617 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
24618 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
24619 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
24620 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
24621 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
24622 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
24623 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
24624 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
24625 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
24626 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
24627 [XPG3] (acosh): Likewise.
24628 [XPG3] (asinh): Likewise.
24629 [XPG3] (atanh): Likewise.
24630 [XPG3] (cbrt): Likewise.
24631 [XPG3] (expm1): Likewise.
24632 [XPG3] (ilogb): Likewise.
24633 [XPG3] (log1p): Likewise.
24634 [XPG3] (logb): Likewise.
24635 [XPG3] (nextafter): Likewise.
24636 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
24637 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
24638 [XPG3] (remainder): Likewise.
24639 [XPG3] (rint): Likewise.
24640 [XPG3 || XPG4 || UNIX98] (round): Likewise.
24641 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
24642 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
24643 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
24644 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
24645 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
24646 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
24647 [UNIX98 || XOPEN2K] (scalb): Expect.
24648 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
24649 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
24650 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
24651 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
24652 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
24653 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
24654 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
24655 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
24656 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
24657 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
24658 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
24659 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
24660 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
24661 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
24662 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
24663 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
24664 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
24665 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
24666 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
24667 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
24668 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
24669 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
24670 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
24671 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
24672 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
24673 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
24674 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
24675 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
24676 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
24677 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
24678 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
24679 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
24680 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
24681 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
24682 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
24683 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
24684 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
24685 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
24686 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
24687 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
24688 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
24689 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
24690 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
24691 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
24692 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
24693 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
24694 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
24695 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
24696 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
24697 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
24698 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
24699 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
24700 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
24701 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
24702 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
24703 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
24704 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
24705 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
24706 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
24707 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
24708 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
24709 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
24710 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
24711 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
24712 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
24713 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
24714 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
24715 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
24716 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
24717 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
24718 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
24719 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
24720 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
24721 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
24722 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
24723 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
24724 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
24725 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
24726 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
24727 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
24728 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
24729 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
24730 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
24731 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
24732 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
24733 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
24734 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
24735 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
24736 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
24737 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
24738 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
24739 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
24740 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
24741 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
24742 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
24743 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
24744 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
24745 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
24746 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
24747 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
24748 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
24749 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
24750 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
24751 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
24752 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
24753 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
24754 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
24755 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
24756 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
24757 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
24758 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
24759 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
24760 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
24761 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
24762 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
24763 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
24764 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
24765 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
24766 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
24767 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
24768 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
24769 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
24770 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
24771 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
24772 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
24773 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
24774 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
24775 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
24776 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
24777 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
24778 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
24779 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
24780 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
24781 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
24782 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
24783 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
24784 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
24786 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
24787 _XOPEN_SOURCE_EXTENDED for XPG4.
24789 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
24791 * Makeconfig (localtime): Remove variable.
24792 (inst_localtime-file): Likewise.
24794 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
24796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
24798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
24802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
24804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
24806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
24808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
24812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24815 2012-05-01 Joseph Myers <joseph@codesourcery.com>
24819 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
24820 comparisons to determine direction to adjust input.
24821 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
24822 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
24823 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
24825 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
24827 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24829 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
24830 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
24832 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
24834 * math/libm-test.inc (nexttoward_test): Add more tests.
24836 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
24839 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
24840 in version GLIBC_2.1, not GLIBC_2.0.
24841 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
24844 2012-04-30 Joseph Myers <joseph@codesourcery.com>
24847 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
24849 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
24850 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
24851 * math/libm-test.inc (acos_test): Add more tests.
24852 (asin_test): Likewise.
24853 * sysdeps/i386/fpu/libm-test-ulps: Update.
24854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24857 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
24859 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
24860 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
24861 * math/libm-test.inc (acos_test_tonearest): New function.
24862 (acos_test_towardzero): Likewise.
24863 (acos_test_downward): Likewise.
24864 (acos_test_upward): Likewise.
24865 (asin_test_tonearest): Likewise.
24866 (asin_test_towardzero): Likewise.
24867 (asin_test_downward): Likewise.
24868 (asin_test_upward): Likewise.
24869 (main): Call the new functions.
24870 * sysdeps/i386/fpu/libm-test-ulps: Update.
24871 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24875 * math/e_exp10.c: Include <float.h>.
24876 (__ieee754_exp10): Handle underflow here rather than multiplying
24877 large negative argument by M_LN10.
24878 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
24880 * math/e_exp10l.c: Include <float.h>.
24881 (__ieee754_exp10l): Handle underflow here rather than multiplying
24882 large negative argument by M_LN10l.
24883 * math/libm-test.inc (exp10_test): Add another test. Do not allow
24884 spurious overflow exception on underflow.
24886 2012-04-29 Marek Polacek <polacek@redhat.com>
24888 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
24889 (__fortify_function): New macro.
24890 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
24891 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
24892 __extern_always_inline.
24893 * libio/bits/stdio2.h: Likewise.
24894 * libio/bits/stdio.h: Likewise.
24895 * string/string.h: Likewise.
24896 * string/bits/string3.h: Likewise.
24897 * include/stdio.h: Likewise.
24898 * stdlib/bits/stdlib.h: Likewise.
24899 * stdlib/stdlib.h: Likewise.
24900 * rt/bits/mqueue2.h: Likewise.
24901 * rt/mqueue.h: Likewise.
24902 * posix/bits/unistd.h: Likewise.
24903 * posix/unistd.h: Likewise.
24904 * io/bits/poll2.h: Likewise.
24905 * io/bits/fcntl2.h: Likewise.
24906 * io/fcntl.h: Likewise.
24907 * io/sys/poll.h: Likewise.
24908 * misc/bits/syslog.h: Likewise.
24909 * misc/bits/syslog-ldbl.h: Likewise.
24910 * misc/sys/syslog.h: Likewise.
24911 * socket/bits/socket2.h: Likewise.
24912 * socket/sys/socket.h: Likewise.
24913 * debug/tst-chk1.c: Likewise.
24914 * wcsmbs/bits/wchar2.h: Likewise.
24915 * wcsmbs/bits/wchar-ldbl.h: Likewise.
24916 * wcsmbs/wchar.h: Likewise.
24918 2012-04-29 Andreas Jaeger <aj@suse.de>
24920 * Makerules (tests): Remove enable-check-abi protection.
24921 (check-abi-warn): Remove.
24922 (check-abi-%): Remove check-abi-warn usage.
24924 * configure.in: Remove check-abi configure option.
24925 * configure: Regenerated.
24926 * config.make.in (enable-check-abi): Remove.
24928 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
24931 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
24932 double functions to double *_finite functions.
24935 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
24936 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
24938 * stdio-common/Makefile (tests): Add tst-sprintf3.
24939 * stdio-common/tst-sprintf3.c: New file.
24941 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
24942 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
24944 2012-04-28 Joseph Myers <joseph@codesourcery.com>
24946 * conform/conformtest.pl: Remove duplicate typed-constant
24949 2012-04-28 David S. Miller <davem@davemloft.net>
24951 * Makerules (%.abilist): Add vpath on sysdep_dirs.
24952 (check-abi-%): Remove AWK script prerequisite and explicit
24954 (check-abi): Rewrite to just diff the symlist with the abilist.
24955 (config-tls, config-abi-config): Delete, no longer used.
24956 (update-abi-%): Remove AWK script and explicit abilist directory.
24957 (update-abi): Rewrite to simply compare and conditionally copy the
24958 symlist and the sysdep abilist file. Remove update-abi-config
24960 * abilist/ld.abilist: Remove.
24961 * abilist/libBrokenLocale.abilist: Remove.
24962 * abilist/libanl.abilist: Remove.
24963 * abilist/libcrypt.abilist: Remove.
24964 * abilist/libdl.abilist: Remove.
24965 * abilist/librt.abilist: Remove.
24966 * abilist/libthread_db.abilist: Remove.
24967 * abilist/libutil.abilist: Remove.
24968 * scripts/extract-abilist.awk: Remove.
24969 * scripts/merge-abilist.awk: Remove.
24970 * sysdeps/generic/libcidn.abilist: New file.
24971 * sysdeps/generic/libnss_compat.abilist: New file.
24972 * sysdeps/generic/libnss_db.abilist: New file.
24973 * sysdeps/generic/libnss_dns.abilist: New file.
24974 * sysdeps/generic/libnss_files.abilist: New file.
24975 * sysdeps/generic/libnss_hesiod.abilist: New file.
24976 * sysdeps/generic/libnss_nis.abilist: New file.
24977 * sysdeps/generic/libnss_nisplus.abilist: New file.
24978 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
24979 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
24980 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
24982 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
24983 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
24984 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
24985 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
24986 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
24987 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
24988 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
24989 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
24990 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
24992 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
24993 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
24994 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
24995 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
24997 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
24998 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
24999 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
25000 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
25001 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
25002 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
25004 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
25005 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
25006 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
25008 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
25009 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
25011 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
25013 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
25015 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
25017 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
25019 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
25021 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
25023 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
25025 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
25027 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
25029 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
25031 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
25033 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
25035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
25037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
25039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
25041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
25043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
25045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
25047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
25049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
25051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
25055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
25057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
25059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
25061 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
25062 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
25064 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
25066 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
25068 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
25070 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
25072 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
25074 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
25076 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25078 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
25080 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
25082 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
25084 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
25086 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
25087 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
25089 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
25091 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
25093 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
25095 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
25097 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
25099 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
25101 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25103 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
25105 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
25107 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
25109 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
25111 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
25112 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
25113 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
25115 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
25116 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
25117 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
25118 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
25119 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
25120 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
25121 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
25122 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
25123 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
25124 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
25125 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
25126 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
25128 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
25130 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
25132 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
25134 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
25136 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
25138 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
25140 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25142 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
25144 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
25146 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
25148 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
25150 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
25151 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
25153 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
25155 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
25157 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
25159 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
25161 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
25163 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
25165 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25167 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
25169 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
25171 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
25173 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
25176 2012-04-28 Joseph Myers <joseph@codesourcery.com>
25178 * conform/conformtest.pl: Fix typo in handling typed-constant from
25181 2012-04-27 Joseph Myers <joseph@codesourcery.com>
25183 * README: Cut down references to pre-2.6 Linux kernels and
25184 Linuxthreads. Update lists of configurations in libc and ports
25185 and sort alphabetically. Say "or newer" with Linux kernel version
25188 * config.h.in [IS_IN_build]: Allow compiling without optimization.
25190 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25193 * math/libm-test.inc (logb_test_downward): New test to expose
25194 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
25197 2012-04-27 Joseph Myers <joseph@codesourcery.com>
25200 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
25202 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
25203 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
25205 2012-04-26 Joseph Myers <joseph@codesourcery.com>
25207 * sysdeps/unix/i386/brk.S: Remove file.
25208 * sysdeps/unix/i386/dl-brk.S: Likewise.
25209 * sysdeps/unix/i386/pipe.S: Likewise.
25210 * sysdeps/unix/i386/sigreturn.S: Likewise.
25211 * sysdeps/unix/i386/syscall.S: Likewise.
25212 * sysdeps/unix/i386/vfork.S: Likewise.
25213 * sysdeps/unix/i386/wait.S: Likewise.
25215 * sysdeps/unix/common/tcsendbrk.c: Move to ...
25216 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
25218 * configure.in (arm*-none*): Do not allow without
25219 --enable-hacker-mode.
25220 (netbsd*): Remove case setting base_os.
25221 (386bsd*): Likewise.
25222 (freebsd*): Likewise.
25225 (sunos*): Likewise.
25226 (ultrix*): Likewise.
25227 (newsos*): Likewise.
25228 (dynix*): Likewise.
25234 (minix*): Likewise.
25235 (irix4*): Likewise.
25236 (irix6*): Likewise.
25237 (solaris[2-9]*): Likewise.
25239 * configure: Regenerated.
25241 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25244 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
25245 overflow or cancellation in calculating denominator.
25246 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
25247 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
25248 down expression to avoid unexpected rounding in newer GCCs.
25249 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
25251 2012-04-26 David S. Miller <davem@davemloft.net>
25253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
25254 long-double compat symbols.
25255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
25257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
25259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
25260 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
25261 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
25262 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
25263 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
25264 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
25265 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
25266 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
25267 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
25269 2012-04-25 David S. Miller <davem@davemloft.net>
25271 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
25272 HWCAP_* values only after the memory barriers have been defined.
25273 (atomic_full_barrier): Define.
25274 (atomic_read_barrier): Define.
25275 (atomic_write_barrier): Define.
25277 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25279 * shlib-versions: Add libgcc_s version information.
25280 * sysdeps/generic/libgcc_s.h: Remove.
25281 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
25283 * sysdeps/gnu/unwind-resume.c: Likewise.
25284 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
25286 2012-04-25 David S. Miller <davem@davemloft.net>
25288 * sysdeps/unix/sparc/brk.S: Delete.
25289 * sysdeps/unix/sparc/dl-brk.S: Delete.
25290 * sysdeps/unix/sparc/pipe.S: Delete.
25291 * sysdeps/unix/sparc/sysdep.S: Delete.
25292 * sysdeps/unix/sparc/sysdep.h: Delete.
25293 * sysdeps/unix/sparc/vfork.S: Delete.
25294 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
25295 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
25296 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
25297 ret_ERRVAL, r0, r1, MOVE): Define.
25298 (JUMPTARGET): Remove.
25299 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
25300 sysdeps/unix/sparc/sysdep.h
25301 (ENTRY, END): Remove.
25302 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25304 2012-04-25 Joseph Myers <joseph@codesourcery.com>
25306 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
25307 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
25310 * timezone/README: Update upstream location and email address for
25312 * timezone/zdump.c: Update from tzcode 2012b.
25313 * timezone/zic.c: Likewise.
25315 * configure.in (libc_cv_as_needed): Remove test.
25316 * configure: Regenerated.
25317 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
25318 conditional definition.
25319 [$(have-as-needed) != yes] (no-as-needed): Likewise.
25320 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
25321 * config.make.in (have-as-needed): Remove variable.
25323 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25324 Paul Pluzhnikov <ppluzhnikov@google.com>
25326 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
25329 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
25331 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
25332 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
25333 * sysdeps/sh/strlen.S: Likewise.
25335 2012-04-24 Joseph Myers <joseph@codesourcery.com>
25337 * sysdeps/unix/fork.S: Remove file.
25338 * sysdeps/unix/i386/fork.S: Likewise.
25339 * sysdeps/unix/sparc/fork.S: Likewise.
25341 * sysdeps/unix/system.c: Remove file.
25342 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
25344 * sysdeps/unix/getegid.S: Remove file.
25345 * sysdeps/unix/geteuid.S: Likewise.
25347 2012-04-24 Roland McGrath <roland@hack.frob.com>
25349 * scripts/check-localplt.awk: New file.
25350 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
25352 * scripts/data/localplt-generic.data: Add a comment.
25354 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
25355 NODE when __dir_mkfile failed.
25356 * sysdeps/mach/hurd/symlinkat.c: Likewise.
25357 Reported by Ludovic Courtès <ludo@gnu.org>.
25359 2012-04-24 Andreas Jaeger <aj@suse.de>
25361 * Makerules (common-clean): Also remove gen-as-const-headers
25364 2012-04-24 Joseph Myers <joseph@codesourcery.com>
25366 * Makerules (native-compile): Do not change working directory for
25367 build. Use $(OUTPUT_OPTION) in command.
25368 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
25370 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25373 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
25374 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
25375 * math/libm-test.inc (floor_test): Add more tests.
25376 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
25378 2012-04-24 Joseph Myers <joseph@codesourcery.com>
25380 * sysdeps/unix/getdents.c: Remove file.
25381 * sysdeps/unix/sysv/getdents.c: Likewise.
25382 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
25384 * sysdeps/unix/syscalls.list (madvise): Add syscall from
25385 sysdeps/unix/mman/syscalls.list.
25387 (mprotect): Likewise.
25389 (munmap): Likewise.
25390 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
25391 * sysdeps/unix/mman/syscalls.list: Remove.
25392 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
25394 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
25395 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
25396 * configure: Regenerated.
25397 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
25398 $(libgcc_s_suffix).
25399 * config.make.in (libgcc_s_suffix): Remove variable.
25401 2012-04-23 Joseph Myers <joseph@codesourcery.com>
25403 * sysdeps/unix/sysv/gethostname.c: Move to ...
25404 * sysdeps/posix/gethostname.c: ... here.
25406 * sysdeps/unix/execve.S: Remove file.
25408 * sysdeps/unix/_exit.S: Remove file.
25410 2012-04-23 Andreas Jaeger <aj@suse.de>
25413 * manual/Makefile: Remove make dist support, there's no
25414 need for a stand-alone documentation tar ball.
25415 (TEXI2DVI): Define always, it's not in Makeconfig.
25418 (edition): Removed.
25419 (glibc-doc-$(edition).tar): Removed
25423 (ETAGS): Remove, it's in Makeconfig.
25424 (move-if-change): Remove, it's in Makeconfig.
25426 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
25429 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
25430 (strtod, strtof, strtold, strtol, strtoul, strtoq)
25431 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
25432 (strtod_l, strtof_l, strtold_l): Remove __wur.
25433 It is not necessarily an error to ignore strtol's return value.
25434 One can reliably look at the stored endptr to decide whether
25435 the number had valid syntax.
25437 2012-04-21 Andreas Jaeger <aj@suse.de>
25440 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
25442 2012-04-21 Joseph Myers <joseph@codesourcery.com>
25444 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
25445 * sysdeps/unix/sysv/Versions: Remove file.
25447 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
25450 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25452 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
25455 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
25456 version from __vm86.
25458 2012-04-20 Joseph Myers <joseph@codesourcery.com>
25460 * sysdeps/unix/common/lxstat.c: Remove file.
25461 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
25463 * sysdeps/unix/sysv/Makefile: Remove file.
25465 * sysdeps/unix/sysv/direct.h: Remove file.
25467 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
25468 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
25469 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
25470 * sysdeps/unix/sysv/bits/signum.h: Likewise.
25471 * sysdeps/unix/sysv/bits/stat.h: Likewise.
25472 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
25473 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
25475 * sysdeps/unix/sysv/setrlimit.c: Remove file.
25477 * sysdeps/unix/xmknod.c: Remove file.
25478 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
25480 * sysdeps/unix/sysv/settimeofday.c: Remove file.
25482 * sysdeps/unix/sysv/i386/time.S: Remove file.
25484 * sysdeps/unix/fxstat.c: Remove file.
25485 * sysdeps/unix/xstat.c: Likewise.
25486 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
25488 * sysdeps/unix/sysv/sigaction.c: Remove file.
25490 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
25491 (sysdep_headers): Remove variable.
25492 [termio.h not in sysdep_headers] (generated): Likewise.
25493 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
25494 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
25495 * sysdeps/unix/sysv/tcdrain.c: Likewise.
25496 * sysdeps/unix/sysv/tcflow.c: Likewise.
25497 * sysdeps/unix/sysv/tcflush.c: Likewise.
25498 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
25499 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
25500 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
25501 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
25502 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
25504 * sysdeps/unix/siglist.c: Remove file.
25506 * sysdeps/unix/getppid.S: Remove file.
25508 * sysdeps/unix/mkdir.c: Remove file.
25509 * sysdeps/unix/rmdir.c: Likewise.
25511 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
25513 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
25515 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
25516 errlist-compat value.
25518 2012-04-18 David S. Miller <davem@davemloft.net>
25520 * sysdeps/generic/memcopy.h (reg_char): Delete.
25521 * debug/strcat_chk.c: Use char, not reg_char.
25522 * debug/strcpy_chk.c: Likewise.
25523 * debug/strncat_chk.c: Likewise.
25524 * debug/strncpy_chk.c: Likewise.
25525 * string/memchr.c: Likewise.
25526 * string/memrchr.c: Likewise.
25527 * string/rawmemchr.c: Likewise.
25528 * string/strcat.c: Likewise.
25529 * string/strchr.c: Likewise.
25530 * string/strchrnul.c: Likewise.
25531 * string/strcmp.c: Likewise.
25532 * string/strcpy.c: Likewise.
25533 * string/strncat.c: Likewise.
25534 * string/strncmp.c: Likewise.
25535 * string/strncpy.c: Likewise.
25537 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
25539 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
25540 __builtin_memcopy is called when src and dest ranges are known to not
25543 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
25545 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
25546 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
25547 fwd_align_merge macro call.
25548 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
25549 bwd_align_merge macro call.
25550 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25552 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
25554 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
25555 bwd_align_merge macros.
25556 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
25557 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
25558 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25560 2012-04-18 David S. Miller <davem@davemloft.net>
25562 * sysdeps/sparc/sparc64/memcopy.h: Delete.
25564 2012-04-18 Andreas Jaeger <aj@suse.de>
25567 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
25568 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
25569 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25571 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
25572 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
25573 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25575 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
25576 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
25577 Adjust for changed ldbl-128 files.
25579 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
25580 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
25581 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25583 2012-04-17 David S. Miller <davem@davemloft.net>
25585 * sysdeps/sparc/sparc32/memcopy.h: Delete.
25587 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
25589 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
25590 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
25591 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
25592 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
25593 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
25594 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
25596 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25599 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
25600 * math/libm-test.inc: Add ilogb errno and exception tests.
25601 * math/w_ilogb.c: New file: ilogb wrapper.
25602 * math/w_ilogbf.c: New file: ilogbf wrapper.
25603 * math/w_ilogbl.c: New file: ilogbl wrapper.
25604 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
25605 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
25606 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
25607 exception being thrown with 0.0 as argument.
25608 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
25609 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
25610 exception being thrown with 0.0 as argument.
25611 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
25612 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
25613 exception being thrown with 0.0 as argument.
25614 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
25615 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
25616 exception being thrown with 0.0 as argument.
25617 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
25618 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
25619 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
25620 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
25621 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
25622 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
25623 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
25624 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
25625 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
25627 2012-04-17 Petr Baudis <pasky@ucw.cz>
25629 * include/sys/uio.h: Change __vector to __iovec to avoid clash
25632 2012-04-16 Marek Polacek <polacek@redhat.com>
25634 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
25636 2012-04-16 Marek Polacek <polacek@redhat.com>
25638 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
25639 operands of fdivp instruction.
25641 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
25643 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
25644 * elf/tst-auditmod3b.c: Likewise.
25645 * elf/tst-auditmod4b.c: Likewise.
25646 * elf/tst-auditmod5b.c: Likewise.
25647 * elf/tst-auditmod6b.c: Likewise.
25648 * elf/tst-auditmod6c.c: Likewise.
25649 * elf/tst-auditmod7b.c: Likewise.
25650 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
25651 * sysdeps/x86_64/preconfigure.in: Likewise.
25652 * sysdeps/x86_64/preconfigure: Regenerated.
25654 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
25656 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
25659 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
25661 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25662 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
25664 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
25667 * locale/iso-639.def: Fix gl language name. Spotted by
25670 2012-04-12 Roland McGrath <roland@hack.frob.com>
25673 * libio/libio.h (__io_write_fn): Update comment.
25675 2012-04-12 Petr Baudis <pasky@ucw.cz>
25678 * stdio.texi (Hook Functions): The user provided writer function
25679 is not allowed to return -1.
25681 2012-04-11 David S. Miller <davem@davemloft.net>
25683 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25685 2012-04-11 Mike Frysinger <vapier@gentoo.org>
25687 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
25688 Add a leading slash to rtkaio.
25690 2012-04-11 Jim Meyering <meyering@redhat.com>
25693 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
25694 It is not necessarily an error to ignore fwrite's return
25695 value. One can reliably use ferror to test for errors after
25698 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
25700 * bits/types.h (__snseconds_t): New type.
25701 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
25703 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
25704 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25705 (__SNSECONDS_T_TYPE): Likewise.
25706 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25707 (__SNSECONDS_T_TYPE): Likewise.
25708 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25709 (__SNSECONDS_T_TYPE): Likewise.
25711 2012-04-10 Andreas Jaeger <aj@suse.de>
25714 * manual/time.texi (Processor Time): Return type of times is
25715 elapsed real time since an arbitrary point in the past.
25716 (CPU Time): Move CLK_TCK from here...
25717 (Processor Time): ...to here. Correct description.
25718 * manual/conf.texi (Constants for Sysconf): Correct description of
25721 2012-04-10 David S. Miller <davem@davemloft.net>
25724 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
25725 where the is a gap between DT_REL(A) and DT_JMPREL.
25727 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
25729 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
25730 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
25731 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
25733 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25735 * elf/dl-support.c (_dl_inhibit_cache): New variable.
25736 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
25737 (dl_main): Handle --inhibit-cache.
25738 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
25740 * elf/dl-load.c (_dl_map_object): Use it.
25741 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
25743 2012-04-09 Joseph Myers <joseph@codesourcery.com>
25746 * sysdeps/i386/fpu/e_powl.S (p78): New object.
25747 (__ieee754_powl): Saturate large exponents rather than testing for
25748 overflow of y*log2(x).
25749 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25750 * math/libm-test.inc (pow_test): Do not permit spurious overflow
25754 * math/s_ctan.c: Include <float.h>.
25755 (__ctan): Avoid internal overflow or cancellation in calculating
25757 * math/s_ctanf.c: Likewise.
25758 * math/s_ctanl.c: Likewise.
25759 * math/s_ctanh.c: Likewise.
25760 * math/s_ctanhf.c: Likewise.
25761 * math/s_ctanhl.c: Likewise.
25762 * math/libm-test.inc (ctan_test): Add more tests.
25763 (ctanh_test): Likewise.
25764 * sysdeps/i386/fpu/libm-test-ulps: Update.
25765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25767 2012-04-09 Andreas Jaeger <aj@suse.de>
25770 * manual/filesys.texi (Directory Entries): Mention that d_namlen
25771 is an optional BSD extension.
25774 * manual/stdio.texi (Opening Streams): Document additional fopen
25777 2012-04-09 Roland McGrath <roland@hack.frob.com>
25779 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
25780 %eax without telling the compiler.
25782 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
25785 * manual/install.texi: Use sourceware.org.
25787 2012-04-09 Joseph Myers <joseph@codesourcery.com>
25790 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
25791 (__ieee754_pow): Generate overflow and underflow using huge*huge
25792 and tiny*tiny rather than just returning constant infinity or zero
25793 for large exponents.
25794 * math/libm-test.inc (pow_test): Require overflow exceptions for
25795 applicable cases of large exponents.
25798 * sysdeps/i386/fpu/e_pow.S (p10): New object.
25799 (__ieee754_pow): Use iterative multiplication algorithm only for
25800 integer exponents with absolute value below 1024. Check for odd
25801 integer exponents when using algorithm for real exponents.
25802 * math/libm-test.inc (pow_test): Add more tests.
25803 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25805 2012-04-08 Joseph Myers <joseph@codesourcery.com>
25808 * math/libm-test.inc (exp_test): Do not allow overflow exception
25811 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
25814 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
25815 instead of __kernel_standard_f.
25817 2012-04-08 Mike Frysinger <vapier@gentoo.org>
25819 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
25820 * sysdeps/x86_64/memset_chk.S: Likewise.
25822 2012-04-08 Andreas Jaeger <aj@suse.de>
25825 * manual/startup.texi (Environment Access): Describe return value
25826 for putenv and setenv.
25829 * manual/filesys.texi (Directory Entries): Add description for
25833 * manual/filesys.texi (Directory Entries): Clarify that it's file
25834 system not operating system in the description of DT_UNKNOWN.
25837 * manual/syslog.texi (closelog): Fix reference, it's openlog.
25839 2012-04-08 Stephen Compall <s11@member.fsf.org>
25842 * manual/llio.texi (Opening and Closing Files): Add cross
25843 reference to explain mode argument.
25845 2012-04-07 Mike Frysinger <vapier@gentoo.org>
25847 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
25848 * sysdeps/x86_64/memset_chk.S: Likewise.
25850 2012-04-07 David S. Miller <davem@davemloft.net>
25852 * elf/elf.h (R_SPARC_WDISP10): Define.
25853 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
25855 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
25856 R_SPARC_SIZE64 and R_SPARC_H34.
25858 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
25860 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
25861 conditions and remove no longer applicable assertion.
25863 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
25865 * bits/byteswap.h: Include <features.h>.
25866 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
25867 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
25869 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
25871 * bits/byteswap.h (__bswap_16): Removed.
25872 Include <bits/byteswap-16.h> to get __bswap_16.
25873 * sysdeps/i386/bits/byteswap.h: Likewise.
25874 * sysdeps/s390/bits/byteswap.h: Likewise.
25875 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25876 * bits/byteswap-16.h: New file.
25877 * sysdeps/i386/bits/byteswap-16.h: Likewise.
25878 * sysdeps/s390/bits/byteswap-16.h: Likewise.
25879 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
25880 * string/Makefile (headers): Add bits/byteswap-16.h.
25882 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25885 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
25887 * nss/Makefile (tests-static, tests): Add tst-nss-static.
25888 * nss/tst-nss-static.c: New.
25890 2012-04-06 Robert Millan <rmh@gnu.org>
25893 * manual/llio.texi (File Position Primitive): lseek
25894 refers to WHENCE when it really means OFFSET.
25896 2012-04-06 Andreas Jaeger <aj@suse.de>
25898 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
25899 strncmp declarations.
25901 * abilist/libc.abilist: Add __poll and __ppoll.
25903 2012-04-05 David S. Miller <davem@davemloft.net>
25905 * scripts/check-local-headers.sh: Accept a host triplet in the
25906 path matched by the exclude regexp.
25908 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
25910 * sysdeps/powerpc/powerpc32/dl-machine.h
25911 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
25912 * sysdeps/s390/s390-32/dl-machine.h
25913 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25914 * sysdeps/sparc/sparc32/dl-machine.h
25915 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25916 * sysdeps/sparc/sparc64/dl-machine.h
25917 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25919 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
25921 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
25922 undefined symbol errors.
25924 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
25927 2012-04-05 Michael Matz <matz@suse.de>
25930 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
25932 2012-04-05 Andreas Jaeger <aj@suse.de>
25935 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
25938 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25940 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
25941 which ROUND is no valid rounding mode.
25943 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25945 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
25947 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
25949 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25951 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
25952 an exception using FPU order intentionally.
25954 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25956 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
25957 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
25958 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
25959 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
25961 2012-04-05 Simon Josefsson <simon@josefsson.org>
25964 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
25965 EINVAL when BUFLEN is too smal.
25967 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
25970 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
25971 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
25973 2012-04-03 Andreas Jaeger <aj@suse.de>
25976 * manual/setjmp.texi (System V contexts): Fix sentence.
25979 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
25980 New macro for this case.
25981 [!__GNUC__] (__bswap_64): New inline function for this case.
25982 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25983 * bits/byteswap.h: Likewise.
25984 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
25985 ull, guard with __GLIBC_HAVE_LONG_LONG.
25987 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
25988 __GLIBC_HAVE_LONG_LONG.
25990 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
25991 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
25993 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25996 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
25997 inptr and inend, rather than using last_ch.
25999 2012-04-02 David S. Miller <davem@davemloft.net>
26001 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
26002 * stdio-common/printf-parse.h (read_int): Change return type to
26003 'int', return -1 on INT_MAX overflow.
26004 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
26005 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
26006 overflows INT_MAX. Check for overflow of in-format-string precision
26007 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
26008 SIZE_MAX not INT_MAX for integer overflow test.
26009 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
26010 skip the construct in the format string but do not record anything.
26011 * stdio-common/bug22.c: Adjust to test both width/prevision
26012 INT_MAX overflow as well as total length INT_MAX overflow. Check
26013 explicitly for proper errno values.
26015 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
26017 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
26019 * string/test-strcmp.c [! WIDE]: Likewise.
26020 * time/tst-mktime2.c: Likewise for INT_MAX.
26021 * string/test-string.h: #include <sys/param.h> for MIN.
26023 * csu/init-first.c (__libc_init_first): Call __ctype_init.
26024 * sysdeps/i386/init-first.c (init): Likewise.
26025 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
26026 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
26027 * sysdeps/sh/init-first.c (init): Likewise.
26029 2012-04-01 Ulrich Drepper <drepper@gmail.com>
26031 * po/ru.po: Update from translation team.
26032 * po/vi.po: Likewise.
26034 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
26036 * resolv/nss_dns/dns-host.c: Merge copyright years.
26038 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26040 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26041 Optimize memcpy with prefetch if
26042 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
26043 src, dst pointers have unequal 16 byte alignments.
26045 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26048 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
26049 from a CNAME entry and return the minimum ttl for the query.
26050 (gaih_getanswer_slice): Likewise.
26052 2012-03-30 Jeff Law <law@redhat.com>
26054 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
26056 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
26057 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
26059 * resolv/nss_dns/dns-host.c: Update copyright year.
26061 2012-03-30 Ulrich Drepper <drepper@gmail.com>
26063 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
26064 requests to save a system call. Fix check that all bytes are sent.
26066 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
26067 comments for sendmmsg.
26069 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26072 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
26073 with only 1 character between 0x0041 and 0x01b0.
26074 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
26075 * wcsmbs/tst-mbsnrtowcs.c: New file.
26077 2012-03-29 David S. Miller <davem@davemloft.net>
26079 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
26080 small copies by hand.
26082 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26085 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
26086 _nss_compat_initgroups_dyn): Fall back to malloc/free
26087 for large group memberships.
26089 2012-03-28 David S. Miller <davem@davemloft.net>
26091 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
26092 that branches into memcpy.
26093 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
26094 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
26095 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26096 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
26097 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
26099 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
26100 implementation too.
26101 * sysdeps/sparc/mempcpy.S: New file.
26103 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
26104 the IFUNC routine in the libc case.
26105 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26107 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
26108 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
26109 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
26110 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
26111 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
26112 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
26113 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
26114 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
26116 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
26117 loop to 256 bytes instead of 64 bytes and fix test signedness.
26119 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
26120 * sysdeps/sparc/sparc32/Makefile: rather than here...
26121 * sysdeps/sparc/sparc64/Makefile: and here.
26123 2012-03-28 Ulrich Drepper <drepper@gmail.com>
26125 * malloc/mallocbug.c: Avoid warnings about unused variables.
26127 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
26130 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
26131 in the right place. Discard and retry query if response is
26132 larger than input buffer size.
26134 2012-03-28 Joseph Myers <joseph@codesourcery.com>
26139 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
26140 x for large integer exponent.
26141 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
26142 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
26143 sign of result as needed afterwards.
26144 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
26145 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
26146 result for underflowing pow the same as for overflow.
26147 (__kernel_standard_l): Handle powl overflow and underflow here
26148 rather than calling __kernel_standard.
26149 * math/libm-test.inc (pow_test): Add more tests.
26164 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
26165 * sysdeps/ieee754/k_standard.c: Include <float.h>.
26166 (__kernel_standard_l): New function.
26167 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
26169 * math/w_acosl.c (__acosl): Likewise.
26170 * math/w_asinl.c (__asinl): Likewise.
26171 * math/w_atan2l.c (__atan2l): Likewise.
26172 * math/w_atanhl.c (__atanhl): Likewise.
26173 * math/w_coshl.c (__coshl): Likewise.
26174 * math/w_exp10l.c (__exp10l): Likewise.
26175 * math/w_exp2l.c (__exp2l): Likewise.
26176 * math/w_fmodl.c (__fmodl): Likewise.
26177 * math/w_hypotl.c (__hypotl): Likewise.
26178 * math/w_j0l.c (__j0l, __y0l): Likewise.
26179 * math/w_j1l.c (__j1l, __y1l): Likewise.
26180 * math/w_jnl.c (__jnl, __ynl): Likewise.
26181 * math/w_lgammal.c (__lgammal): Likewise.
26182 * math/w_log10l.c (__log10l): Likewise.
26183 * math/w_log2l.c (__log2l): Likewise.
26184 * math/w_logl.c (__logl): Likewise.
26185 * math/w_powl.c (__powl): Likewise.
26186 * math/w_remainderl.c (__remainderl): Likewise.
26187 * math/w_scalbl.c (sysv_scalbl): Likewise.
26188 * math/w_sinhl.c (__sinhl): Likewise.
26189 * math/w_sqrtl.c (__sqrtl): Likewise.
26190 * math/w_tgammal.c (__tgammal): Likewise.
26191 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
26192 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
26193 * math/libm-test.inc (acos_test): Add more tests.
26194 (acosh_test): Likewise.
26195 (asin_test): Likewise.
26196 (atanh_test): Likewise.
26197 (exp_test): Likewise.
26198 (exp10_test): Likewise.
26199 (exp2_test): Likewise.
26200 (expm1_test): Likewise.
26201 (lgamma_test): Likewise.
26202 (log_test): Likewise.
26203 (log10_test): Likewise.
26204 (log1p_test): Likewise.
26205 (log2_test): Likewise.
26206 (pow_test): Do not allow some spurious overflow exceptions.
26207 (sqrt_test): Add more tests.
26208 (tgamma_test): Likewise.
26209 (y0_test): Likewise.
26210 (y1_test): Likewise.
26211 (yn_test): Likewise.
26213 2012-03-27 Anton Blanchard <anton@samba.org>
26215 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
26217 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26218 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26219 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26221 2012-03-27 David S. Miller <davem@davemloft.net>
26223 * conform/Makefile: Run run-conformtest.sh using $(BASH).
26225 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
26226 have-as-vis3 check.
26228 2012-03-27 Andreas Jaeger <aj@suse.de>
26230 * sysdeps/x86_64/elf/configure.in: Moved to ...
26231 * sysdeps/x86_64/configure.in: ... here.
26232 * sysdeps/x86_64/elf/start.S: Moved to ...
26233 * sysdeps/x86_64/start.S: ... here.
26234 * sysdeps/x86_64/elf/configure: Delete.
26236 * sysdeps/x86_64/configure.in: Merge contents from
26237 sysdeps/i386/configure.in (without i686 check).
26239 * sysdeps/i386/elf/Versions: Merge into ...
26240 * sysdeps/i386/Versions: ... this.
26241 * sysdeps/i386/elf/Versions: Delete file.
26242 * sysdeps/i386/elf/start.S: Moved to ...
26243 * sysdeps/i386/start.S: ...here.
26244 * sysdeps/i386/elf/configure.in: Merge into...
26245 * sysdeps/i386/configure.in: ...here.
26246 * sysdeps/i386/elf/configure.in: Delete file.
26247 * sysdeps/i386/elf/configure: Delete file.
26249 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
26250 * debug/backtracesyms.c: ... here.
26251 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
26252 * debug/backtracesymsfd.c: ... here.
26253 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
26254 * sysdeps/generic/ifunc-sel.h: ... here.
26256 * sysdeps/unix/i386/start.c: Delete file.
26257 * sysdeps/unix/sparc/start.c: Delete file.
26258 * sysdeps/unix/start.c: Delete file.
26260 * sysdeps/sh/elf/configure.in: Moved to ...
26261 * sysdeps/sh/configure.in: ... here.
26262 * sysdeps/sh/elf/start.S: Moved to ...
26263 * sysdeps/sh/start.S: ... here.
26264 * sysdeps/sh/elf/configure: Delete file.
26266 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
26267 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
26268 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
26269 * sysdeps/powerpc/powerpc64/entry.h: ... here.
26270 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
26271 * sysdeps/powerpc/powerpc64/start.S: here.
26272 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
26273 * sysdeps/powerpc/powerpc64/Makefile: ... this.
26274 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
26275 * sysdeps/powerpc/powerpc64/configure.in: ... this.
26276 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
26278 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
26279 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
26280 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
26281 * sysdeps/powerpc/powerpc32/start.S: ... here.
26282 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
26283 * sysdeps/powerpc/powerpc32/configure.in: ... this.
26284 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
26286 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
26287 * sysdeps/powerpc/ifunc-sel.h: ... here.
26288 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
26289 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
26291 * sysdeps/sparc/elf/configure.in: Moved to ...
26292 * sysdeps/sparc/configure.in: ... here.
26293 * sysdeps/sparc/elf/configure: Delete file.
26294 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
26295 * sysdeps/sparc/sparc32/start.S: ... here.
26296 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
26297 * sysdeps/sparc/sparc64/start.S: ... here.
26298 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
26299 * sysdeps/sparc/sparc32/Makefile: ... this.
26300 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
26301 * sysdeps/sparc/sparc64/Makefile: ... this.
26303 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
26304 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
26305 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
26306 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
26307 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
26308 * sysdeps/s390/s390-32/setjmp.S: ... here.
26309 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
26310 * sysdeps/s390/s390-32/configure.in: ... here.
26311 * sysdeps/s390/s390-32/elf/configure: Delete file.
26312 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
26313 * sysdeps/s390/s390-32/start.S: ... here.
26315 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
26316 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
26317 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
26318 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
26319 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
26320 * sysdeps/s390/s390-64/setjmp.S: ... here.
26321 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
26322 * sysdeps/s390/s390-64/configure.in: ... here
26323 * sysdeps/s390/s390-64/elf/configure: Delete file.
26324 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
26325 * sysdeps/s390/s390-64/start.S: ... here.
26326 * sysdeps/s390/s390-64/elf/configure: Delete.
26328 * configure.in: Remove support for elf directories in sysdeps.
26330 * configure: Regenerated.
26331 * sysdeps/i386/configure: Regenerated.
26332 * sysdeps/powerpc/powerpc32/configure: Regenerated.
26333 * sysdeps/powerpc/powerpc64/configure: Regenerated.
26334 * sysdeps/s390/s390-32/configure: Regenerated.
26335 * sysdeps/s390/s390-64/configure: Regenerated.
26336 * sysdeps/sh/configure: Regenerated.
26337 * sysdeps/sparc/configure: Regenerated.
26338 * sysdeps/x86_64/configure: Regenerated.
26340 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
26342 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26344 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
26345 denormal result into account.
26347 2012-03-25 Roland McGrath <roland@hack.frob.com>
26349 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
26350 Reported by Allan McRae <allan@archlinux.org>.
26352 2012-03-23 Jeff Law <law@redhat.com>
26354 * nss/getnssent.c (__nss_getent): Fix typo.
26356 2012-03-23 David S. Miller <davem@davemloft.net>
26358 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26360 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
26362 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
26363 to pad to uint64_t for each field.
26364 (dl_tls_index): Replace unsigned long with uint64_t.
26366 2012-03-23 Daniel Jacobowitz <dmj@google.com>
26367 Paul Pluzhnikov <ppluzhnikov@google.com>
26370 * grp/Makefile (otherlibs): Don't set it.
26371 * inet/Makefile (otherlibs): Likewise.
26372 * login/Makefile (otherlibs): Likewise.
26373 * nscd/Makefile (otherlibs): Likewise.
26374 * posix/Makefile (otherlibs): Likewise.
26375 * pwd/Makefile (otherlibs): Likewise.
26376 * rt/Makefile (otherlibs): Likewise.
26377 * sunrpc/Makefile (otherlibs): Likewise.
26378 * nss/Makefile (otherlibs): Likewise.
26379 Add libnss_files to routines and static-only-routines.
26380 ($(objpfx)getent): Remove rule.
26381 * resolv/Makefile: Add libnss_dns and libresolv to routines and
26382 static-only-routines.
26384 2012-03-22 Joseph Myers <joseph@codesourcery.com>
26387 * math/s_cexp.c: Include <float.h>.
26388 (__cexp): Handle exp result overflowing not necessarily
26389 overflowing both real and imaginary parts of result.
26390 * math/s_cexpf.c: Likewise.
26391 * math/s_cexpl.c: Likewise.
26392 * math/libm-test.inc (cexp_test): Add more tests.
26393 * sysdeps/i386/fpu/libm-test-ulps: Update.
26394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26396 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26398 * include/link.h (ELFW): New macro.
26399 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
26400 Replace ELF64_R_TYPE with ELFW(R_TYPE).
26402 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26404 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
26407 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26409 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
26411 (struct La_x32_retval): Likewise.
26413 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26415 * sysdeps/x86_64/preconfigure.in: New file.
26416 * sysdeps/x86_64/preconfigure: New generated file.
26418 2012-03-22 Joseph Myers <joseph@codesourcery.com>
26421 * math/e_exp2l.c: Include <float.h>.
26422 (__ieee754_exp2l): Handle overflow and underflow cases
26423 separately. Only pass fractional part of argument to
26425 * math/libm-test.inc (exp2_test): Add more tests.
26427 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
26428 negating x to take absolute value.
26429 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
26431 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
26432 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
26434 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
26435 computing low part if x was negated.
26436 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
26438 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
26440 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
26441 la_x32_gnu_pltexit.
26442 (pltexit): Cast int_retval to ptrdiff_t.
26443 * elf/tst-auditmod3b.c: Likewise.
26444 * elf/tst-auditmod4b.c: Likewise.
26445 * elf/tst-auditmod5b.c: Likewise.
26446 * elf/tst-auditmod6b.c: Likewise.
26447 * elf/tst-auditmod6c.c: Likewise.
26448 * elf/tst-auditmod7b.c: Likewise.
26450 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
26451 and x32_gnu_pltexit.
26453 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
26454 __ELF_NATIVE_CLASS.
26455 (La_x32_regs): New macro.
26456 (La_x32_retval): Likewise.
26457 (la_x32_gnu_pltenter): New function prototype.
26458 (la_x32_gnu_pltexit): Likewise.
26460 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
26462 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
26465 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26467 * configure.in (libc_cv_cc_nofma): Check for option to disable
26468 generation of FMA instructions.
26469 * configure: Regenerate.
26470 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
26471 * sysdeps/ieee754/dbl-64/Makefile: New file.
26472 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26473 Remove brandred-fma4.
26474 (CFLAGS-brandred-fma4.c): Remove.
26475 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
26476 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
26478 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
26481 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
26483 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
26484 LLONG_MAX != LONG_MAX.
26485 (_itoa_word): Use _ITOA_WORD_TYPE on value.
26486 (_fitoa_word): Likewise.
26487 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
26488 LLONG_MAX != LONG_MAX.
26489 * stdio-common/_itowa.h: Include <_itoa.h>.
26490 (_itowa_word): Use _ITOA_WORD_TYPE on value.
26491 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
26492 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
26493 only if not defined.
26494 (_ITOA_WORD_TYPE): Likewise.
26495 (_itoa_word): Use _ITOA_WORD_TYPE on value.
26496 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
26498 2012-03-21 David S. Miller <davem@davemloft.net>
26500 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26502 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
26504 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
26505 of x86_64 when setting libc_cv_slibdir, libdir and
26507 * sysdeps/unix/sysv/linux/configure: Regenerated.
26509 2012-03-21 Joseph Myers <joseph@codesourcery.com>
26511 * manual/lang.texi (Old Varargs): Remove section.
26512 (How Variadic): Update menu.
26513 (va_start): Do not mention varargs.h.
26515 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
26516 Joseph Myers <joseph@codesourcery.com>
26518 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
26520 * configure: Regenerated.
26522 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
26524 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
26525 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
26528 2012-03-21 Joseph Myers <joseph@codesourcery.com>
26531 * Makefile (files-for-dist): Remove NOTES.
26532 (NOTES): Remove rule.
26533 * README: Don't refer to NOTES.
26534 * manual/creature.texi: Don't include macros.texi.
26535 * manual/intro.texi (creature.texi): Remove comment referring to
26538 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
26539 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
26540 * configure: Regenerated.
26541 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
26542 LIBC_TRY_CC_OPTION.
26543 (libc_cv_as_i686): Likewise.
26544 (libc_cv_cc_avx): Likewise.
26545 (libc_cv_cc_sse2avx): Likewise.
26546 (libc_cv_cc_fma4): Likewise.
26547 (libc_cv_cc_novzeroupper): Likewise.
26548 * sysdeps/i386/configure: Regenerated.
26551 * sysdeps/i386/fpu/s_cexp.S: Remove.
26552 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
26553 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
26554 * math/libm-test.inc (cexp_test): Add more tests.
26555 * sysdeps/i386/fpu/libm-test-ulps: Update.
26556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26558 2012-03-21 Allan McRae <allan@archlinux.org>
26560 * timezone/Makefile: Do not install iso3166.tab and zone.tab
26562 2012-03-21 Joseph Myers <joseph@codesourcery.com>
26565 * math/w_exp2.c: Do not include <float.h>.
26566 (o_threshold, u_threshold): Remove.
26567 (__exp2): Calculate result before checking finiteness and calling
26569 * math/w_exp2f.c: Likewise.
26570 * math/w_exp2l.c: Likewise.
26571 * math/libm-test.inc (exp2_test): Require overflow exception for
26575 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
26576 range of signed 64-bit integers before using fistpll. Remove
26577 checks for whether integers fit in mantissa bits.
26578 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
26579 the range of signed 32-bit integers before using fistpl. Remove
26580 checks for whether integers fit in mantissa bits.
26581 * sysdeps/i386/fpu/e_powl.S (p64): New object.
26582 (__ieee754_powl): Test for y outside the range of signed 64-bit
26583 integers before using fistpll. Reduce 64-bit values to 63-bit
26585 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
26586 divide-by-zero is raised for zero to large negative powers.
26587 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
26588 (__ieee754_powl): Test for y outside the range of signed 64-bit
26589 integers before using fistpll. Reduce 64-bit values to 63-bit
26591 * math/libm-test.inc (pow_test): Add more tests.
26593 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
26595 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
26596 <stdio-common/_itoa.h>.
26597 * debug/segfault.c: Likewise.
26598 * elf/dl-cache.c: Likewise.
26599 * elf/dl-minimal.c: Likewise.
26600 * elf/dl-misc.c: Likewise.
26601 * elf/dl-sysdep.c: Likewise.
26602 * elf/dl-version.c: Likewise.
26603 * elf/rtld.c: Likewise.
26604 * hurd/hurdsock.c: Likewise.
26605 * hurd/lookup-retry.c: Likewise.
26606 * malloc/malloc.c: Likewise.
26607 * malloc/mtrace.c: Likewise.
26608 * nscd/nscd_getgr_r.c: Likewise.
26609 * nscd/nscd_getpw_r.c: Likewise.
26610 * nscd/nscd_getserv_r.c: Likewise.
26611 * posix/getopt_init.c: Likewise.
26612 * posix/wordexp.c: Likewise.
26613 * stdio-common/_itoa.c: Likewise.
26614 * stdio-common/printf_fphex.c: Likewise.
26615 * stdio-common/vfprintf.c: Likewise.
26616 * string/_strerror.c: Likewise.
26617 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
26618 * sysdeps/i386/i686/hp-timing.h: Likewise.
26619 * sysdeps/mach/_strerror.c: Likewise.
26620 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
26621 * sysdeps/mach/hurd/sethostid.c: Likewise.
26622 * sysdeps/mach/hurd/xmknodat.c: Likewise.
26623 * sysdeps/mach/xpg-strerror.c: Likewise.
26624 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26625 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26626 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
26627 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
26628 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26629 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
26630 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
26631 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
26632 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
26633 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
26634 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
26635 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
26636 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
26637 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
26638 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
26639 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
26640 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
26641 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
26642 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
26643 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
26644 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
26646 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
26648 * stdio-common/_itoa.h: Moved to ...
26649 * sysdeps/generic/_itoa.h: Here.
26651 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
26653 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
26654 instead of "_itoa.h" and "_itowa.h".
26655 * stdio-common/vfprintf.: Likewise.
26657 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
26659 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
26661 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
26662 (__signbit): Likwise.
26663 (llrintf): Likwise.
26666 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
26668 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
26671 2012-03-20 Joseph Myers <joseph@codesourcery.com>
26673 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
26674 OVERFLOW_EXCEPTION_OK.
26675 * math/libm-test.inc ("Philosophy"): Update comment about
26677 (OVERFLOW_EXCEPTION): Define.
26678 (OVERFLOW_EXCEPTION_OK): Likewise.
26679 (INVALID_EXCEPTION_OK): Renumber.
26680 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26681 (IGNORE_ZERO_INF_SIGN): Likewise.
26682 (test_exceptions): Handle FE_OVERFLOW.
26683 (exp10_test): Expect overflow exceptions.
26684 (exp2_test): Likewise.
26685 (expm1_test): Likewise.
26686 (nextafter_test): Likewise.
26687 (pow_test): Likewise.
26688 (scalbn_test): Likewise.
26689 (scalbln_test): Likewise.
26691 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26693 * sysdeps/x86_64/bits/atomic.h
26694 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
26696 (atomic_exchange_acq): Likewise.
26697 (__arch_exchange_and_add_body): Likewise.
26698 (__arch_add_body): Likewise.
26699 (atomic_add_negative): Likewise.
26700 (atomic_add_zero): Likewise.
26702 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26704 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
26705 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
26707 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26709 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
26710 Check __x86_64__ instead of __WORDSIZE.
26712 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26714 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
26716 2012-03-19 David S. Miller <davem@davemloft.net>
26718 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26720 * sysdeps/sparc/fpu/fenv_private.h: New file.
26721 * sysdeps/sparc/fpu/math_private.h: Use it.
26722 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
26724 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
26725 (libc_feholdexcept_setroundl): Remove.
26726 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
26728 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
26729 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
26731 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26733 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
26734 int64_t instead of long int.
26735 (INSERT_WORDS64): Likwise.
26737 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26739 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
26740 _Unwind_GetCFA return to _Unwind_Ptr first.
26742 2012-03-19 Joseph Myers <joseph@codesourcery.com>
26745 * math/s_clog.c: Include <float.h>.
26746 (__clog): Scale large or subnormal inputs.
26747 * math/s_clogf.c: Likewise.
26748 * math/s_clogl.c: Likewise.
26749 * math/s_clog10.c: Include <float.h>.
26750 (M_LOG10_2): Define.
26751 (__clog10): Scale large or subnormal inputs.
26752 * math/s_clog10f.c: Likewise.
26753 * math/s_clog10l.c: Likewise.
26754 * math/libm-test.inc (clog_test): Add more tests.
26755 (clog10_test): Likewise.
26756 * sysdeps/i386/fpu/libm-test-ulps: Update.
26757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26760 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
26762 * math/libm-test.inc (atan2_test): Add another test.
26764 * Makerules (common-objdir-compile): Remove.
26765 * sysdeps/unix/Makefile (config-generated): Do not add
26766 $(unix-generated) to variable.
26767 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
26768 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
26770 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
26772 [generic bits/local_lim.h] (before-compile): Do not append to
26774 [generic bits/local_lim.h] (common-generated): Likewise.
26775 [generic sys/param.h] (before-compile): Do not append to variable.
26776 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
26777 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
26778 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
26779 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
26781 [generic sys/param.h] (sys/param.h-includes): Remove variable.
26782 [generic sys/param.h] (sys/param.h-includes): Remove rule.
26783 [generic sys/param.h] ($(addprefix
26784 $(common-objpfx),$(sys/param.h-includes))): Likewise.
26785 [generic sys/param.h] (common-generated): Do not append to
26787 [generic sys/param.h] (sysdep_headers): Likewise.
26788 [generic bits/errno.h] (before-compile): Do not append to
26790 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
26792 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
26793 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
26794 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
26795 [generic bits/errno.h] (common-generated): Do not append to
26797 [generic bits/ioctls.h] (before-compile): Do not append to
26799 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
26801 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
26802 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
26803 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
26805 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
26806 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
26807 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
26808 [generic bits/ioctls.h] (common-generated): Do not append to
26810 [generic sys/syscall.h] (syscall.h): Remove variable.
26811 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
26813 [generic sys/syscall.h] (before-compile): Do not append to
26815 [generic sys/syscall.h] (common-generated): Likewise.
26816 * sysdeps/unix/errnos-tmpl.c: Remove file.
26817 * sysdeps/unix/errnos.awk: Likewise.
26818 * sysdeps/unix/ioctls-tmpl.c: Likewise.
26819 * sysdeps/unix/ioctls.awk: Likewise.
26820 * sysdeps/unix/mk-local_lim.c: Likewise.
26821 * sysdeps/unix/snarf-ioctls: Likewise.
26823 2012-03-19 Richard Henderson <rth@twiddle.net>
26825 * sysdeps/i386/fpu/fenv_private.h: New file.
26826 * sysdeps/i386/fpu/math_private.h: Use it.
26827 (math_opt_barrier, math_force_eval): Remove.
26828 (libc_feholdexcept_setround_53bit): Remove.
26829 (libc_feupdateenv_53bit): Remove.
26830 * sysdeps/x86_64/fpu/math_private.h: Likewise.
26831 (math_opt_barrier, math_force_eval): Remove.
26832 (libc_feholdexcept): Remove.
26833 (libc_feholdexcept_setround): Remove.
26834 (libc_fetestexcept, libc_fesetenv): Remove.
26835 (libc_feupdateenv_test): Remove.
26836 (libc_feupdateenv, libc_feholdsetround): Remove.
26837 (libc_feresetround): Remove.
26839 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
26840 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
26842 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
26843 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
26844 (libc_feupdateenv_testl): New.
26845 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
26846 (libc_feupdateenv_testf): New.
26847 (libc_feupdateenv): Use libc_feupdateenv_test.
26848 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
26849 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
26851 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
26852 (libc_feholdsetroundf, libc_feholdsetroundl): New.
26853 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
26854 (libc_feresetround_noex): New.
26855 (libc_feresetround_noexf): New.
26856 (libc_feresetround_noexl): New.
26857 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
26858 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
26859 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
26860 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
26862 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
26863 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
26865 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
26866 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
26867 SET_RESTORE_ROUND_NOEX.
26868 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
26869 SET_RESTORE_ROUND_NOEXF.
26870 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
26871 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
26872 (libc_feholdsetroundf): New.
26873 (libc_feresetround, libc_feresetroundf): New.
26875 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
26876 (libc_feholdexcept_setround_53bit): Convert from macro to function.
26877 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
26879 * sysdeps/generic/math_private.h: Include <fenv.h>.
26880 (default_libc_feholdexcept): New.
26881 (default_libc_feholdexcept_setround): New.
26882 (default_libc_fesetenv, default_libc_feupdateenv): New.
26883 (libc_feholdexcept): Only define if undefined.
26884 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
26885 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
26886 (libc_feholdexcept_setroundl): Likewise.
26887 (libc_feholdexcept_setround_53bit): Likewise.
26888 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
26889 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
26890 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
26891 (libc_feupdateenv_53bit): Likewise.
26892 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
26893 (libc_feholdexcept): Convert from macro to inline function.
26894 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
26895 (libc_fesetenv, libc_feupdateenv): Likewise.
26897 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
26898 not previously defined.
26899 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
26900 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
26901 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
26902 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
26903 * sysdeps/ieee754/flt-32/math_private.h: New file.
26904 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
26905 math_private.h below SET_FLOAT_WORD.
26906 (__isnan, __isinf_ns, __finite): Remove.
26907 (__isnanf, __isinf_nsf, __finitef): Remove.
26909 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
26911 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26913 2012-03-17 David S. Miller <davem@davemloft.net>
26916 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
26919 2012-03-16 David S. Miller <davem@davemloft.net>
26921 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
26925 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
26927 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
26928 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
26929 sysdep_routines when subdir is sysvipc.
26930 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
26931 __getshmlba helper.
26933 * sysdeps/sparc/fpu/libm-test/ulps: Update.
26935 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26937 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
26940 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26942 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
26943 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
26944 (__lround): Renamed to ...
26945 (__llround): This. Replace long int with long long int.
26946 Define lround functions as aliases of llround functions.
26947 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
26949 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26951 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
26952 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
26953 adresses to uintptr_t. Replace "long int" and "unsigned long
26954 int" with "greg_t" on va_arg.
26956 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26958 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
26959 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
26961 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
26962 Move e_machine check before EI_CLASS check. Handle x32
26963 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
26964 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
26965 SKIP_EM_IA_64 and include
26966 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
26968 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
26969 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
26970 (add_system_dir): New macro.
26972 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
26973 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
26975 2012-03-16 Joseph Myers <joseph@codesourcery.com>
26986 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
26988 * math/w_j0f.c (j0f): Likewise.
26990 * math/w_j0l.c (__j0l): Likewise.
26992 * math/w_j1.c (j1): Likewise.
26994 * math/w_j1f.c (j1f): Likewise.
26996 * math/w_j1l.c (__j1l): Likewise.
26998 * math/w_jn.c (jn): Likewise.
27000 * math/w_jnf.c (jnf): Likewise.
27002 * math/w_jnl.c (__jnl): Likewise.
27004 * math/libm-test.inc (j0_test): Add more tests.
27005 (j1_test): Likewise.
27006 (jn_test): Likewise. Add trailing semicolon to existing test.
27007 (y0_test): Likewise.
27008 (y1_test): Likewise.
27009 * sysdeps/i386/fpu/libm-test-ulps: Update.
27010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27014 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
27015 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
27016 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
27017 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
27018 (__tanl): Set errno for infinite argument.
27019 * sysdeps/i386/fpu/mptan.c: Remove.
27020 * sysdeps/i386/fpu/s_tan.S: Likewise.
27021 * sysdeps/i386/fpu/s_tanl.S: Likewise.
27022 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
27023 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
27024 * math/libm-test.inc (tan_test): Add more tests and enable more
27025 tests for double and long double.
27026 * sysdeps/i386/fpu/libm-test-ulps: Update.
27027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27029 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
27031 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
27032 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
27034 2012-03-16 Roland McGrath <roland@hack.frob.com>
27036 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
27037 * configure.in: Use it for both main tree and add-ons.
27038 * configure: Regenerated.
27040 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27042 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
27044 2012-03-16 Joseph Myers <joseph@codesourcery.com>
27046 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
27050 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
27051 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
27052 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
27053 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
27054 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
27056 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
27057 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
27058 != 0 for prec == 2.
27059 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
27060 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
27061 * sysdeps/i386/fpu/s_cosl.S: Likewise.
27062 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
27063 * sysdeps/i386/fpu/s_sinl.S: Likewise.
27064 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
27065 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
27066 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
27067 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
27068 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
27069 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
27070 * math/libm-test.inc (cos_test): Add more tests and enable more
27071 tests for long double.
27072 (sin_test): Likewise.
27073 (sincos_test): Likewise.
27074 * sysdeps/i386/fpu/libm-test-ulps: Update.
27075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27077 2012-03-16 David S. Miller <davem@davemloft.net>
27079 * sysdeps/sparc/fpu/math_private.h: New file.
27081 2012-03-15 David S. Miller <davem@davemloft.net>
27083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
27085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
27086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
27088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
27089 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
27090 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
27091 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
27092 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
27093 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
27095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27097 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
27098 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
27100 * sysdeps/sparc/sparc-ifunc.h: New file.
27101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
27103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
27104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
27106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
27108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
27109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
27110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
27113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
27114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
27115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
27116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
27117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
27119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
27121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
27122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
27123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
27124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
27125 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
27126 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
27127 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
27128 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
27129 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
27130 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
27131 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
27132 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
27133 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
27134 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
27135 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
27136 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
27137 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
27138 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
27139 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
27140 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
27141 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
27142 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
27143 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
27144 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
27146 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
27148 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
27150 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27152 2012-03-15 Andreas Jaeger <aj@suse.de>
27155 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
27156 ieee754/flt-32 implementation for sin, cos and sincos.
27157 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
27158 * sysdeps/i386/fpu/s_cosf.S: Likewise.
27159 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
27160 * sysdeps/i386/fpu/s_sinf.S: Likewise.
27161 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
27162 ieee754/flt-32 implementation for tan.
27164 * math/libm-test.inc (cos_test): Enable some large input tests for
27166 (sin_test): Likewise.
27167 (sincos_test): Likewise.
27168 (tan_test): Add tests for large input.
27170 * sysdeps/i386/fpu/libm-test-ulps: Update.
27172 2012-03-15 Andreas Jaeger <aj@suse.de>
27175 * math/libm-test.inc (cos_test): Add more test cases.
27176 (sin_test): Likewise.
27177 (sincos_test): Likewise.
27179 2012-03-15 Andreas Jaeger <aj@suse.de>
27182 * math/libm-test.inc (cos_test): Add a test case for large input
27184 (sin_test): Likewise.
27185 (sincos_test): Likewise.
27187 2012-03-15 Andreas Jaeger <aj@suse.de>,
27188 Joseph Myers <joseph@codesourcery.com>
27191 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
27192 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
27193 * sysdeps/i386/fpu/branred.c: Likewise.
27194 * sysdeps/i386/fpu/dosincos.c: Likewise.
27195 * sysdeps/i386/fpu/mpa.c: Likewise.
27196 * sysdeps/i386/fpu/s_cos.S: Likewise.
27197 * sysdeps/i386/fpu/s_sin.S: Likewise.
27198 * sysdeps/i386/fpu/s_sincos.S: Likewise.
27199 * sysdeps/i386/fpu/sincos32.c: Likewise.
27201 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
27203 (libc_feupdateenv_53bit): Define.
27204 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
27206 (libc_feupdateenv_53bit): Define.
27208 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
27209 53 bit (without extend i386 double precision).
27211 * math/libm-test.inc (sincos_test): Add tests for large input.
27215 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
27217 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
27219 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27221 2012-03-15 David S. Miller <davem@davemloft.net>
27223 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
27224 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
27225 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
27226 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
27227 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
27228 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
27229 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
27230 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
27231 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
27232 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
27233 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
27234 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
27235 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
27236 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
27237 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
27238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
27240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
27241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
27243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
27244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
27246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
27247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
27249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
27250 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
27251 fmin/fmax sysdep routines.
27252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27254 2012-03-14 David S. Miller <davem@davemloft.net>
27256 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
27257 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
27258 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
27259 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
27260 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
27261 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
27262 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
27263 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
27264 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
27265 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
27266 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
27267 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
27268 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
27269 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
27270 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
27271 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
27272 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
27273 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
27274 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
27275 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
27276 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
27277 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
27278 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
27279 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
27280 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
27281 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
27282 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
27283 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
27284 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
27286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
27288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
27289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
27291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
27292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
27294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
27295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
27297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
27298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
27300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
27301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
27303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
27305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
27307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
27309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
27311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
27313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
27315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
27316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
27318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
27319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
27321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
27322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
27324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
27325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
27328 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
27331 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27333 * sysdeps/sparc/configure.in: New file.
27334 * sysdeps/sparc/configure: Generate.
27335 * configure.in (libc_cv_sparc_as_vis3): Substitute.
27336 * configure: Regenerate.
27337 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
27338 * config.make.in (have-as-vis3): New.
27339 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
27340 available use -Av9d instead of -Av9a.
27341 * sysdeps/sparc/sparc64/Makefile: Likewise.
27342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
27343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
27345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
27347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
27349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
27351 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
27352 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
27353 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
27354 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
27355 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
27357 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
27358 fzeros/fnegs to load 0x80000000 into a float register instead of
27360 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
27362 2012-03-14 Joseph Myers <joseph@codesourcery.com>
27364 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27366 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
27367 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
27368 ($(inst_includedir)/bits/syscall.h): Remove rule.
27369 ($(objpfx)bits/syscall.d): Include instead of
27370 $(objpfx)syscall-list.d.
27371 (generated): Change syscall-list.h and syscall-list.d to
27372 bits/syscall.h and bits/syscall.d.
27374 2012-03-14 Roland McGrath <roland@hack.frob.com>
27377 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
27379 2012-03-14 Joseph Myers <joseph@codesourcery.com>
27382 * math/s_csqrt.c: Include <float.h>.
27383 (__csqrt): Scale large or subnormal inputs.
27384 * math/s_csqrtf.c: Likewise.
27385 * math/s_csqrtl.c: Likewise.
27386 * math/libm-test.inc (csqrt_test): Add more tests.
27387 * sysdeps/i386/fpu/libm-test-ulps: Update.
27388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27391 * math/libm-test.inc (hypot_test): Add more tests.
27393 2012-03-13 David S. Miller <davem@davemloft.net>
27396 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
27397 double-precision for the calculation instead of scaling.
27399 2012-03-13 Joseph Myers <joseph@codesourcery.com>
27401 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
27402 manipulate bits before adding and subtracting TWO52[sx].
27403 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
27404 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
27406 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
27408 2012-03-13 David S. Miller <davem@davemloft.net>
27410 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
27411 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
27412 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
27413 rtld-global-offsets.h
27414 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27416 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
27419 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
27421 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
27422 'err' in the ifdef scope in which it is actually used.
27424 * nss/nss_db/db-init.c: Include string.h
27426 2012-03-12 David S. Miller <davem@davemloft.net>
27428 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
27429 masking out of the most significant byte of random value used.
27430 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27431 Fix coding style in previous change.
27433 * sysdeps/unix/sysv/linux/kernel-features.h
27434 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
27435 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
27437 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
27440 2012-03-11 David S. Miller <davem@davemloft.net>
27442 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27443 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
27444 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
27445 for 'resultvar' otherwise things get truncated on 64-bit.
27447 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27448 Fix masking out of the most significant byte of random value used.
27450 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27452 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
27454 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27456 2012-03-09 David S. Miller <davem@davemloft.net>
27458 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
27459 variables with appropriate CPP guards.
27460 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
27461 frame pointer, not the stack pointer. Correct layout comments. Fix test
27462 on resulting framesize and the management of the outregs buffer for pltexit.
27463 Preserve floating point return values across _dl_call_pltexit call.
27464 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
27465 framesize and the management of the outregs buffer for pltexit.
27466 Preserve floating point return values across _dl_call_pltexit
27468 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
27469 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
27470 (print_exit): Fix format string for return register value.
27472 2012-03-10 Joseph Myers <joseph@codesourcery.com>
27474 * sunrpc/Makefile (others): Add rpcgen.
27475 ($(objpfx)rpcgen): Remove special build rule and dependency on
27477 * sunrpc/rpcgen.c: New file.
27479 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
27482 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
27483 * stdio-common/bug-vfprintf-nargs.c: Likewise.
27484 * sysdeps/i386/crti.S: Likewise.
27485 * sysdeps/i386/crtn.S: Likewise.
27486 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
27487 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
27488 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
27489 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
27490 * sysdeps/sh/crti.S: Likewise.
27491 * sysdeps/sh/crtn.S: Likewise.
27492 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27495 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
27497 * locale/programs/locfile-kw.gperf: Likewise.
27498 * locale/programs/charmap-kw.h: Regenerated.
27499 * locale/programs/locfile-kw.h: Likewise.
27502 * intl/plural.y: Replace FSF snail mail address with URL.
27503 * intl/plural.c: Regenerated.
27505 2012-03-09 Richard Henderson <rth@twiddle.net>
27507 * include/math_private.h: Remove file.
27508 * math/math_private.h: Move file ...
27509 * sysdeps/generic/math_private.h: ... here.
27511 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
27512 * sysdeps/powerpc/fpu/math_private.h: Likewise.
27513 * sysdeps/x86_64/fpu/math_private.h: Likewise.
27515 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
27516 and <math_private.h>.
27517 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27518 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27519 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27520 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27521 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27522 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
27523 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27524 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27525 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27526 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27527 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27528 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27529 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27530 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27531 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27532 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27533 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27534 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27535 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27536 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27537 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27538 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27539 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27540 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27541 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
27542 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27543 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27544 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27545 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27546 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27547 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27548 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27549 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
27550 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27551 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27552 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27553 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27554 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27555 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27556 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27557 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
27558 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27559 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27560 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
27561 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
27562 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27563 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
27564 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
27565 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27566 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27567 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
27568 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
27569 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
27570 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27571 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
27572 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27573 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27574 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
27575 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
27576 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
27577 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27578 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
27579 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27580 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27581 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
27582 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27583 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27584 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27585 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
27586 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
27587 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
27588 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27589 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
27590 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27591 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
27592 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
27593 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
27594 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27595 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
27596 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
27597 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
27598 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
27599 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
27600 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27601 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27602 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
27603 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
27604 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
27605 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27606 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27607 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27608 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27609 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27610 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27611 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27612 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27613 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27614 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27615 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27616 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27617 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27618 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27619 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27620 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27621 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27622 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27623 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27624 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27625 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27626 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27627 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27628 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27629 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27630 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27631 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
27632 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27633 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27634 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27635 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27636 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27637 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27638 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27639 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27640 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
27641 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27642 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27643 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27644 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
27645 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27646 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
27647 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
27648 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27649 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27650 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
27651 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
27652 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
27653 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27654 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27655 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
27656 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
27657 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27658 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
27659 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
27660 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
27661 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
27662 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27663 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27664 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27665 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
27666 * sysdeps/ieee754/k_standard.c: Likewise.
27667 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27668 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27669 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27670 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27671 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27672 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27673 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27674 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27675 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27676 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27677 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27678 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27679 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27680 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27681 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27682 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27683 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
27684 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27685 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27686 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
27687 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
27688 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
27689 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27690 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27691 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
27692 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
27693 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27694 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27695 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27696 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27697 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
27698 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27699 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27700 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27701 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
27702 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27703 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27704 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
27705 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
27706 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27707 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
27708 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
27709 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
27710 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27711 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
27712 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
27713 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27714 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27715 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27716 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27717 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27718 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
27719 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27720 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
27721 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27722 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27723 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
27724 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
27725 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27726 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27727 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27728 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
27729 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27730 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27731 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27732 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27733 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27734 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27735 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27736 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27737 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27738 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27739 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27740 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27741 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27742 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27743 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
27744 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27745 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27746 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
27747 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
27748 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
27749 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27750 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27751 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
27752 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27753 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
27754 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
27755 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27756 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27757 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
27758 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27759 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
27760 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
27761 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27762 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27763 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
27764 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
27765 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
27766 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
27767 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27768 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27769 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27770 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27771 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
27772 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27773 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27774 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
27775 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
27776 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27777 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27778 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27779 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27780 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27781 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27782 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27783 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27784 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27785 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27786 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27787 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27788 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27789 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27790 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27791 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27792 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
27793 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27794 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
27795 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27796 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27797 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27798 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27799 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27800 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
27801 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
27802 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
27803 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
27804 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
27805 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27806 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
27807 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
27808 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27809 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
27810 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
27811 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
27812 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27813 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27814 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
27815 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
27816 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
27817 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27818 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27819 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27820 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
27821 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
27822 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
27823 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
27824 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
27825 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
27826 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
27827 * sysdeps/ieee754/s_lib_version.c: Likewise.
27828 * sysdeps/ieee754/s_matherr.c: Likewise.
27829 * sysdeps/ieee754/s_signgam.c: Likewise.
27830 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27831 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27832 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
27833 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
27834 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
27835 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27836 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
27837 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
27838 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
27839 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
27840 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
27841 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
27842 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27843 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27844 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
27845 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
27846 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27847 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
27848 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27849 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27850 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27852 2012-03-09 Joseph Myers <joseph@codesourcery.com>
27854 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
27855 * sunrpc/rpc_main.c: Likewise.
27856 * sunrpc/rpc_svcout.c: Likewise.
27858 2012-03-09 David S. Miller <davem@davemloft.net>
27860 * include/math_private.h: New file.
27862 2012-03-09 Joseph Myers <joseph@codesourcery.com>
27864 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
27865 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
27866 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
27867 from <bits/socket_type.h>.
27868 (enum __socket_type): Don't define here.
27869 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
27870 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27871 bits/socket_type.h.
27874 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
27875 checking __USE_GNU.
27877 * Makerules ($(inst_includedir)/%.h): New rule.
27878 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
27879 (install-others): Remove variable setting.
27880 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
27882 2012-03-08 Richard Henderson <rth@twiddle.net>
27884 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
27885 from macro to inline function; merge with the
27886 !__LIBC_INTERNAL_MATH_INLINES version.
27887 (__ieee754_sqrtf): Likewise.
27889 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
27890 to inline function.
27891 (__rintf, __floor, __floorf): Likewise.
27893 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
27894 macro to inline function.
27895 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
27897 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
27898 not <math/math_private.h>.
27900 2012-03-08 David S. Miller <davem@davemloft.net>
27902 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
27904 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
27906 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
27908 * resolv/gai_misc.c (handle_requests): Fix struct timespec
27910 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
27911 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
27913 2012-03-08 Ulrich Drepper <drepper@gmail.com>
27915 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
27916 be defined individually, they must be defined as a block. Define
27917 S for printing a string instead of hidint the different by using a
27918 macro for adding the 'l'.
27919 * stdio-common/tst-fphex-wide.c: Adjust.
27921 2012-03-07 Marek Polacek <polacek@redhat.com>
27923 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
27925 2012-03-08 Marek Polacek <polacek@redhat.com>
27928 * stdio-common/Makefile (tests): Add tst-fphex-wide.
27929 * stdio-common/tst-fphex.c: Define a few macros to make the
27930 test reusable. Use them.
27931 * stdio-common/tst-fphex-wide.c: New file.
27933 2012-03-08 Joseph Myers <joseph@codesourcery.com>
27936 * manual/macros.texi (gnusystems): New macro.
27937 (nongnusystems): Likewise.
27938 (gnulinuxhurdsystems): Likewise.
27939 (gnuhurdsystems): Likewise..
27940 (gnulinuxsystems): Likewise.
27941 * manual/charset.texi: Use new macros or @theglibc{} to refer to
27942 variants of the GNU system, not "GNU system".
27943 * manual/conf.texi: Likewise.
27944 * manual/errno.texi: Likewise. Update example of errno macro
27946 * manual/filesys.texi: Likewise.
27947 (getumask): Document as specific to GNU/Hurd.
27948 * manual/install.texi: Likewise. Reword some references to
27950 * manual/intro.texi: Likewise.
27951 * manual/io.texi: Likewise.
27952 (File Name Portability): Detail which constraints are inapplicable
27953 to all GNU systems and which are only inapplicable to GNU/Hurd.
27954 * manual/job.texi: Likewise.
27955 * manual/llio.texi: Likewise.
27956 (O_NOCTTY): Document as present on GNU/Linux.
27957 * manual/maint.texi: Likewise.
27958 * manual/memory.texi: Likewise.
27959 * manual/pattern.texi: Likewise.
27960 * manual/pipe.texi: Likewise.
27961 * manual/process.texi: Likewise.
27962 * manual/resource.texi: Likewise.
27963 (RUSAGE_CHILDREN): Remove statement about specifying a particular
27965 * manual/setjmp.texi: Likewise.
27966 * manual/signal.texi: Likewise.
27967 * manual/startup.texi: Likewise.
27968 * manual/stdio.texi: Likewise.
27969 * manual/terminal.texi: Likewise.
27970 (ONLCR): Document as POSIX.
27971 (OXTABS): Document availability on GNU/Linux as XTABS.
27972 (ONOEOT): Document availability separately from other bits.
27973 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
27974 * manual/time.texi: Likewise.
27975 * manual/users.texi: Likewise.
27976 * INSTALL: Regenerated.
27977 * sysdeps/gnu/errlist.c: Regenerated.
27979 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
27980 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
27981 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
27983 * configure: Regenerated.
27985 2012-03-07 Joseph Myers <joseph@codesourcery.com>
27987 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
27988 default includes instead of AC_HEADER_CHECK.
27989 * sysdeps/i386/configure: Regenerated.
27992 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
27993 * math/s_cacoshf.c (__cacoshf): Likewise.
27994 * math/s_cacoshl.c (__cacoshl): Likewise.
27995 * math/s_casinh.c (__casinh): Set signs of result from argument.
27996 * math/s_casinhf.c (__casinhf): Likewise.
27997 * math/s_casinhl.c (__casinhl): Likewise.
27998 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
27999 (casinh_test): Add more tests.
28000 * sysdeps/i386/fpu/libm-test-ulps: Update.
28001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28003 2012-03-07 Ulrich Drepper <drepper@gmail.com>
28005 * po/zh_TW.po: Update from translation team.
28007 * login/Makefile (distribute): Remove variable.
28008 * catgets/Makefile: Likewise.
28009 * mach/Makefile: Likewise.
28010 * malloc/Makefile: Likewise.
28011 * misc/Makefile: Likewise.
28012 * iconv/Makefile: Likewise.
28013 * nscd/Makefile: Likewise.
28014 * hurd/Makefile: Likewise.
28015 * manual/Makefile: Likewise.
28016 * locale/Makefile: Likewise.
28017 * intl/Makefile: Likewise.
28018 * conform/Makefile: Likewise.
28019 * nss/Makefile: Likewise.
28020 * time/Makefile: Likewise.
28021 * soft-fp/Makefile: Likewise.
28022 * dirent/Makefile: Likewise.
28023 * gmon/Makefile: Likewise.
28024 * po/Makefile: Likewise.
28025 * rt/Makefile: Likewise.
28026 * socket/Makefile: Likewise.
28027 * math/Makefile: Likewise.
28028 * signal/Makefile: Likewise.
28029 * debug/Makefile: Likewise.
28030 * elf/Makefile: Likewise.
28031 * timezone/Makefile: Likewise.
28032 * stdlib/Makefile: Likewise.
28033 * iconvdata/Makefile: Likewise.
28034 * sunrpc/Makefile: Likewise.
28035 * io/Makefile: Likewise.
28036 * argp/Makefile: Likewise.
28037 * inet/Makefile: Likewise.
28038 * hesiod/Makefile: Likewise.
28039 * grp/Makefile: Likewise.
28040 * csu/Makefile: Likewise.
28041 * wctype/Makefile: Likewise.
28042 * crypt/Makefile: Likewise.
28043 * libio/Makefile: Likewise.
28044 * string/Makefile: Likewise.
28045 * nis/Makefile: Likewise.
28046 * resolv/Makefile: Likewise.
28047 * stdio-common/Makefile: Likewise.
28048 * wcsmbs/Makefile: Likewise.
28049 * dlfcn/Makefile: Likewise.
28050 * posix/Makefile: Likewise.
28053 * timezone/Makefile: Don't install timezone files, just the programs
28056 2012-03-06 Ulrich Drepper <drepper@gmail.com>
28058 * nss/databases.def: Add missing gshadow entry.
28060 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
28062 2012-03-06 Marek Polacek <polacek@redhat.com>
28065 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
28066 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
28067 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
28068 * stdio-common/tst-long-dbl-fphex.c: New file.
28070 2012-03-06 David S. Miller <davem@davemloft.net>
28072 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28073 (set_obp_int): New function.
28074 (get_obp_int): New function.
28075 (__get_clockfreq_via_dev_openprom): Likewise.
28076 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
28077 Avoid unused variable warnings on 'val' and use builtin_expect.
28078 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
28080 (INLINE_CLONE_SYSCALL): Likewise.
28082 2012-03-05 David S. Miller <davem@davemloft.net>
28084 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28086 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
28088 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28090 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
28091 only for |x| >= 40.
28092 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28094 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
28096 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
28097 Replace gettimeofday with __vdso_gettimeofday.
28099 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28100 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
28101 __vdso_clock_gettime and __vdso_getcpu.
28103 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
28104 time with __vdso_time.
28106 2012-03-05 Joseph Myers <joseph@codesourcery.com>
28108 * manual/lang.texi (size_t): Note types to which size_t may be
28109 equivalent with the GNU C Library, but do not describe when
28110 differences between them are significant.
28112 2012-03-05 Andreas Jaeger <aj@suse.de>
28114 * sysdeps/i386/fpu/libm-test-ulps: Update.
28116 2012-03-05 Joseph Myers <joseph@codesourcery.com>
28119 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
28120 (__ieee754_pow): Save and restore rounding mode and use
28121 round-to-nearest for main computations.
28122 * math/libm-test.inc (pow_test_tonearest): New function.
28123 (pow_test_towardzero): Likewise.
28124 (pow_test_downward): Likewise.
28125 (pow_test_upward): Likewise.
28126 (main): Call the new functions.
28127 * sysdeps/i386/fpu/libm-test-ulps: Update.
28128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28131 * math/libm-test.inc (cosh_test_tonearest): New function.
28132 (cosh_test_towardzero): Likewise.
28133 (cosh_test_downward): Likewise.
28134 (cosh_test_upward): Likewise.
28135 (sinh_test_tonearest): Likewise.
28136 (sinh_test_towardzero): Likewise.
28137 (sinh_test_downward): Likewise.
28138 (sinh_test_upward): Likewise.
28139 (main): Call the new functions.
28140 * sysdeps/i386/fpu/libm-test-ulps: Update.
28141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28143 2012-03-05 Tom de Vries <tom@codesourcery.com>
28145 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
28146 default stack guard is set in last bytes.
28147 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
28149 2012-03-05 Kees Cook <keescook@chromium.org>
28151 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
28154 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
28155 possibly allocate from heap instead of stack.
28156 * stdio-common/bug-vfprintf-nargs.c: New file.
28157 * stdio-common/Makefile (tests): Add nargs overflow test.
28159 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
28161 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28163 2012-03-03 Marek Polacek <polacek@redhat.com>
28165 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
28166 * math/math_private.h: Likewise.
28167 * stdlib/tst-strtod.c: Likewise.
28168 * sysdeps/i386/i486/bits/atomic.h: Likewise.
28169 * sysdeps/x86_64/bits/atomic.h: Likewise.
28171 2012-03-02 David S. Miller <davem@davemloft.net>
28173 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
28174 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
28175 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
28176 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
28177 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
28178 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
28179 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
28180 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
28182 2012-03-02 Roland McGrath <roland@hack.frob.com>
28185 * manual/examples/README: New file, says the example source files
28186 can be used under GPL>=2.
28187 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
28188 line containing just "*/".
28189 * manual/examples/add.c: Add copyright header (GPL>=2).
28190 * manual/examples/argp-ex1.c: Likewise.
28191 * manual/examples/argp-ex2.c: Likewise.
28192 * manual/examples/argp-ex3.c: Likewise.
28193 * manual/examples/argp-ex4.c: Likewise.
28194 * manual/examples/atexit.c: Likewise.
28195 * manual/examples/db.c: Likewise.
28196 * manual/examples/dir.c: Likewise.
28197 * manual/examples/dir2.c: Likewise.
28198 * manual/examples/execinfo.c: Likewise.
28199 * manual/examples/filecli.c: Likewise.
28200 * manual/examples/filesrv.c: Likewise.
28201 * manual/examples/fmtmsgexpl.c: Likewise.
28202 * manual/examples/genpass.c: Likewise.
28203 * manual/examples/inetcli.c: Likewise.
28204 * manual/examples/inetsrv.c: Likewise.
28205 * manual/examples/isockad.c: Likewise.
28206 * manual/examples/longopt.c: Likewise.
28207 * manual/examples/memopen.c: Likewise.
28208 * manual/examples/memstrm.c: Likewise.
28209 * manual/examples/mkfsock.c: Likewise.
28210 * manual/examples/mkisock.c: Likewise.
28211 * manual/examples/mygetpass.c: Likewise.
28212 * manual/examples/pipe.c: Likewise.
28213 * manual/examples/popen.c: Likewise.
28214 * manual/examples/rprintf.c: Likewise.
28215 * manual/examples/search.c: Likewise.
28216 * manual/examples/select.c: Likewise.
28217 * manual/examples/setjmp.c: Likewise.
28218 * manual/examples/sigh1.c: Likewise.
28219 * manual/examples/sigusr.c: Likewise.
28220 * manual/examples/stpcpy.c: Likewise.
28221 * manual/examples/strdupa.c: Likewise.
28222 * manual/examples/strftim.c: Likewise.
28223 * manual/examples/strncat.c: Likewise.
28224 * manual/examples/subopt.c: Likewise.
28225 * manual/examples/swapcontext.c: Likewise.
28226 * manual/examples/termios.c: Likewise.
28227 * manual/examples/testopt.c: Likewise.
28228 * manual/examples/testpass.c: Likewise.
28229 * manual/examples/timeval_subtract.c: Likewise.
28232 * manual/time.texi (Elapsed Time): Move timeval_subtract example
28234 * manual/timeval_subtract.c.texi: ... here, new file.
28236 2012-03-02 David S. Miller <davem@davemloft.net>
28238 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
28240 2012-03-02 Joseph Myers <joseph@codesourcery.com>
28243 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
28244 (__sin): Save and restore rounding mode and use round-to-nearest
28245 for all computations.
28246 (__cos): Save and restore rounding mode and use round-to-nearest
28247 for all computations.
28248 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
28250 (tan): Save and restore rounding mode and use round-to-nearest for
28252 * math/libm-test.inc (cos_test_tonearest): New function.
28253 (cos_test_towardzero): Likewise.
28254 (cos_test_downward): Likewise.
28255 (cos_test_upward): Likewise.
28256 (sin_test_tonearest): Likewise.
28257 (sin_test_towardzero): Likewise.
28258 (sin_test_downward): Likewise.
28259 (sin_test_upward): Likewise.
28260 (tan_test_tonearest): Likewise.
28261 (tan_test_towardzero): Likewise.
28262 (tan_test_downward): Likewise.
28263 (tan_test_upward): Likewise.
28264 (main): Call the new functions.
28265 * sysdeps/i386/fpu/libm-test-ulps: Update.
28266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28269 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
28270 small n, then large n, before computing and testing k+n.
28271 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
28272 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
28274 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
28276 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
28277 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
28278 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
28279 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
28280 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
28281 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
28282 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
28283 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
28284 * math/libm-test.inc (scalbn_test): Add more tests.
28285 (scalbln_test): Likewise.
28287 * manual/filesys.texi (mode_t): Describe constraints on size and
28288 signedness, not exact equivalence to a particular type.
28290 (ino64_t): Likewise.
28292 (nlink_t): Likewise.
28293 (blkcnt_t): Likewise.
28294 (blkcnt64_t): Likewise.
28295 * manual/llio.texi (off_t): Likewise.
28298 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
28299 (__ieee754_exp): Save and restore rounding mode and use
28300 round-to-nearest for all computations.
28301 * math/libm-test.inc (exp_test_tonearest): New function.
28302 (exp_test_towardzero): Likewise.
28303 (exp_test_downward): Likewise.
28304 (exp_test_upward): Likewise.
28305 (main): Call the new functions.
28306 * sysdeps/i386/fpu/libm-test-ulps: Update.
28307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28309 2012-03-01 Chris Demetriou <cgd@google.com>
28311 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
28312 have predictable order.
28314 2012-03-01 David S. Miller <davem@davemloft.net>
28316 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
28318 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
28319 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
28320 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
28321 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
28323 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
28324 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
28325 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
28326 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
28327 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
28328 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
28329 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
28330 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
28331 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
28333 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28335 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
28336 * sysdeps/sparc/fpu/libm-test-ulps: to here.
28337 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
28339 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
28340 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28341 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
28342 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
28343 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
28344 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
28345 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
28346 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28347 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
28348 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
28349 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
28350 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28351 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28352 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
28353 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28354 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28355 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
28356 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
28357 * sysdeps/sparc/elf/configure: Regenerated.
28359 2012-03-01 Joseph Myers <joseph@codesourcery.com>
28361 * configure.in (AS, LD): Require binutils 2.20 or later.
28362 * configure: Regenerated.
28363 * manual/install.texi (Tools for Compilation): Give binutils 2.20
28364 as required minimum version.
28365 * INSTALL: Regenerated.
28369 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
28370 before squaring exponent.
28371 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
28372 bottom long double and 27 bits of top long double before squaring
28374 * math/libm-test.inc (erfc_test): Add more tests.
28375 * sysdeps/i386/fpu/libm-test-ulps: Update.
28376 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28379 2012-03-01 Kai Tietz <ktietz@redhat.com>
28381 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
28382 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
28383 containing bit-fields.
28384 * soft-fp/extended.h (_FP_UNION_E): Likewise.
28385 * soft-fp/single.h (_FP_UNION_S): Likewise.
28386 * soft-fp/double.h (_FP_UNION_D): Likewise.
28388 2012-02-29 Joseph Myers <joseph@codesourcery.com>
28391 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
28392 not include ../strcmp.S.
28393 [USE_AS_STRNCASECMP_L]: Likewise.
28394 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
28395 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
28396 * sysdeps/i386/i686/multiarch/strncase_l-c.c
28397 (__strncasecmp_l_ia32): Define as alias to
28398 __strncasecmp_l_nonascii.
28401 * math/libm-test.inc (expm1_test): Add test for bug 5794.
28402 * sysdeps/i386/fpu/libm-test-ulps: Update.
28403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28405 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
28406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28408 2012-02-29 Jeff Law <law@redhat.com>
28410 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
28411 out of bounds read.
28413 2012-02-29 Marek Polacek <polacek@redhat.com>
28416 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
28417 * elf/Makefile: Add rules to run tst-unused-dep.out.
28419 2012-02-28 David S. Miller <davem@davemloft.net>
28421 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
28422 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
28423 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
28424 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
28425 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
28426 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
28428 2012-02-29 Joseph Myers <joseph@codesourcery.com>
28430 * math/libm-test.inc (llround_test): Move one test from
28431 lround_test. Use TEST_f_L in moved test.
28432 (lround_test): Move misplaced test to llround_test. Add testcase
28435 2012-02-28 Ulrich Drepper <drepper@gmail.com>
28437 * sysdeps/x86_64/fpu/e_expf.S: New file.
28438 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
28440 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
28443 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
28444 of remain_len that may cause incomplete multi-byte character and
28446 * posix/bug-regex33.c: New file.
28447 * posix/Makefile (tests): Add bug-regex33.
28449 2012-02-28 Joseph Myers <joseph@codesourcery.com>
28451 * manual/macros.texi: New file.
28452 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
28453 * manual/libc.texinfo: Include macros.texi.
28454 * manual/creatute.texi: Likewise.
28455 * manual/install.texi: Likewise.
28456 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
28457 @glibcadj{} in references to the GNU C Library.
28458 * manual/charset.texi: Likewise.
28459 * manual/conf.texi: Likewise.
28460 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
28461 when not using those macros.
28462 * manual/creature.texi: Likewise.
28463 * manual/crypt.texi: Likewise.
28464 * manual/errno.texi: Likewise.
28465 * manual/filesys.texi: Likewise.
28466 * manual/header.texi: Likewise.
28467 * manual/install.texi: Likewise.
28468 * manual/intro.texi: Likewise.
28469 * manual/io.texi: Likewise.
28470 * manual/job.texi: Likewise.
28471 * manual/lang.texi: Likewise.
28472 * manual/libc.texiinfo: Likewise.
28473 * manual/llio.texi: Likewise.
28474 * manual/locale.texi: Likewise.
28475 * manual/maint.texi: Likewise.
28476 * manual/math.texi: Likewise.
28477 * manual/memory.texi: Likewise.
28478 * manual/message.texi: Likewise.
28479 * manual/nss.texi: Likewise.
28480 * manual/pattern.texi: Likewise.
28481 * manual/process.texi: Likewise.
28482 * manual/resource.texi: Likewise.
28483 * manual/search.texi: Likewise.
28484 * manual/setjmp.texi: Likewise.
28485 * manual/signal.texi: Likewise.
28486 * manual/socket.texi: Likewise.
28487 * manual/startup.texi: Likewise.
28488 * manual/stdio.texi: Likewise.
28489 * manual/string.texi: Likewise.
28490 * manual/sysinfo.texi: Likewise.
28491 * manual/syslog.texi: Likewise.
28492 * manual/terminal.texi: Likewise.
28493 * manual/time.texi: Likewise.
28494 * manual/users.texi: Likewise.
28495 * INSTALL: Regenerated.
28496 * NOTES: Regenerated.
28497 * sysdeps/gnu/errlist.c: Regenerated.
28499 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
28501 * include/dirent.h: Include <dirstream.h> before
28504 2012-02-28 David S. Miller <davem@davemloft.net>
28506 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
28507 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
28508 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
28509 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
28511 2012-02-27 David S. Miller <davem@davemloft.net>
28513 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
28514 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
28515 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
28516 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
28518 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
28519 frame pointer instead of stack pointer relative arg slot.
28520 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
28521 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
28522 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
28524 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
28527 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
28529 2012-02-27 David S. Miller <davem@davemloft.net>
28531 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
28532 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
28533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
28534 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
28535 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
28536 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
28537 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
28538 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
28540 2012-02-27 Joseph Myers <joseph@codesourcery.com>
28542 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
28543 later. Allow versions 5-9.
28544 * configure: Regenerated.
28545 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
28546 required minimum version and 4.6 as recommended version. Do not
28547 mention bugs in GCC 2.7 and 2.8.
28548 * INSTALL: Regenerated.
28550 2012-02-27 David S. Miller <davem@davemloft.net>
28552 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
28553 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
28554 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
28555 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
28556 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
28557 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
28558 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
28559 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
28561 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
28562 manipulate bits before adding and subtracting TWO112[sx].
28563 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
28565 2012-02-27 Roland McGrath <roland@hack.frob.com>
28568 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
28569 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
28570 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
28571 being in POSIX, because they are in 1003.1-2008.
28573 * rt/tst-aio.c: Include <fcntl.h>.
28574 * rt/tst-aio7.c: Likewise.
28575 * rt/tst-aio64.c: Likewise.
28577 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
28579 2012-02-27 Joseph Myers <joseph@codesourcery.com>
28581 * manual/install.texi (--with-headers): Describe headers as
28582 interface headers, not private headers.
28583 (Specific advice for GNU/Linux systems): Describe use of headers
28584 from "make headers_install", not private headers from older
28586 * INSTALL: Regenerated.
28587 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
28589 * sysdeps/unix/sysv/linux/configure: Regenerated.
28591 * manual/llio.texi (fclean): Remove documentation.
28593 * manual/Makefile (libc-texi-generated): New variable. Include
28595 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
28596 $(libc-texi-generated), not duplicated list of files.
28597 (version.texi, stamp-version): New rules.
28598 (realclean): Remove $(libc-texi-generated), not individual files
28599 from that list. Do not remove dir-add.texinfo.
28600 * manual/libc.texinfo: Comment out uses of edition numbers and
28601 references to printed manual. Remove last-updated dates.
28602 (EDITION): Comment out.
28604 (VERSION, UPDATED): Remove.
28605 (version.texi): Include.
28607 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
28609 * sysdeps/posix/spawni.c: Include <signal.h>.
28610 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
28611 * sysdeps/pthread/aio_fsync.c: Likewise.
28613 2012-02-26 Ulrich Drepper <drepper@gmail.com>
28615 * conform/Makefile (tests): Run only when not cross-compiling and
28616 when fast-check is not defined.
28618 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
28619 * conform/data/limits.h-data: Fixes for POSIX2008.
28620 * conform/run-conformtest.sh: Run all tests.
28621 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
28623 * include/bits/dlfcn.h: Likewise.
28624 * include/langinfo.h: Likewise.
28625 * include/monetary.h: Likewise.
28626 * include/sys/poll.h: Likewise.
28628 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
28630 * posix/spawn.h: Define __need_sigset_t.
28631 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
28632 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
28633 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
28634 to get sigevent_t only.
28635 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
28636 only for __USE_GNU.
28637 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28638 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
28639 process_vm_writev only for __USE_GNU.
28640 * termios/termios.h: Declare tcgetsid also for POSIX2008.
28642 * conform/Makefile: For now ignore errors from run-conformtest.
28643 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
28644 POSIX to avoid namespace pollution. Don't prepend headers.
28645 * conform/data/aio.h-data: Fixes for POSIX testing.
28646 * conform/data/fcntl.h-data: Likewise.
28647 * conform/data/glob.h-data: Likewise.
28648 * conform/data/grp.h-data: Likewise.
28649 * conform/data/pthread.h-data: Likewise.
28650 * conform/data/pwd.h-data: Likewise.
28651 * conform/data/signal.h-data: Likewise.
28652 * conform/data/spawn.h-data: Likewise.
28653 * conform/data/stdio.h-data: Likewise.
28654 * conform/data/stdlib.h-data: Likewise.
28655 * conform/data/stropts.h-data: Likewise.
28656 * conform/data/sys/mman.h-data: Likewise.
28657 * conform/data/sys/stat.h-data: Likewise.
28658 * conform/data/sys/types.h-data: Likewise.
28659 * conform/data/sys/wait.h-data: Likewise.
28660 * conform/data/time.h-data: Likewise.
28661 * conform/data/unistd.h-data: Likewise.
28662 * conform/data/utime.h-data: Likewise.
28664 * io/sys/stat.h: fchmod was always in POSIX.
28665 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
28666 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
28667 * rt/aio.h: Define __need_timespec before including <time.h>.
28668 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
28669 struct. Add forward declaration of pthread_attr_t and use it in
28671 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
28672 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28673 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
28674 always remove CLK_TCK definition.
28676 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
28678 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
28680 2012-02-25 Ulrich Drepper <drepper@gmail.com>
28682 * conform/run-conformtest.sh: New file.
28683 * conform/Makefile: Run run-conformtest for tests.
28684 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
28687 * conform/data/uchar.h-data: New file.
28688 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
28689 * conform/data/arpa/inet.h-data: Likewise.
28690 * conform/data/assert.h-data: Likewise.
28691 * conform/data/complex.h-data: Likewise.
28692 * conform/data/cpio.h-data: Likewise.
28693 * conform/data/ctype.h-data: Likewise.
28694 * conform/data/dirent.h-data: Likewise.
28695 * conform/data/dlfcn.h-data: Likewise.
28696 * conform/data/errno.h-data: Likewise.
28697 * conform/data/fcntl.h-data: Likewise.
28698 * conform/data/float.h-data: Likewise.
28699 * conform/data/fmtmsg.h-data: Likewise.
28700 * conform/data/fnmatch.h-data: Likewise.
28701 * conform/data/ftw.h-data: Likewise.
28702 * conform/data/glob.h-data: Likewise.
28703 * conform/data/grp.h-data: Likewise.
28704 * conform/data/iconv.h-data: Likewise.
28705 * conform/data/inttypes.h-data: Likewise.
28706 * conform/data/langinfo.h-data: Likewise.
28707 * conform/data/libgen.h-data: Likewise.
28708 * conform/data/limits.h-data: Likewise.
28709 * conform/data/locale.h-data: Likewise.
28710 * conform/data/math.h-data: Likewise.
28711 * conform/data/monetary.h-data: Likewise.
28712 * conform/data/mqueue.h-data: Likewise.
28713 * conform/data/ndbm.h-data: Likewise.
28714 * conform/data/net/if.h-data: Likewise.
28715 * conform/data/netdb.h-data: Likewise.
28716 * conform/data/netinet/in.h-data: Likewise.
28717 * conform/data/nl_types.h-data: Likewise.
28718 * conform/data/poll.h-data: Likewise.
28719 * conform/data/pthread.h-data: Likewise.
28720 * conform/data/pwd.h-data: Likewise.
28721 * conform/data/regex.h-data: Likewise.
28722 * conform/data/sched.h-data: Likewise.
28723 * conform/data/search.h-data: Likewise.
28724 * conform/data/semaphore.h-data: Likewise.
28725 * conform/data/setjmp.h-data: Likewise.
28726 * conform/data/signal.h-data: Likewise.
28727 * conform/data/spawn.h-data: Likewise.
28728 * conform/data/stdarg.h-data: Likewise.
28729 * conform/data/stdio.h-data: Likewise.
28730 * conform/data/stdlib.h-data: Likewise.
28731 * conform/data/string.h-data: Likewise.
28732 * conform/data/strings.h-data: Likewise.
28733 * conform/data/stropts.h-data: Likewise.
28734 * conform/data/sys/ipc.h-data: Likewise.
28735 * conform/data/sys/mman.h-data: Likewise.
28736 * conform/data/sys/msg.h-data: Likewise.
28737 * conform/data/sys/resource.h-data: Likewise.
28738 * conform/data/sys/select.h-data: Likewise.
28739 * conform/data/sys/sem.h-data: Likewise.
28740 * conform/data/sys/shm.h-data: Likewise.
28741 * conform/data/sys/socket.h-data: Likewise.
28742 * conform/data/sys/stat.h-data: Likewise.
28743 * conform/data/sys/statvfs.h-data: Likewise.
28744 * conform/data/sys/time.h-data: Likewise.
28745 * conform/data/sys/timeb.h-data: Likewise.
28746 * conform/data/sys/times.h-data: Likewise.
28747 * conform/data/sys/types.h-data: Likewise.
28748 * conform/data/sys/uio.h-data: Likewise.
28749 * conform/data/sys/un.h-data: Likewise.
28750 * conform/data/sys/utsname.h-data: Likewise.
28751 * conform/data/sys/wait.h-data: Likewise.
28752 * conform/data/syslog.h-data: Likewise.
28753 * conform/data/tar.h-data: Likewise.
28754 * conform/data/termios.h-data: Likewise.
28755 * conform/data/utime.h-data: Likewise.
28756 * conform/data/utmpx.h-data: Likewise.
28757 * conform/data/varargs.h-data: Likewise.
28758 * conform/data/wchar.h-data: Likewise.
28759 * conform/data/wctype.h-data: Likewise.
28760 * conform/data/wordexp.h-data: Likewise.
28762 * include/stropts.h: New file.
28763 * include/uchar.h: New file.
28764 * include/aio.h: Changes to allow conformtest.pl to use the headers.
28765 * include/assert.h: Likewise.
28766 * include/ctype.h: Likewise.
28767 * include/dirent.h: Likewise.
28768 * include/dlfcn.h: Likewise.
28769 * include/fcntl.h: Likewise.
28770 * include/fnmatch.h: Likewise.
28771 * include/glob.h: Likewise.
28772 * include/grp.h: Likewise.
28773 * include/libio.h: Likewise.
28774 * include/locale.h: Likewise.
28775 * include/math.h: Likewise.
28776 * include/net/if.h: Likewise.
28777 * include/netdb.h: Likewise.
28778 * include/netinet/in.h: Likewise.
28779 * include/pthread.h: Likewise.
28780 * include/pwd.h: Likewise.
28781 * include/regex.h: Likewise.
28782 * include/sched.h: Likewise.
28783 * include/search.h: Likewise.
28784 * include/setjmp.h: Likewise.
28785 * include/signal.h: Likewise.
28786 * include/stdio.h: Likewise.
28787 * include/stdlib.h: Likewise.
28788 * include/string.h: Likewise.
28789 * include/sys/cdefs.h: Likewise.
28790 * include/sys/mman.h: Likewise.
28791 * include/sys/msg.h: Likewise.
28792 * include/sys/resource.h: Likewise.
28793 * include/sys/select.h: Likewise.
28794 * include/sys/socket.h: Likewise.
28795 * include/sys/stat.h: Likewise.
28796 * include/sys/statvfs.h: Likewise.
28797 * include/sys/time.h: Likewise.
28798 * include/sys/times.h: Likewise.
28799 * include/sys/uio.h: Likewise.
28800 * include/sys/utsname.h: Likewise.
28801 * include/sys/wait.h: Likewise.
28802 * include/termios.h: Likewise.
28803 * include/time.h: Likewise.
28804 * include/ulimit.h: Likewise.
28805 * include/unistd.h: Likewise.
28806 * include/utime.h: Likewise.
28807 * include/wchar.h: Likewise.
28808 * include/wctype.h: Likewise.
28809 * include/wordexp.h: Likewise.
28811 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
28813 * time/time.h: TIME_UTC must be a macro.
28814 Make timespec_get available for ISO C11 only as well.
28816 2012-02-24 Ulrich Drepper <drepper@gmail.com>
28818 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
28819 Reported by Peng Haitao <penght@cn.fujitsu.com>.
28821 2012-02-24 Joseph Myers <joseph@codesourcery.com>
28823 * configure.in: Use -o not -a in test for unsupported multi-arch.
28825 2012-02-24 Joseph Myers <joseph@codesourcery.com>
28827 * manual/texinfo.tex: Update to version 2012-01-19.16.
28829 2012-02-24 Joseph Myers <joseph@codesourcery.com>
28831 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
28833 2012-02-24 Roland McGrath <roland@hack.frob.com>
28836 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
28837 * manual/fdl-1.3.texi: New file.
28838 * manual/fdl-1.1.texi: File removed.
28841 * manual/libc.texinfo (FDL_VERSION): New @set.
28842 Use it for mention of FDL in cover text.
28843 (Documentation License): Use it in @include file name.
28845 2012-02-22 Joseph Myers <joseph@codesourcery.com>
28846 Roland McGrath <roland@hack.frob.com>
28849 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
28850 not LONG_LONG_MAX and LONG_LONG_MIN.
28851 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
28852 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
28854 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
28856 2012-02-22 Joseph Myers <joseph@codesourcery.com>
28860 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
28861 manipulate bits before adding and subtracting TWO23[sx].
28862 * math/libm-test.inc (nearbyint_test): Add more tests.
28864 2012-02-22 Joseph Myers <joseph@codesourcery.com>
28867 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
28868 bits before adding and subtracting TWO23[sx].
28869 * math/libm-test.inc (rint_test): Add more tests.
28870 (rint_test_tonearest): Likewise.
28871 (rint_test_towardzero): Likewise.
28872 (rint_test_downward): Likewise.
28873 (rint_test_upward: Likewise.
28875 2012-02-22 Joseph Myers <joseph@codesourcery.com>
28878 * include/stdc-predef.h: New file. Extracted from features.h.
28879 * include/features.h: Include stdc-predef.h.
28880 * Makefile (headers): Add stdc-predef.h.
28881 * CONFORMANCE (Compiler limitations): Update.
28883 2012-02-22 Joseph Myers <joseph@codesourcery.com>
28885 * manual/libc.texinfo (VERSION, UPDATED): Revert.
28887 2012-02-21 David S. Miller <davem@davemloft.net>
28889 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
28890 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
28892 2012-02-20 David S. Miller <davem@davemloft.net>
28894 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
28895 using a normal save/restore sequence, rather than allocating a
28896 dummy stack frame just to store a frame pointer and restore.
28897 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28899 2012-02-21 Joseph Myers <joseph@codesourcery.com>
28901 * manual/install.texi: Fix stray word in line-wrapped comment.
28903 2012-02-20 David S. Miller <davem@davemloft.net>
28905 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
28906 both binutils and gcc support GOTDATA.
28908 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
28909 "rd %pc" in the PIC register setup sequences.
28911 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
28912 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
28913 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
28914 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
28915 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
28916 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
28917 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28918 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28919 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
28920 (SYSCALL_ERROR_HANDLER): Likewise.
28921 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
28922 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28923 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
28924 (SYSCALL_ERROR_HANDLER): Likewise.
28926 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
28927 (HAVE_GCC_GOTDATA): New.
28928 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
28929 relocation support in both binutils and gcc.
28930 * sysdeps/sparc/elf/configure: Regenerate.
28932 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
28933 * sysdeps/sparc/sparc32/elf/configure: Delete.
28934 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
28935 * sysdeps/sparc/sparc64/elf/configure: Delete.
28936 * sysdeps/sparc/elf/configure.in: New file.
28937 * sysdeps/sparc/elf/configure: Generate.
28939 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
28940 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
28941 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
28942 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
28943 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
28945 2012-02-21 Joseph Myers <joseph@codesourcery.com>
28947 * manual/install.texi: Do not mention specific glibc version
28949 * manual/libc.texinfo (VERSION, UPDATED): Update.
28950 (@copying): Use @copyright{} and range of years.
28952 2012-02-21 Joseph Myers <joseph@codesourcery.com>
28955 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
28956 [crti.S not in sysdirs] (generated): Do not append.
28957 [crti.S not in sysdirs] (omit-deps): Likewise.
28958 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
28959 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
28960 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
28961 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
28962 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
28964 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
28965 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
28966 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
28967 * csu/defs.awk: Remove file.
28968 * sysdeps/generic/initfini.c: Likewise.
28969 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
28971 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
28974 2012-02-20 Joseph Myers <joseph@codesourcery.com>
28976 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
28977 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
28978 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
28979 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
28980 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28981 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
28983 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
28984 (__EPOLL_PACKED): Define to empty if not defined by
28986 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
28987 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28990 2012-02-20 Joseph Myers <joseph@codesourcery.com>
28992 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
28993 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
28994 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
28995 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
28997 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
28998 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29001 2012-02-20 Joseph Myers <joseph@codesourcery.com>
29003 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
29005 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29006 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
29007 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
29008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29010 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
29012 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29013 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29015 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
29017 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
29018 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
29020 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
29022 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
29025 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
29027 * math/w_acos.c: Use non-signaling floating-point comparisons.
29028 * math/w_acosf.c: Likewise.
29029 * math/w_acosh.c: Likewise.
29030 * math/w_acoshf.c: Likewise.
29031 * math/w_acoshl.c: Likewise.
29032 * math/w_acosl.c: Likewise.
29033 * math/w_asin.c: Likewise.
29034 * math/w_asinf.c: Likewise.
29035 * math/w_asinl.c: Likewise.
29036 * math/w_atanh.c: Likewise.
29037 * math/w_atanhf.c: Likewise.
29038 * math/w_atanhl.c: Likewise.
29039 * math/w_exp2.c: Likewise.
29040 * math/w_exp2f.c: Likewise.
29041 * math/w_exp2l.c: Likewise.
29042 * math/w_j0.c: Likewise.
29043 * math/w_j0f.c: Likewise.
29044 * math/w_j0l.c: Likewise.
29045 * math/w_j1.c: Likewise.
29046 * math/w_j1f.c: Likewise.
29047 * math/w_j1l.c: Likewise.
29048 * math/w_jn.c: Likewise.
29049 * math/w_jnf.c: Likewise.
29050 * math/w_log.c: Likewise.
29051 * math/w_log10.c: Likewise.
29052 * math/w_log10f.c: Likewise.
29053 * math/w_log10l.c: Likewise.
29054 * math/w_log2.c: Likewise.
29055 * math/w_log2f.c: Likewise.
29056 * math/w_log2l.c: Likewise.
29057 * math/w_logf.c: Likewise.
29058 * math/w_logl.c: Likewise.
29059 * math/w_sqrt.c: Likewise.
29060 * math/w_sqrtf.c: Likewise.
29061 * math/w_sqrtl.c: Likewise.
29062 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29063 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
29064 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29065 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29066 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29068 2012-02-19 Joseph Myers <joseph@codesourcery.com>
29071 * manual/string.texi (strnlen): Use correct parameter name in
29072 equivalent expression.
29074 2012-02-19 Joseph Myers <joseph@codesourcery.com>
29077 * manual/users.texi (seteuid): Consistently use neweuid for
29080 2012-02-19 Joseph Myers <joseph@codesourcery.com>
29083 * manual/nss.texi (Services in the NSS configuration): Correct
29084 list of services in example configuration file.
29086 2012-02-19 Nick Bowler <nbowler@draconx.ca>
29089 * manual/arith.texi: Remove statements about negative zero
29090 behaving identically to zero.
29092 2012-02-18 Joseph Myers <joseph@codesourcery.com>
29095 * manual/install.texi: Do not document upgrading from libc5.
29097 2012-02-18 Joseph Myers <joseph@codesourcery.com>
29100 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
29102 2012-02-18 David S. Miller <davem@davemloft.net>
29104 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
29105 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
29106 %o7 across the call.
29107 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
29109 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
29110 SETUP_PIC_REG_LEAF.
29111 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29112 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
29113 * sysdeps/sparc/crtn.S: Likewise.
29115 2012-02-17 Ulrich Drepper <drepper@gmail.com>
29117 * aout/Makefile: Remove.
29119 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
29122 * manual/examples/argp-ex1.c (main): Format definition in GNU
29124 * manual/examples/argp-ex2.c (main): Likewise.
29125 * manual/examples/argp-ex3.c (main): Likewise.
29126 * manual/examples/argp-ex4.c (main): Likewise.
29127 * manual/examples/longopt.c (main): Use new-style prototype
29129 * manual/examples/strncat.c (main): Specify return type and use
29130 (void) for arguments.
29131 * manual/examples/subopt.c (main): Use char **argv argument.
29133 2012-02-17 Joseph Myers <joseph@codesourcery.com>
29136 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
29139 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
29142 * manual/string.texi (strchr): Change when strchrnul is
29145 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
29148 * manual/locale.texi (setlocale): Document LOCPATH.
29150 2012-02-17 Joseph Myers <joseph@codesourcery.com>
29153 * manual/process.texi (execle): Move @dots{} before last argument.
29155 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
29158 * manual/charset.texi (Generic Charset Conversion): Fix typo
29159 (LC_TYPE -> LC_CTYPE).
29161 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
29164 * manual/arith.texi (scalbn): Use @var{} on parameter names.
29165 (scalbnf): Likewise.
29166 (scalbnl): Likewise.
29167 (scalbln): Likewise.
29168 (scalblnf): Likewise.
29169 (scalblnl): Likewise.
29170 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
29171 (vwarnx): Likewise.
29174 * manual/filesys.texi (telldir): Use braces around return type.
29175 * manual/llio.texi (mmap): Add space after comma.
29176 (mmap64): Likewise.
29177 * manual/math.texi (jn): Use @var{} on parameter names.
29183 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
29185 * manual/resource.texi (ulimit): Use @dots{} instead of literal
29187 (sched_get_priority_min): Remove semicolon on @deftypefun line.
29188 (sched_get_priority_max): Likewise.
29189 * manual/signal.texi (sigvec): Add space after comma.
29190 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
29192 (if_indextoname): Likewise.
29193 (if_freenameindex): Likewise.
29194 (sendto): Use ',' instead of '.' in prototype.
29195 * manual/startup.texi (syscall): Use @dots{} instead of literal
29197 * manual/stdio.texi (__fpending): Separate initial words of
29198 paragraph from @deftypefun line.
29199 * manual/syslog.texi (syslog): Use @dots{} instead of literal
29201 (vsyslog): Use @var{} on parameter names.
29202 * manual/terminal.texi (stty): Use @var{} on parameter names.
29203 * manual/users.texi (getutmp): Use @var{} on parameter names.
29204 (getutmpx): Likewise.
29206 2012-02-17 Joseph Myers <joseph@codesourcery.com>
29209 * manual/stdio.texi (fopen): Fix typos in description of
29212 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
29215 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
29216 get clock_id definition.
29218 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
29221 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
29222 (madvise): Cast every argument to void on its own.
29224 2012-02-17 Joseph Myers <joseph@codesourcery.com>
29227 * manual/startup.texi (Exit Status): Fix typo.
29229 2012-02-17 Joseph Myers <joseph@codesourcery.com>
29232 * manual/examples/argp-ex1.c: Include <stdlib.h>.
29233 * manual/examples/argp-ex2.c: Likewise.
29234 * manual/examples/argp-ex3.c: Likewise.
29236 2012-02-16 Richard Henderson <rth@redhat.com>
29238 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
29239 * sysdeps/s390/s390-32/initfini.c: Remove.
29240 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
29241 * sysdeps/s390/s390-64/initfini.c: Remove.
29243 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29245 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
29246 compiler output for sysdeps/generic/initfini.c.
29247 * sysdeps/sh/elf/initfini.c: Remove file.
29249 2012-02-16 David S. Miller <davem@davemloft.net>
29252 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
29254 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
29255 * sysdeps/sparc/crti.S: New file.
29256 * sysdeps/sparc/crtn.S: New file.
29257 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
29258 * sysdeps/sparc/sparc64/Makefile: Likewise.
29260 2012-02-15 Mike Frysinger <vapier@gentoo.org>
29263 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
29265 2012-02-15 Roland McGrath <roland@hack.frob.com>
29268 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
29270 * mach/devstream.c (cookie_io_functions_t): Macro removed.
29271 (write, read, close): Likewise.
29272 Patch by Aurelien Jarno <aurelien@aurel32.net>.
29274 2012-02-15 Joseph Myers <joseph@codesourcery.com>
29276 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
29277 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
29278 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
29279 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
29281 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
29282 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29285 2012-02-14 Marek Polacek <polacek@redhat.com>
29287 * sysdeps/x86_64/crti.S: New file.
29288 * sysdeps/x86_64/crtn.S: New file.
29289 * sysdeps/x86_64/elf/initfini.c: Remove file.
29291 2012-02-13 Joseph Myers <joseph@codesourcery.com>
29293 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
29294 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
29295 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
29296 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
29298 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
29299 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29302 2012-02-13 Joseph Myers <joseph@codesourcery.com>
29304 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
29305 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
29306 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
29307 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
29309 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
29310 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29313 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
29315 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
29316 __feraiseexcept instead of feraiseexcept.
29318 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
29319 nanosleep invocations.
29320 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
29321 strings, and add error checking for a nanosleep invocations.
29323 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
29325 Replace FSF snail mail address with URLs, as per GNU coding standards.
29326 Most of the snail mail addresses were wrong anyway, and omitting
29327 them makes the source code easier to maintain. Almost all of the
29328 changes are to license notices and to locale LC_IDENTIFICATION
29329 addresses, except for this one:
29330 * manual/libc.texinfo: In "Published by", give the FSF's URL,
29331 not its snail mail address.
29333 2012-02-09 Richard Henderson <rth@twiddle.net>
29335 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
29336 of kernel-features.h.
29338 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
29340 2012-02-08 Marek Polacek <polacek@redhat.com>
29342 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
29343 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
29344 * sysdeps/gnu/_G_config.h: Likewise.
29345 * sysdeps/generic/_G_config.h: Likewise.
29347 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
29349 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
29351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29353 * sysdeps/powerpc/powerpc32/crti.S: New file.
29354 * sysdeps/powerpc/powerpc32/crtn.S: New file.
29355 * sysdeps/powerpc/powerpc64/crti.S: New file.
29356 * sysdeps/powerpc/powerpc64/crtn.S: New file.
29358 * Makeconfig (have-initfini): Don't set.
29359 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
29360 * configure.in (nopic_initfini): Don't substitute.
29361 * config.h.in (HAVE_INITFINI): Don't #undef.
29362 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
29363 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
29365 2012-02-08 Joseph Myers <joseph@codesourcery.com>
29367 Support crti.S and crtn.S provided directly by architectures.
29368 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
29369 [crti.S in sysdirs] (omit-deps): Likewise.
29370 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
29371 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
29372 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
29373 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
29374 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
29375 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
29376 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
29377 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
29378 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
29379 compiler output for sysdeps/generic/initfini.c.
29380 * sysdeps/i386/elf/Makefile: Remove file.
29381 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
29383 2012-02-07 Marek Polacek <polacek@redhat.com>
29385 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
29386 * sysdeps/gnu/_G_config.h: Likewise.
29387 * sysdeps/mach/hurd/_G_config.h: Likewise.
29389 2012-02-07 Marek Polacek <polacek@redhat.com>
29391 * math/Makefile (tests): Add tst-CMPLX2.
29392 * math/tst-CMPLX2.c: New file.
29394 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
29396 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29398 * math/libm-test.inc (jn_test): Add missing L suffix.
29400 2012-02-06 Marek Polacek <polacek@redhat.com>
29402 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
29403 * sysdeps/i386/fpu/e_powf.S: Likewise.
29404 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29405 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
29406 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29407 * sysdeps/i386/fpu/e_pow.S: Likewise.
29408 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
29409 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29410 * sysdeps/i386/fpu/s_expm1.S: Likewise.
29411 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
29412 * sysdeps/i386/fpu/e_log2.S: Likewise.
29413 * sysdeps/i386/fpu/e_log2l.S: Likewise.
29414 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29415 * sysdeps/i386/fpu/e_powl.S: Likewise.
29416 * sysdeps/i386/fpu/s_log1p.S: Likewise.
29417 * sysdeps/i386/fpu/e_log10f.S: Likewise.
29418 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
29419 * sysdeps/i386/fpu/e_logl.S: Likewise.
29420 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
29421 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
29422 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
29423 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
29424 * sysdeps/i386/fpu/e_log2f.S: Likewise.
29425 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29426 * sysdeps/i386/fpu/e_log.S: Likewise.
29427 * sysdeps/i386/fpu/s_cexp.S: Likewise.
29428 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29429 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
29430 * sysdeps/i386/fpu/e_logf.S: Likewise.
29431 * sysdeps/i386/fpu/e_log10l.S: Likewise.
29432 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29433 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
29434 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
29435 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
29436 * sysdeps/i386/fpu/e_log10.S: Likewise.
29437 * sysdeps/i386/fpu/s_frexp.S: Likewise.
29438 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29439 * sysdeps/i386/fpu/s_asinh.S: Likewise.
29440 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
29441 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29442 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
29443 * sysdeps/i386/asm-syntax.h: Likewise.
29444 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29445 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29446 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29447 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
29448 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
29449 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29450 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
29451 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
29452 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29453 * sysdeps/powerpc/sysdep.h: Likewise.
29454 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
29455 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29457 2012-02-06 Joseph Myers <joseph@codesourcery.com>
29460 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
29462 2012-02-06 Joseph Myers <joseph@codesourcery.com>
29464 * sysdeps/i386/sysdep.h: Include <features.h>.
29465 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
29468 2012-02-05 Joseph Myers <joseph@codesourcery.com>
29470 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
29472 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
29475 2012-02-03 Joseph Myers <joseph@codesourcery.com>
29477 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
29478 (SETUP_PIC_REG): Use GET_PC_THUNK.
29479 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
29482 2012-02-03 Joseph Myers <joseph@codesourcery.com>
29484 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
29485 for non-PIC compilation.
29486 (SETUP_PIC_REG): Add .p2align directive.
29487 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
29488 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
29489 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29490 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29491 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
29492 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29493 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
29494 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29495 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29496 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29497 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29498 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29499 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29500 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29501 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29502 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29503 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29504 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29505 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29506 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29507 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29508 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29509 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29510 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29511 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
29512 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
29513 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29514 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29515 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29516 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29517 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29518 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29519 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29520 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29521 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29522 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29523 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29524 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29525 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29526 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29527 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29529 2012-02-03 Joseph Myers <joseph@codesourcery.com>
29531 * math/tst-CMPLX.c: Include <stdio.h>.
29533 2012-01-31 Joseph Myers <joseph@codesourcery.com>
29535 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
29537 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
29538 * sysdeps/sparc/bits/mathdef.h: Likewise.
29540 2012-01-31 Marek Polacek <polacek@redhat.com>
29542 * libio/libio.h: Don't define _PARAMS.
29543 * locale/programs/config.h: Don't define PARAMS.
29544 * stdlib/strtol_l.c: Likewise.
29545 (__strtol_l): Remove PARAMS from the prototype.
29547 2012-01-31 Ulrich Drepper <drepper@gmail.com>
29549 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
29550 names. Just use the correct names. Remove unnecessary wrapper
29552 * malloc/arena.c: Likewise.
29553 * malloc/hooks.c: Likewise.
29555 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
29556 ARENA_TEST says not to. Simplify test for creation of a new arena.
29557 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
29559 2012-01-30 Ulrich Drepper <drepper@gmail.com>
29561 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
29563 (update_get_addr): New function.
29564 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
29565 GET_ADDR_MODULE parameter.
29567 2012-01-30 Joseph Myers <joseph@codesourcery.com>
29569 * crypt/cert.c: Remove __STDC__ conditionals.
29570 * crypt/crypt-entry.c: Likewise.
29571 * crypt/crypt_util.c: Likewise.
29572 * libio/filedoalloc.c: Likewise.
29573 * libio/fileops.c: Likewise.
29574 * libio/genops.c: Likewise.
29575 * libio/iofclose.c: Likewise.
29576 * libio/iofdopen.c: Likewise.
29577 * libio/iofopen.c: Likewise.
29578 * libio/iofopen64.c: Likewise.
29579 * libio/iogetdelim.c: Likewise.
29580 * libio/iopopen.c: Likewise.
29581 * libio/obprintf.c: Likewise.
29582 * libio/oldfileops.c: Likewise.
29583 * libio/oldiofclose.c: Likewise.
29584 * libio/oldiofdopen.c: Likewise.
29585 * libio/oldiofopen.c: Likewise.
29586 * libio/oldiopopen.c: Likewise.
29587 * libio/wfiledoalloc.c: Likewise.
29588 * libio/wgenops.c: Likewise.
29589 * locale/programs/xmalloc.c: Likewise.
29590 * misc/syslog.c: Likewise.
29591 * stdio-common/xbug.c: Likewise.
29592 * string/memchr.c: Likewise.
29593 * string/memcmp.c: Likewise.
29594 * string/memrchr.c: Likewise.
29595 * string/rawmemchr.c: Likewise.
29596 * sysdeps/posix/getcwd.c: Likewise.
29597 * time/strftime_l.c: Likewise.
29599 2012-01-30 Joseph Myers <joseph@codesourcery.com>
29601 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
29602 * config.make.in (config-cflags-sse2avx): Define.
29603 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
29606 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
29608 * scripts/config.guess: Update from upstream config git repository.
29609 * scripts/config.sub: Likewise.
29611 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
29613 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
29615 (R_TILEPRO_*, R_TILEGX_*): New macros.
29617 * scripts/firstversions.awk: Fix bug in version range handling.
29619 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
29621 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
29623 * include/sys/epoll.h: New file.
29624 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
29627 2012-01-28 Ulrich Drepper <drepper@gmail.com>
29629 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
29630 Avoid unnecessary __WORDSIZE == 64 test.
29631 (fmaxf): Use VEX format if possible.
29636 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
29637 * math/math_private.h: Remove libc_fegetround* and
29639 * sysdeps/i386/configure.in: Check for -msse2avx.
29640 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
29641 also if SSE2AVX is defined.
29642 Remove libc_fegetround* and libc_fesetround*.
29643 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
29644 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
29645 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
29647 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29648 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29649 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29650 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29651 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29653 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
29655 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29657 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
29659 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
29661 2012-01-27 Ulrich Drepper <drepper@gmail.com>
29664 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
29666 * Makeconfig (libm): Define.
29667 * elf/Makefile: Add rules to build and run tst-relsort1.
29668 * elf/tst-relsort1.c: New file.
29669 * elf/tst-relsort1mod1.c: New file.
29670 * elf/tst-relsort1mod2.c: New file.
29672 2012-01-27 Joseph Myers <joseph@codesourcery.com>
29674 * math/s_ldexp.c: Remove __STDC__ conditionals.
29675 * math/s_ldexpf.c: Likewise.
29676 * math/s_ldexpl.c: Likewise.
29677 * math/s_nextafter.c: Likewise.
29678 * math/s_nexttowardf.c: Likewise.
29679 * math/s_significand.c: Likewise.
29680 * math/s_significandf.c: Likewise.
29681 * math/s_significandl.c: Likewise.
29682 * math/w_jnl.c: Likewise.
29683 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
29684 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
29685 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
29686 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
29687 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
29688 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29689 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
29690 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29691 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29692 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29693 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29694 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29695 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29696 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29697 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29698 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29699 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29700 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29701 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29702 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29703 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29704 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29705 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29706 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29707 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29708 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29709 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29710 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29711 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29712 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29713 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29714 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29715 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29716 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29717 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29718 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29719 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29720 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29721 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29722 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29723 * sysdeps/ieee754/k_standard.c: Likewise.
29724 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29725 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29726 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29727 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29728 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29729 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29730 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29731 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29732 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29733 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29734 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29735 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29736 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29737 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29738 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29739 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29740 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29741 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29742 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29743 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29744 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29745 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29746 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29747 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29748 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29749 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29750 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29751 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29752 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29753 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
29754 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29755 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
29756 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29757 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29758 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
29759 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
29760 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
29761 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29762 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
29763 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
29764 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
29765 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
29766 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
29767 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
29768 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29769 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
29770 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
29771 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29772 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
29773 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
29774 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
29775 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29776 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29777 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
29778 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
29779 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
29780 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
29781 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29782 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29783 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29784 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29785 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
29786 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
29787 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29788 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29789 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29790 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29791 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
29792 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
29793 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29794 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29795 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29796 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29797 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29798 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
29799 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29800 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29801 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29802 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29803 * sysdeps/ieee754/s_matherr.c: Likewise.
29804 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29805 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29806 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29807 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29809 2012-01-26 Joseph Myers <joseph@codesourcery.com>
29811 * crypt/md5.h: Remove __STDC__ conditionals.
29812 * libio/libioP.h: Likewise.
29813 * locale/programs/config.h: Likewise.
29814 * sysdeps/generic/sysdep.h: Likewise.
29815 * sysdeps/i386/asm-syntax.h: Likewise.
29816 * sysdeps/s390/asm-syntax.h: Likewise.
29817 * sysdeps/unix/sysdep.h: Likewise.
29818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
29819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29821 2012-01-26 Joseph Myers <joseph@codesourcery.com>
29823 * libio/libio.h: Remove __STDC__ conditionals.
29824 * malloc/obstack.h: Likewise.
29825 * math/complex.h: Likewise.
29826 * math/math.h: Likewise.
29827 * sysdeps/generic/_G_config.h: Likewise.
29828 * sysdeps/gnu/_G_config.h: Likewise.
29829 * sysdeps/mach/hurd/_G_config.h: Likewise.
29830 * sysdeps/powerpc/bits/mathdef.h: Likewise.
29831 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
29832 * sysdeps/sparc/bits/mathdef.h: Likewise.
29834 2012-01-26 Ulrich Drepper <drepper@gmail.com>
29837 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
29838 Clean up HAS_* macros.
29839 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
29840 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
29842 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
29844 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29845 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29846 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29847 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29848 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29850 2012-01-25 Joseph Myers <joseph@codesourcery.com>
29852 * elf/tst-unique3.cc (gets): Remove declaration.
29853 * elf/tst-unique3lib.cc (gets): Likewise.
29854 * elf/tst-unique3lib2.cc (gets): Likewise.
29855 * elf/tst-unique4.cc (gets): Likewise.
29857 2012-01-24 Ulrich Drepper <drepper@gmail.com>
29859 * include/stdio.h: Add C++ protection. Add gets declarations and
29861 * debug/tst-chk1.c: Don't declare gets here.
29862 * stdio-common/tst-gets.c: Likewise.
29864 2012-01-24 Joseph Myers <joseph@codesourcery.com>
29866 * posix/glob: Remove directory.
29868 2012-01-24 Joseph Myers <joseph@codesourcery.com>
29870 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
29872 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
29874 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
29875 of the non-standard EPFNOSUPPORT.
29877 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
29879 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
29880 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
29881 ANYWHERE set to 1 only on KERN_NO_SPACE error.
29883 2012-01-21 Ulrich Drepper <drepper@gmail.com>
29885 * wcsmbs/uchar.h: Test __STDC_VERSION__.
29887 2012-01-20 Ulrich Drepper <drepper@gmail.com>
29889 * nscd/aicache.c (addhstaiX): Do not cache negative results of
29891 * nscd/grpcache.c (cache_addgr): Likewise.
29892 * nscd/hstcache.c (cache_addhst): Likewise.
29893 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29894 * nscd/pwdcache.c (cache_addpw): Likewise.
29895 * nscd/servicescache.c (cache_addserv): Likewise.
29897 2012-01-16 Ulrich Drepper <drepper@gmail.com>
29899 * malloc/malloc.c: Various cleanups.
29900 * malloc/hooks.c: Likewise.
29902 * stdlib/Makefile (tests): Add bug-fmtmsg1.
29903 * stdlib/bug-fmtmsg1.c: New file.
29905 * stdlib/fmtmsg.c (init): Add missing unlock.
29906 Patch by Peng Haitao <penght@cn.fujitsu.com>.
29908 2012-01-12 Marek Polacek <polacek@redhat.com>
29910 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
29913 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
29915 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
29916 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
29917 macro to ensure uniqueness of label name.
29918 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
29919 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
29921 2012-01-11 Ulrich Drepper <drepper@gmail.com>
29923 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
29925 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
29926 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29927 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29928 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
29930 2012-01-10 Ulrich Drepper <drepper@gmail.com>
29932 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
29934 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
29935 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29936 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29938 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
29940 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
29941 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29942 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29943 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
29945 * math/bits/math-finite.h: Add ldexp support.
29947 2012-01-10 Marek Polacek <polacek@redhat.com>
29949 * locale/programs/localedef.h (show_archive_content): Add noreturn
29952 2012-01-09 Ulrich Drepper <drepper@gmail.com>
29954 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
29956 2012-01-08 Ulrich Drepper <drepper@gmail.com>
29958 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
29960 * io/Makefile (headers): Add bits/poll2.h.
29962 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
29964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
29965 typo #include statement.
29967 2012-01-08 Ulrich Drepper <drepper@gmail.com>
29969 * include/sys/cdefs.h: Define __attribute_alloc_size.
29970 * catgets/gencat.c: Add alloc_size attribute and apply consistently
29971 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
29972 * elf/pldd.c: Likewise.
29973 * iconv/iconv_charmap.c: Likewise.
29974 * iconv/iconvconfig.c: Likewise.
29975 * iconv/strtab.c: Likewise.
29976 * locale/programs/locale.c: Likewise.
29977 * locale/programs/localedef.h: Likewise.
29978 * locale/programs/simple-hash.c: Likewise.
29979 * nscd/nscd.h: Likewise.
29980 * nss/makedb.c: Likewise.
29981 * sysdeps/generic/ldconfig.h: Likewise.
29982 * locale/programs/localedef.c: Remove xmalloc prototype.
29983 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
29985 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29987 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
29990 2012-01-08 Ulrich Drepper <drepper@gmail.com>
29992 * math/Makefile (tests): Add tst-CMPLX.
29993 * math/tst-CMPLX.c: New file.
29995 * math/complex.h (CMPLXL): Fix typo.
29997 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
29998 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
30000 * debug/tst-chk1.c: Add poll and ppoll tests.
30001 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
30002 * include/sys/poll.h: Add hidden proto for ppoll.
30003 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
30004 * sysdeps/mach/hurd/ppoll.c: Likewise.
30005 * io/ppoll.c: Likewise.
30006 * debug/poll_chk.c: New file.
30007 * debug/ppoll_chk.c: New file.
30008 * include/bits/poll2.h: New file.
30009 * io/bits/poll2.h: New file.
30012 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
30014 * configure.in: static is always set to yes. Remove.
30015 * config.make.in: Don't set build-static.
30016 * Makeconfig: Remove use of build-static.
30017 * dlfcn/Makefile: Likewise.
30018 * elf/Makefile: Likewise.
30019 * math/Makefile: Likewise.
30020 * misc/Makefile: Likewise.
30021 * nptl/Makefile: Likewise.
30022 * sysdeps/mach/hurd/Makefile: Likewise.
30024 * configure.in: PWD_P is not used anymore.
30025 * config.make.in: Remove PWD_P entry.
30027 * configure.in: Remove last remnants of RANLIB.
30028 No need to check for signed size_t anymore.
30029 Don't set libc_commonpagesize and libc_relro_required here for Alpha
30031 Remove __builtin_expect test because we require at least gcc 3.4.
30032 * aclocal.m4: Likewise.
30034 * wcsmbs/mbrtoc16.c: Implement using towc function.
30035 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
30036 * wcsmbs/wcsmbsload.c: Likewise.
30037 * iconv/gconv_simple.c: Likewise.
30038 * iconv/gconv_int.h: Likewise.
30039 * iconv/gconv_builtin.h: Likewise.
30040 * iconv/iconv_prog.c: Remove CHAR16 handling.
30042 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
30044 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
30046 * configure.in: Remove --with-elf and --enable-bounded options.
30047 Dont set base_machine for ia64. More non-ELF conditions removed.
30048 Remove testing and setting of leading underscore information.
30049 * config.make.in (build-bounded): Set to no.
30050 * config.h.in: Remove NO_UNDERSCORES entry.
30051 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
30053 * csu/start.c: Remove !NO_UNDERSCORE code.
30054 * locale/localeinfo.h: Likewise.
30055 * sysdeps/generic/machine-gmon.h: Likewise.
30056 * sysdeps/generic/sysdep.h: Likewise.
30057 * sysdeps/i386/sysdep.h: Likewise.
30058 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30059 * sysdeps/mach/sysdep.h: Likewise.
30060 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30061 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30062 * sysdeps/sh/sysdep.h: Likewise.
30063 * sysdeps/sparc/sparc32/alloca.S: Likewise.
30064 * sysdeps/unix/i386/sysdep.S: Likewise.
30065 * sysdeps/unix/sparc/start.c: Likewise.
30066 * sysdeps/unix/sparc/sysdep.S: Likewise.
30067 * sysdeps/unix/sparc/sysdep.h: Likewise.
30068 * sysdeps/unix/start.c: Likewise.
30069 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30070 * sysdeps/x86_64/sysdep.h: Likewise.
30072 2012-01-07 Ulrich Drepper <drepper@gmail.com>
30075 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
30077 * argp/argp-fmtstream.h: Use const instead __const.
30078 * argp/argp.h: Likewise.
30079 * assert/assert.h: Likewise.
30080 * bits/fenv.h: Likewise.
30081 * bits/sched.h: Likewise.
30082 * bits/sigset.h: Likewise.
30083 * bits/sigthread.h: Likewise.
30084 * catgets/nl_types.h: Likewise.
30085 * conform/data/pthread.h-data: Likewise.
30086 * crypt/crypt-private.h: Likewise.
30087 * crypt/crypt.h: Likewise.
30088 * crypt/crypt_util.c: Likewise.
30089 * ctype/ctype.h: Likewise.
30090 * debug/execinfo.h: Likewise.
30091 * debug/mbsnrtowcs_chk.c: Likewise.
30092 * debug/mbsrtowcs_chk.c: Likewise.
30093 * debug/wcsnrtombs_chk.c: Likewise.
30094 * debug/wcsrtombs_chk.c: Likewise.
30095 * debug/wcstombs_chk.c: Likewise.
30096 * dirent/dirent.h: Likewise.
30097 * dlfcn/dlfcn.h: Likewise.
30098 * elf/neededtest4.c: Likewise.
30099 * grp/grp.h: Likewise.
30100 * gshadow/gshadow.h: Likewise.
30101 * iconv/gconv.h: Likewise.
30102 * iconv/gconv_int.h: Likewise.
30103 * iconv/gconv_simple.c: Likewise.
30104 * iconv/iconv.h: Likewise.
30105 * iconv/loop.c: Likewise.
30106 * iconv/skeleton.c: Likewise.
30107 * include/aio.h: Likewise.
30108 * include/aliases.h: Likewise.
30109 * include/argz.h: Likewise.
30110 * include/arpa/inet.h: Likewise.
30111 * include/assert.h: Likewise.
30112 * include/dirent.h: Likewise.
30113 * include/dlfcn.h: Likewise.
30114 * include/execinfo.h: Likewise.
30115 * include/fcntl.h: Likewise.
30116 * include/fenv.h: Likewise.
30117 * include/glob.h: Likewise.
30118 * include/grp.h: Likewise.
30119 * include/libintl.h: Likewise.
30120 * include/mntent.h: Likewise.
30121 * include/netdb.h: Likewise.
30122 * include/pwd.h: Likewise.
30123 * include/rpc/netdb.h: Likewise.
30124 * include/sched.h: Likewise.
30125 * include/search.h: Likewise.
30126 * include/shadow.h: Likewise.
30127 * include/signal.h: Likewise.
30128 * include/stdio.h: Likewise.
30129 * include/stdlib.h: Likewise.
30130 * include/string.h: Likewise.
30131 * include/sys/socket.h: Likewise.
30132 * include/sys/stat.h: Likewise.
30133 * include/sys/statfs.h: Likewise.
30134 * include/sys/statvfs.h: Likewise.
30135 * include/sys/syslog.h: Likewise.
30136 * include/sys/time.h: Likewise.
30137 * include/sys/uio.h: Likewise.
30138 * include/time.h: Likewise.
30139 * include/unistd.h: Likewise.
30140 * include/utmp.h: Likewise.
30141 * include/wchar.h: Likewise.
30142 * include/wctype.h: Likewise.
30143 * inet/aliases.h: Likewise.
30144 * inet/arpa/inet.h: Likewise.
30145 * inet/netinet/ether.h: Likewise.
30146 * inet/netinet/in.h: Likewise.
30147 * intl/libintl.h: Likewise.
30148 * io/bits/fcntl2.h: Likewise.
30149 * io/fcntl.h: Likewise.
30150 * io/ftw.h: Likewise.
30151 * io/sys/poll.h: Likewise.
30152 * io/sys/stat.h: Likewise.
30153 * io/sys/statfs.h: Likewise.
30154 * io/sys/statvfs.h: Likewise.
30155 * io/utime.h: Likewise.
30156 * libio/bits/stdio.h: Likewise.
30157 * libio/bits/stdio2.h: Likewise.
30158 * libio/libio.h: Likewise.
30159 * libio/libioP.h: Likewise.
30160 * libio/stdio.h: Likewise.
30161 * locale/lc-ctype.c: Likewise.
30162 * locale/locale.h: Likewise.
30163 * login/utmp.h: Likewise.
30164 * malloc/arena.c: Likewise.
30165 * malloc/malloc.c: Likewise.
30166 * malloc/malloc.h: Likewise.
30167 * malloc/mcheck.c: Likewise.
30168 * malloc/mtrace.c: Likewise.
30169 * math/bits/mathcalls.h: Likewise.
30170 * math/fenv.h: Likewise.
30171 * math/math_private.h: Likewise.
30172 * misc/bits/error.h: Likewise.
30173 * misc/bits/syslog.h: Likewise.
30174 * misc/err.h: Likewise.
30175 * misc/error.h: Likewise.
30176 * misc/fstab.h: Likewise.
30177 * misc/mntent.h: Likewise.
30178 * misc/regexp.h: Likewise.
30179 * misc/search.h: Likewise.
30180 * misc/sgtty.h: Likewise.
30181 * misc/sys/mman.h: Likewise.
30182 * misc/sys/syslog.h: Likewise.
30183 * misc/sys/uio.h: Likewise.
30184 * misc/sys/xattr.h: Likewise.
30185 * misc/ttyent.h: Likewise.
30186 * nis/rpcsvc/ypclnt.h: Likewise.
30187 * nss/nss.h: Likewise.
30188 * posix/bits/unistd.h: Likewise.
30189 * posix/fnmatch.h: Likewise.
30190 * posix/glob.h: Likewise.
30191 * posix/sched.h: Likewise.
30192 * posix/spawn.h: Likewise.
30193 * posix/sys/wait.h: Likewise.
30194 * posix/unistd.h: Likewise.
30195 * posix/wordexp.h: Likewise.
30196 * pwd/pwd.h: Likewise.
30197 * resolv/netdb.h: Likewise.
30198 * resource/sys/resource.h: Likewise.
30199 * rt/aio.h: Likewise.
30200 * rt/bits/mqueue2.h: Likewise.
30201 * rt/mqueue.h: Likewise.
30202 * shadow/shadow.h: Likewise.
30203 * signal/signal.h: Likewise.
30204 * socket/send.c: Likewise.
30205 * socket/sendto.c: Likewise.
30206 * socket/sys/socket.h: Likewise.
30207 * stdio-common/printf.h: Likewise.
30208 * stdlib/bits/stdlib.h: Likewise.
30209 * stdlib/fmtmsg.h: Likewise.
30210 * stdlib/monetary.h: Likewise.
30211 * stdlib/stdlib.h: Likewise.
30212 * stdlib/ucontext.h: Likewise.
30213 * streams/stropts.h: Likewise.
30214 * string/argz.h: Likewise.
30215 * string/bits/string2.h: Likewise.
30216 * string/string.h: Likewise.
30217 * string/strings.h: Likewise.
30218 * sunrpc/rpc/auth.h: Likewise.
30219 * sunrpc/rpc/auth_des.h: Likewise.
30220 * sunrpc/rpc/clnt.h: Likewise.
30221 * sunrpc/rpc/netdb.h: Likewise.
30222 * sunrpc/rpc/pmap_clnt.h: Likewise.
30223 * sunrpc/rpc/xdr.h: Likewise.
30224 * sysdeps/generic/inttypes.h: Likewise.
30225 * sysdeps/generic/net/if.h: Likewise.
30226 * sysdeps/generic/sys/swap.h: Likewise.
30227 * sysdeps/gnu/net/if.h: Likewise.
30228 * sysdeps/gnu/utmpx.h: Likewise.
30229 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
30230 * sysdeps/i386/i486/bits/string.h: Likewise.
30231 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
30232 * sysdeps/s390/bits/string.h: Likewise.
30233 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
30234 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
30235 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
30236 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
30237 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
30238 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
30239 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
30240 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
30241 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
30242 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
30243 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
30244 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
30245 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
30246 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
30247 * sysdeps/unix/sysv/linux/readv.c: Likewise.
30248 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
30249 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
30250 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30251 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
30252 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
30253 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
30254 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
30255 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
30256 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
30257 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
30258 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
30259 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
30260 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30261 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
30262 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
30263 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
30264 * sysvipc/sys/ipc.h: Likewise.
30265 * sysvipc/sys/msg.h: Likewise.
30266 * sysvipc/sys/sem.h: Likewise.
30267 * sysvipc/sys/shm.h: Likewise.
30268 * termios/termios.h: Likewise.
30269 * time/sys/time.h: Likewise.
30270 * time/time.h: Likewise.
30271 * wcsmbs/bits/wchar2.h: Likewise.
30272 * wcsmbs/uchar.h: Likewise.
30273 * wcsmbs/wchar.h: Likewise.
30274 * wctype/wctype.h: Likewise.
30277 * Makeconfig: Remove all but ELF support including AIX support.
30278 * Makerules: Likewise.
30279 * config.h.in: Likewise.
30280 * config.make.in: Likewise.
30281 * configure: Likewise.
30282 * configure.in: Likewise.
30283 * csu/Makefile: Likewise.
30284 * csu/version.c: Likewise.
30285 * debug/Makefile: Likewise.
30286 * dlfcn/Makefile: Likewise.
30287 * elf/Makefile: Likewise.
30288 * extra-lib.mk: Likewise.
30289 * iconv/Makefile: Likewise.
30290 * include/libc-symbols.h: Likewise.
30291 * include/shlib-compat.h: Likewise.
30292 * resolv/Makefile: Likewise.
30293 * resolv/res_libc.c: Likewise.
30294 * rt/Makefile: Likewise.
30295 * sysdeps/i386/asm-syntax.h: Likewise.
30296 * sysdeps/i386/sysdep.h: Likewise.
30297 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30298 * sysdeps/mach/sysdep.h: Likewise.
30299 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
30300 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
30301 * sysdeps/s390/asm-syntax.h: Likewise.
30302 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30303 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30304 * sysdeps/sh/sysdep.h: Likewise.
30305 * sysdeps/unix/sparc/sysdep.h: Likewise.
30306 * sysdeps/wordsize-32/divdi3.c: Likewise.
30307 * sysdeps/x86_64/sysdep.h: Likewise.
30309 * argp/Versions: Remove _argp_unlock_xxx.
30312 * abilist/ld.abilist: Update. Adjust for removal of tls option.
30313 * abilist/libBrokenLocale.abilist: Likewise.
30314 * abilist/libanl.abilist: Likewise.
30315 * abilist/libc.abilist: Likewise.
30316 * abilist/libcrypt.abilist: Likewise.
30317 * abilist/libdl.abilist: Likewise.
30318 * abilist/libm.abilist: Likewise.
30319 * abilist/libnsl.abilist: Likewise.
30320 * abilist/libpthread.abilist: Likewise.
30321 * abilist/libresolv.abilist: Likewise.
30322 * abilist/librt.abilist: Likewise.
30323 * abilist/libthread_db.abilist: Likewise.
30324 * abilist/libutil.abilist: Likewise.
30325 * abilist/libnss_db.abilist: New file.
30327 * scripts/abilist.awk: Add support for indirect functions.
30329 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
30331 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
30333 * shlib-versions: Remove entries for ports architectures.
30335 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
30337 * elf/stackguard-macros.h: Remove support for IA-64.
30338 * elf/tst-auditmod1.c: Likewise.
30339 * sysdeps/generic/ldsodefs.h: Likewise.
30341 * sysdeps/unix/sysv/linux/configure.in: Ports should define
30342 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
30346 * configure.in: Remove --enable-omitfp support.
30348 * config.make.in: Likewise.
30349 * Makeconfig: Likewise.
30350 * manual/install.texi: Likewise.
30352 In case anyone cares, the IA-64 architecture could move to ports.
30353 * sysdeps/ia64/*: Removed.
30354 * sysdeps/unix/sysv/linux/ia64/*: Removed.
30355 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
30358 * configure.in: Remove entries for unsupported architectures.
30361 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
30362 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
30364 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
30365 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
30366 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
30367 fall back to using wcrtomb.
30368 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
30369 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
30371 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
30372 * wcsmbs/tst-c16c32-1.c: New file.
30374 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
30377 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
30379 * elf/tst-unique3.cc: Add explicit declaration of gets.
30380 * elf/tst-unique3lib.cc: Likewise.
30381 * elf/tst-unique3lib2.cc: Likewise.
30382 * elf/tst-unique4.cc: Likewise.
30384 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
30386 2012-01-06 Joseph Myers <joseph@codesourcery.com>
30389 * assert/assert.h (static_assert): Don't define for C++.
30390 * libio/stdio.h (gets): Do declare for C++ <= C++11.
30391 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
30393 2012-01-03 Ulrich Drepper <drepper@gmail.com>
30395 * iconv/loop.c (single loop): Fix assertion in storing of
30398 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
30400 2012-01-01 Ulrich Drepper <drepper@gmail.com>
30402 * posix/getconf.c: Update copyright year.
30403 * nss/getent.c: Likewise.
30404 * nss/makedb.c: Likewise.
30405 * iconv/iconvconfig.c: Likewise.
30406 * iconv/iconv_prog.c: Likewise.
30407 * elf/ldconfig.c: Likewise.
30408 * elf/pldd.c: Likewise.
30409 * elf/sotruss.ksh: Likewise.
30410 * catgets/gencat.c: Likewise.
30411 * csu/version.c: Likewise.
30412 * elf/ldd.bash.in: Likewise.
30413 * elf/sprof.c (print_version): Likewise.
30414 * locale/programs/locale.c: Likewise.
30415 * locale/programs/localedef.c: Likewise.
30416 * login/programs/pt_chown.c: Likewise.
30417 * nscd/nscd.c (print_version): Likewise.
30418 * debug/xtrace.sh: Likewise.
30419 * malloc/memusage.sh: Likewise.
30420 * malloc/mtrace.pl: Likewise.
30421 * debug/catchsegv.sh: Likewise.
30423 2011-12-30 Jakub Jelinek <jakub@redhat.com>
30425 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
30428 2011-12-24 Ulrich Drepper <drepper@gmail.com>
30431 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
30432 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
30434 * iconv/gconv_int.h: Likewise.
30435 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
30436 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
30437 from libc for GLIBC_2.16.
30438 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
30439 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
30440 * wcsmbs/uchar.h: Really define mbstate_t.
30441 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
30442 * wcsmbs/c16rtomb.c: New file.
30443 * wcsmbs/mbrtoc16.c: New file.
30444 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
30445 for C/POSIX locale.
30446 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
30447 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
30449 * wcsmbs/wchar.h: Add missing __restrict.
30451 2011-12-23 Ulrich Drepper <drepper@gmail.com>
30454 * time/Makefile (routines): Add timespec_get.
30455 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
30456 * time/time.h: Define TIME_UTC and declare timespec_get. Define
30457 timespec for ISO C11.
30458 * time/timespec_get.c: New file.
30459 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
30460 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
30463 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
30464 * stdlib/stdlib.h: Declare aligned_alloc.
30465 * Versions.def: Add GLIBC_2.16 for libc.
30466 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
30469 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
30472 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
30476 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
30479 * assert/assert.h (static_assert): Define.
30481 * version.h: Update for 2.16 development version.
30484 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
30487 * version.h (RELEASE): Bump for 2.15 release.
30488 * include/features.h (__GLIBC_MINOR__): Bump to 15.
30490 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
30491 Patch by Marek Polacek <mpolacek@redhat.com>.
30493 * bits/byteswap.h: Protect long long constants with __extension__.
30494 * sysdeps/i386/bits/byteswap.h: Likewise.
30495 * sysdeps/ia64/bits/byteswap.h: Likewise.
30496 * sysdeps/s390/bits/byteswap.h: Likewise.
30497 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30499 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30502 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
30503 destination buffer.
30504 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
30506 2011-12-23 Marek Polacek <polacek@redhat.com>
30508 * elf/dl-addr.c (determine_info): Add inline keyword.
30509 * elf/tst-auditmod4b.c (check_avx): Likewise.
30510 * elf/tst-auditmod6b.c (check_avx): Likewise.
30511 * elf/tst-auditmod6c.c (check_avx): Likewise.
30512 * elf/tst-auditmod7b.c (check_avx): Likewise.
30514 2011-12-23 Ulrich Drepper <drepper@gmail.com>
30516 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
30519 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30522 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
30523 processing for last bytes.
30525 2011-08-06 Bruno Haible <bruno@clisp.org>
30528 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
30529 U+0385, not to U+1FEE.
30532 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
30533 entry for U+00A5 U+0301.
30535 2011-12-22 Ulrich Drepper <drepper@gmail.com>
30538 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
30539 buffer for the output is too small.
30541 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
30545 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
30546 SSE flags if possible.
30548 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30551 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
30552 processing for last bytes.
30554 2011-12-22 Joseph Myers <joseph@codesourcery.com>
30556 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
30557 (syscall-list-default-options, syscall-list-default-condition)
30558 (syscall-list-includes): Define.
30559 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
30560 list of ABIs and options and #if conditions for each ABI. Do not
30561 handle common syscalls between ABIs specially.
30562 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
30564 (syscall-list-variants, syscall-list-32bit-options)
30565 (syscall-list-32bit-condition, syscall-list-64bit-options)
30566 (syscall-list-64bit-condition): Define.
30567 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
30568 (syscall-list-variants, syscall-list-32bit-options)
30569 (syscall-list-32bit-condition, syscall-list-64bit-options)
30570 (syscall-list-64bit-condition): Define.
30571 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
30573 (syscall-list-variants, syscall-list-32bit-options)
30574 (syscall-list-32bit-condition, syscall-list-64bit-options)
30575 (syscall-list-64bit-condition): Define.
30576 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
30578 (syscall-list-variants, syscall-list-32bit-options)
30579 (syscall-list-32bit-condition, syscall-list-64bit-options)
30580 (syscall-list-64bit-condition): Define.
30582 2011-12-22 Ulrich Drepper <drepper@gmail.com>
30584 * locale/iso-639.def: Add brx entry.
30587 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
30588 Proposed by Mariusz_Cukr <marcukr@op.pl>.
30590 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
30591 __feraiseexcept_renamed.
30593 2011-12-21 Ulrich Drepper <drepper@gmail.com>
30596 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
30597 EPOLLET with unsigned values.
30598 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30599 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
30601 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
30602 to large cancellation.
30603 * math/s_cacoshf.c: Likewise.
30604 * math/s_cacoshl.c: Likewise.
30606 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
30610 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
30611 * math/s_cacoshf.c: Likewise.
30612 * math/s_cacoshl.c: Likewise.
30614 2011-12-21 Ulrich Drepper <drepper@gmail.com>
30617 * iconv/gconv.h: Define __GCONV_SWAP.
30618 * iconvdata/unicode.c: The swap bit must be stored in __flags.
30619 * iconvdata/utf-16.c: Likewise.
30620 * iconvdata/utf-32.c: Likewise.
30622 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
30625 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
30626 numerator after shifting it by one limb.
30628 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
30630 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
30631 under [__USE_EXTERN_INLINES].
30633 2011-12-17 Ulrich Drepper <drepper@gmail.com>
30636 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
30638 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30640 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
30641 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
30643 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
30644 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
30645 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
30646 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
30647 for strncasecmp/strncasecmp_l compilation.
30648 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
30649 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
30651 2011-12-08 Marek Polacek <mpolacek@redhat.com>
30654 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
30657 2011-12-17 Ulrich Drepper <drepper@gmail.com>
30660 * time/tzfile.c (__tzfile_read): Check values from file header.
30662 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
30664 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
30665 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
30666 * powerpc/powerpc32/dl-start.S: Likewise.
30667 * powerpc/powerpc32/elf/start.S: Likewise.
30668 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
30669 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
30670 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
30671 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
30672 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
30673 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
30674 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
30675 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
30676 * powerpc/powerpc32/fpu/s_round.S: Likewise.
30677 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
30678 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
30679 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
30680 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
30681 * powerpc/powerpc32/memset.S: Likewise.
30682 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
30683 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30684 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30685 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30686 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30687 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
30688 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
30689 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
30690 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
30691 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
30692 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
30693 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30694 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30696 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30698 * math/libm-test.inc: Added more nearbyint tests.
30699 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
30700 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
30701 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
30702 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
30704 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
30706 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
30709 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30711 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
30712 Add wcscpy-ssse3 wcscpy-c.
30713 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
30714 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
30715 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
30716 * sysdeps/x86_64/wcschr.S: New file.
30717 * sysdeps/x86_64/wcsrchr.S: New file.
30718 * string/test-strcmp.c: Remove checking of wcscmp function for
30720 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
30721 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
30722 wcsrchr-sse2 wcsrchr-c.
30723 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
30724 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
30725 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
30726 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
30727 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
30728 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
30729 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
30730 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
30731 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
30732 * wcsmbc/wcschr.c (WCSCHR): New macro.
30734 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30736 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
30737 * wcsmbs/test-wcsrchr.c: New file.
30738 * string/test-strrchr.c: Add wcsrchr support.
30740 * wcsmbs/test-wcscpy.c: New file.
30741 * string/test-strcpy.c: Add wcscpy support.
30744 2011-12-10 Ulrich Drepper <drepper@gmail.com>
30746 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
30749 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
30752 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
30754 2011-12-04 Ulrich Drepper <drepper@gmail.com>
30756 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
30757 Minor optimizations.
30759 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
30760 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
30761 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
30763 2011-12-03 Ulrich Drepper <drepper@gmail.com>
30765 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
30766 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
30767 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
30768 for gcc to avoid warnings.
30769 * inet/Makefile (tests): Add tst-checks.
30770 * inet/tst-checks.c: New file.
30772 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
30775 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
30778 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
30779 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
30781 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
30783 2011-12-02 Ulrich Drepper <drepper@gmail.com>
30785 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
30788 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
30790 2011-11-29 Joseph Myers <joseph@codesourcery.com>
30792 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
30793 conditional on GCC version.
30794 (__arch_compare_and_exchange_val_8_acq)
30795 (__arch_compare_and_exchange_val_16_acq)
30796 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
30797 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
30798 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
30800 2011-12-02 Joseph Myers <joseph@codesourcery.com>
30802 * sysdeps/sh/backtrace.c: New file.
30804 2011-12-02 Andreas Schwab <schwab@redhat.com>
30806 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
30809 2011-12-01 Andreas Schwab <schwab@redhat.com>
30811 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
30812 falling back to utime.
30814 2011-11-30 Andreas Schwab <schwab@redhat.com>
30816 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
30817 expectations for float.
30819 2011-11-29 Andreas Schwab <schwab@redhat.com>
30821 * locale/weight.h (findidx): Add parameter len.
30822 * locale/weightwc.h (findidx): Likewise.
30823 * posix/fnmatch_loop.c (FCT): Adjust caller.
30824 * posix/regcomp.c (build_equiv_class): Likewise.
30825 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
30826 * posix/regexec.c (check_node_accept_bytes): Likewise.
30827 * string/strcoll_l.c (STRCOLL): Likewise.
30828 * string/strxfrm_l.c (STRXFRM): Likewise.
30830 2011-11-17 Ulrich Drepper <drepper@gmail.com>
30832 * Makefile.in: Remove CVSOPT handling.
30833 * configure.in: Remove use of AC_REVISION.
30834 * iconvdata/Makefile (distribute): No need to filter out CVS.
30835 * scripts/list-sources.sh: Remove CVS, subversion and monotone
30838 2011-11-16 Andreas Schwab <schwab@redhat.com>
30840 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
30841 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
30842 [USE_AS_STRNCASECMP_L]: Likewise.
30843 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
30844 NO_TLS_DIRECT_SEG_REFS.
30845 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
30846 Fix argument offsets for non-PIC.
30847 [USE_AS_STRNCASECMP_L]: Likewise.
30848 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
30849 NO_TLS_DIRECT_SEG_REFS.
30851 2011-11-15 Ulrich Drepper <drepper@gmail.com>
30853 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
30855 * locale/loadlocale.c (_nl_load_locale): Likewise.
30857 2011-11-15 Andreas Schwab <schwab@redhat.com>
30859 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
30860 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
30861 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
30862 (SYSCALL_GETTIME): Set errno on error.
30864 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
30865 count references to noai6ai_cached.
30867 2011-11-15 Ulrich Drepper <drepper@gmail.com>
30869 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
30871 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
30872 FD_CLOEXEC for /proc/self/maps.
30874 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
30875 FD_CLOEXEC for /proc/meminfo.
30877 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
30880 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
30881 FD_CLOEXEC for given file.
30883 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
30885 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
30886 FD_CLOEXEC for /etc/hosts.
30887 (_gethtent): Likewise.
30889 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
30891 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
30892 cancellation and set FD_CLOEXEC for /etc/netgroup.
30894 * nss/nss_files/files-key.c (search): Don't allow cancellation when
30895 reading /etc/publickey.
30897 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
30898 allow cancellation when reading /etc/group.
30900 * nss/nss_files/files-alias.c (internal_setent): Don't allow
30902 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
30904 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
30905 when using data file.
30907 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
30909 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
30910 (write_nis_obj): Use "c" and "e" in fopen.
30912 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
30914 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
30916 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
30918 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
30920 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
30923 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
30925 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
30927 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
30929 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
30930 file parsing and set FD_CLOEXEC.
30932 2011-11-14 Ulrich Drepper <drepper@gmail.com>
30934 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
30936 2011-11-14 Andreas Schwab <schwab@redhat.com>
30938 * malloc/arena.c (arena_get2): Don't call reused_arena when
30939 _int_new_arena failed.
30941 2011-11-14 Ulrich Drepper <drepper@gmail.com>
30943 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
30944 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
30945 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
30946 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30947 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30948 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
30949 to compile strcasecmp and strncasecmp.
30950 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
30951 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
30953 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
30955 2011-11-13 Ulrich Drepper <drepper@gmail.com>
30957 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
30958 locale-defines.sym to gen-as-const-headers.
30959 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
30960 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
30961 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
30962 to compile strcasecmp and strncasecmp.
30963 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
30964 strcasecmp_l and strncasecmp_l.
30965 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
30966 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
30967 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
30968 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
30969 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
30970 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
30971 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
30972 * sysdeps/i386/i686/multiarch/strncase.S: New file.
30973 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
30974 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
30975 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
30977 2011-11-12 Ulrich Drepper <drepper@gmail.com>
30979 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
30980 result of SYSDEP_GETTIME_CPU to retval.
30981 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
30982 parameter list to macro. Remove trailing semicolon. Adjust users.
30984 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
30987 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
30989 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
30991 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
30992 from unused variable.
30994 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
30996 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
30999 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
31002 * sunrpc/rpc_prot.c (rejected): Fix case value.
31004 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
31005 unsigned long long int to avoid warnings in shift.
31007 * posix/regex_internal.c (re_string_reconstruct): Actually use result
31009 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
31012 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
31013 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
31014 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
31016 * nis/nis_table.c (nis_list): Use variable of correct type for
31017 result of __follow_path call.
31019 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31021 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
31022 of math functions ceil, trunc, floor, round, and sqrt, when
31023 avaliable on the platform.
31024 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
31026 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31027 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
31028 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
31030 2011-10-30 Marek Polacek <mpolacek@redhat.com>
31032 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
31033 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31035 2011-11-11 Roland McGrath <roland@hack.frob.com>
31037 * include/unistd.h: Fix __readlink return type.
31038 Reported by Chris Metcalf <cmetcalf@tilera.com>.
31040 2011-11-11 Ulrich Drepper <drepper@gmail.com>
31042 * stdlib/ucontext.h: Undo last change for makecontext.
31044 2011-11-11 Andreas Schwab <schwab@redhat.com>
31046 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
31048 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
31049 * setjmp/setjmp.h: Mark functions as non-leaf.
31050 * setjmp/bits/setjmp2.h: Likewise.
31051 * stdlib/ucontext.h: Likewise.
31053 2011-11-10 Andreas Schwab <schwab@redhat.com>
31055 * malloc/arena.c (_int_new_arena): Don't increment narenas.
31056 (reused_arena): Don't check arena limit.
31057 (arena_get2): Atomically check arena limit.
31059 2011-11-08 Ulrich Drepper <drepper@gmail.com>
31061 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
31062 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
31064 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
31067 2011-11-07 Andreas Schwab <schwab@redhat.com>
31069 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
31070 handler when locking.
31072 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31073 Fix size of allocated buffer.
31075 2011-11-04 Andreas Schwab <schwab@redhat.com>
31078 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
31079 declarations for long double functions.
31080 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
31082 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
31084 2011-11-03 Andreas Schwab <schwab@redhat.com>
31086 * nscd/nscd.c (main): Don't start AVC thread until credentials are
31089 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
31092 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
31094 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
31096 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
31098 * include/alloca.h (stackinfo_alloca_round): Define.
31099 (extend_alloca): Use it.
31100 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
31101 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
31104 * scripts/check-local-headers.sh: Ignore libaudit.h.
31106 * nscd/Makefile (extra-objs): Make recursively expanded.
31108 2011-11-01 Ulrich Drepper <drepper@gmail.com>
31110 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
31111 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
31113 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
31114 * posix/tst-rfc3484-2.c: Likewise.
31115 * posix/tst-rfc3484-3.c: Likewise.
31117 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
31119 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
31121 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
31122 process_vm_writev from libc using GLIBC_2.15 version.
31124 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
31126 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
31128 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
31131 2011-10-31 Ulrich Drepper <drepper@gmail.com>
31134 * nss/getent.c (initgroups_keys): Show error message in case no group
31137 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
31138 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
31139 __bump_nl_timestamp.
31140 * nscd/connections (nscd_init): When host database is served open
31141 netlink socket and request notification about configuration changes.
31142 (main_loop_poll): Track netlink file descriptor and bump timestamp
31143 in case data becomes available.
31144 (main_loop_epoll): Likewise.
31145 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
31146 (database_pers_head): Add extra_data fileds.
31147 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
31148 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
31149 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
31151 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
31152 in6ai data, call __free_in6ai.
31153 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
31154 Add -DHAVE_NETLINK.
31155 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
31156 interface information. Reuse previous data if netlink timestamp
31158 (__bump_nl_timestamp): New function.
31159 (__free_in6ai): New function.
31161 2011-10-30 Ulrich Drepper <drepper@gmail.com>
31163 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
31164 close_not_cancel_no_status here.
31165 (__check_pf): Reorganize code a bit to not call close twice if OOM.
31167 2011-10-29 Ulrich Drepper <drepper@gmail.com>
31170 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
31173 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
31174 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
31175 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
31177 2011-07-03 Andreas Jaeger <aj@suse.de>
31180 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
31181 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
31182 * math/libm-test.inc (sin_test): Add test case.
31184 2011-10-29 Ulrich Drepper <drepper@gmail.com>
31187 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
31188 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
31190 * elf/chroot_canon.c (chroot_canon): Cleanups.
31192 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
31195 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
31196 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
31198 * string/test-strchr.c: Make usable for strchrnul testing.
31199 * string/test-strchrnul.c: New file.
31200 * string/Makefile (strop-tests): Add strchrnul.
31202 * po/it.po: Update from translation team.
31203 * po/es.po: Likewise.
31205 2011-10-28 Ulrich Drepper <drepper@gmail.com>
31207 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
31208 the three constants needed as parameters. Drop the others.
31209 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
31210 __m128i_strloadu_tolower.
31211 Create and initialize variable zero and use it in all the places
31212 where _mm_setzero_si128 was used.
31214 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
31215 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
31216 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
31217 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
31219 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
31220 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
31221 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
31222 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
31223 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
31224 __mpranred, __mptan.
31225 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
31226 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
31227 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
31228 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
31229 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
31230 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
31231 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
31232 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
31233 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
31235 2011-10-28 Andreas Schwab <schwab@redhat.com>
31237 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
31238 redefine if SHARED.
31239 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
31241 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
31242 wide char related routines to wcsmbs subdir.
31244 2011-10-27 Andreas Schwab <schwab@redhat.com>
31247 * misc/sys/cdefs.h (__THROWNL): Define.
31248 * posix/unistd.h: Use __THREADNL instead of __THREAD
31249 for memory synchronization functions.
31251 2011-10-26 Roland McGrath <roland@hack.frob.com>
31254 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
31256 * manual/stdio.texi (Obstack Streams): Node removed.
31258 2011-10-26 Andreas Schwab <schwab@redhat.com>
31260 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
31261 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31262 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31264 * math/math_private.h (math_force_eval): Allow non-addressable
31266 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
31268 2011-10-25 Ulrich Drepper <drepper@gmail.com>
31270 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
31271 file is not needed.
31273 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
31274 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
31275 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31276 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31277 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31278 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31279 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31280 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
31282 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
31283 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
31284 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
31285 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
31286 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
31287 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
31288 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
31289 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
31290 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
31291 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
31292 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
31293 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
31294 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
31295 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
31296 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
31297 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
31298 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
31299 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
31300 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
31302 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
31303 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
31305 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
31306 place. Use VEX encoding when compiling for AVX.
31308 2011-10-25 Andreas Schwab <schwab@redhat.com>
31310 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
31311 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
31313 * string/test-strchr.c (do_test): Don't generate NUL bytes.
31315 2011-10-25 Ulrich Drepper <drepper@gmail.com>
31317 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
31318 useless if() expression.
31319 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31320 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
31321 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31322 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31323 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31324 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31325 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
31326 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31327 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
31328 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31329 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31330 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
31331 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
31332 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
31333 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
31334 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31335 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31336 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31337 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
31339 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
31341 2011-10-25 Andreas Schwab <schwab@redhat.com>
31343 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
31345 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31347 2011-10-25 Ulrich Drepper <drepper@gmail.com>
31349 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
31350 .text section. Avoid duplicate constants.
31351 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
31352 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31353 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31354 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31355 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31356 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31357 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31358 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31359 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31360 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
31361 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31362 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31363 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
31364 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
31365 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
31366 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
31367 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
31368 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31369 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31370 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31371 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31372 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31373 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31374 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
31375 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
31376 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
31377 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
31378 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
31379 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
31380 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
31381 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
31382 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
31383 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31384 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
31385 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
31386 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
31387 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
31388 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
31389 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
31390 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
31391 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
31392 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
31393 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
31394 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
31395 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
31397 2011-10-24 Ulrich Drepper <drepper@gmail.com>
31399 * sysdeps/x86_64/dla.h: Move to ...
31400 * sysdeps/x86_64/fpu/dla.h: ...here.
31401 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
31402 situations. Use __builtin_fma only for gcc 4.6 and up.
31404 * config.make.in: Add have-mfma4 entry.
31405 * configure.in: Substitute libc_cv_cc_fma4.
31406 * math/Makefile (dbl-only-routines): Add sincostab.
31407 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
31408 Use __sincostab not sincos.
31409 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
31411 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31412 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31413 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31414 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
31416 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
31417 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
31418 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
31419 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
31421 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
31422 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
31424 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
31425 define aliases when function name is a macro.
31426 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
31427 sysdeps/ieee754/dbl-64/sincos.tbl.
31428 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
31429 fma4-enabled routines.
31430 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
31431 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
31432 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
31433 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
31434 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
31435 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
31436 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
31437 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
31438 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
31439 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
31440 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
31441 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
31442 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
31443 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
31444 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
31445 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
31446 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
31447 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
31448 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
31449 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
31450 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
31451 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
31452 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
31453 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
31454 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
31455 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
31456 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
31457 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
31458 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
31459 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
31461 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
31463 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31464 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31465 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31466 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31467 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31468 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31469 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31470 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31472 2011-10-24 Andreas Schwab <schwab@redhat.com>
31474 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
31476 2011-10-23 Ulrich Drepper <drepper@gmail.com>
31478 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
31480 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
31482 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
31484 * string/strnlen.c: Don't define STRNLEN, reverse logic.
31485 Remove unused variable magic_bits.
31486 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
31488 * string/strnlen.c: Define and use STRNLEN macro.
31489 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
31490 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
31491 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
31492 * wcsmbs/wcslen.c: Define and use WCSLEN.
31493 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
31494 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
31495 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
31496 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
31497 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
31498 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
31499 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
31501 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31503 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31504 strnlen-sse2-no-bsf.
31505 Rename strlen-no-bsf to strlen-sse2-no-bsf.
31506 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
31507 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
31508 Add strnlen support.
31509 (USE_AS_STRNLEN): New macro.
31510 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
31511 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
31512 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
31513 * sysdeps/x86_64/wcslen.S: New file.
31515 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
31517 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
31518 XMM-moves are used for copying on small sizes.
31520 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31522 * wcsmbs/Makefile (strop-tests): Add wcschr.
31523 * wcsmbs/test-wcschr.c: New file.
31524 * string/test-strchr.c: Update.
31525 Add wcschr support.
31528 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31530 * wcsmbs/Makefile (strop-tests): Add wcslen.
31531 * wcsmbs/test-wcslen.c: New file.
31532 * string/test-strlen.c: Update.
31533 Add wcslen support.
31536 2011-10-23 Ulrich Drepper <drepper@gmail.com>
31538 * po/it.po: Update from translation team.
31540 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31542 * sysdeps/x86_64/wcscmp.S: Update.
31543 Fix wrong comparison semantics.
31544 wcscmp shall use signed comparison not unsigned.
31545 Don't use substraction to avoid overflow bug.
31546 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
31547 * wcsmbc/wcscmp.c: Likewise.
31548 * string/test-strcmp.c: Likewise.
31549 Add new tests to check cases with negative values.
31551 2011-10-23 Ulrich Drepper <drepper@gmail.com>
31553 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
31554 * sysdeps/x86_64/dla.h: ...here. New file.
31555 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
31556 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31557 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31558 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31559 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31560 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31561 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31562 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31563 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31565 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
31567 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
31568 __ynl_finite aliases.
31570 2011-10-22 Ulrich Drepper <drepper@gmail.com>
31572 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31574 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
31576 [DLA_FMA] (EMULV): Use DLA_FMA.
31577 [DLA_FMA] (MUL12): Use EMULV.
31578 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
31579 that are not needed.
31580 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31581 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31582 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31583 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31584 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31585 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31586 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31588 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
31590 * math/s_nan.c: Undef __nan.
31591 * math/s_nanf.c: Undef __nanf.
31592 * math/s_nanl.c: Undef __nanl.
31593 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
31596 2011-10-22 Ulrich Drepper <drepper@gmail.com>
31598 * math/s_catan.c: Add branch predictions.
31599 * math/s_catanf.c: Likewise.
31600 * math/s_catanh.c: Likewise.
31601 * math/s_catanhf.c: Likewise.
31602 * math/s_catanhl.c: Likewise.
31603 * math/s_catanl.c: Likewise.
31604 * math/s_cexp.c: Likewise.
31605 * math/s_cexpf.c: Likewise.
31606 * math/s_cexpl.c: Likewise.
31607 * math/s_clog.c: Likewise.
31608 * math/s_clog10.c: Likewise.
31609 * math/s_clog10f.c: Likewise.
31610 * math/s_clog10l.c: Likewise.
31611 * math/s_clogf.c: Likewise.
31612 * math/s_clogl.c: Likewise.
31613 * math/s_csqrt.c: Likewise.
31614 * math/s_csqrtf.c: Likewise.
31615 * math/s_csqrtl.c: Likewise.
31616 * math/s_ctanf.c: Likewise.
31617 * math/s_ctanh.c: Likewise.
31618 * math/s_ctanhf.c: Likewise.
31619 * math/s_ctanhl.c: Likewise.
31620 * math/s_ctanl.c: Likewise.
31622 * math/math_private.h: Define __nan, __nanf, __nanl.
31623 * math/s_cacosh.c: Include <math_private.h>.
31624 * math/s_cacoshl.c: Likewise.
31625 * math/s_casinh.c: Likewise.
31626 * math/s_casinhf.c: Likewise.
31627 * math/s_casinhl.c: Likewise.
31628 * math/s_ccos.c: Rely entire on ccosh.
31629 * math/s_ccosf.c: Rely entire on ccoshf.
31630 * math/s_ccosl.c: Rely entirely on ccoshl.
31631 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
31632 Remove tests for FE_INVALID.
31633 * math/s_ccoshf.c: Likewise.
31634 * math/s_ccoshl.c: Likewise.
31635 * math/s_csin.c: Likewise.
31636 * math/s_csinf.c: Likewise.
31637 * math/s_csinh.c Likewise.
31638 * math/s_csinhf.c: Likewise.
31639 * math/s_csinhl.c: Likewise.
31640 * math/s_csinl.c: Likewise.
31641 * math/s_ctan.c: Likewise.
31642 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
31643 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
31644 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
31646 2011-10-21 Ulrich Drepper <drepper@gmail.com>
31648 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
31649 compilation problems.
31651 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
31654 2011-10-20 Ulrich Drepper <drepper@gmail.com>
31656 * sysdeps/i386/configure.in: Test for -mfma4 option.
31657 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
31658 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
31659 COMMON_CPUID_INDEX_80000001.
31660 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
31661 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
31662 use it if FMA3 is not supported.
31663 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
31665 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
31666 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31668 2011-10-20 Andreas Schwab <schwab@redhat.com>
31671 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
31672 it would create a cycle with a link time dependency.
31674 2011-10-19 Ulrich Drepper <drepper@gmail.com>
31676 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
31678 * string/Makefile (strop-tests): Add rawmemchr.
31679 * string/test-rawmemchr.c: New file.
31681 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
31682 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
31683 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
31684 when compiling str{,n}casecmp and when AVX is available. Hook up
31685 new optimized code in initializers.
31687 2011-10-19 Andreas Schwab <schwab@redhat.com>
31689 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
31690 __feraiseexcept instead of feraiseexcept.
31692 2011-10-18 Ulrich Drepper <drepper@gmail.com>
31694 * math/math_private.h: Define defaults for libc_fetestexcept and
31696 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
31697 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
31698 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
31699 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
31700 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
31701 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
31702 libc_fetestexcept and libc_feupdateenv.
31704 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
31705 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
31706 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
31707 * sysdeps/x86_64/fpu/math_private.h: Define special version of
31708 libc_feholdexcept_setround.
31710 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
31711 Add s_nearbyint-c and s_nearbyintf-c.
31712 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
31713 nearbyintf inlines.
31714 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
31715 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
31716 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
31717 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
31719 * math/math_private.h: Define defaults for libc_fegetround,
31720 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
31721 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
31722 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
31723 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
31724 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
31725 standard functions.
31726 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31727 Remove comments and hacks for old compiler versions.
31728 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
31729 libc_fegetround, libc_fesetround, libc_feholdexcept, and
31730 libc_feholdexceptl.
31732 2011-10-18 Andreas Schwab <schwab@redhat.com>
31734 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
31735 (__feraiseexcept_renamed): Add __NTH.
31736 (feraiseexcept): Add __NTH. Rename local variables to fix
31737 namespace violations.
31739 2011-10-17 Ulrich Drepper <drepper@gmail.com>
31741 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
31743 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
31745 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
31746 recently added interfaces.
31747 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
31749 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
31750 about macro parameter expansion.
31752 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
31753 __NO_MATH_INLINES is defined. Cleanups.
31755 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
31756 and __floorf is target has SSE4.1.
31757 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
31758 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
31759 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
31760 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
31762 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
31764 (floorf): Likewise.
31766 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
31768 2011-10-17 Andreas Schwab <schwab@redhat.com>
31770 * misc/sys/cdefs.h: Fix last change.
31772 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
31775 2011-10-16 Ulrich Drepper <drepper@gmail.com>
31777 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
31779 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
31780 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31781 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
31782 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
31783 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31784 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
31785 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
31786 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
31787 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
31788 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
31789 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
31790 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
31791 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
31792 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
31793 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
31794 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
31795 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
31796 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
31797 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
31798 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
31799 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
31800 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
31802 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
31803 ceil, ceilf, floor, floorf.
31805 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
31806 Perform IRELATIVE relocations last.
31808 * elf/do-rel.h: Add another parameter nrelative, replacing the
31809 local variable with the same name. Change name of the function
31810 to end in Rel or Rela (uppercase).
31811 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
31812 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
31813 elf_dynamic_do_##reloc function.
31815 2011-10-15 Ulrich Drepper <drepper@gmail.com>
31817 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
31818 is sufficient, at least on modern CPUs.
31820 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
31822 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
31823 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
31825 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
31827 * math/bits/math-finite.h: Add entries for exp.
31828 * math/e_expl.c: Add __*_finite alias.
31829 * sysdeps/i386/fpu/e_exp.S: Likewise.
31830 * sysdeps/i386/fpu/e_expf.S: Likewise.
31831 * sysdeps/i386/fpu/e_expl.c: Likewise.
31832 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31833 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
31834 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31835 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31836 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
31837 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
31838 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
31840 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
31841 is sufficient, at least on modern CPUs.
31843 * ctype/ctype-info.c (__ctype_init): Define.
31844 * include/ctype.h (__ctype_init): Declare.
31845 (__ctype_b_loc): The variable is always initialized.
31846 (__ctype_toupper_loc): Likewise.
31847 (__ctype_tolower_loc): Likewise.
31848 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
31849 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
31851 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
31853 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
31855 * configure.in: Also look in $cxxmachine/include for C++ system
31858 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31860 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
31861 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
31862 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
31863 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
31864 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
31865 (USE_AS_WMEMCMP): New macro.
31867 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
31868 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
31869 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
31870 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
31871 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31872 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
31873 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
31874 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
31875 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
31876 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
31877 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
31878 (USE_AS_WMEMCMP): New macro.
31879 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
31880 * sysdeps/string/test-memcmp.c: Update.
31881 Fix simple_wmemcmp.
31883 * wcsmbs/wmemcmp.c: Update.
31884 (WMEMCMP): New macro.
31887 2011-10-12 Andreas Jaeger <aj@suse.de>
31890 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
31892 2011-10-15 Ulrich Drepper <drepper@gmail.com>
31894 * libio/iofwide.c (do_length): Avoid warning.
31896 * ctype/ctype.h (__isctype_f): Add missing __THROW.
31898 2011-10-14 Ulrich Drepper <drepper@gmail.com>
31900 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
31902 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
31903 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
31904 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
31905 * sysdeps/i386/i686/fpu/e_log.S: New file.
31906 * sysdeps/i386/i686/fpu/e_logf.S: New file.
31907 * sysdeps/i386/i686/fpu/e_logl.S: New file.
31909 * ctype/ctype.h: Add support for inlined isXXX functions when
31910 compiling C++ code.
31912 2011-10-14 Andreas Schwab <schwab@redhat.com>
31914 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31916 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
31918 2011-10-13 Roland McGrath <roland@hack.frob.com>
31921 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
31923 2011-10-13 Andreas Schwab <schwab@redhat.com>
31925 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
31926 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
31929 * sysdeps/x86_64/memrchr.S: Check for zero size.
31931 * string/stratcliff.c: Add memrchr tests.
31933 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31935 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31936 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
31937 rawmemchr-sse2 rawmemchr-sse2-bsf.
31938 * sysdeps/i386/i686/multiarch/memchr.S: New file.
31939 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
31940 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
31941 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
31942 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
31943 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
31944 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
31945 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
31946 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
31947 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
31948 * string/memrchr.c (MEMRCHR): New macro.
31950 2011-10-12 Ulrich Drepper <drepper@gmail.com>
31952 Add integration with gcc's -ffinite-math-only and optimize wrapper
31954 * Versions.def: Define GLIBC_2.15 version for libm.
31955 * math/Makefile (headers): Add bits/math-finite.h.
31956 * math/bits/math-finite.h: New file.
31957 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
31958 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
31959 * math/e_acoshl.c: Add __*_finite alias.
31960 * math/e_acosl.c: Likewise.
31961 * math/e_asinl.c: Likewise.
31962 * math/e_atan2l.c: Likewise.
31963 * math/e_atanhl.c: Likewise.
31964 * math/e_coshl.c: Likewise.
31965 * math/e_exp10.c: Likewise.
31966 * math/e_exp10f.c: Likewise.
31967 * math/e_exp10l.c: Likewise.
31968 * math/e_exp2l.c: Likewise.
31969 * math/e_fmodl.c: Likewise.
31970 * math/e_gammal_r.c: Likewise.
31971 * math/e_hypotl.c: Likewise.
31972 * math/e_j0l.c: Likewise.
31973 * math/e_j1l.c: Likewise.
31974 * math/e_jnl.c: Likewise.
31975 * math/e_lgammal_r.c: Likewise.
31976 * math/e_log10l.c: Likewise.
31977 * math/e_log2l.c: Likewise.
31978 * math/e_logl.c: Likewise.
31979 * math/e_powl.c: Likewise.
31980 * math/e_sinhl.c: Likewise.
31981 * math/e_sqrtl.c: Likewise.
31982 * math/e_scalb.c: Completely rewritten and optimized.
31983 * math/e_scalbf.c: Likewise.
31984 * math/e_scalbl.c: Likewise.
31985 * math/w_acos.c: Likewise.
31986 * math/w_acosf.c: Likewise.
31987 * math/w_acosl.c: Likewise.
31988 * math/w_acosh.c: Likewise.
31989 * math/w_acoshf.c: Likewise.
31990 * math/w_acoshl.c: Likewise.
31991 * math/w_asin.c: Likewise.
31992 * math/w_asinf.c: Likewise.
31993 * math/w_asinl.c: Likewise.
31994 * math/w_atan2.c: Likewise.
31995 * math/w_atan2f.c: Likewise.
31996 * math/w_atan2l.c: Likewise.
31997 * math/w_atanh.c: Likewise.
31998 * math/w_atanhf.c: Likewise.
31999 * math/w_atanhl.c: Likewise.
32000 * math/w_exp10.c: Likewise.
32001 * math/w_exp10f.c: Likewise.
32002 * math/w_exp10l.c: Likewise.
32003 * math/w_fmod.c: Likewise.
32004 * math/w_fmodf.c: Likewise.
32005 * math/w_fmodl.c: Likewise.
32006 * math/w_j0.c: Likewise.
32007 * math/w_j0f.c: Likewise.
32008 * math/w_j0l.c: Likewise.
32009 * math/w_j1.c: Likewise.
32010 * math/w_j1f.c: Likewise.
32011 * math/w_j1l.c: Likewise.
32012 * math/w_jn.c: Likewise.
32013 * math/w_jnf.c: Likewise.
32014 * math/w_log.c: Likewise.
32015 * math/w_logf.c: Likewise.
32016 * math/w_logl.c: Likewise.
32017 * math/w_log10.c: Likewise.
32018 * math/w_log10f.c: Likewise.
32019 * math/w_log10l.c: Likewise.
32020 * math/w_log2.c: Likewise.
32021 * math/w_log2f.c: Likewise.
32022 * math/w_log2l.c: Likewise.
32023 * math/w_pow.c: Likewise.
32024 * math/w_powf.c: Likewise.
32025 * math/w_powl.c: Likewise.
32026 * math/w_remainder.c: Likewise.
32027 * math/w_remainderf.c: Likewise.
32028 * math/w_remainderl.c: Likewise.
32029 * math/w_scalb.c: Likewise.
32030 * math/w_scalbf.c: Likewise.
32031 * math/w_scalbl.c: Likewise.
32032 * math/w_sqrt.c: Likewise.
32033 * math/w_sqrtf.c: Likewise.
32034 * math/w_sqrtl.c: Likewise.
32035 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
32036 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
32038 * math/math_private.h: Declare __kernel_standard_f.
32039 * math/w_cosh.c: Remove cruft and optimize a bit.
32040 * math/w_coshf.c: Likewise.
32041 * math/w_coshl.c: Likewise.
32042 * math/w_exp2.c: Likewise.
32043 * math/w_exp2f.c: Likewise.
32044 * math/w_exp2l.c: Likewise.
32045 * math/w_hypot.c: Likewise.
32046 * math/w_hypotf.c: Likewise.
32047 * math/w_hypotl.c: Likewise.
32048 * math/w_lgamma.c: Likewise.
32049 * math/w_lgamma_r.c: Likewise.
32050 * math/w_lgammaf.c: Likewise.
32051 * math/w_lgammaf_r.c: Likewise.
32052 * math/w_lgammal.c: Likewise.
32053 * math/w_lgammal_r.c: Likewise.
32054 * math/w_sinh.c: Likewise.
32055 * math/w_sinhf.c: Likewise.
32056 * math/w_sinhl.c: Likewise.
32057 * math/w_tgamma.c: Likewise.
32058 * math/w_tgammaf.c: Likewise.
32059 * math/w_tgammal.c: Likewise.
32060 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32061 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32062 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
32063 Minor optimizations. Pretty printing. Remove cruft.
32064 * sysdeps/i386/fpu/e_acosf.S: Likewise.
32065 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32066 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32067 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32068 * sysdeps/i386/fpu/e_acosl.c: Likewise.
32069 * sysdeps/i386/fpu/e_asin.S: Likewise.
32070 * sysdeps/i386/fpu/e_asinf.S: Likewise.
32071 * sysdeps/i386/fpu/e_atan2.S: Likewise.
32072 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
32073 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
32074 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32075 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32076 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32077 * sysdeps/i386/fpu/e_exp10.S: Likewise.
32078 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
32079 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
32080 * sysdeps/i386/fpu/e_exp2.S: Likewise.
32081 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
32082 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
32083 * sysdeps/i386/fpu/e_fmod.S: Likewise.
32084 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
32085 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
32086 * sysdeps/i386/fpu/e_hypot.S: Likewise.
32087 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
32088 * sysdeps/i386/fpu/e_log.S: Likewise.
32089 * sysdeps/i386/fpu/e_log10.S: Likewise.
32090 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32091 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32092 * sysdeps/i386/fpu/e_log2.S: Likewise.
32093 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32094 * sysdeps/i386/fpu/e_log2l.S: Likewise.
32095 * sysdeps/i386/fpu/e_logf.S: Likewise.
32096 * sysdeps/i386/fpu/e_logl.S: Likewise.
32097 * sysdeps/i386/fpu/e_pow.S: Likewise.
32098 * sysdeps/i386/fpu/e_powf.S: Likewise.
32099 * sysdeps/i386/fpu/e_powl.S: Likewise.
32100 * sysdeps/i386/fpu/e_remainder.S: Likewise.
32101 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
32102 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
32103 * sysdeps/i386/fpu/e_scalb.S: Likewise.
32104 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32105 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32106 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
32107 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
32108 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
32109 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32110 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32111 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32112 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32113 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32114 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32115 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
32116 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32117 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32118 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32119 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32120 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
32121 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32122 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32123 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32124 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32125 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32126 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
32127 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32128 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32129 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
32130 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
32131 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32132 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32133 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
32134 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
32135 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32136 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
32137 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
32138 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
32139 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32140 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
32141 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32142 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
32143 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
32144 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
32145 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
32146 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
32147 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
32148 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
32149 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
32150 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
32151 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
32152 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
32153 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32154 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
32155 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
32156 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
32157 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
32158 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
32159 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
32160 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
32161 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
32162 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32163 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
32164 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
32165 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
32166 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
32167 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
32168 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
32169 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
32170 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
32171 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32172 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32173 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
32174 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
32175 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
32176 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
32177 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
32178 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
32179 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
32180 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
32181 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
32182 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
32183 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
32184 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
32185 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
32186 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
32187 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32188 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
32189 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32190 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
32191 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
32192 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32193 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32194 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
32195 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32196 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
32197 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
32198 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
32199 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32200 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32201 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32202 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
32203 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32204 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32205 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32206 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
32207 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
32208 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
32209 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
32210 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
32211 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
32212 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
32213 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32214 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32215 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32216 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32217 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
32218 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32219 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
32220 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
32221 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
32222 (__isnanf): Likewise.
32223 (__isinf_ns): Likewise.
32224 (__isinf_nsf): Likewise.
32225 (__finite): Likewise.
32226 (__finitef): Likewise.
32227 (__ieee754_sqrt): Define as macro.
32228 (__ieee754_sqrtf): Define as macro.
32229 (__ieee754_sqrtl): Define as macro.
32230 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
32232 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
32233 __FINITE_MATH_ONLY__ consistent.
32234 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
32236 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
32238 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
32241 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
32243 2011-10-09 Ulrich Drepper <drepper@gmail.com>
32245 * po/ja.po: Update from translation team.
32247 2011-10-08 Roland McGrath <roland@hack.frob.com>
32249 * locale/programs/locarchive.c (prepare_address_space): New function.
32250 (create_archive, enlarge_archive, open_archive): Use it.
32252 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
32253 inside [SHARED], where it is used.
32255 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
32257 * nss/getent.c (netgroup_keys): Remove unused variable.
32258 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
32260 2011-10-08 Ulrich Drepper <drepper@gmail.com>
32262 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
32263 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
32264 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
32265 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
32266 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
32267 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
32268 * math/Makefile (libm-calls): Add s_isinf_ns.
32269 * math/divtc3.c: Use __isinf_nsl instead of isinf.
32270 * math/multc3.c: Likewise.
32271 * math/s_casin.c: Likewise.
32272 * math/s_casinf.c: Likewise.
32273 * math/s_casinl.c: Likewise.
32274 * math/s_ccos.c: Likewise.
32275 * math/s_ccosf.c: Likewise.
32276 * math/s_ccosl.c: Likewise.
32277 * math/s_ctan.c: Likewise.
32278 * math/s_ctanf.c: Likewise.
32279 * math/s_ctanh.c: Likewise.
32280 * math/s_ctanhf.c: Likewise.
32281 * math/s_ctanhl.c: Likewise.
32282 * math/s_ctanl.c: Likewise.
32283 * math/w_fmod.c: Likewise.
32284 * math/w_fmodf.c: Likewise.
32285 * math/w_fmodl.c: Likewise.
32286 * math/w_remainder.c: Likewise.
32287 * math/w_remainderf.c: Likewise.
32288 * math/w_remainderl.c: Likewise.
32289 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
32290 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
32291 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
32292 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
32293 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
32294 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
32295 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
32296 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
32298 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
32300 * stdio-common/printf_fphex.c: Likewise.
32301 * stdio-common/printf_size.c: Likewise.
32303 * math/e_exp10.c: Include math_private.h using <...> not "...".
32304 * math/e_exp10f.c: Likewise.
32305 * math/e_exp10l.c: Likewise.
32306 * math/e_exp2l.c: Likewise.
32307 * math/e_j0l.c: Likewise.
32308 * math/e_j1l.c: Likewise.
32309 * math/e_jnl.c: Likewise.
32310 * math/e_lgammal_r.c: Likewise.
32311 * math/e_rem_pio2l.c: Likewise.
32312 * math/e_scalb.c: Likewise.
32313 * math/e_scalbf.c: Likewise.
32314 * math/e_scalbl.c: Likewise.
32315 * math/k_cosl.c: Likewise.
32316 * math/k_sinl.c: Likewise.
32317 * math/k_tanl.c: Likewise.
32318 * math/s_cacoshf.c: Likewise.
32319 * math/s_catan.c: Likewise.
32320 * math/s_catanf.c: Likewise.
32321 * math/s_catanh.c: Likewise.
32322 * math/s_catanhf.c: Likewise.
32323 * math/s_catanhl.c: Likewise.
32324 * math/s_catanl.c: Likewise.
32325 * math/s_ccosh.c: Likewise.
32326 * math/s_ccoshf.c: Likewise.
32327 * math/s_ccoshl.c: Likewise.
32328 * math/s_cexp.c: Likewise.
32329 * math/s_cexpf.c: Likewise.
32330 * math/s_cexpl.c: Likewise.
32331 * math/s_clog.c: Likewise.
32332 * math/s_clog10.c: Likewise.
32333 * math/s_clog10f.c: Likewise.
32334 * math/s_clog10l.c: Likewise.
32335 * math/s_clogf.c: Likewise.
32336 * math/s_clogl.c: Likewise.
32337 * math/s_csin.c: Likewise.
32338 * math/s_csinf.c: Likewise.
32339 * math/s_csinh.c: Likewise.
32340 * math/s_csinhf.c: Likewise.
32341 * math/s_csinhl.c: Likewise.
32342 * math/s_csinl.c: Likewise.
32343 * math/s_csqrt.c: Likewise.
32344 * math/s_csqrtf.c: Likewise.
32345 * math/s_csqrtl.c: Likewise.
32346 * math/s_ctan.c: Likewise.
32347 * math/s_ctanf.c: Likewise.
32348 * math/s_ctanh.c: Likewise.
32349 * math/s_ctanhf.c: Likewise.
32350 * math/s_ctanhl.c: Likewise.
32351 * math/s_ctanl.c: Likewise.
32352 * math/s_ldexp.c: Likewise.
32353 * math/s_ldexpf.c: Likewise.
32354 * math/s_ldexpl.c: Likewise.
32355 * math/s_significand.c: Likewise.
32356 * math/s_significandf.c: Likewise.
32357 * math/s_significandl.c: Likewise.
32358 * math/w_acos.c: Likewise.
32359 * math/w_acosf.c: Likewise.
32360 * math/w_acosh.c: Likewise.
32361 * math/w_acoshf.c: Likewise.
32362 * math/w_acoshl.c: Likewise.
32363 * math/w_acosl.c: Likewise.
32364 * math/w_asin.c: Likewise.
32365 * math/w_asinf.c: Likewise.
32366 * math/w_asinl.c: Likewise.
32367 * math/w_atan2.c: Likewise.
32368 * math/w_atan2f.c: Likewise.
32369 * math/w_atan2l.c: Likewise.
32370 * math/w_atanh.c: Likewise.
32371 * math/w_atanhf.c: Likewise.
32372 * math/w_atanhl.c: Likewise.
32373 * math/w_cosh.c: Likewise.
32374 * math/w_coshf.c: Likewise.
32375 * math/w_coshl.c: Likewise.
32376 * math/w_dremf.c: Likewise.
32377 * math/w_exp10.c: Likewise.
32378 * math/w_exp10f.c: Likewise.
32379 * math/w_exp10l.c: Likewise.
32380 * math/w_exp2.c: Likewise.
32381 * math/w_exp2f.c: Likewise.
32382 * math/w_fmod.c: Likewise.
32383 * math/w_fmodf.c: Likewise.
32384 * math/w_fmodl.c: Likewise.
32385 * math/w_hypot.c: Likewise.
32386 * math/w_hypotf.c: Likewise.
32387 * math/w_hypotl.c: Likewise.
32388 * math/w_j0.c: Likewise.
32389 * math/w_j0f.c: Likewise.
32390 * math/w_j0l.c: Likewise.
32391 * math/w_j1.c: Likewise.
32392 * math/w_j1f.c: Likewise.
32393 * math/w_j1l.c: Likewise.
32394 * math/w_jn.c: Likewise.
32395 * math/w_jnf.c: Likewise.
32396 * math/w_jnl.c: Likewise.
32397 * math/w_lgamma.c: Likewise.
32398 * math/w_lgamma_r.c: Likewise.
32399 * math/w_lgammaf.c: Likewise.
32400 * math/w_lgammaf_r.c: Likewise.
32401 * math/w_lgammal.c: Likewise.
32402 * math/w_lgammal_r.c: Likewise.
32403 * math/w_log.c: Likewise.
32404 * math/w_log10.c: Likewise.
32405 * math/w_log10f.c: Likewise.
32406 * math/w_log10l.c: Likewise.
32407 * math/w_log2.c: Likewise.
32408 * math/w_log2f.c: Likewise.
32409 * math/w_log2l.c: Likewise.
32410 * math/w_logf.c: Likewise.
32411 * math/w_logl.c: Likewise.
32412 * math/w_pow.c: Likewise.
32413 * math/w_powf.c: Likewise.
32414 * math/w_powl.c: Likewise.
32415 * math/w_remainder.c: Likewise.
32416 * math/w_remainderf.c: Likewise.
32417 * math/w_remainderl.c: Likewise.
32418 * math/w_scalb.c: Likewise.
32419 * math/w_scalbf.c: Likewise.
32420 * math/w_scalbl.c: Likewise.
32421 * math/w_sinh.c: Likewise.
32422 * math/w_sinhf.c: Likewise.
32423 * math/w_sinhl.c: Likewise.
32424 * math/w_sqrt.c: Likewise.
32425 * math/w_sqrtf.c: Likewise.
32426 * math/w_sqrtl.c: Likewise.
32427 * math/w_tgamma.c: Likewise.
32428 * math/w_tgammaf.c: Likewise.
32429 * math/w_tgammal.c: Likewise.
32431 * po/ja.po: Update from translation team.
32433 2011-09-29 Andreas Jaeger <aj@suse.de>
32436 * sunrpc/netname.c (netname2host): Fix logic.
32440 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
32442 * math/w_remainder.c (__remainder): Likewise.
32443 * math/w_remainderf.c (__remainderf): Likewise.
32444 * math/libm-test.inc (remainder_test): Add test cases.
32446 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32448 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
32451 2011-10-07 Ulrich Drepper <drepper@gmail.com>
32453 * string/test-memcmp.c: Avoid unncessary #defines.
32454 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32456 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32458 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
32459 Use new sse2 version for core i3 - i7 as it's faster
32460 than sse42 version.
32461 (bit_Prefer_PMINUB_for_stringop): New.
32462 * sysdeps/x86_64/rawmemchr.S: Update.
32463 Replace with faster SSE2 version.
32464 * sysdeps/x86_64/memrchr.S: New file.
32465 * sysdeps/x86_64/memchr.S: Update.
32466 Replace with faster SSE2 version.
32468 2011-09-12 Marek Polacek <mpolacek@redhat.com>
32470 * elf/dl-load.c (lose): Add cast to avoid warning.
32472 2011-10-07 Ulrich Drepper <drepper@gmail.com>
32474 * po/ca.po: Update from translation team.
32476 * inet/getnetgrent_r.c: Hook up nscd.
32477 * nscd/Makefile (routines): Add nscd_netgroup.
32478 (nscd-modules): Add netgroupcache.
32479 (CFLAGS-netgroupcache.c): Define.
32480 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
32481 (cache_search): Add const to second parameter.
32482 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
32484 (dbs): Add netgrdb entry.
32485 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
32486 (verify_persistent_db): Handle netgrdb.
32487 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
32488 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
32490 (netgroup_response_header): Define.
32491 (innetgroup_response_header): Define.
32492 (datahead): Add netgroup_response_header and innetgroup_response_header
32494 * nscd/nscd.conf: Add entries for netgroup cache.
32495 * nscd/nscd.h (dbtype): Add netgrdb.
32496 (_PATH_NSCD_NETGROUP_DB): Define.
32497 (netgroup_iov_disabled): Declare.
32498 (xmalloc, xcalloc, xrealloc): Move declarations here.
32499 (cache_search): Adjust prototype.
32500 Add netgroup-related prototypes.
32501 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
32502 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
32503 (__nscd_innetgr): Declare.
32504 * nscd/selinux.c (perms): Use access_vector_t as element type and
32505 add netgroup-related initializers.
32506 * nscd/netgroupcache.c: New file.
32507 * nscd/nscd_netgroup.c: New file.
32508 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
32509 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
32510 For four parameters use innetgr.
32511 * nss/nss_files/files-init.c: Add definition and callback for netgr.
32512 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
32513 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
32514 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
32516 * nscd/connections.c (register_traced_file): Don't register file
32517 for disabled databases.
32519 2011-10-06 Ulrich Drepper <drepper@gmail.com>
32521 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
32523 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
32524 from tree and freeing node.
32526 2011-09-25 Jiri Olsa <jolsa@redhat.com>
32528 * nss/nsswitch.c (__nss_database_lookup): Handle
32529 nss_parse_service_list out of memory case.
32531 2011-09-15 Jiri Olsa <jolsa@redhat.com>
32533 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
32534 out of memory case.
32536 2011-10-04 Andreas Schwab <schwab@redhat.com>
32538 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
32539 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
32541 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
32542 elf_machine_rela, elf_machine_lazy_rel.
32543 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
32544 (ELF_DYNAMIC_DO_REL): Likewise.
32545 (ELF_DYNAMIC_DO_RELA): Likewise.
32546 (ELF_DYNAMIC_RELOCATE): Likewise.
32547 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
32548 to ELF_DYNAMIC_DO_REL.
32549 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
32550 (dl_main): In trace mode always set __RTLD_NOIFUNC.
32551 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
32553 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
32554 skip_ifunc, don't call ifunc function if non-zero.
32555 (elf_machine_rela): Likewise.
32556 (elf_machine_lazy_rel): Likewise.
32557 (elf_machine_lazy_rela): Likewise.
32558 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
32559 (elf_machine_lazy_rel): Likewise.
32560 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
32562 (elf_machine_lazy_rel): Likewise.
32563 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32565 (elf_machine_lazy_rel): Likewise.
32566 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
32567 (elf_machine_lazy_rel): Likewise.
32568 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
32569 (elf_machine_lazy_rel): Likewise.
32570 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
32571 (elf_machine_lazy_rel): Likewise.
32572 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
32573 (elf_machine_lazy_rel): Likewise.
32574 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
32575 (elf_machine_lazy_rel): Likewise.
32576 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
32577 (elf_machine_lazy_rel): Likewise.
32579 2011-09-28 Ulrich Drepper <drepper@gmail.com>
32581 * nss/nss_files/files-init.c (_nss_files_init): Use static
32582 initialization for all the *_traced_file variables.
32584 2011-09-28 Andreas Schwab <schwab@redhat.com>
32586 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32588 2011-09-27 Roland McGrath <roland@hack.frob.com>
32591 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
32593 2011-09-27 Andreas Schwab <schwab@redhat.com>
32595 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32596 Reread the line before reparsing it.
32598 2011-09-26 Andreas Schwab <schwab@redhat.com>
32600 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
32602 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
32603 Maxim Kuvyrkov <maxim@codesourcery.com>
32604 Joseph Myers <joseph@codesourcery.com>
32606 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
32607 if needed for __stack_chk_guard.
32609 2011-09-19 Roland McGrath <roland@hack.frob.com>
32611 * sysdeps/posix/spawni.c (script_execute): Always define it.
32612 It will be optimized away if unused.
32613 (maybe_script_execute): New function.
32614 (__spawni): Call it.
32616 * Makerules: Don't include tls.make.
32617 (config-tls): Always set to thread.
32618 * tls.make.c: File removed.
32620 2011-09-19 Mike Frysinger <vapier@gentoo.org>
32622 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
32623 * config.make.in (CPPFLAGS-config): New substituted variable.
32625 2011-09-15 Ulrich Drepper <drepper@gmail.com>
32627 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
32630 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
32631 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
32633 2011-09-15 Roland McGrath <roland@hack.frob.com>
32635 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
32636 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
32637 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32638 (CALL_FAIL): Likewise.
32639 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
32640 (CALL_FAIL): Macro removed.
32641 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
32643 2011-09-15 Ulrich Drepper <drepper@gmail.com>
32645 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
32646 for __FINITE_MATH_ONLY__ == 1.
32648 2011-09-15 Andreas Schwab <schwab@redhat.com>
32650 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
32651 __ieee754_sqrt instead of sqrt.
32652 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
32653 __ieee754_sqrtf instead of sqrtf.
32654 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
32655 __floorf instead of floorf.
32656 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
32657 __floorf, __truncf instead of floorf, truncf.
32659 2011-09-14 Ulrich Drepper <drepper@gmail.com>
32661 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
32663 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
32664 __extern_always_inline.
32665 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
32668 2011-09-14 Andreas Schwab <schwab@redhat.com>
32670 * elf/rtld.c (dl_main): Also relocate in dependency order when
32671 doing symbol dependency testing.
32673 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
32675 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32676 Always define `refsym'.
32678 2011-09-13 Andreas Schwab <schwab@redhat.com>
32680 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
32681 (__FD_ELT): Renamed from __FDELT.
32682 * misc/bits/select2.h (__FD_ELT): Likewise.
32683 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
32684 __FD_MASK instead of __FDELT, __FDMASK.
32685 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
32687 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
32690 * elf/Makefile (gen-ldd): Fix pattern.
32692 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
32693 (init_tls): Likewise.
32695 2011-09-12 Ulrich Drepper <drepper@gmail.com>
32697 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
32699 2011-09-12 Andreas Schwab <schwab@redhat.com>
32701 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
32702 `struct cmsghdr *' instead of `void *'.
32703 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
32706 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
32708 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
32710 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
32711 ldd_rewrite_script.
32713 2011-09-11 Ulrich Drepper <drepper@gmail.com>
32715 * configure.in: Remove --with-tls option.
32716 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
32717 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
32718 out in case it is missing.
32719 * sysdeps/ia64/elf/configure.in: Likewise.
32720 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
32721 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
32722 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
32723 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
32724 * sysdeps/sh/elf/configure.in: Likewise.
32725 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
32726 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
32727 * sysdeps/x86_64/elf/configure.in: Likewise.
32728 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
32729 * sysdeps/mach/hurd/tls.h: Likewise.
32732 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
32735 * configure.in: Fix use of AC_INIT.
32737 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
32739 2011-09-10 Ulrich Drepper <drepper@gmail.com>
32741 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
32743 * malloc/hooks.c: Likewise.
32746 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
32747 variables statically.
32748 (narenas): Initialize.
32749 (list_lock): Initialize.
32750 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
32751 initializtion of main_arena and list_lock. Small cleanups.
32752 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
32753 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
32754 Add initializers to main_arena and mp_.
32755 (malloc_state): Remove pagesize member. Change all users to use
32758 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
32759 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
32760 is always initialized.
32762 * malloc/malloc.c: Removed unused configurations and dead code.
32763 * malloc/arena.c: Likewise.
32764 * malloc/hooks.c: Likewise.
32765 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
32767 * include/tls.h: Removed. USE___THREAD must always be defined.
32768 * bits/libc-tsd.h: Don't handle !USE___THREAD.
32769 * elf/dl-libc.c: Likewise.
32770 * elf/dl-tsd.c: Likewise.
32771 * include/errno.h: Likewise.
32772 * include/netdb.h: Likewise.
32773 * include/resolv.h: Likewise.
32774 * inet/herrno-loc.c: Likewise.
32775 * inet/herrno.c: Likewise.
32776 * malloc/arena.c: Likewise.
32777 * malloc/hooks.c: Likewise.
32778 * malloc/malloc.c: Likewise.
32779 * resolv/res-state.c: Likewise.
32780 * resolv/res_libc.c: Likewise.
32781 * sysdeps/i386/dl-machine.h: Likewise.
32782 * sysdeps/ia64/dl-machine.h: Likewise.
32783 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
32784 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32785 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
32786 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
32787 * sysdeps/sh/dl-machine.h: Likewise.
32788 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
32789 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
32790 * sysdeps/unix/i386/sysdep.S: Likewise.
32791 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32792 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
32793 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
32794 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32795 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
32796 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32797 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
32798 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
32799 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32800 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32801 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32802 * sysdeps/x86_64/dl-machine.h: Likewise.
32803 * tls.make.c: Likewise.
32805 * configure.in: Remove --with-__thread option. Make tests for
32806 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
32807 tls_model attribute fail if no support is available. Remove
32809 * Makeconfig: Adjust for dropped configure option. All features are
32811 * Makerules: Likewise.
32812 * Versions.def: Likewise.
32813 * argp/argp-fmtstream.c: Likewise.
32814 * argp/argp-fmtstream.h: Likewise.
32815 * argp/argp-help.c: Likewise.
32816 * assert/assert.c: Likewise.
32817 * config.h.in: Likewise.
32818 * config.make.in: Likewise.
32819 * configure: Likewise.
32820 * configure.in: Likewise.
32821 * csu/Versions: Likewise.
32822 * csu/init.c: Likewise.
32823 * elf/tst-audit2.c: Likewise.
32824 * elf/tst-tls10.c: Likewise.
32825 * elf/tst-tls10.h: Likewise.
32826 * elf/tst-tls11.c: Likewise.
32827 * elf/tst-tls12.c: Likewise.
32828 * elf/tst-tls14.c: Likewise.
32829 * elf/tst-tlsmod11.c: Likewise.
32830 * elf/tst-tlsmod12.c: Likewise.
32831 * elf/tst-tlsmod13.c: Likewise.
32832 * elf/tst-tlsmod13a.c: Likewise.
32833 * elf/tst-tlsmod14a.c: Likewise.
32834 * elf/tst-tlsmod15b.c: Likewise.
32835 * elf/tst-tlsmod16a.c: Likewise.
32836 * elf/tst-tlsmod16b.c: Likewise.
32837 * elf/tst-tlsmod7.c: Likewise.
32838 * elf/tst-tlsmod8.c: Likewise.
32839 * elf/tst-tlsmod9.c: Likewise.
32840 * gmon/gmon.c: Likewise.
32841 * grp/fgetgrent_r.c: Likewise.
32842 * grp/putgrent.c: Likewise.
32843 * hurd/fopenport.c: Likewise.
32844 * include/libc-symbols.h: Likewise.
32845 * include/tls.h: Likewise.
32846 * intl/gettextP.h: Likewise.
32847 * intl/loadinfo.h: Likewise.
32848 * locale/global-locale.c: Likewise.
32849 * locale/localeinfo.h: Likewise.
32850 * mach/devstream.c: Likewise.
32851 * malloc/arena.c: Likewise.
32852 * malloc/set-freeres.c: Likewise.
32853 * misc/err.c: Likewise.
32854 * misc/getttyent.c: Likewise.
32855 * misc/mntent_r.c: Likewise.
32856 * posix/getopt.c: Likewise.
32857 * posix/wordexp.c: Likewise.
32858 * pwd/fgetpwent_r.c: Likewise.
32859 * resolv/Versions: Likewise.
32860 * resolv/res_hconf.c: Likewise.
32861 * shadow/fgetspent_r.c: Likewise.
32862 * shadow/putspent.c: Likewise.
32863 * stdio-common/printf_fphex.c: Likewise.
32864 * stdio-common/tmpfile.c: Likewise.
32865 * stdlib/abort.c: Likewise.
32866 * stdlib/fmtmsg.c: Likewise.
32867 * sunrpc/auth_unix.c: Likewise.
32868 * sunrpc/clnt_perr.c: Likewise.
32869 * sunrpc/clnt_tcp.c: Likewise.
32870 * sunrpc/clnt_udp.c: Likewise.
32871 * sunrpc/clnt_unix.c: Likewise.
32872 * sunrpc/openchild.c: Likewise.
32873 * sunrpc/svc_simple.c: Likewise.
32874 * sunrpc/svc_tcp.c: Likewise.
32875 * sunrpc/svc_udp.c: Likewise.
32876 * sunrpc/svc_unix.c: Likewise.
32877 * sunrpc/xdr.c: Likewise.
32878 * sunrpc/xdr_array.c: Likewise.
32879 * sunrpc/xdr_rec.c: Likewise.
32880 * sunrpc/xdr_ref.c: Likewise.
32881 * sunrpc/xdr_stdio.c: Likewise.
32883 2011-09-09 Ulrich Drepper <drepper@gmail.com>
32885 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32887 2011-07-03 Andreas Jaeger <aj@suse.de>
32889 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
32890 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
32891 regenerate with gen-libm-tests.pl.
32893 2010-05-12 Petr Baudis <pasky@suse.cz>
32896 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
32897 around j0() zero points by switching to j1().
32898 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32899 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32900 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32901 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32903 2011-09-09 Ulrich Drepper <drepper@gmail.com>
32905 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
32907 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
32909 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32910 Patch in part by Pavel Roskin <proski@gnu.org>.
32913 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
32915 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
32916 Free memory block if necessary.
32919 * libio/genops.c (INTDEF): For string streams the _lock pointer can
32920 be NULL. Don't lock in this case.
32922 2011-09-09 Roland McGrath <roland@hack.frob.com>
32924 * elf/elf.h (ELFOSABI_GNU): New macro.
32925 (ELFOSABI_LINUX): Define to that.
32927 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
32929 * string/strncat.c (strncat): Undef the symbol in case it has been
32930 defined in bits/string.h.
32932 2011-09-09 Ulrich Drepper <drepper@gmail.com>
32934 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
32936 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
32939 2011-08-17 Andreas Jaeger <aj@suse.de>
32941 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
32943 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
32944 Ian Lance Taylor <iant@google.com>
32946 * math/libm-test.inc (lround_test): New testcase.
32947 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
32949 2011-09-08 Ulrich Drepper <drepper@gmail.com>
32951 * Makefile: Remove support for automatic cvs check-ins.
32952 * Makerules: Likewise.
32953 * config.make.in: Likewise.
32954 * configure.in: Likewise.
32955 * intl/Makefile: Likewise.
32956 * locale/Makefile: Likewise.
32957 * po/Makefile: Likewise.
32958 * posix/Makefile: Likewise.
32959 * sysdeps/gnu/Makefile: Likewise.
32960 * sysdeps/mach/hurd/Makefile: Likewise.
32961 * sysdeps/sparc/sparc32/Makefile: Likewise.
32964 * posix/Makefile (bug-regex32-ENV): Define.
32965 Patch by John Stanley <jpsinthemix@verizon.net>.
32967 * misc/Makefile (headers): Add bits/select2.h.
32968 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
32969 * misc/bits/select2.h: New file.
32970 * include/bits/select2.h: New file.
32971 * debug/Makefile (routines): Add fdelt_chk.
32972 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
32973 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
32975 * debug/fdelt_chk.c: New file.
32977 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
32978 * wcsmbs/test-wmemcmp.c: Likewise.
32979 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
32980 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
32982 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32984 * string/Makefile (strop-tests): Add memcmp.
32985 * string/test-wmemcmp.c: New file.
32986 * string/test-memcmp.c: Add wmemcmp support.
32988 2011-09-08 Roland McGrath <roland@hack.frob.com>
32991 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
32994 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
32995 garbage value in a __mach_port_mod_refs call in the cases of the
32996 task-self and thread-self ports.
32998 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
33000 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
33002 2011-09-08 Andreas Schwab <schwab@redhat.com>
33004 * elf/dl-load.c (lose): Check for non-null L.
33006 2011-09-07 Ulrich Drepper <drepper@gmail.com>
33008 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
33010 * elf/dl-libc.c (dlerror_run): Pass back error code from
33014 * elf/dl-load.c (lose): Free l_origin if it is valid.
33016 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
33018 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
33019 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33020 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33021 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33022 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
33023 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
33025 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33027 * sysdeps/powerpc/fpu/e_hypot.c: New file.
33028 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
33029 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
33030 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
33031 * sysdeps/powerpc/fpu/k_cosf.c: New file.
33032 * sysdeps/powerpc/fpu/k_sinf.c: New file.
33033 * sysdeps/powerpc/fpu/s_cosf.c: New file.
33034 * sysdeps/powerpc/fpu/s_sinf.c: New file.
33035 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
33036 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
33038 2011-08-15 Alan Modra <amodra@gmail.com>
33041 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
33042 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
33043 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
33044 ppc_mcount to static-only-routines.
33045 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
33047 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
33048 __mcount_internal with usual JUMPTARGET. Remove useless nop.
33050 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
33052 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
33053 for finite and infinity parameters.
33055 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
33057 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
33058 and add nop instructions for throughput optimization.
33059 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33061 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
33063 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
33064 aligned copy for power7 with vector-scalar instructions.
33065 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
33067 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
33069 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
33072 2011-09-07 Andreas Schwab <schwab@redhat.com>
33075 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
33078 2011-09-07 Ulrich Drepper <drepper@gmail.com>
33080 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33081 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
33082 syscall wrapper around clock_gettime in __vdso_clock_gettime.
33083 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
33086 2011-09-06 Ulrich Drepper <drepper@gmail.com>
33088 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
33089 Forgot to demangle the pointer.
33091 * sysdeps/i386/sysdep.h: Define atom_text_section.
33092 * sysdeps/x86_64/sysdep.h: Likewise.
33093 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
33094 section with atom_text_section.
33095 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33096 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33097 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
33098 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
33099 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
33101 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
33102 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
33103 already be defined. Change to take two parameters and don't assign
33104 result to variable. Adjust all users.
33105 Define INTERNAL_GETTIME if not already defined.
33106 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
33108 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
33109 HAVE_CLOCK_GETTIME_VSYSCALL.
33110 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
33112 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
33113 gettimeofday vsyscall, just use time.
33115 2011-09-06 Andreas Schwab <schwab@redhat.com>
33117 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
33120 2011-09-06 Ulrich Drepper <drepper@gmail.com>
33122 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
33124 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
33126 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
33127 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
33128 syscall if possible.
33130 2011-09-05 Ulrich Drepper <drepper@gmail.com>
33132 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
33133 e_ident. Don't pass to find_mapsXX.
33134 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
33136 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33138 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33139 strchr-sse2-no-bsf strrchr-sse2-no-bsf
33140 * sysdeps/x86_64/multiarch/strchr.S: Update.
33141 Check bit_slow_BSF bit.
33142 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33143 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
33144 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
33146 2011-09-05 Ulrich Drepper <drepper@gmail.com>
33149 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
33151 (tryshell): Define.
33152 (__spawni): Change last parameter to be flag. Test
33153 SPAWN_XFLAGS_USE_PATH flag to use path or not.
33154 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
33155 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
33156 * posix/spawni.c: Likewise.
33157 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
33158 * posix/spawnp.c: Likewise. Change normal version to use
33159 SPAWN_XFLAGS_USE_PATH.
33160 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
33161 SPAWN_XFLAGS_TRY_SHELL.
33164 * posix/glob.h: Remove gcc 1.x support.
33167 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
33169 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33171 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33172 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
33174 * sysdeps/i386/i686/multiarch/strchr.S: New file.
33175 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
33176 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
33177 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
33178 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
33179 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
33181 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33183 * sysdeps/x86_64/wcscmp.S: New file.
33185 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
33186 wcscmp-c wcscmp-sse2
33187 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
33188 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
33189 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
33190 * wcsmbs/wcscmp.c: Allow renaming.
33192 2011-09-05 David S. Miller <davem@davemloft.net>
33194 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
33195 stack slot, rather than the struct return pointer slot.
33196 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
33197 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
33198 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
33199 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
33201 2011-09-05 Ulrich Drepper <drepper@gmail.com>
33203 * po/ja.po: Update from translation team.
33206 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
33207 kernel in 64-bit binaries.
33209 2011-09-01 David S. Miller <davem@davemloft.net>
33211 * elf/elf.h (HWCAP_SPARC_*): Move to..
33212 * sysdeps/sparc/sysdep.h: this new file and add new values.
33213 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
33214 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
33215 _DL_HWCAP_COUNT to 24.
33216 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
33218 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
33219 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
33220 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
33221 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
33222 instead of magic constants.
33223 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33225 2011-08-31 David S. Miller <davem@davemloft.net>
33227 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
33228 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
33229 Reimplement to do errno handling inline.
33230 (SYSCALL_ERROR_HANDLER): New macro.
33231 (__SYSCALL_STRING): Do not do errno handling in asm.
33232 (__CLONE_SYSCALL_STRING): Delete.
33233 (__INTERNAL_SYSCALL_STRING): Delete.
33234 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
33235 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
33236 (PSEUDO): Reimplement to do errno handling inline.
33237 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
33238 (SYSCALL_ERROR_HANDLER): New macro.
33239 (__SYSCALL_STRING): Do not do errno handling in asm.
33240 (__CLONE_SYSCALL_STRING): Delete.
33241 (__INTERNAL_SYSCALL_STRING): Delete.
33242 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
33243 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
33245 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
33246 (inline_syscall*): Add 'err' argument.
33247 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
33248 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
33249 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
33250 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
33252 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
33253 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33255 2011-08-30 Andreas Schwab <schwab@redhat.com>
33257 * elf/rtld.c (dl_main): Relocate objects in dependency order.
33259 2011-08-29 Jiri Olsa <jolsa@redhat.com>
33261 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
33264 2011-08-24 David S. Miller <davem@davemloft.net>
33266 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
33268 2011-08-24 Andreas Schwab <schwab@redhat.com>
33270 * elf/Makefile: Add rules to build and run unload8 test.
33271 * elf/unload8.c: New file.
33272 * elf/unload8mod1.c: New file.
33273 * elf/unload8mod1x.c: New file.
33274 * elf/unload8mod2.c: New file.
33275 * elf/unload8mod3.c: New file.
33277 * elf/dl-close.c (_dl_close_worker): Reset private search list if
33280 2011-08-23 David S. Miller <davem@davemloft.net>
33282 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
33283 subtract stack bias.
33284 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
33285 %sp not %fp in calculations.
33286 (_JMPBUF_UNWINDS_ADJ): Likewise.
33288 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
33289 (aio_suspend): Call it to force an exception region around the
33290 AIO_MISC_WAIT() invocation.
33292 2011-08-23 Andreas Schwab <schwab@redhat.com>
33294 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
33297 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
33299 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
33301 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
33302 and <dl-machine.h>.
33303 (Elf64_FuncDesc): Remove.
33305 2011-08-22 David S. Miller <davem@davemloft.net>
33307 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
33308 sigaltstack check, add missing cfi directives.
33309 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
33310 missing cfi directives, and sigaltstack handling.
33312 2011-08-16 Andreas Schwab <schwab@redhat.com>
33315 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
33316 object is seen twice.
33317 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33319 * elf/Makefile (distribute): Add tst-initorder2.c.
33320 (tests): Add tst-initorder2.
33321 (modules-names): Add tst-initorder2a tst-initorder2b
33322 tst-initorder2c tst-initorder2d. Add rules to build them.
33323 ($(objpfx)tst-initorder2.out): New rule.
33324 * elf/tst-initorder2.c: New file.
33325 * elf/tst-initorder2.exp: New file.
33327 2011-08-22 Andreas Schwab <schwab@redhat.com>
33329 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
33331 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
33332 dependencies back to end of function.
33334 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33335 $(elfobjdir)/ld.so.
33337 2011-08-21 Ulrich Drepper <drepper@gmail.com>
33339 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
33340 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
33341 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
33342 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
33343 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
33344 of __vdso_gettimeofday.
33345 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
33346 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
33348 (_libc_vdso_platform_setup): Remove initialization of
33349 __vdso_gettimeofday and __vdso_time.
33351 2011-08-20 Ulrich Drepper <drepper@gmail.com>
33353 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
33354 and fgetc_unlocked.
33355 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
33358 * elf/dl-open.c (add_to_global): Report additions to the global scope
33359 for LD_DEBUG=scopes.
33360 (dl_open_worker): Also print scope of newly loaded dependencies.
33361 (_dl_show_scope): Indicate if there is no scope.
33364 * stdio-common/Makefile (tests): Add bug24.
33365 * stdio-common/bug24.c: New file.
33367 2011-08-19 Andreas Jaeger <aj@suse.de>
33370 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
33371 non-existant file when using close-on-exec mode.
33373 2011-08-20 Ulrich Drepper <drepper@gmail.com>
33375 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
33376 the very first instruction.
33378 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
33379 the CFI state in the end.
33380 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
33381 inclusion of dl-trampoline.h.
33382 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
33384 2011-08-19 Andreas Schwab <schwab@redhat.com>
33386 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
33387 expectations for long double.
33389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
33390 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
33392 2011-08-14 David S. Miller <davem@davemloft.net>
33394 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
33395 artificual limit depends upon the system page size.
33397 2011-08-17 Ulrich Drepper <drepper@gmail.com>
33399 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
33400 * resolv/Makefile: Define CFLAGS-libresolv.
33402 2011-08-17 Andreas Schwab <schwab@redhat.com>
33404 * nss/makedb.c (compute_tables): Make variables used in nested
33407 2011-08-17 Ulrich Drepper <drepper@gmail.com>
33409 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
33410 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
33411 if buffer was too small.
33413 * elf/pldd.c (main): Attach to all threads in the process.
33414 Rewrite /proc handling to use *at functions.
33416 2011-08-16 Ulrich Drepper <drepper@gmail.com>
33418 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
33419 specifies first scope to show.
33420 (dl_open_worker): Update callers. Move printing scope of new
33421 object to before the relocation.
33422 * elf/rtld.c (dl_main): Update _dl_show_scope call.
33423 * sysdeps/generic/ldsodefs.h: Update declaration.
33425 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
33426 string for the scope number.
33428 2011-08-14 Ulrich Drepper <drepper@gmail.com>
33430 * nscd/servicescache.c (cache_addserv): Make sure written is always
33433 2011-08-14 Roland McGrath <roland@hack.frob.com>
33435 * sysdeps/i386/i486/bits/atomic.h
33436 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
33437 statement expression, so as to suppress "set but not used" warning.
33438 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
33440 * string/strncat.c (STRNCAT): Use prototype definition.
33442 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
33443 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
33445 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
33446 (localedef-modules): Add localedef.
33447 (locale-modules): Add locale.
33449 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
33450 * elf/rtld.c (dl_main): Invert order of assignment in last change,
33451 to avoid a warning.
33453 2011-08-14 David S. Miller <davem@davemloft.net>
33455 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
33456 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
33458 2011-08-13 Ulrich Drepper <drepper@gmail.com>
33460 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
33461 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
33462 * elf/rtld.c (dl_main): Set l_name of vDSO.
33463 Call _dl_show_scope when DL_DEBUG_SCOPES.
33464 (process_dl_debug): Recognize scopes flag and also set it for all.
33465 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
33466 Declare _dl_show_scope.
33468 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
33469 (do_dlopen): Pass caller_dlopen to dl_open.
33470 (__libc_dlopen_mode): Initialize caller_dlopen.
33472 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
33473 of libc. Make tolower call locale-independent. Optimize a bit by
33474 using isdigit instead of isalnum.
33475 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
33477 2011-08-12 Ulrich Drepper <drepper@gmail.com>
33479 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
33480 was a dependency or dynamically loaded.
33482 2011-08-11 Ulrich Drepper <drepper@gmail.com>
33484 * intl/l10nflist.c: Allow architecture-specific pop function.
33485 * sysdeps/x86_64/l10nflist.c: New file.
33487 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
33490 2011-08-10 Andreas Schwab <schwab@redhat.com>
33492 * include/dirent.h: Add libc_hidden_proto for scandirat and
33493 scandirat64. Don't declare __scandirat64.
33494 * dirent/scandirat.c: Add libc_hidden_def.
33495 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
33496 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
33498 2011-08-10 David S. Miller <davem@davemloft.net>
33500 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
33502 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33503 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33504 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33506 2011-08-09 Ulrich Drepper <drepper@gmail.com>
33508 * Versions.def [libc]: Add GLIBC_2.15.
33509 * dirent/Makefile (routines): Add scandirat and scandirat64.
33510 * dirent/Versions [libc]: Export scandirat and scandirat64 for
33512 * dirent/dirent.h: Declare scandirat and scandirat64.
33513 * dirent/scandirat.c: New file.
33514 * dirent/scandirat64.c: New file.
33515 * sysdeps/wordsize-64/scandirat.c: New file.
33516 * sysdeps/wordsize-64/scandirat64.c: New file.
33517 * dirent/opendir.c: Define opendirat.
33518 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
33520 * dirent/scandir64.c: Adjust for scandir.c change.
33521 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
33522 __scandirat64, and __scandir_cancel_handler.
33523 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
33524 additional parameter and use openat instead of open (outside of ld.so).
33525 Add new __opendir as wrapper around __opendirat.
33526 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
33527 here without requiring old scandirat implementation.
33529 2011-08-08 Ulrich Drepper <drepper@gmail.com>
33531 * dirent/scandir.c (cancel_handler): Renamed to
33532 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
33533 defined. Adjust users.
33534 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
33535 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
33537 2011-08-04 Ulrich Drepper <drepper@gmail.com>
33539 * string/test-string.h (IMPL): Use __STRING to expand name and then
33542 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
33545 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33547 * string/Makefile: Update.
33548 (strop-tests): Append strncat.
33549 * string/test-wcscmp.c: New file.
33550 New comprehensive test for wcscmp.
33551 * string/test-strcmp.c: Update.
33552 (WIDE): New define.
33554 2011-07-22 Andreas Schwab <schwab@redhat.com>
33556 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
33559 2011-07-26 Andreas Schwab <schwab@redhat.com>
33561 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33562 encoding to ACE if AI_IDN.
33564 2011-08-01 Jakub Jelinek <jakub@redhat.com>
33566 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
33567 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
33569 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33571 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
33572 Fix overflow bug in strncat.
33573 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
33575 * string/test-strncat.c: Update.
33576 Add new tests for checking overflow bugs.
33578 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33580 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33581 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
33582 * sysdeps/i386/i686/multiarch/strcat.S: New file.
33583 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
33584 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
33585 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
33586 * sysdeps/i386/i686/multiarch/strncat.S: New file.
33587 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
33588 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
33590 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
33591 (USE_AS_STRCAT): Define.
33592 Add strcat and strncat support.
33593 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33595 2011-07-25 Andreas Schwab <schwab@redhat.com>
33597 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
33598 __n bigger than INT_MAX+1.
33599 (__strncmp_g): Likewise.
33601 2011-07-23 Ulrich Drepper <drepper@gmail.com>
33603 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
33604 * libio/stido.h: Likewise.
33606 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
33608 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
33611 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
33612 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33613 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33614 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
33615 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33618 * scripts/test-installation.pl: Don't expect libnss_test1 to be
33621 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
33623 (_dl_x86_64_save_sse): Likewise.
33625 2011-07-22 Ulrich Drepper <drepper@gmail.com>
33627 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
33629 (_dl_x86_64_save_sse): Likewise.
33631 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
33633 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
33635 2011-07-21 Andreas Schwab <schwab@redhat.com>
33637 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
33639 (_dl_x86_64_save_sse): Use correct AVX check.
33641 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33643 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
33644 bug in strncpy/strncat.
33645 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
33647 2011-07-21 Ulrich Drepper <drepper@gmail.com>
33649 * string/tester.c (test_strcat): Add tests for different alignments
33650 of source and destination.
33651 (test_strncat): Likewise.
33653 2011-07-20 Ulrich Drepper <drepper@gmail.com>
33656 * posix/glob.c (glob): Check passed in values before using them in
33657 expressions to avoid some overflows.
33658 (glob_in_dir): Likewise.
33661 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
33662 check for AVX enablement so that we don't crash with old kernels and
33664 * elf/tst-audit4.c: Add same checks here.
33665 * elf/tst-audit6.c: Likewise.
33667 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
33669 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
33671 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
33673 2011-07-20 Ulrich Drepper <drepper@gmail.com>
33675 * po/cs.po: Update from translation team.
33676 * po/bg.po: Likewise.
33678 2011-07-12 Marek Polacek <mpolacek@redhat.com>
33680 * misc/sys/cdefs.h: Add support for const attribute.
33681 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
33682 to gnu_dev_{major,minor,makedev} functions.
33684 2011-07-20 Marek Polacek <mpolacek@redhat.com>
33686 * intl/dcigettext.c (get_output_charset): Add missing bracket.
33688 2011-07-20 Andreas Schwab <schwab@redhat.com>
33690 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
33693 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33695 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
33696 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
33697 register in order to avoid conflicts with the soft frame pointer
33698 being held in r11 when necessary.
33699 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
33700 (INTERNAL_VSYSCALL_NCS): Likewise.
33702 2011-07-14 Marek Polacek <mpolacek@redhat.com>
33704 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
33705 * elf/dl-fini.c (_dl_fini): Adjust caller.
33706 * elf/dl-close.c (_dl_close_worker): Likewise.
33707 * sysdeps/generic/ldsodefs.h: Adjust declaration.
33709 2011-07-15 Marek Polacek <mpolacek@redhat.com>
33711 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
33712 "aux_cache->nlibs < 0".
33714 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
33715 in the reload-count case.
33717 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33719 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33720 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
33721 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
33722 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
33723 * sysdeps/x86_64/multiarch/strcat.S: New file.
33724 * sysdeps/x86_64/multiarch/strncat.S: New file.
33725 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
33726 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
33727 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
33728 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
33729 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
33730 (USE_AS_STRCAT): Define.
33731 Add strcat and strncat support.
33732 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
33733 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
33734 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
33735 * string/strncat.c: Update.
33736 (USE_AS_STRNCAT): Define.
33737 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33738 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
33740 * sysdeps/x86_64/multiarch/init-arch.h
33741 (bit_Prefer_PMINUB_for_stringop): New.
33742 (index_Prefer_PMINUB_for_stringop): Likewise.
33743 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
33744 bit_Prefer_PMINUB_for_stringop.
33746 2011-07-19 Ulrich Drepper <drepper@gmail.com>
33748 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
33750 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
33751 of casting of buffer.
33752 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
33753 buffer32 and buffer64.
33754 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
33755 writes instead of casting of buffer.
33756 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
33758 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
33761 2011-07-19 Andreas Schwab <schwab@redhat.com>
33763 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
33765 2011-07-19 Ulrich Drepper <drepper@gmail.com>
33767 * nscd/nscd.c (termination_handler): Don't do anything for a database
33768 if it has not yet been initialized.
33770 2011-07-18 Ulrich Drepper <drepper@gmail.com>
33772 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
33774 2011-07-15 Marek Polacek <mpolacek@redhat.com>
33776 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
33778 2011-07-18 Ulrich Drepper <drepper@gmail.com>
33780 * po/nl.po: Update from translation team.
33781 * po/sv.po: Likewise.
33783 2011-07-16 Roland McGrath <roland@hack.frob.com>
33785 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
33786 now disallowed by GCC.
33788 * configure.in (use-default-link): Default to yes if a test -shared
33789 link meets our qualifications.
33790 * configure: Regenerated.
33792 * config.make.in (output-format): New variable.
33793 * configure.in: Check for ld --print-output-format support.
33794 * configure: Regenerated.
33795 * Makerules ($(common-objpfx)format.lds)
33796 [$(output-format) != unknown]: Just use $(output-format),
33797 instead of the linker-script munging.
33799 2011-07-14 Roland McGrath <roland@hack.frob.com>
33801 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
33802 of $(common-objpfx)shlib.lds.
33803 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
33805 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
33806 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
33808 * configure.in (-z relro check): Adjust test code to add a large
33809 writable data section after it.
33810 * configure: Regenerated.
33812 2011-07-11 Roland McGrath <roland@hack.frob.com>
33814 * configure.in (-z relro check): Fix test code to make the variable
33816 * configure: Regenerated.
33818 2011-07-11 Ulrich Drepper <drepper@gmail.com>
33820 * nscd/nscd.h (struct traced_file): Define.
33821 (struct database_dyn): Remove inotify_descr, reset_res, and filename
33822 elements. Add traced_files.
33823 (inotify_fd): Declare.
33824 (register_traced_file): Declare.
33825 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
33826 (inotify_fd): Export.
33827 (resolv_conf_descr): Remove.
33828 (nscd_init): Move inotify descriptor creation to main.
33829 Don't register files for notification here.
33830 (register_traced_file): New function.
33831 (invalidate_cache): Don't use reset_res to determine whether to call
33832 res_init, go through the list of registered files.
33833 (main_loop_poll): The inotify descriptors are now stored in the
33834 structures for the traced files.
33835 (main_loop_epoll): Likewise
33836 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
33837 to __nss_disable_nscd.
33838 * nscd/cache.c (prune_cache): There is no single inotify descriptor
33839 for a database anymore. Check the records for all the registered
33841 * nss/Makefile (libnss_files-routines): Add files-init.
33842 (libnss_db-routines): Add db-init.
33843 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
33844 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
33845 * nss/nss_db/db-init.c: New file.
33846 * nss/nss_files/files-init.c: New file.
33847 * nss/nsswitch.c (nss_load_library): New function. Broken out of
33848 __nss_lookup_function.
33849 (__nss_lookup_function): Call nss_load_library.
33850 (nss_load_all_libraries): New function.
33851 (__nss_disable_nscd): Take parameter with callback function for files
33852 to register. Set is_nscd. Load all the DSOs for the NSS modules
33853 used for the cached services.
33854 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
33855 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
33856 options for features to all the files in nscd.
33858 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
33860 2011-07-10 Roland McGrath <roland@hack.frob.com>
33862 * csu/elf-init.c (__libc_csu_init): Comment typo.
33864 2011-07-09 Ulrich Drepper <drepper@gmail.com>
33866 * po/pl.po: Update from translation team.
33867 * po/ja.po: Likewise.
33868 * po/ru.po: Likewise.
33869 * po/ko.po: Likewise.
33870 * po/fr.po: Likewise.
33872 2011-07-09 Roland McGrath <roland@hack.frob.com>
33874 * configure.in (.ctors/.dtors header and trailer check):
33875 Use an empirical test on a built program.
33876 * configure: Regenerated.
33878 * configure.in (-z relro check): Use an empirical test on a built DSO.
33879 Detect, but do not require, on ia64.
33880 * configure: Regenerated.
33882 * configure.in (READELF): Find it with AC_CHECK_TOOL.
33883 Update tests that use readelf to use $READELF instead.
33884 * configure: Regenerated.
33886 2011-07-08 Ulrich Drepper <drepper@gmail.com>
33888 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
33889 if the result is not used.
33891 2011-07-05 Andreas Jaeger <aj@suse.de>
33894 * stdlib/tst-strtod.c: Add testcase.
33896 2011-07-07 Ulrich Drepper <drepper@gmail.com>
33898 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
33899 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
33900 The latter has a higher limit. Take additional parameter to pass to
33902 (__pathconf): Pass file to __statfs_link_max.
33903 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
33905 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
33909 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
33910 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33912 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
33913 (__statfs_filesize_max): Likewise.
33914 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
33916 2011-07-05 Andreas Jaeger <aj@suse.de>
33918 * resolv/res_comp.c (dn_skipname): Remove unused variable.
33920 2011-07-06 Marek Polacek <mpolacek@redhat.com>
33922 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
33924 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
33927 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
33929 * Makefile (strop-tests): Add strncat.
33930 * string/test-strncat.c: New file.
33932 2011-06-30 Marek Polacek <mpolacek@redhat.com>
33934 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
33936 2011-06-21 Andreas Jaeger <aj@suse.de>
33938 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
33939 Copy rule from iconvdata/Makefile.
33941 2011-07-06 Ulrich Drepper <drepper@gmail.com>
33944 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
33945 but no long options are defined, just return 'W'.
33947 2011-06-22 Marek Polacek <mpolacek@redhat.com>
33950 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
33952 2011-07-06 Ulrich Drepper <drepper@gmail.com>
33954 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
33956 (innetgr): Likewise.
33958 2011-07-05 Roland McGrath <roland@hack.frob.com>
33960 * config.make.in (install_root): Default to $(DESTDIR).
33962 2011-07-05 Ulrich Drepper <drepper@gmail.com>
33964 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
33966 2011-07-02 Roland McGrath <roland@hack.frob.com>
33968 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
33970 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
33971 containing directory rather than embedding absolute directory names.
33973 * scripts/check-local-headers.sh: Rewritten using awk.
33974 Match by word, not by line. Print error messages for matches.
33975 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
33977 * Makerules [shlib-lds-flags empty]:
33978 ($(common-objpfx)libc_pic.opts): New target.
33979 ($(common-objpfx)libc_pic.os.clean): New target.
33980 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
33982 * config.make.in (OBJCOPY): New variable.
33983 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
33984 * configure: Regenerated.
33986 * config.make.in (use-default-link): New variable.
33987 * configure.in (use_default_link): Grok --with-default-link to set it.
33988 * configure: Regenerated.
33989 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
33990 (shlib-lds, shlib-lds-flags): Define to empty.
33992 * Makerules (shlib-lds): New variable.
33993 (shlib-lds-flags): New variable.
33994 (build-shlib, build-moduile, build-module-asneeded): Use it.
33995 ($(common-objpfx)libc.so): Use $(shlib-lds).
33996 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
33997 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
33999 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
34000 DT_FLAGS/DT_FLAGS_1 with zero flags.
34002 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
34003 linker script munging.
34005 2011-07-02 Ulrich Drepper <drepper@gmail.com>
34007 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
34009 * crypt/sha512.c (sha512_process_block): Perform total addition using
34010 128-bit if possible.
34011 (__sha512_finish_ctx): Likewise.
34012 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
34014 * crypt/sha256.c (SWAP64): Define.
34015 (sha256_process_block): Perform total addition using 64-bit if
34017 (__sha256_finish_ctx): Likewise.
34019 2011-07-01 Ulrich Drepper <drepper@gmail.com>
34021 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
34022 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34023 * nscd/hstcache.c (cache_addhst): Likewise.
34024 * nscd/grpcache.c (cache_addgr): Likewise.
34025 * nscd/aicache.c (addhstaiX): Likewise
34026 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
34028 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
34030 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
34031 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34032 * nscd/hstcache.c (cache_addhst): Likewise.
34033 * nscd/grpcache.c (cache_addgr): Likewise.
34034 * nscd/aicache.c (addhstaiX): Likewise
34036 2011-07-01 Andreas Schwab <schwab@redhat.com>
34038 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
34039 domain only when needed.
34041 2011-06-30 Andreas Schwab <schwab@redhat.com>
34043 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
34044 is always restored.
34046 2011-06-29 Ulrich Drepper <drepper@gmail.com>
34048 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
34049 are re-adding the entry.
34050 * nscd/servicescache.c (cache_addserv): Likewise.
34052 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
34054 * sysdeps/generic/dl-irel.h: fix protection against multiple
34056 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
34058 2011-06-28 Ulrich Drepper <drepper@gmail.com>
34061 * malloc/memusage.sh: Fix quoting in message.
34062 * debug/xtrace.sh: Likewise.
34064 * configure.in: Remove support for --experimental-malloc option, make
34066 * config.make.in: Likewise.
34067 * malloc/Makefile: Likewise.
34069 2011-06-27 Andreas Schwab <schwab@redhat.com>
34071 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
34072 two-byte characters.
34074 2011-06-27 Roland McGrath <roland@hack.frob.com>
34076 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
34077 AC_CACHE_CHECK invocation.
34078 * configure: Regenerated.
34080 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
34082 2011-06-27 Ulrich Drepper <drepper@gmail.com>
34085 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
34086 bit from old_res_options.
34088 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
34090 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
34091 value type for setfct.
34093 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
34095 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
34096 __gettimeofday instead of gettimeofday.
34098 2011-06-26 Ulrich Drepper <drepper@gmail.com>
34100 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
34102 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
34104 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
34106 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
34109 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
34111 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34112 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34113 strcpy-sse2-unaligned strncpy-sse2-unaligned
34114 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
34115 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
34116 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
34117 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
34118 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
34119 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
34120 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
34121 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
34122 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
34123 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
34124 (STRCPY): Support SSE2 and SSSE3 versions.
34126 2011-06-24 Ulrich Drepper <drepper@gmail.com>
34129 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
34130 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
34131 kernels which artificially limit size of requests.
34133 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
34135 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34136 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34137 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
34138 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
34139 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
34140 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
34141 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
34142 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
34143 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
34144 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
34145 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
34146 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
34147 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
34148 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
34149 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
34150 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34151 Enable unaligned load optimization for Intel Core i3, i5 and i7
34153 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
34155 (index_Fast_Unaligned_Load): Define.
34156 (HAS_FAST_UNALIGNED_LOAD): Define.
34158 2011-06-23 Marek Polacek <mpolacek@redhat.com>
34160 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
34162 2011-06-22 Ulrich Drepper <drepper@gmail.com>
34165 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
34166 until it is clear that the information is realy needed.
34167 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
34169 2011-06-22 Andreas Schwab <schwab@redhat.com>
34171 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
34173 2011-06-22 Ulrich Drepper <drepper@gmail.com>
34175 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
34176 /sys/devices/system/cpu/online if it is usable.
34178 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
34179 reading the information from the /proc filesystem to once a second.
34181 2011-06-21 Andreas Jaeger <aj@suse.de>
34183 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
34184 NULL after inclusion of kernel headers.
34186 2011-06-21 Ulrich Drepper <drepper@gmail.com>
34188 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
34189 calls to internal_setent.
34192 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
34193 addresses using gethostbyname4_r ignore IPv4 addresses.
34195 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
34196 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
34198 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
34200 2011-06-20 David S. Miller <davem@davemloft.net>
34202 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
34204 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
34206 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
34207 (elf_irel): Use it.
34208 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
34209 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
34210 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
34211 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
34212 * sysdeps/x86_64/dl-irel.h: Likewise.
34214 * elf/dl-runtime.c: Use elf_ifunc_invoke.
34215 * elf/dl-sym.c: Likewise.
34217 2011-06-15 Ulrich Drepper <drepper@gmail.com>
34219 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
34220 need to dereference resplen2.
34222 2011-06-14 Andreas Schwab <schwab@redhat.com>
34224 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
34226 2011-06-15 Ulrich Drepper <drepper@gmail.com>
34228 * Makeconfig: Define vardbdir and inst_vardbdir.
34229 * nss/Makefile: Add rules to install db-Makefile.
34231 * nss/nss_db/db-XXX.c: Cleanup.
34233 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
34234 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
34236 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
34237 * nss/makedb.c: Implement -g option to specify that value strings
34238 are generated and should not be added to table iterated over for
34240 * nss/nss_db/db-initgroups.c: New file.
34242 * nss/getent.c: Add support for initgroups lookups through getgrouplist
34245 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
34246 (internal_getgrouplist): Adjust to name change.
34247 Update use_initgroups_entry if this is not the first call.
34248 * nss/databases.def: Add initgroups entry.
34250 * nss/makedb.c (compute_tables): Check result of multiple hash table
34251 sizes to minimize maximum chain length.
34253 2011-06-14 Ulrich Drepper <drepper@gmail.com>
34255 * Versions.def: Add entry for libnss_db.
34256 * shlib-versions: Likewise.
34257 * nss/Makefile: Add rules to build libnss_db.
34258 * nss/Versions: Add libnss_db information. Organize libnss_files
34260 * nss/db-Makefile: Add gshadow support. Change rules for the new
34261 makedb progra. Some minor improvements to generate smaller files.
34262 * nss/nss_db/nss_db.h: Move NSS database header data structures to
34264 * nss/makedb.c: ...here.
34265 Improve database format to be smaller and require less memory at
34267 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
34269 * nss/nss_db/db-netgrp.c: Likewise.
34270 * nss/nss_db/db-open.c: Likewise.
34271 * nss/nss_files/flies-XXX.x: Adjust comments.
34272 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
34273 * nss/nss_files/files-grp.c: Likewise.
34274 * nss/nss_files/files-hosts.c: Likewise.
34275 * nss/nss_files/files-network.c: Likewise.
34276 * nss/nss_files/files-proto.c: Likewise.
34277 * nss/nss_files/files-pwd.c: Likewise.
34278 * nss/nss_files/files-rpc.c: Likewise.
34279 * nss/nss_files/files-service.c: Likewise.
34280 * nss/nss_files/files-sgrp.c: Likewise.
34281 * nss/nss_files/files-spwd.c: Likewise.
34282 * nss/nss_db/db-alias.c: Removed.
34283 * nss/nss_db/dummy-db.h: Removed.
34285 2011-06-02 Ulrich Drepper <drepper@gmail.com>
34287 * nss/makedb.c: Rewritten to not use database library.
34288 * nss/Makefile: Update to build new makedb program.
34290 2011-06-14 Andreas Jaeger <aj@suse.de>
34292 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
34293 memset declaration.
34295 2011-06-10 Andreas Schwab <schwab@redhat.com>
34297 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
34300 2011-06-10 Roland McGrath <roland@hack.frob.com>
34302 * Makerules (shlib.lds): Fail if the linker script comes out empty.
34303 * elf/Makefile ($(objpfx)ld.so): Likewise.
34305 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
34306 Don't list ld.so twice in dependencies.
34308 * posix/bug-regex31.c: Include <stdlib.h>.
34310 * nscd/hstcache.c (cache_addhst): Remove unused variable.
34312 * nis/nss_compat/compat-spwd.c
34313 (getspent_next_nss_netgr): Remove unused variable.
34314 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
34316 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
34317 nonmembers" output to use the right array.
34319 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
34321 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
34323 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
34324 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
34325 * catgets/gencat.c (read_input_file): Likewise.
34326 * locale/programs/locarchive.c (enlarge_archive): Likewise.
34328 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
34329 variable definition inside #if's controlling its use.
34331 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
34333 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
34335 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
34337 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
34340 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
34342 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
34343 * configure: Regenerated.
34345 * Makerules: Revert last change.
34346 * elf/Makefile: Likewise.
34348 2011-06-09 Roland McGrath <roland@hack.frob.com>
34350 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
34351 * elf/Makefile ($(objpfx)librtld.os): Likewise.
34352 (reloc-link): Likewise.
34354 2011-06-09 Ulrich Drepper <drepper@gmail.com>
34356 * elf/Makefile: Add rules to build pldd.
34357 * elf/pldd.c: New file.
34358 * elf/pldd-xx.c: New file.
34360 2011-06-07 Ulrich Drepper <drepper@gmail.com>
34362 * version.h: Update for 2.15 development version.
34364 2011-06-07 David S. Miller <davem@davemloft.net>
34366 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
34368 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
34369 elf_machine_lazy_rel): Likewise.
34370 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
34371 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
34372 elf_machine_lazy_rel): Likewise.
34373 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
34374 dl_hwcap via passed in argument.
34375 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
34378 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34380 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
34382 2011-06-06 Roland McGrath <roland@hack.frob.com>
34385 * manual/fdl-1.1.texi: New file, verbatim from:
34386 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
34387 * manual/lgpl-2.1.texi: New file, verbatim from:
34388 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
34389 * manual/Makefile (licenses): New variable, list those new file names.
34391 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
34393 * manual/fdl.texi: File removed.
34394 * manual/lesser.texi: File removed.
34395 * manual/libc.texinfo (Copying, Documentation License):
34396 Use new @include file names, put @appendix directive before @include.
34398 2011-06-04 Jakub Jelinek <jakub@redhat.com>
34401 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
34402 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
34403 (mq_open): Add __NTH.
34405 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
34407 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34408 Assume Intel Core i3/i5/i7 processor if AVX is available.
34410 2011-05-31 Ulrich Drepper <drepper@gmail.com>
34412 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
34415 2011-05-31 Andreas Schwab <schwab@redhat.com>
34417 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
34418 memory. Use alloca_account. Fix memory leak when retrying.
34420 2011-05-31 Ulrich Drepper <drepper@gmail.com>
34422 * version.h (RELEASE): Bump for 2.14 release.
34423 * include/features.h (__GLIBC_MINOR__): Bump to 14.
34425 * config.make.in (RANLIB): Remove entry.
34427 2011-05-30 Ulrich Drepper <drepper@gmail.com>
34429 * po/Makefile (po-sed-cmd): Add ksh to extensions.
34430 (libc.pot): Work around missing support for .ksh extension in xgettext.
34433 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
34434 if both request failed.
34435 (send_dg): In case of server errors clear resplen or *resplen2.
34438 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
34439 when there are multiple maps.
34440 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
34441 (_dl_fini): Remove test here.
34443 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
34445 2011-05-29 Ulrich Drepper <drepper@gmail.com>
34448 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
34449 bit from old_res_options.
34450 (gaih_inet): Likewise.
34453 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
34456 * resolv/res_init.c (res_setoptions): Make the code more compact.
34459 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
34463 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
34465 * malloc/malloc.h: Mark malloc hook variables as deprecated.
34468 * malloc/malloc.h: Declare malloc hook variables as volatile.
34470 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
34474 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
34475 raise in the comment.
34476 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34477 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34478 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
34480 2011-05-28 Ulrich Drepper <drepper@gmail.com>
34483 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
34484 grow the buffers more if it already has to be sufficient.
34485 (build_wcs_upper_buffer): Likewise.
34486 * posix/regexec.c (check_matching): Likewise.
34487 (clean_state_log_if_needed): Likewise.
34488 (extend_buffers): Don't enlarge buffers beyond size of the input
34490 Patches mostly by Emil Wojak <emil@wojak.eu>.
34491 * posix/bug-regex32.c: New file.
34492 * posix/Makefile (tests): Add bug-regex32.
34494 * locale/findlocale.c (_nl_find_locale): Return right away if
34495 _nl_explode_name failed.
34496 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
34498 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
34500 * debug/xtrace.sh: Unify messages.
34501 * malloc/memusage.sh: Likewise.
34504 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
34505 time symbol from vDSO. Substitute with vsyscall if not available.
34506 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
34509 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
34510 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
34511 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
34512 Add sendmmsg and internal_sendmmsg.
34513 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
34514 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
34515 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
34517 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
34518 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
34519 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
34521 2011-05-27 Ulrich Drepper <drepper@gmail.com>
34524 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
34525 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
34527 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
34531 * iconvdata/Makefile (tests): Add bug-iconv9.
34532 * iconvdata/bug-iconv9.c: New file.
34534 2011-05-27 Andreas Schwab <schwab@redhat.com>
34537 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
34539 2011-05-25 Jakub Jelinek <jakub@redhat.com>
34541 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
34542 (struct user_regs_struct): Change intcs field back to cs.
34544 2011-05-25 Ulrich Drepper <drepper@gmail.com>
34546 * po/ja.po: Update from translation team.
34548 2011-05-23 Ulrich Drepper <drepper@gmail.com>
34551 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
34552 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
34554 2011-05-20 Andreas Schwab <schwab@redhat.com>
34556 * stdlib/longlong.h: Update from GCC.
34558 2011-05-23 Andreas Schwab <schwab@redhat.com>
34560 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
34562 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
34563 Add parameter name.
34564 (__sysconf): Pass it down.
34566 2011-05-22 Ulrich Drepper <drepper@gmail.com>
34569 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
34571 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
34572 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
34573 add in in __libc_use_alloca calls. Adjust callers.
34574 (glob): Use malloc in some situations.
34576 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
34577 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
34580 2011-05-21 Ulrich Drepper <drepper@gmail.com>
34582 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
34583 and CLOCK_BOOTTIME_ALARM.
34586 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
34589 * string/_strerror.c (__strerror_r): Print negative errors as signed
34593 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
34594 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
34595 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
34597 * configure.in: Fix typo in redirection and correct removal of test
34598 files in two cases.
34601 * locale/setlocale.c (new_composite_name): Fix test to check for
34602 identical name of all categories.
34605 * libio/filedoalloc.c (local_isatty): New function.
34606 (_IO_file_doallocate): Use local_isatty.
34607 * stdio-common/perror.c (perror): In case a new stream is used
34608 forward the stream error.
34609 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
34612 2011-05-20 Ulrich Drepper <drepper@gmail.com>
34615 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
34617 * include/alloca.h (extend_alloca_account): Define.
34620 * posix/regex.h: Fix comments with documentation of user-accessible
34621 fields after compilation and describe correct free'ing of pattern
34622 after re_compile_pattern.
34623 Patch by Reuben Thomas <rrt@sc3d.org>.
34625 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
34627 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
34628 and -mno-altivec to prevent the compiler from using Altivec and/or
34629 VSX instructions when the corresponding registers are not available.
34631 2011-05-19 Andreas Schwab <schwab@redhat.com>
34633 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
34635 2011-05-19 Ulrich Drepper <drepper@gmail.com>
34637 * libio/freopen.c (freopen): Use __dup2, not dup2.
34638 * libio/freopen64.c (freopen64): Likewise.
34640 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
34643 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
34644 * math/Makefile (tests): Add test-powl.
34645 (CFLAGS-test-powl.c): Define.
34646 * math/test-powl.c: New file.
34648 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
34650 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
34652 2011-05-17 Ulrich Drepper <drepper@gmail.com>
34655 * iconvdata/gb18030.c: Update to GB18020-2005.
34657 2011-05-16 Ulrich Drepper <drepper@gmail.com>
34659 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
34660 RE_SYNTAX_POSIX_AWK): Update to match recent development.
34661 Patch by Aharon Robbins <arnold@skeeve.com>.
34664 * stdlib/putenv.c (putenv): Don't always create copy of the variable
34668 * misc/pselect.c (__pselect): Handle timeout value errors hidden
34669 through underflows.
34672 * misc/error.c (error_at_line): Ensure file_name and old_file_name
34673 point to strings before performing equality test for error_one_per_line
34677 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
34680 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
34681 (struct user_fpregs_struct): Avoid __uint*_t types.
34684 * malloc/mtrace.c (tr_where): Add additional parameter to point to
34685 symbol info. Use it instead of calling _dl_addr locally.
34686 (lock_and_info): New function.
34687 (tr_freehook): Call lock_and_info and pass symbol info as additional
34688 parameter to tr_where.
34689 (tr_mallochook): Likewise.
34690 (tr_reallochook): Likewise.
34691 (tr_memalignhook): Likewise.
34693 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
34694 used and couldn't be at all thread-safe.
34696 2011-05-15 Ulrich Drepper <drepper@gmail.com>
34698 * libio/freopen.c (freopen): Don't close old file descriptor
34699 before the new one is opened. Instead dup the new file descriptor
34700 to the old one after the new stream is created.
34701 * libio/freopen64.c (freopen64): Likewise.
34702 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
34703 * libio/fileops.c (_IO_new_file_close_it): Handle new
34704 _IO_FLAGS2_NOCLOSE flag.
34705 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
34706 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
34707 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
34708 _IO_FLAGS2_NOCLOSE flag.
34709 * include/unistd.h: Add hidden_proto for dup3.
34710 Define __have_dup3.
34711 * io/dup3.c: Define hidden symbol.
34712 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
34715 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
34716 when an incomplete long option is used.
34717 * posix/tst-getopt_long1.c: New file.
34718 * posix/Makefile (tests): Add tst-getopt_long1.
34721 * scripts/config.guess: Update from autoconf-2.68.
34722 * scripts/config.sub: Likewise.
34725 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
34727 (has_cpuclock): ...this. New function.
34728 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
34729 macro here based on has_cpuclock code.
34732 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34733 First byte (not low byte) is now always NUL.
34734 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
34736 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34737 Use non-cancelable interfaces.
34740 * locale/iso-639.def: Add entry for Sorani.
34743 * include/stdlib.h: Move include protection to the right place.
34744 Define abort_msg_s. Declare __abort_msg with it.
34745 * stdlib/abort.c (__abort_msg): Adjust type.
34746 * assert/assert.c (__assert_fail_base): New function. Majority
34747 of code from __assert_fail. Allocate memory for __abort_msg with
34749 (__assert_fail): Now call __assert_fail_base.
34750 * assert/assert-perr.c: Remove bulk of implementation. Use
34751 __assert_fail_base.
34752 * include/assert.hL Declare __assert_fail_base.
34753 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
34755 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
34757 2011-05-14 Ulrich Drepper <drepper@gmail.com>
34761 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
34762 until all modules are registered in the DTV.
34763 * elf/Makefile: Add rules to build and run tst-tls19.
34764 * elf/tst-tls19.c: New file.
34765 * elf/tst-tls19mod1.c: New file.
34766 * elf/tst-tls19mod2.c: New file.
34767 * elf/tst-tls19mod3.c: New file.
34768 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
34771 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
34775 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
34776 two-byte sequence errors.
34777 * iconvdata/Makefile (tests): Add bug-iconv8.
34778 * iconvdata/bug-iconv8.c: New file.
34781 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
34784 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
34787 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
34788 (dummy_getcfa): New function.
34789 (init): Get _Unwind_GetCFA address, use dummy if not found.
34790 (backtrace_helper): In recursion check, also check whether CFA changes.
34791 (__backtrace): Completely initialize arg.
34793 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
34794 storing incomplete byte sequence in state object. Avoid testing for
34795 guaranteed too small input if we know there is enough data available.
34797 2011-05-11 Andreas Schwab <schwab@redhat.com>
34799 * Makeconfig (+link-pie): Indent.
34800 * Rules (binaries-pie): Define if $(have-fpie) and
34802 (binaries-shared): Also filter out $(binaries-pie).
34803 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
34804 * nscd/Makefile (others-pie): Add nscd.
34805 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
34806 ($(objpfx)nscd): Remove command override.
34807 * login/Makefile (others-pie): Add pt_chown.
34808 ($(objpfx)pt_chown): Remove command override.
34809 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
34810 remove command overrides.
34812 2011-05-13 Ulrich Drepper <drepper@gmail.com>
34814 * libio/tst_putwc.c: Fix error messages.
34817 * libio/fileops.c (_IO_new_file_close_it): Always flush when
34818 currently writing and seek to current position when not.
34819 * libio/Makefile (tests): Add bug-fclose1.
34820 * libio/bug-fclose1.c: New file.
34822 2011-05-12 Ulrich Drepper <drepper@gmail.com>
34825 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
34826 don't set DF_1_NODELETE here.
34827 (do_lookup_x): When entering new entry test for copy relocation
34828 and if necessary set DF_1_NODELETE flag.
34829 * elf/tst-unique4.cc: New file.
34830 * elf/tst-unique4.h: New file.
34831 * elf/tst-unique4lib.cc: New file.
34832 * elf/Makefile: Add rules to build and run tst-unique4.
34833 Patch by Piotr Bury <pbury@goahead.com>.
34835 2011-05-11 Ulrich Drepper <drepper@gmail.com>
34838 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
34841 * misc/mntent_r.c (addmntent): Flush the stream after the output
34844 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
34845 (is_trusted_path_normalize): Skip initial colon. Append slash
34846 to empty buffer. Duplicate is_trusted_path code but allow
34847 constructed patch to be prefix.
34848 (is_dst): Allow $ORIGIN followed by /.
34849 (_dl_dst_substitute): Correct clearing of check_for_trusted.
34850 Correct testing of result of is_trusted_path_normalize
34851 (decompose_rpath): Fix warning.
34853 2011-05-10 Ulrich Drepper <drepper@gmail.com>
34856 * grp/initgroups.c (internal_getgrouplist): When we found the service
34857 list through the initgroups entry in nsswitch.conf do not always
34858 continue on a successful lookup. Don't always use the
34859 __nss_group_database value if it is set.
34860 * nss/nsswitch.conf (initgroups): Change action for successful db
34861 lookup to continue for compatibility.
34863 2011-05-09 Ulrich Drepper <drepper@gmail.com>
34866 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
34868 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
34870 * iconvdata/tst-tables.sh: Likewise.
34871 * iconvdata/cp770.c: New file.
34872 * iconvdata/cp771.c: New file.
34873 * iconvdata/cp772.c: New file.
34874 * iconvdata/cp773.c: New file.
34875 * iconvdata/cp774.c: New file.
34876 * iconvdata/testdata/CP770: New file.
34877 * iconvdata/testdata/CP770..UTF8: New file.
34878 * iconvdata/testdata/CP771: New file.
34879 * iconvdata/testdata/CP771..UTF8: New file.
34880 * iconvdata/testdata/CP772: New file.
34881 * iconvdata/testdata/CP772..UTF8: New file.
34882 * iconvdata/testdata/CP773: New file.
34883 * iconvdata/testdata/CP773..UTF8: New file.
34884 * iconvdata/testdata/CP774: New file.
34885 * iconvdata/testdata/CP774..UTF8: New file.
34887 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
34889 * iconvdata/gen-8bit-gap.sh: Likewise.
34890 * iconvdata/gen-8bit.sh: Likewise.
34892 * locale/iso-639.def: Add ary entry.
34895 * locale/C-translit.h.in: Add U20A1 transliteration.
34898 * locale/iso-639.def: Add wae entry.
34899 Patch by Kevin Bortis <bortis@translate-wae.ch>.
34902 * locale/programs/localedef.c (construct_output_path): Use ssize_t
34906 * locale/C-translit.h.in: Add entry for U20B9.
34907 Patch by pravin.d.s@gmail.com.
34909 2011-05-08 Ulrich Drepper <drepper@gmail.com>
34912 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
34913 ENAMETOOLONG use generic getcwd.
34914 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
34915 in rtld. Use *stat64.
34916 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
34917 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
34918 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
34919 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
34920 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
34921 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
34922 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
34923 __fstatat64 macros.
34924 * include/dirent.h: Add libc_hidden_proto for rewinddir.
34925 * dirent/rewinddir.c: Add libc_hidden_def.
34926 * sysdeps/mach/hurd/rewinddir.c: Likewise.
34927 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
34929 * include/dirent.h (__alloc_dir): Add flags parameter.
34930 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
34931 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
34933 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
34934 from fdopendir if O_CLOEXEC is already set.
34936 2011-03-15 Alan Modra <amodra@gmail.com>
34938 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
34939 l_tls_firstbyte_offset non-zero. Save padding offset in
34940 l_tls_firstbyte_offset for later use.
34941 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
34942 freeing static tls block.
34944 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
34946 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
34947 where #ifdef was intended. The intent is to prevent ARG_MAX from
34948 being defined by the kernel headers.
34950 2011-05-07 Ulrich Drepper <drepper@gmail.com>
34953 * resolv/resolv.h: Define RES_NOTLDQUERY.
34954 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
34955 no-tld-query and set RES_NOTLDQUERY.
34956 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
34957 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
34958 modern BIND to search name as TLD unless forbidden.
34960 2011-05-07 Petr Baudis <pasky@suse.cz>
34961 Ulrich Drepper <drepper@gmail.com>
34964 * elf/dl-load.c (fillin_rpath): Move trusted path check...
34965 (is_trusted_path): ...to here.
34966 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
34967 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
34968 using is_trusted_path_normalize() in setuid scripts.
34970 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
34972 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
34973 __BEGIN/__END_DECLS.
34975 2011-05-06 Ulrich Drepper <drepper@gmail.com>
34977 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
34978 NSS_STATUS_NOTFOUND if no record was found.
34980 2011-05-05 Andreas Schwab <schwab@redhat.com>
34982 * sunrpc/Makefile (headers): Add rpc/netdb.h.
34983 (headers-not-in-tirpc): Remove rpc/netdb.h
34984 * resolv/netdb.h: Revert last change.
34986 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
34988 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
34989 circular dependency between libgcc.a and libc.a.
34991 2011-05-05 Andreas Schwab <schwab@redhat.com>
34993 * resolv/netdb.h: Don't include <rpc/netdb.h>.
34994 * nis/Makefile: Don't install rpcsvc/*.
34995 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
34996 instead of <rpc/types.h>.
34997 (MAXHOSTNAMELEN): Define.
34999 2011-05-03 Andreas Schwab <schwab@redhat.com>
35001 * elf/ldconfig.c (add_dir): Don't crash on empty path.
35003 2011-04-28 Maciej Babinski <mbabinski@google.com>
35006 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
35007 gethostbyname4_r when IPv6 results are possible.
35009 2011-05-02 Ulrich Drepper <drepper@gmail.com>
35012 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
35013 _PC_PIPE_BUF handling.
35015 2011-04-30 Bruno Haible <bruno@clisp.org>
35018 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
35019 * resolv/netdb.h (getnameinfo): Change type of flags parameter
35021 * inet/getnameinfo.c (getnameinfo): Likewise.
35023 2011-04-29 Ulrich Drepper <drepper@gmail.com>
35025 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
35026 to groups setting in database lookup.
35027 * nss/nsswitch.conf: Add initgroups entry.
35029 2011-04-22 Ulrich Drepper <drepper@gmail.com>
35032 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
35034 Patch by Eric Blake <eblake@redhat.com>.
35036 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
35038 * sunrpc/Makefile (need-export-routines): Add svc_run.
35039 (routines): Remove svc_run.
35040 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
35041 * sunrpc/clnt_perr.c (clnt_perrno): Export.
35042 * sunrpc/svc_run.c (svc_run): Likewise.
35043 * sunrpc/svc_udp.c (svcudp_create): Likewise.
35045 2011-04-21 Ulrich Drepper <drepper@gmail.com>
35047 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
35048 problem in reallocation in last patch.
35050 2011-04-20 Ulrich Drepper <drepper@gmail.com>
35052 * sunrpc/Makefile: Move inclusion of Rules.
35054 2011-04-19 Ulrich Drepper <drepper@gmail.com>
35056 * nss/nss_files/files-initgroups.c: New file.
35057 * nss/Makefile (libnss_files-routines): Add files-initgroups.
35058 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
35059 _nss_files_initgroups_dyn.
35061 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
35063 * elf/elf.h (R_ARM_IRELATIVE): Define.
35065 2011-04-19 Ulrich Drepper <drepper@gmail.com>
35067 * po/ru.po: Update from translation team.
35069 2011-04-17 Ulrich Drepper <drepper@gmail.com>
35071 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
35074 2011-02-06 Mike Frysinger <vapier@gentoo.org>
35077 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
35078 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
35079 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35080 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35081 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
35083 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
35085 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
35087 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
35088 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
35089 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35091 2011-04-17 Ulrich Drepper <drepper@gmail.com>
35094 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
35096 * stdlib/bug-getcontext.c: New file.
35097 * stdlib/Makefile: Add rules to build and run bug-getcontext.
35099 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35101 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
35102 instructions into .machine "z9-109".
35103 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
35104 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
35106 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35108 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
35109 between environment variables and auxiliary vector.
35111 2011-04-16 Ulrich Drepper <drepper@gmail.com>
35113 * Makefile: Add rules to build linkobj/libc.so.
35114 * include/libc-symbols.h: Define libc_hidden_nolink.
35115 * include/rpc/auth.h: Mark functions which are to be hidden.
35116 * include/rpc/auth_des.h: Likewise.
35117 * include/rpc/auth_unix.h: Likewise.
35118 * include/rpc/clnt.h: Likewise.
35119 * include/rpc/des_crypt.h: Likewise.
35120 * include/rpc/key_prot.h: Likewise.
35121 * include/rpc/pmap_clnt.h: Likewise.
35122 * include/rpc/pmap_prot.h: Likewise.
35123 * include/rpc/pmap_rmt.h: Likewise.
35124 * include/rpc/rpc_msg.h: Likewise.
35125 * include/rpc/svc.h: Likewise.
35126 * include/rpc/svc_auth.h: Likewise.
35127 * include/rpc/xdr.h: Likewise.
35128 * nis/Makefile: Link all DSOs against linkobj/libc.so.
35129 * nss/Makefile: Likewise.
35130 * sunrpc/Makefile: Don't install headers. Build library with normal
35131 entry points. Don't build rpcinfo. Link RPC tests appropriately.
35132 * sunrpc/auth_des.c: Hide exported symbols by default, export some
35133 for the compat linking library. Remove use of INTDEF/INTUSE.
35134 * sunrpc/auth_none.c: Likewise.
35135 * sunrpc/auth_unix.c: Likewise.
35136 * sunrpc/authdes_prot.c: Likewise.
35137 * sunrpc/authuxprot.c: Likewise.
35138 * sunrpc/clnt_gen.c: Likewise.
35139 * sunrpc/clnt_perr.c: Likewise.
35140 * sunrpc/clnt_raw.c: Likewise.
35141 * sunrpc/clnt_simp.c: Likewise.
35142 * sunrpc/clnt_tcp.c: Likewise.
35143 * sunrpc/clnt_udp.c: Likewise.
35144 * sunrpc/clnt_unix.c: Likewise.
35145 * sunrpc/des_crypt.c: Likewise.
35146 * sunrpc/des_soft.c: Likewise.
35147 * sunrpc/get_myaddr.c: Likewise.
35148 * sunrpc/key_call.c: Likewise.
35149 * sunrpc/key_prot.c: Likewise.
35150 * sunrpc/netname.c: Likewise.
35151 * sunrpc/pm_getmaps.c: Likewise.
35152 * sunrpc/pm_getport.c: Likewise.
35153 * sunrpc/pmap_clnt.c: Likewise.
35154 * sunrpc/pmap_prot.c: Likewise.
35155 * sunrpc/pmap_prot2.c: Likewise.
35156 * sunrpc/pmap_rmt.c: Likewise.
35157 * sunrpc/publickey.c: Likewise.
35158 * sunrpc/rpc_cmsg.c: Likewise.
35159 * sunrpc/rpc_common.c: Likewise.
35160 * sunrpc/rpc_dtable.c: Likewise.
35161 * sunrpc/rpc_prot.c: Likewise.
35162 * sunrpc/rpc_thread.c: Likewise.
35163 * sunrpc/rtime.c: Likewise.
35164 * sunrpc/svc.c: Likewise.
35165 * sunrpc/svc_auth.c: Likewise.
35166 * sunrpc/svc_authux.c: Likewise.
35167 * sunrpc/svc_raw.c: Likewise.
35168 * sunrpc/svc_run.c: Likewise.
35169 * sunrpc/svc_simple.c: Likewise.
35170 * sunrpc/svc_tcp.c: Likewise.
35171 * sunrpc/svc_udp.c: Likewise.
35172 * sunrpc/svc_unix.c: Likewise.
35173 * sunrpc/svcauth_des.c: Likewise.
35174 * sunrpc/xcrypt.c: Likewise.
35175 * sunrpc/xdr.c: Likewise.
35176 * sunrpc/xdr_array.c: Likewise.
35177 * sunrpc/xdr_float.c: Likewise.
35178 * sunrpc/xdr_intXX_t.c: Likewise.
35179 * sunrpc/xdr_mem.c: Likewise.
35180 * sunrpc/xdr_rec.c: Likewise.
35181 * sunrpc/xdr_ref.c: Likewise.
35182 * sunrpc/xdr_sizeof.c: Likewise.
35183 * sunrpc/xdr_stdio.c: Likewise.
35185 2011-04-10 Ulrich Drepper <drepper@gmail.com>
35188 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
35189 * sysdeps/ia64/dl-tls.h: Likewise.
35190 * sysdeps/powerpc/dl-tls.h: Likewise.
35191 * sysdeps/s390/dl-tls.h: Likewise.
35192 * sysdeps/sh/dl-tls.h: Likewise.
35193 * sysdeps/sparc/dl-tls.h: Likewise.
35194 * sysdeps/x86_64/dl-tls.h: Likewise.
35195 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
35197 2011-03-14 Andreas Schwab <schwab@redhat.com>
35199 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
35200 rpath element also skip the following colon.
35201 (expand_dynamic_string_token): Add is_path parameter and pass
35202 down to DL_DST_REQUIRED and _dl_dst_substitute.
35203 (decompose_rpath): Call expand_dynamic_string_token with
35204 non-zero is_path. Ignore empty rpaths.
35205 (_dl_map_object_from_fd): Call expand_dynamic_string_token
35208 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
35210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
35213 2011-04-09 Ulrich Drepper <drepper@gmail.com>
35216 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
35217 Patch by Filipe David Manana <fdmanana@apache.org>.
35219 2011-04-07 Andreas Schwab <schwab@redhat.com>
35221 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
35222 Maintain aligned stack.
35223 (CHECK_RSP): Remove unused macro.
35225 2011-04-03 Ulrich Drepper <drepper@gmail.com>
35227 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
35228 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
35230 2011-04-02 Ulrich Drepper <drepper@gmail.com>
35232 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
35234 * include/features.h: Mention __USE_XOPEN2K8 in comment.
35236 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
35239 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
35240 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
35241 * sysdeps/x86_64/memmove.c: New file.
35242 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
35243 (memcpy): Renamed to ...
35244 (__new_memcpy): This.
35245 (memcpy): Provide GLIBC_2_14 memcpy.
35246 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
35247 (memcpy): Provide GLIBC_2_2_5 memcpy.
35249 2011-04-01 Ulrich Drepper <drepper@gmail.com>
35252 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
35254 2011-03-30 Andreas Schwab <schwab@redhat.com>
35256 * misc/syncfs.c: New file.
35257 * misc/Makefile (routines): Add syncfs.
35258 * posix/unistd.h: Declare syncfs.
35259 * sysdeps/unix/syscalls.list: Add syncfs.
35261 2011-04-01 Andreas Schwab <schwab@redhat.com>
35263 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
35265 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
35266 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35267 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35268 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35269 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35270 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
35271 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35273 2011-04-01 Ulrich Drepper <drepper@gmail.com>
35275 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
35276 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35277 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
35278 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35279 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35280 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35281 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35283 * io/Makefile: Compile fallocate.c, fallocate64.c, and
35284 sync_file_range.c with -fexceptions.
35285 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
35286 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
35287 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
35288 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
35289 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
35290 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35291 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
35292 sync_file_range as cancellation point
35293 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
35294 now a wrapper around __call_sync_file_range with cancellation handling.
35295 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
35296 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
35297 function name to __call_sync_file_range.
35298 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
35299 Add call_sync_file_range.
35301 2011-04-01 Andreas Schwab <schwab@redhat.com>
35303 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35306 2011-04-01 Ulrich Drepper <drepper@gmail.com>
35308 * iconv/iconv.h: Fix typo in comment.
35309 * io/fcntl.h: Likewise.
35310 * libio/stdio.h: Likewise.
35311 * posix/spawn.h: Likewise.
35312 * posix/unistd.h: Likewise.
35313 * stdlib/stdlib.h: Likewise.
35314 * time/time.h: Likewise.
35315 * wcsmbs/wchar.h: Likewise.
35317 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
35318 open_by_handle): Add.
35319 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
35320 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
35321 Augment a few comments.
35322 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35323 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35324 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35325 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35326 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35327 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
35330 * io/fcntl.h (AT_EMPTY_PATH): Define.
35332 2011-03-30 Ulrich Drepper <drepper@gmail.com>
35334 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
35335 * sysdeps/unix/sysv/linux/bits/time.h: New file.
35336 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
35338 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
35339 * Versions.def: Add GLIBC_2.14.
35340 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
35343 2011-03-22 Ulrich Drepper <drepper@gmail.com>
35345 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
35347 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
35349 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
35352 * string/test-strncmp.c (do_page_test): New function.
35353 (check2): Likewise.
35354 (test_main): Call check2.
35355 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
35357 2011-03-20 Ulrich Drepper <drepper@gmail.com>
35360 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
35361 Handle cache information in CPU leaf 4.
35362 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
35364 2011-03-18 Ulrich Drepper <drepper@gmail.com>
35367 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
35368 character representation.
35369 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
35371 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
35373 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
35374 END(__isnan) to END(__isnanf) to match function entry point/label
35375 EALIGN(__isnanf,...).
35377 2011-03-10 Jakub Jelinek <jakub@redhat.com>
35379 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
35381 2011-03-10 Ulrich Drepper <drepper@gmail.com>
35384 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
35385 copy from the symbol referenced in the relocation to initialize the
35387 Patch by Piotr Bury <pbury@goahead.com>.
35388 * elf/Makefile: Add rules to build and tst-unique3.
35389 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
35390 * elf/tst-unique3.cc: New file.
35391 * elf/tst-unique3.h: New file.
35392 * elf/tst-unique3lib.cc: New file.
35393 * elf/tst-unique3lib2.cc: New file.
35395 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
35397 2011-03-10 Mike Frysinger <vapier@gentoo.org>
35399 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
35400 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
35403 2011-03-06 Ulrich Drepper <drepper@gmail.com>
35405 * elf/dl-load.c (_dl_map_object): If we are looking for the first
35406 to-be-loaded object along a path to loader is ld.so.
35408 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
35409 Ulrich Drepper <drepper@gmail.com>
35411 * sysdeps/x86_64/memset.S: After aligning destination, code
35412 branches to different locations depending on the value of
35413 misalignment, when multiarch is enabled. Fix this.
35415 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
35417 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
35418 Set _x86_64_preferred_memory_instruction for AMD processsors.
35419 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35420 Set bit_Prefer_SSE_for_memop for AMD processors.
35422 2011-03-04 Ulrich Drepper <drepper@gmail.com>
35424 * libio/fmemopen.c (fmemopen): Optimize a bit.
35426 2011-03-03 Andreas Schwab <schwab@redhat.com>
35428 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
35430 2011-03-03 Roland McGrath <roland@redhat.com>
35432 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
35434 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
35436 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
35437 __bzero_ultra1 instead of __memset_ultra1.
35439 2011-02-23 Andreas Schwab <schwab@redhat.com>
35440 Ulrich Drepper <drepper@gmail.com>
35443 * include/link.h (struct link_map): Add l_orig_initfini.
35444 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
35445 returning unsuccessfully.
35446 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
35447 close of a file loaded at startup, restore the original l_initfini
35449 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
35450 list, store the pointer.
35451 * elf/Makefile ($(objpfx)noload-mem): New rule.
35452 (noload-ENV): Define.
35453 (tests): Add $(objpfx)noload-mem.
35454 * elf/noload.c: Include <memcheck.h>.
35455 (main): Call mtrace. Close all opened handles.
35457 2011-02-17 Andreas Schwab <schwab@redhat.com>
35460 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
35461 dependencies are missing.
35463 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
35465 Fix __if_freereq crash: Unlike the generic version which uses free,
35467 * sysdeps/mach/hurd/ifreq.h: New file.
35469 2011-01-27 Petr Baudis <pasky@suse.cz>
35470 Ulrich Drepper <drepper@gmail.com>
35473 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
35474 to extend_alloca().
35475 * stdio-common/bug23.c: New file.
35476 * stdio-common/Makefile (tests): Add bug23.
35478 2010-09-28 Andreas Schwab <schwab@redhat.com>
35479 Ulrich Drepper <drepper@gmail.com>
35482 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
35483 before performing relro protection. At old place add assertion
35484 to make sure nothing changed.
35486 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
35487 Glauber de Oliveira Costa <glommer@gmail.com>
35489 * elf/elf.h: Add new ARM TLS relocs.
35491 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
35493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
35494 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
35496 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
35498 * sysdeps/wordsize-64/tst-writev.c: New file.
35500 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
35502 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
35503 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
35504 insns in _dl_start to prevent a TOC reference before relocs are
35507 2011-02-15 Ulrich Drepper <drepper@gmail.com>
35510 * Makeconfig: Remove RANLIB definition.
35511 * Makerules: Don't use RANLIB.
35512 * aclocal.m4: Remove ranlib test.
35513 * configure.in: No need to check for ranlib.
35514 * elf/rtld-Rules: Don't use RANLIB.
35516 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
35518 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
35520 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
35521 inclusion protection macro.
35523 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
35524 SIGRTMIN and SIGRTMAX and print information in that case only when
35525 SIGRTMIN is defined.
35527 2011-02-11 Jakub Jelinek <jakub@redhat.com>
35529 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
35530 arginfo fn returning -1.
35532 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
35533 and thousands string is zero terminated.
35535 2011-02-03 Andreas Schwab <schwab@redhat.com>
35537 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
35538 sysdeps/unix/sysv/linux/bits/socket.h.
35540 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
35542 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
35543 (__CPU_COUNT): Remove old macros.
35544 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
35545 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
35546 (__CPU_ALLOC, __CPU_FREE): Add macros.
35547 (__sched_cpualloc, __sched_cpufree): Add declarations.
35549 2011-02-05 Ulrich Drepper <drepper@gmail.com>
35551 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
35552 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
35553 * nscd/aicache.c (addhstaiX): Return timeout of added value.
35554 (readdhstai): Return value of addhstaiX call.
35555 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
35556 (addgrbyX): Return value returned by cache_addgr.
35557 (readdgrbyname): Return value returned by addgrbyX.
35558 (readdgrbygid): Likewise.
35559 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
35560 (addpwbyX): Return value returned by cache_addpw.
35561 (readdpwbyname): Return value returned by addhstbyX.
35562 (readdpwbyuid): Likewise.
35563 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
35564 (addservbyX): Return value returned by cache_addserv.
35565 (readdservbyname): Return value returned by addservbyX:
35566 (readdservbyport): Likewise.
35567 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
35568 (addhstbyX): Return value returned by cache_addhst.
35569 (readdhstbyname): Return value returned by addhstbyX.
35570 (readdhstbyaddr): Likewise.
35571 (readdhstbynamev6): Likewise.
35572 (readdhstbyaddrv6): Likewise.
35573 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
35574 (readdinitgroups): Return value returned by addinitgroupsX.
35575 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
35576 (prune_cache): Keep track of timeout value of re-added entries.
35577 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
35578 * nscd/nscd.h: Adjust prototypes of readd* functions.
35580 2011-02-04 Roland McGrath <roland@redhat.com>
35582 * nis/nis_server.c (nis_servstate): Use the right name for 0.
35583 (nis_stats): Likewise.
35584 * nis/nis_modify.c (nis_modify): Likewise.
35585 * nis/nis_remove.c (nis_remove): Likewise.
35586 * nis/nis_add.c (nis_add): Likewise.
35588 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
35590 * posix/fnmatch_loop.c: Add some consts.
35592 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
35594 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
35597 * config.make.in (config-cflags-novzeroupper): Define.
35598 * configure.in: Substitute libc_cv_cc_novzeroupper.
35599 * elf/Makefile (AVX-CFLAGS): Define.
35600 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
35601 (CFLAGS-tst-auditmod4a.c): Likewise.
35602 (CFLAGS-tst-auditmod4b.c): Likewise.
35603 (CFLAGS-tst-auditmod6b.c): Likewise.
35604 (CFLAGS-tst-auditmod6c.c): Likewise.
35605 (CFLAGS-tst-auditmod7b.c): Likewise.
35606 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
35608 2011-02-02 Ulrich Drepper <drepper@gmail.com>
35610 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
35611 function to the callback.
35612 Patch partly by Jiri Olsa <jolsa@redhat.com>.
35614 2011-02-02 Andreas Schwab <schwab@redhat.com>
35616 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
35619 2011-01-19 Ulrich Drepper <drepper@gmail.com>
35622 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
35624 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
35626 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
35629 * elf/Makefile: Add rules to build and run new test.
35630 * elf/tst-initorder.c: New file.
35631 * elf/tst-initorder.exp: New file.
35632 * elf/tst-initordera1.c: New file.
35633 * elf/tst-initordera2.c: New file.
35634 * elf/tst-initordera3.c: New file.
35635 * elf/tst-initordera4.c: New file.
35636 * elf/tst-initorderb1.c: New file.
35637 * elf/tst-initorderb2.c: New file.
35638 * elf/tst-order-a1.c: New file.
35639 * elf/tst-order-a2.c: New file.
35640 * elf/tst-order-a3.c: New file.
35641 * elf/tst-order-a4.c: New file.
35642 * elf/tst-order-b1.c: New file.
35643 * elf/tst-order-b2.c: New file.
35644 * elf/tst-order-main.c: New file.
35645 New test case by George Gensure <werkt0@gmail.com>.
35647 2010-10-01 Andreas Schwab <schwab@redhat.com>
35649 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35650 decoding ACE if AI_CANONIDN.
35652 2011-01-18 Ulrich Drepper <drepper@gmail.com>
35654 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
35656 2011-01-17 Ulrich Drepper <drepper@gmail.com>
35658 * version.h (RELEASE): Bump for 2.13 release.
35659 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
35661 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
35663 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
35665 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
35666 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
35667 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35668 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35669 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35670 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
35672 * posix/getconf.c: Update copyright year.
35673 * catgets/gencat.c: Likewise.
35674 * csu/version.c: Likewise.
35675 * debug/catchsegv.sh: Likewise.
35676 * debug/xtrace.sh: Likewise.
35677 * elf/ldconfig.c: Likewise.
35678 * elf/ldd.bash.in: Likewise.
35679 * elf/sprof.c (print_version): Likewise.
35680 * iconv/iconv_prog.c: Likewise.
35681 * iconv/iconvconfig.c: Likewise.
35682 * locale/programs/locale.c: Likewise.
35683 * locale/programs/localedef.c: Likewise.
35684 * malloc/memusage.sh: Likewise.
35685 * malloc/mtrace.pl: Likewise.
35686 * nscd/nscd.c (print_version): Likewise.
35687 * nss/getent.c: Likewise.
35689 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
35690 PF_CAIF, and PF_ALG.
35691 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35693 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
35695 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
35696 (modules-names): Use them.
35697 (ifunc-test-modules, ifunc-pie-tests): Define.
35698 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
35699 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
35700 (test-extras): Likewise.
35701 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
35702 $(compile-command.c).
35703 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
35704 (all-built-dso): Define.
35705 (check-textrel.out, check-execstack.out): Depend on it.
35707 * configure.in: Don't override --enable-multi-arch.
35709 2011-01-15 Ulrich Drepper <drepper@gmail.com>
35712 * nscd/hstcache.c (tryagain): Define.
35713 (cache_addhst): Return tryagain not notfound for temporary errors.
35714 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
35717 2011-01-14 Ulrich Drepper <drepper@gmail.com>
35720 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
35721 to make the syscall.
35722 * sysdeps/unix/sysv/linux/setgroups.c: New file.
35725 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
35726 and fall back to matching as normal character if the string ends before
35727 the matching ']' is found. This is what POSIX requires.
35728 * posix/testfnm.c: Adjust test result.
35729 * posix/globtest.sh: Adjust test result. Add new test.
35730 * posix/tst-fnmatch.input: Likewise.
35731 * posix/tst-fnmatch2.c: Add new test.
35733 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
35735 * elf/Makefile (check-execstack): Revert last change. Depend on
35737 (check-execstack.h): New target.
35738 (generated): Add check-execstack.h.
35739 * elf/check-execstack.c: Include "check-execstack.h".
35740 (main): Revert last change.
35741 (handle_file): Return zero if GNU_STACK is absent and
35742 DEFAULT_STACK_PERMS doesn't include PF_X.
35744 2011-01-13 Ulrich Drepper <drepper@gmail.com>
35746 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
35747 in child fails because the descriptor is already closed.
35748 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
35749 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
35750 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
35753 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
35757 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
35758 temporary buffer used to handle multi lookups locally.
35759 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
35761 2011-01-12 Ulrich Drepper <drepper@gmail.com>
35763 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
35766 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
35768 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
35769 alignment for SSE2.
35771 2011-01-12 Ulrich Drepper <drepper@gmail.com>
35774 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
35775 characters. When rounding increased number of integer digits recompute
35777 * stdio-common/tst-grouping.c: New file.
35778 * stdio-common/Makefile: Add rules to build and run tst-grouping.
35780 2011-01-09 Ulrich Drepper <drepper@gmail.com>
35782 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
35783 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
35785 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
35787 * bits/select.h: Likewise.
35789 2011-01-08 Ulrich Drepper <drepper@gmail.com>
35791 * po/ja.po: Update from translation team.
35793 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
35796 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
35797 implementation just like for lxstat, fxstatat, et al.
35799 2010-12-27 Jim Meyering <meyering@redhat.com>
35802 * posix/regexec.c (build_trtable): Return failure indication upon
35803 calloc failure. Otherwise, re_search_internal could infloop on OOM.
35805 2010-12-25 Ulrich Drepper <drepper@gmail.com>
35808 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
35809 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
35810 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
35811 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
35814 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
35817 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
35818 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
35820 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
35822 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
35823 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
35824 script has SORT_BY_INIT_PRIORITY.
35825 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
35826 NO_CTORS_DTORS_SECTIONS is defined.
35827 * elf/soinit.c: Likewise.
35828 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
35829 NO_CTORS_DTORS_SECTIONS is defined.
35830 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
35831 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
35832 * sysdeps/sh/init-first.c: Likewise.
35833 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
35835 2010-12-24 Ulrich Drepper <drepper@gmail.com>
35837 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
35838 always use the slow path.
35840 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
35842 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
35843 similar rule which adds the sysdep directories to the header search in
35844 order to pick up the correct platform stackinfo.h.
35845 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
35846 perform test if it is, otherwise return successfully without testing.
35847 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
35848 DEFAULT_STACK_PERMS define in stackinfo.h.
35849 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
35850 defined in stackinfo.h.
35851 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
35852 DEFAULT_STACK_PERMS defined in stackinfo.h.
35853 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
35854 * sysdeps/ia64/stackinfo.h: Likewise.
35855 * sysdeps/s390/stackinfo.h: Likewise.
35856 * sysdeps/sh/stackinfo.h: Likewise.
35857 * sysdeps/sparc/stackinfo.h: Likewise.
35858 * sysdeps/x86_64/stackinfo.h: Likewise.
35859 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
35860 PF_X for powerpc64. Retain PF_X for powerpc32.
35862 2010-12-19 Ulrich Drepper <drepper@gmail.com>
35864 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
35866 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
35867 GETDENTS_64BIT_ALIGNED.
35869 2010-12-14 Ulrich Drepper <dreper@gmail.com>
35871 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
35873 2010-12-10 Andreas Schwab <schwab@redhat.com>
35875 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
35878 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
35879 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
35881 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
35882 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
35884 2010-12-09 Ulrich Drepper <drepper@gmail.com>
35887 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
35890 2010-12-09 Jakub Jelinek <jakub@redhat.com>
35892 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
35894 2010-12-03 Ulrich Drepper <drepper@gmail.com>
35896 * po/it.po: Update from translation team.
35898 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
35900 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
35903 2010-11-30 Ulrich Drepper <drepper@gmail.com>
35905 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
35907 2010-11-24 Andreas Schwab <schwab@redhat.com>
35909 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
35911 (gaih_getanswer_slice): Likewise.
35913 2010-10-20 Jakub Jelinek <jakub@redhat.com>
35915 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
35917 2010-05-31 Petr Baudis <pasky@suse.cz>
35920 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
35921 silently even in the chroot mode.
35923 2010-11-22 Ulrich Drepper <drepper@gmail.com>
35925 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
35926 last patch a bit. Pretty printing
35928 2010-05-31 Petr Baudis <pasky@suse.cz>
35931 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
35932 initialization of skip_initgroups_dyn.
35934 2010-11-19 Ulrich Drepper <drepper@gmail.com>
35936 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
35937 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
35939 2010-11-16 Ulrich Drepper <drepper@gmail.com>
35941 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
35943 2010-11-11 Andreas Schwab <schwab@redhat.com>
35945 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
35946 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
35947 (tst-fnmatch-ENV): Set MALLOC_TRACE.
35948 ($(objpfx)tst-fnmatch-mem): New rule.
35949 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
35950 * posix/tst-fnmatch.c (main): Call mtrace.
35952 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
35954 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35955 Support Intel processor model 6 and model 0x2c.
35957 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
35959 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
35962 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
35965 * string/test-strncasecmp.c (check_result): New function.
35966 (do_one_test): Use it.
35967 (check1): New function.
35968 (test_main): Use it.
35969 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
35970 Support strcasecmp and strncasecmp.
35972 2010-11-08 Ulrich Drepper <drepper@gmail.com>
35975 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
35976 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35978 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
35980 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
35982 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35984 * sysdeps/x86_64/multiarch/bzero.S: New file.
35985 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
35986 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
35987 * sysdeps/x86_64/multiarch/memset.S: New file.
35988 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
35989 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35990 Set bit_Prefer_SSE_for_memop for Intel processors.
35991 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
35993 (index_Prefer_SSE_for_memop): Define.
35994 (HAS_PREFER_SSE_FOR_MEMOP): Define.
35996 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
35998 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
35999 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
36001 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
36004 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36005 (__x86_64_raw_data_cache_size_half): Likewise.
36006 (__x86_64_raw_shared_cache_size): Likewise.
36007 (__x86_64_raw_shared_cache_size_half): Likewise.
36009 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36010 (__x86_64_raw_data_cache_size_half): Likewise.
36011 (__x86_64_raw_shared_cache_size): Likewise.
36012 (__x86_64_raw_shared_cache_size_half): Likewise.
36013 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
36014 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
36015 and __x86_64_raw_shared_cache_size_half. Round
36016 __x86_64_data_cache_size_half, __x86_64_data_cache_size
36017 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
36018 to multiple of 256 bytes.
36020 2010-11-03 Ulrich Drepper <drepper@gmail.com>
36023 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
36024 of inacessible symlinks. Verify result of symlink before returning it.
36025 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
36026 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
36028 2010-10-28 Erich Ritz <erichritz@gmail.com>
36030 * math/math.h (isinf): Fix typo in comment.
36032 2010-11-01 Ulrich Drepper <drepper@gmail.com>
36034 * po/da.po: Update from translation team.
36036 2010-10-26 Ulrich Drepper <drepper@gmail.com>
36038 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
36039 is added to the list.
36041 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36042 Ulrich Drepper <drepper@gmail.com>
36044 * elf/dl-object.c (_dl_new_object): Don't append the new object to
36045 the global list here. Move code to...
36046 (_dl_add_to_namespace_list): ...here. New function.
36047 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
36048 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
36049 * elf/dl-load.c (lose): Don't remove the element from the list.
36050 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
36051 (_dl_map_object): Likewise.
36053 2010-10-25 Ulrich Drepper <drepper@gmail.com>
36056 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
36057 into all bytes of SSE register.
36058 Patch by Richard Li <richardpku@gmail.com>.
36060 2010-10-24 Ulrich Drepper <drepper@gmail.com>
36063 * malloc/malloc.c (_int_free): Fill correct number of bytes when
36066 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
36068 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
36069 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
36070 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
36071 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
36072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
36074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
36076 2010-10-22 Andreas Schwab <schwab@redhat.com>
36078 * include/dlfcn.h (__RTLD_SECURE): Define.
36079 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
36080 mode & __RTLD_SECURE instead.
36081 (open_path): Rename preloaded parameter to secure.
36082 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
36083 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
36084 * elf/dl-deps.c (openaux): Likewise.
36085 * elf/rtld.c (struct map_args): Remove is_preloaded.
36086 (map_doit): Don't use it.
36087 (dl_main): Likewise.
36088 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
36089 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
36091 2010-09-09 Andreas Schwab <schwab@redhat.com>
36093 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
36094 (sysd-rules-targets): Remove duplicates.
36095 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
36096 rtld-%.$o dependency.
36098 2010-10-18 Andreas Schwab <schwab@redhat.com>
36100 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
36101 _dl_map_object do it.
36103 2010-10-19 Ulrich Drepper <drepper@gmail.com>
36105 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
36106 fast fma builtins, define the macros in the C99 standard.
36107 (FP_FAST_FMAF): Likewise.
36108 (FP_FAST_FMAL): Likewise.
36109 * sysdeps/x86_64/bits/mathdef.h: Likewise.
36111 * bits/mathdef.h: Update copyright year.
36112 * sysdeps/powerpc/bits/mathdef.h: Likewise.
36114 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
36116 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
36117 builtins, define the macros in the C99 standard.
36118 (FP_FAST_FMAF): Likewise.
36119 (FP_FAST_FMAL): Likewise.
36120 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
36122 (FP_FAST_FMAF): Likewise.
36124 2010-10-15 Jakub Jelinek <jakub@redhat.com>
36127 * math/libm-test.inc (fma_test): Some new testcases.
36128 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
36129 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
36130 y and infinite z. Do multiplication by C already in long double.
36131 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
36132 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
36133 y and infinite z. Do bitwise or of inexact bit into u.d.
36134 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
36135 * sysdeps/i386/fpu/s_fmaf.S: Removed.
36136 * sysdeps/i386/fpu/s_fma.S: Removed.
36137 * sysdeps/i386/fpu/s_fmal.S: Removed.
36139 2010-10-16 Jakub Jelinek <jakub@redhat.com>
36142 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
36143 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
36144 computation is not scheduled after fetestexcept. Fix value
36145 of minimum denormal long double.
36147 2010-10-14 Jakub Jelinek <jakub@redhat.com>
36150 * math/libm-test.inc (fma_test): Add some more tests.
36151 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
36154 2010-10-15 Andreas Schwab <schwab@redhat.com>
36156 * scripts/data/localplt-s390-linux-gnu.data: New file.
36157 * scripts/data/localplt-s390x-linux-gnu.data: New file.
36159 2010-10-13 Jakub Jelinek <jakub@redhat.com>
36162 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
36163 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
36165 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
36167 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
36168 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
36169 if one of x and y is very large and the other is subnormal.
36170 * sysdeps/s390/fpu/s_fmaf.c: New file.
36171 * sysdeps/s390/fpu/s_fma.c: New file.
36172 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
36173 * sysdeps/powerpc/fpu/s_fma.S: New file.
36174 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
36175 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
36176 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
36178 2010-10-12 Jakub Jelinek <jakub@redhat.com>
36181 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
36183 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
36184 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
36185 * sysdeps/i386/i686/multiarch/s_fma.c: Include
36186 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
36187 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
36188 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
36189 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
36191 2010-10-12 Ulrich Drepper <drepper@redhat.com>
36194 * posix/regcomp.c (parse_branch): One more memory leak plugged.
36195 * posix/bug-regex31.input: Add test case.
36197 2010-10-11 Ulrich Drepper <drepper@gmail.com>
36199 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
36200 * posix/bug-regex31.input: New file.
36203 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
36204 (parse_sub_exp): Fix last change, use postorder.
36206 * posix/bug-regex31.c: New file.
36207 * posix/Makefile: Add rules to build and run bug-regex31.
36209 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
36212 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
36215 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
36216 to have entries in sys_siglist.
36219 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
36222 2010-10-07 Jakub Jelinek <jakub@redhat.com>
36225 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
36226 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
36227 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
36228 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
36229 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
36230 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
36231 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
36232 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
36233 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
36234 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
36235 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
36236 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
36237 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
36238 * math/ftestexcept.c (fetestexcept): Likewise.
36239 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
36240 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
36241 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
36242 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
36243 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
36244 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
36245 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36247 2010-10-11 Ulrich Drepper <drepper@gmail.com>
36250 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
36253 2010-10-06 Ulrich Drepper <drepper@gmail.com>
36255 * string/bug-strstr1.c: New file.
36256 * string/Makefile: Add rules to build and run bug-strstr1.
36258 2010-10-05 Eric Blake <eblake@redhat.com>
36261 * string/str-two-way.h (two_way_long_needle): Always clear memory
36262 when skipping input due to the shift table.
36264 2010-10-03 Ulrich Drepper <drepper@gmail.com>
36267 * malloc/mcheck.c: Handle large requests.
36270 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
36271 for strncmp and strncasecmp.
36272 * string/stratcliff.c: Add tests for strcmp and strncmp.
36273 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
36275 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36277 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
36280 2010-09-30 Andreas Jaeger <aj@suse.de>
36282 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
36283 (CGROUP_SUPER_MAGIC): Define.
36284 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36285 Handle btrfs and cgroup file systems.
36286 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
36289 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
36291 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
36292 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
36294 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36297 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
36298 trying to locate the ELF header.
36300 2010-09-27 Andreas Schwab <schwab@redhat.com>
36303 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
36304 Mask out sign-bit copies when constructing f_fsid.
36306 2010-09-24 Petr Baudis <pasky@suse.cz>
36308 * debug/stack_chk_fail_local.c: Add missing licence exception.
36309 * debug/warning-nop.c: Likewise.
36311 2010-09-15 Joseph Myers <joseph@codesourcery.com>
36313 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
36314 implementing getdents64 using getdents syscall, set d_type if
36315 __ASSUME_GETDENTS32_D_TYPE.
36317 2010-09-16 Andreas Schwab <schwab@redhat.com>
36319 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
36320 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
36322 2010-09-21 Ulrich Drepper <drepper@redhat.com>
36325 * posix/unistd.h: Undo change of feature selection for ftruncate from
36328 2010-09-20 Ulrich Drepper <drepper@redhat.com>
36330 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
36333 2010-09-20 Andreas Schwab <schwab@redhat.com>
36335 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
36337 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
36339 2010-09-14 Andreas Schwab <schwab@redhat.com>
36341 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
36342 variables after CHECK_SP call.
36343 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
36345 2010-09-13 Andreas Schwab <schwab@redhat.com>
36346 Ulrich Drepper <drepper@redhat.com>
36348 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
36349 re-relocationg ld.so.
36350 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
36351 _dl_init_paths call.
36352 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
36355 2010-09-14 Ulrich Drepper <drepper@redhat.com>
36357 * resolv/res_init.c (__res_vinit): Count the default server we added.
36359 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
36360 Ulrich Drepper <drepper@redhat.com>
36363 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
36364 (____longjmp_chk): Use %ebx for saving value across system call.
36367 2010-09-06 Andreas Schwab <schwab@redhat.com>
36369 * manual/Makefile: Don't mix pattern rules with normal rules.
36371 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
36373 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
36375 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
36376 * libio/iofopncook.c (_IO_cookie_init): Likewise.
36377 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
36378 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
36379 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
36382 2010-09-04 Ulrich Drepper <drepper@redhat.com>
36385 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
36386 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
36388 2010-09-02 Ulrich Drepper <drepper@redhat.com>
36390 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
36391 * sysdeps/x86_64/addmul_1.S: Likewise.
36392 * sysdeps/x86_64/lshift.S: Likewise.
36393 * sysdeps/x86_64/mul_1.S: Likewise.
36394 * sysdeps/x86_64/rshift.S: Likewise.
36395 * sysdeps/x86_64/sub_n.S: Likewise.
36396 * sysdeps/x86_64/submul_1.S: Likewise.
36398 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
36400 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
36401 Define __sched_param instead of SCHED_* and sched_param when
36402 <bits/sched.h> is included with __need_schedparam defined.
36403 * bits/sched.h [__need_schedparam]
36404 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
36405 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
36406 (__defined_schedparam): Define to 1.
36407 (__sched_param): New structure, identical to sched_param.
36408 (__need_schedparam): Undefine.
36410 2010-08-31 Mike Frysinger <vapier@gentoo.org>
36412 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
36413 (epoll_create1): Declare.
36415 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
36417 2010-08-31 Andreas Schwab <schwab@redhat.com>
36420 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
36421 shifting retval into place.
36423 2010-09-01 Ulrich Drepper <drepper@redhat.com>
36425 * nis/rpcsvc/nis.h: Update copyright notice.
36426 * nis/rpcsvc/nis.x: Likewise.
36427 * nis/rpcsvc/nis_callback.h: Likewise.
36428 * nis/rpcsvc/nis_callback.x: Likewise.
36429 * nis/rpcsvc/nis_object.x: Likewise.
36430 * nis/rpcsvc/nis_tags.h: Likewise.
36431 * nis/rpcsvc/yp.h: Likewise.
36432 * nis/rpcsvc/yp.x: Likewise.
36433 * nis/rpcsvc/ypupd.h: Likewise.
36434 * nis/yp_xdr.c: Likewise.
36435 * nis/ypupdate_xdr.c: Likewise.
36437 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
36438 mainly the body of pmap_getport. Add parameters to specify timeouts.
36439 (pmap_getport): Use __libc_rpc_getport.
36440 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
36441 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
36442 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
36444 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
36446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
36449 2010-08-27 Roland McGrath <roland@redhat.com>
36451 * sysdeps/i386/i686/multiarch/Makefile
36452 (CFLAGS-varshift.c): New variable.
36454 2010-08-27 Ulrich Drepper <drepper@redhat.com>
36456 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
36457 * sysdeps/i386/i686/multiarch/varshift.c: New file.
36459 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
36461 * sysdeps/x86_64/strlen.S: Minimal code improvement.
36463 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
36465 * sysdeps/x86_64/strlen.S: Unroll the loop.
36466 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36467 strlen-sse2 strlen-sse2-bsf.
36468 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
36469 __strlen_no_bsf if bit_Slow_BSF is set.
36470 (__strlen_sse42): Removed.
36471 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
36472 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
36474 2010-08-25 Roland McGrath <roland@redhat.com>
36476 * sysdeps/x86_64/multiarch/varshift.S: File removed.
36477 * sysdeps/x86_64/multiarch/varshift.c: New file.
36478 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
36479 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
36480 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
36481 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
36483 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
36485 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36486 strlen-sse2 strlen-sse2-bsf.
36487 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
36488 __strlen_sse2_bsf if bit_Slow_BSF is unset.
36489 (__strlen_sse2): Removed.
36490 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
36491 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
36492 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
36493 bit_Slow_BSF for Atom.
36494 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
36495 (index_Slow_BSF): Define.
36496 (HAS_SLOW_BSF): Define.
36498 2010-08-25 Ulrich Drepper <drepper@redhat.com>
36501 * resolv/res_init.c (__res_vinit): When no server address at all
36502 is given default to loopback.
36504 2010-08-24 Roland McGrath <roland@redhat.com>
36506 * configure.in: Remove config-name.h generation.
36507 * configure: Regenerated.
36508 * config-name.in: File removed.
36509 * scripts/config-uname.sh: New file.
36510 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
36511 ($(objdir)config-name.h): New target.
36513 * sunrpc/rpc_parse.h: Avoid nested comment.
36515 2010-08-24 Richard Henderson <rth@redhat.com>
36516 Ulrich Drepper <drepper@redhat.com>
36517 H.J. Lu <hongjiu.lu@intel.com>
36519 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
36520 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
36521 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
36522 Replace _mm_srli_si128 with __m128i_shift_right. Replace
36523 _mm_alignr_epi8 with _mm_loadu_si128.
36524 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
36525 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
36526 (__m128i_shift_right): Removed.
36527 * sysdeps/i386/i686/multiarch/varshift.h: New file.
36528 * sysdeps/i386/i686/multiarch/varshift.S: New file.
36529 * sysdeps/x86_64/multiarch/varshift.h: New file.
36530 * sysdeps/x86_64/multiarch/varshift.S: New file.
36532 2010-08-21 Mike Frysinger <vapier@gentoo.org>
36534 * configure.in: Move assembler checks to before sysdep dir checking.
36536 2010-08-20 Petr Baudis <pasky@suse.cz>
36538 * LICENSES: Sync the sunrpc license.
36540 2010-08-19 Ulrich Drepper <drepper@redhat.com>
36542 * sunrpc/auth_des.c: Update copyright notice once again.
36543 * sunrpc/auth_none.c: Likewise.
36544 * sunrpc/auth_unix.c: Likewise.
36545 * sunrpc/authdes_prot.c: Likewise.
36546 * sunrpc/authuxprot.c: Likewise.
36547 * sunrpc/bindrsvprt.c: Likewise.
36548 * sunrpc/clnt_gen.c: Likewise.
36549 * sunrpc/clnt_perr.c: Likewise.
36550 * sunrpc/clnt_raw.c: Likewise.
36551 * sunrpc/clnt_simp.c: Likewise.
36552 * sunrpc/clnt_tcp.c: Likewise.
36553 * sunrpc/clnt_udp.c: Likewise.
36554 * sunrpc/clnt_unix.c: Likewise.
36555 * sunrpc/des_crypt.c: Likewise.
36556 * sunrpc/des_soft.c: Likewise.
36557 * sunrpc/get_myaddr.c: Likewise.
36558 * sunrpc/getrpcport.c: Likewise.
36559 * sunrpc/key_call.c: Likewise.
36560 * sunrpc/key_prot.c: Likewise.
36561 * sunrpc/openchild.c: Likewise.
36562 * sunrpc/pm_getmaps.c: Likewise.
36563 * sunrpc/pm_getport.c: Likewise.
36564 * sunrpc/pmap_clnt.c: Likewise.
36565 * sunrpc/pmap_prot.c: Likewise.
36566 * sunrpc/pmap_prot2.c: Likewise.
36567 * sunrpc/pmap_rmt.c: Likewise.
36568 * sunrpc/rpc/auth.h: Likewise.
36569 * sunrpc/rpc/auth_unix.h: Likewise.
36570 * sunrpc/rpc/clnt.h: Likewise.
36571 * sunrpc/rpc/des_crypt.h: Likewise.
36572 * sunrpc/rpc/key_prot.h: Likewise.
36573 * sunrpc/rpc/netdb.h: Likewise.
36574 * sunrpc/rpc/pmap_clnt.h: Likewise.
36575 * sunrpc/rpc/pmap_prot.h: Likewise.
36576 * sunrpc/rpc/pmap_rmt.h: Likewise.
36577 * sunrpc/rpc/rpc.h: Likewise.
36578 * sunrpc/rpc/rpc_des.h: Likewise.
36579 * sunrpc/rpc/rpc_msg.h: Likewise.
36580 * sunrpc/rpc/svc.h: Likewise.
36581 * sunrpc/rpc/svc_auth.h: Likewise.
36582 * sunrpc/rpc/types.h: Likewise.
36583 * sunrpc/rpc/xdr.h: Likewise.
36584 * sunrpc/rpc_clntout.c: Likewise.
36585 * sunrpc/rpc_cmsg.c: Likewise.
36586 * sunrpc/rpc_common.c: Likewise.
36587 * sunrpc/rpc_cout.c: Likewise.
36588 * sunrpc/rpc_dtable.c: Likewise.
36589 * sunrpc/rpc_hout.c: Likewise.
36590 * sunrpc/rpc_main.c: Likewise.
36591 * sunrpc/rpc_parse.c: Likewise.
36592 * sunrpc/rpc_parse.h: Likewise.
36593 * sunrpc/rpc_prot.c: Likewise.
36594 * sunrpc/rpc_sample.c: Likewise.
36595 * sunrpc/rpc_scan.c: Likewise.
36596 * sunrpc/rpc_scan.h: Likewise.
36597 * sunrpc/rpc_svcout.c: Likewise.
36598 * sunrpc/rpc_tblout.c: Likewise.
36599 * sunrpc/rpc_util.c: Likewise.
36600 * sunrpc/rpc_util.h: Likewise.
36601 * sunrpc/rpcinfo.c: Likewise.
36602 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
36603 * sunrpc/rpcsvc/key_prot.x: Likewise.
36604 * sunrpc/rpcsvc/klm_prot.x: Likewise.
36605 * sunrpc/rpcsvc/mount.x: Likewise.
36606 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
36607 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
36608 * sunrpc/rpcsvc/rex.x: Likewise.
36609 * sunrpc/rpcsvc/rstat.x: Likewise.
36610 * sunrpc/rpcsvc/rusers.x: Likewise.
36611 * sunrpc/rpcsvc/sm_inter.x: Likewise.
36612 * sunrpc/rpcsvc/spray.x: Likewise.
36613 * sunrpc/rpcsvc/yppasswd.x: Likewise.
36614 * sunrpc/rtime.c: Likewise.
36615 * sunrpc/svc.c: Likewise.
36616 * sunrpc/svc_auth.c: Likewise.
36617 * sunrpc/svc_authux.c: Likewise.
36618 * sunrpc/svc_raw.c: Likewise.
36619 * sunrpc/svc_run.c: Likewise.
36620 * sunrpc/svc_simple.c: Likewise.
36621 * sunrpc/svc_tcp.c: Likewise.
36622 * sunrpc/svc_udp.c: Likewise.
36623 * sunrpc/svc_unix.c: Likewise.
36624 * sunrpc/svcauth_des.c: Likewise.
36625 * sunrpc/xcrypt.c: Likewise.
36626 * sunrpc/xdr.c: Likewise.
36627 * sunrpc/xdr_array.c: Likewise.
36628 * sunrpc/xdr_float.c: Likewise.
36629 * sunrpc/xdr_mem.c: Likewise.
36630 * sunrpc/xdr_rec.c: Likewise.
36631 * sunrpc/xdr_ref.c: Likewise.
36632 * sunrpc/xdr_sizeof.c: Likewise.
36633 * sunrpc/xdr_stdio.c: Likewise.
36635 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
36638 2010-08-19 Andreas Schwab <schwab@redhat.com>
36640 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
36642 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
36644 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
36645 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
36646 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
36647 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
36648 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
36649 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
36650 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
36651 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
36652 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
36653 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
36654 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
36655 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
36656 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
36657 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
36659 2010-07-26 Anton Blanchard <anton@samba.org>
36661 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
36662 * malloc/arena.c (heap_trim): Likewise.
36664 2010-08-16 Ulrich Drepper <drepper@redhat.com>
36666 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
36668 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
36669 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
36671 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
36673 * sysdeps/i386/elf/Makefile: New file.
36675 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
36677 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
36678 from fanotify_init.
36679 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
36680 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
36682 2010-08-15 Ulrich Drepper <drepper@redhat.com>
36684 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
36686 * sysdeps/multiarch/strcmp.S: Likewise.
36688 2010-08-14 Ulrich Drepper <drepper@redhat.com>
36690 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
36691 strncase_l-nonascii.
36692 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
36693 Add strncase_l-ssse3.
36694 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
36695 * sysdeps/x86_64/strcmp.S: Likewise.
36696 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
36697 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
36698 * sysdeps/x86_64/strncase.S: New file.
36699 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
36700 * sysdeps/x86_64/strncase_l.S: New file.
36701 * string/Makefile (strop-tests): Add strncasecmp.
36702 * string/test-strncasecmp.c: New file.
36704 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
36707 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
36708 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
36710 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
36712 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
36714 2010-08-12 Ulrich Drepper <drepper@redhat.com>
36716 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
36717 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
36718 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
36720 2010-05-01 Alan Modra <amodra@gmail.com>
36722 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
36723 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
36724 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
36725 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
36726 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
36727 tidying. Don't tail-call __sigjmp_save for static lib.
36728 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
36730 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
36731 (CALL_MCOUNT): Add eh info, and nop after bl.
36732 (TAIL_CALL_SYSCALL_ERROR): New macro.
36733 (PSEUDO_RET): Use it.
36734 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
36735 Correct save location of integer regs and cr.
36736 (_dl_profile_resolve): Correct cr save location. Delete nops
36737 after bl when SHARED. Reduce cfi size a little by better
36738 placement of cfi directives.
36739 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
36740 make a stack frame. Instead use parm save area as a temp.
36741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
36742 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
36743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
36744 Don't make a stack frame for parent, use parm save area.
36745 Increase child stack frame to 112 bytes. Don't save unused reg,
36746 and adjust reg usage. Set up cfi on error recovery and
36747 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
36748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36749 (__makecontext): Add dummy nop after jump to exit.
36750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
36751 Use correct parm save area and cr save, reduce stack frame.
36752 Correct cfi for possible PSEUDO_RET frame setup.
36753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
36754 Branch to local label emitted by PSEUDO_RET rather than
36757 2010-08-12 Andreas Schwab <schwab@redhat.com>
36760 * locale/programs/locale.c (print_assignment): New function.
36761 (show_locale_vars): Use it.
36763 2010-08-11 Ulrich Drepper <drepper@redhat.com>
36765 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
36767 (struct statfs64): Likewise.
36768 (_STATFS_F_FLAGS): Define.
36769 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
36770 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36771 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
36772 (ST_VALID): Define locally.
36773 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
36774 __statvfs_getflags, use the provided value.
36775 * sysdeps/unix/sysv/linux/kernel-features.h: Define
36776 __ASSUME_STATFS_F_FLAGS.
36778 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
36780 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
36781 Add sys/fanotify.h.
36782 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
36783 fanotify_mask for GLIBC_2.13.
36784 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
36785 fanotify_init and fanotify_mark.
36786 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
36787 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
36789 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
36791 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
36792 prlimit64 for GLIBC_2.13.
36793 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
36795 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
36797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
36798 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
36799 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
36800 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
36801 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
36803 * sysdeps/unix/sysv/linux/prlimit.c: New file.
36806 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
36807 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
36809 * nss/Makefile: Add rules to build and run tst-nss-test1.
36810 * shlib-versions: Add entry for libnss_test1.
36811 * nss/nss_test1.c: New file.
36812 * nss/tst-nss-test1.c: New file.
36814 * nss/nsswitch.c (__nss_database_custom): Define new variable.
36815 (__nss_configure_lookup): Set appropriate entry in
36816 __nss_configure_lookup to true.
36817 * nss/nsswitch.h: Define enum with indeces of databases in
36818 databases and __nss_database_custom arrays. Declare
36819 __nss_database_custom.
36820 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
36821 to avoid using nscd when custom rules are installed.
36822 * nss/getXXbyYY_r.c: Likewise.
36823 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
36825 * nss/nss_files/files-parse.c: Whitespace fixes.
36827 2010-08-09 Ulrich Drepper <drepper@redhat.com>
36830 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
36831 * posix/fnmatch_loop.c: Likewise.
36833 2010-07-17 Andi Kleen <ak@linux.intel.com>
36835 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
36836 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
36837 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
36838 * Versions.def [GLIBC_2.13]: Add.
36840 2010-08-06 Ulrich Drepper <drepper@redhat.com>
36842 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36843 Also fail if tpwd after pwuid call is NULL.
36845 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
36847 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
36848 when converting to ms.
36850 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
36852 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
36853 EOPNOTSUPP errors with ENOTTY.
36854 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
36855 EOPNOTSUPP errors with ENOTTY.
36857 2010-07-31 Ulrich Drepper <drepper@redhat.com>
36859 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
36860 Add strcasecmp_l-ssse3.
36861 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
36863 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
36864 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
36865 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
36867 2010-07-30 Ulrich Drepper <drepper@redhat.com>
36869 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
36871 * string/Makefile (strop-tests): Add strcasecmp.
36872 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
36873 strcasecmp_l-nonascii.
36874 (gen-as-const-headers): Add locale-defines.sym.
36875 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
36876 * sysdeps/x86_64/strcasecmp.S: New file.
36877 * sysdeps/x86_64/strcasecmp_l.S: New file.
36878 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
36879 * sysdeps/x86_64/locale-defines.sym: New file.
36880 * string/test-strcasecmp.c: New file.
36882 * string/test-strcasestr.c: Test both ends of the range of characters.
36883 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
36885 2010-07-29 Roland McGrath <roland@redhat.com>
36888 * manual/locale.texi (Yes-or-No Questions): Fix example code.
36890 2010-07-27 Ulrich Drepper <drepper@redhat.com>
36892 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
36895 2010-07-27 Andreas Schwab <schwab@redhat.com>
36897 * manual/memory.texi (Malloc Tunable Parameters): Document
36900 2010-07-26 Roland McGrath <roland@redhat.com>
36903 * configure.in (-fgnu89-inline check): Set and substitute
36904 gnu89_inline, not libc_cv_gnu89_inline.
36905 * configure: Regenerated.
36906 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
36908 2010-07-26 Ulrich Drepper <drepper@redhat.com>
36910 * string/test-strnlen.c: New file.
36911 * string/Makefile (strop-tests): Add strnlen.
36912 * string/tester.c (test_strnlen): Add a few more test cases.
36913 * string/tst-strlen.c: Better error reporting.
36915 * sysdeps/x86_64/strnlen.S: New file.
36917 2010-07-24 Ulrich Drepper <drepper@redhat.com>
36919 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
36920 lower-latency instructions.
36922 2010-07-23 Ulrich Drepper <drepper@redhat.com>
36924 * string/test-strcasestr.c: New file.
36925 * string/test-strstr.c: New file.
36926 * string/Makefile (strop-tests): Add strstr and strcasestr.
36927 * string/str-two-way.h: Don't undefine MAX.
36928 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
36930 2010-07-21 Andreas Schwab <schwab@redhat.com>
36932 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36933 strcasestr-nonascii.
36934 (CFLAGS-strcasestr-nonascii.c): Define.
36935 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
36936 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
36937 Remove unused attribute.
36939 2010-07-20 Roland McGrath <roland@redhat.com>
36941 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
36942 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
36943 ld.so.cache was broken. With it, there is no way to disable dsocaps
36944 like LD_HWCAP_MASK can disable hwcaps.
36946 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
36948 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
36950 2010-07-16 Ulrich Drepper <drepper@redhat.com>
36952 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
36953 call in strcasestr.
36954 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
36955 __strcasestr_sse42_nonascii.
36956 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
36957 strcasestr-nonascii.c.
36958 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
36960 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
36962 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
36963 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
36964 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
36965 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
36967 2010-07-09 Ulrich Drepper <drepper@redhat.com>
36969 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
36972 2010-07-06 Andreas Schwab <schwab@redhat.com>
36975 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
36978 2010-07-06 Ulrich Drepper <drepper@redhat.com>
36980 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
36981 _PC_PIPE_BUF using F_GETPIPE_SZ.
36983 2010-07-05 Roland McGrath <roland@redhat.com>
36985 * manual/arith.texi (Rounding Functions): Fix rint description
36986 implicit in round description.
36988 2010-07-02 Ulrich Drepper <drepper@redhat.com>
36990 * elf/Makefile: Fix linking for a few tests to make recent linker
36993 2010-06-30 Andreas Schwab <schwab@redhat.com>
36995 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
36996 $(common-objpfx)libc_nonshared.a.
36998 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
37000 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
37001 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
37002 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37003 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37004 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
37005 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
37006 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37007 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
37009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
37010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
37011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
37013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
37015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
37016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
37017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
37018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
37020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
37022 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
37023 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
37024 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
37025 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
37026 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
37027 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
37028 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
37029 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
37030 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
37031 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
37032 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
37033 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
37034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
37035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
37036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
37037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
37038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
37039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
37040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
37041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
37042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
37043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
37044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
37045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
37046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
37047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
37049 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
37051 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
37052 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
37053 * string/memmove.c (memmove): Renamed to ...
37054 (MEMMOVE): ...this. Default to memmove.
37055 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
37056 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
37058 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37059 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
37060 mempcpy-ssse3-back memmove-ssse3-back.
37061 * sysdeps/x86_64/multiarch/bcopy.S: New file .
37062 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
37063 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
37064 * sysdeps/x86_64/multiarch/memcpy.S: New file.
37065 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
37066 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
37067 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
37068 * sysdeps/x86_64/multiarch/memmove.c: New file.
37069 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
37070 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
37071 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
37072 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
37073 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
37074 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
37076 (index_Fast_Copy_Backward): Define.
37077 (HAS_ARCH_FEATURE): Define.
37078 (HAS_FAST_REP_STRING): Define.
37079 (HAS_FAST_COPY_BACKWARD): Define.
37081 2010-06-21 Andreas Schwab <schwab@redhat.com>
37083 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37084 Restore proper fallback handling.
37086 2010-06-19 Ulrich Drepper <drepper@redhat.com>
37089 * posix/group_member.c (__group_member): Correct checking loop.
37091 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
37092 OOM in getpwuid_r correctly. Return error number when the caller
37093 should return, otherwise -1.
37094 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
37095 call returning > 0 value.
37096 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
37098 2010-06-07 Andreas Schwab <schwab@redhat.com>
37100 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
37101 libc_nonshared.a from targets in modules-names.
37103 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
37105 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
37108 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
37110 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
37111 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
37112 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
37113 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
37115 2010-06-02 Andreas Schwab <schwab@redhat.com>
37117 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
37119 2010-06-14 Ulrich Drepper <drepper@redhat.com>
37121 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
37123 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
37124 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37125 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37126 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37127 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37128 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
37130 2010-06-14 Roland McGrath <roland@redhat.com>
37132 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
37134 2010-06-07 Jakub Jelinek <jakub@redhat.com>
37136 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
37137 __REDIRECT followed by __THROW.
37138 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
37139 * posix/getopt.h (getopt): Likewise.
37141 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
37143 * hurd/lookup-at.c (__file_name_lookup_at): Accept
37144 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
37145 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
37147 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
37148 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
37150 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
37152 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
37154 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
37157 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37158 Properly check family and model.
37160 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
37162 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
37164 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
37166 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
37168 2010-05-21 Ulrich Drepper <drepper@redhat.com>
37170 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
37173 2010-05-19 Andreas Schwab <schwab@redhat.com>
37175 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
37178 2010-05-21 Andreas Schwab <schwab@redhat.com>
37180 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
37181 and internal_recvmmsg.
37182 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
37183 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
37184 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
37185 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
37187 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
37188 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
37189 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
37191 2010-05-20 Andreas Schwab <schwab@redhat.com>
37193 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
37195 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
37197 POWER7 optimizations.
37198 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
37199 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
37201 2010-05-19 Ulrich Drepper <drepper@redhat.com>
37203 * version.h: Update for 2.13 development version.
37205 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
37207 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
37208 exceptions. Return 0.
37210 2010-05-07 Roland McGrath <roland@redhat.com>
37212 * elf/ldconfig.c (main): Add a const.
37214 2010-05-06 Ulrich Drepper <drepper@redhat.com>
37216 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
37217 (args_options): Add no-idn option.
37218 (ahosts_keys_int): Add idn_flags to ai_flags.
37219 (parse_option): Handle 'i' option to clear idn_flags.
37221 * malloc/malloc.c (_int_free): Possible race in the most recently
37222 added check. Only act on the data if no current modification
37225 See ChangeLog.17 for earlier changes.