1 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
6 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
11 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15 2014-03-25 Andreas Schwab <schwab@suse.de>
17 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
18 label to be used after in6ailist is initialized.
20 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
23 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
25 2014-03-25 Joseph Myers <joseph@codesourcery.com>
29 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
31 (fp_formats): Update initializers.
32 (init_fp_formats): Initialize new field.
33 (output_for_one_input_case): Allow underflow for results up to
35 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
36 * math/auto-libm-test-in: Don't mark some underflows from asin and
38 * math/auto-libm-test-out: Regenerated.
39 * sysdeps/i386/fpu/libm-test-ulps: Update.
40 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42 2014-03-25 Andreas Schwab <schwab@suse.de>
44 * libio/Makefile (tst-ftell-partial-wide-ENV)
45 (tst-ftell-active-handler-ENV): Define.
47 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
49 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
51 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
53 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
55 2014-03-24 Joseph Myers <joseph@codesourcery.com>
57 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
58 * sysdeps/x86_64/fpu/multiarch/e_exp.c
59 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
61 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
64 * elf/dl-load.c (open_verify): Add mode parameter.
65 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
66 (open_path): Change from boolean 'secure' to complete flag 'mode'
67 (_dl_map_object): Adjust.
68 * elf/Makefile (tests): Add tst-dlopen-aout.
69 * elf/tst-dlopen-aout.c: New test.
71 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
74 * sysdeps/unix/sysv/linux/s390/bits/stat.h
75 (struct stat): Rename member pad0 to __glibc_reserved0.
77 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
80 * sysdeps/s390/s390-32/bits/wordsize.h
81 (__WORDSIZE32_SIZE_ULONG): New define.
82 * sysdeps/s390/s390-64/bits/wordsize.h
83 (__WORDSIZE32_SIZE_ULONG): Likewise.
84 * sysdeps/generic/stdint.h (SIZE_MAX):
85 Define as UL if __WORDSIZE32_SIZE_ULONG.
87 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
90 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
91 (__glibc_reserved0): New variable.
92 (sa_flags): Change type to int.
94 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
96 * posix/Makefile (before-compile): Use += before-compile instead
99 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
101 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
102 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
104 2014-03-20 Andreas Schwab <schwab@suse.de>
107 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
108 non-matching result from nscd.
110 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
112 * scripts/bench.py: Moved to ...
113 * benchtests/scripts/bench.py: ... here.
114 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
116 2014-03-24 Andreas Schwab <schwab@suse.de>
119 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
120 alloca_account and account alloca use for struct in6ailist.
122 2014-03-24 Joseph Myers <joseph@codesourcery.com>
125 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
126 rounding mode to recompute results that overflow to infinity or
128 * math/auto-libm-test-in: Don't mark tests as expected to fail for
130 * math/auto-libm-test-out: Regenerated.
131 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
132 (ccosh_test): Likewise.
133 (csin_test_data): Use plus_oflow.
134 (csin_test): Use ALL_RM_TEST.
135 (csinh_test_data): Use plus_oflow.
136 (csinh_test): Use ALL_RM_TEST.
137 * sysdeps/i386/fpu/libm-test-ulps: Update.
138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
140 2014-03-21 Joseph Myers <joseph@codesourcery.com>
142 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
143 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
144 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
147 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
149 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
150 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
151 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
152 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
154 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
155 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
157 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
158 * sysdeps/i386/fpu/libm-test-ulps: Update.
159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
161 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
163 * scripts/bench.pl: Remove file.
164 * scripts/bench.py: New benchmark script.
165 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
166 * benchtests/README: Mention python dependency.
167 * scripts/pylintrc: New file.
168 * scripts/pylint: New file.
170 * bits/mathdef.h: Use #ifdef instead of #if.
171 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
172 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
173 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
174 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
175 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
176 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
178 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
179 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
181 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
182 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
183 and strpbrk-ppc64 objects.
184 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
185 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
186 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
187 multiarch strpbrk for POWER7.
188 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
189 multiarch strpbrk for PPC64.
190 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
192 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
195 2014-03-20 Joseph Myers <joseph@codesourcery.com>
197 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
198 (atan_test): Likewise.
199 (atanh_test_data): Use NO_TEST_INLINE for two tests.
200 (atanh_test): Use ALL_RM_TEST.
201 (atan2_test_data): Likewise.
202 (cabs_test): Likewise.
203 (cacosh_test): Likewise.
204 (carg_test): Likewise.
205 (casin_test): Likewise.
206 (casinh_test): Likewise.
207 (cbrt_test): Likewise.
208 (csqrt_test): Likewise.
209 (erf_test): Likewise.
210 (erfc_test): Likewise.
211 (pow10_test): Likewise.
212 (exp2_test): Likewise.
213 (hypot_test): Likewise.
216 (lgamma_test): Likewise.
217 (gamma_test): Likewise.
218 (sincos_test): Likewise.
219 (tanh_test): Likewise.
222 * sysdeps/i386/fpu/libm-test-ulps: Update.
223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
225 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
227 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
228 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
229 and strcspn-ppc64 objects.
230 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
231 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
232 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
233 multiarch strcspn for POWER7.
234 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
235 multiarch strcspn for PPC64.
236 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
238 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
241 2014-03-20 Joseph Myers <joseph@codesourcery.com>
243 * math/gen-libm-test.pl (generate_testfile): Expect only function
244 name as argument to AUTO_TESTS_* and pass results for all rounding
246 (parse_auto_input): Separate inputs of automatic tests from
247 outputs before storing in %auto_tests.
248 * math/libm-test.inc (acos_test_data): Update call to
250 (acos_test): Use ALL_RM_TEST.
251 (acos_tonearest_test_data): Remove.
252 (acos_test_tonearest): Likewise.
253 (acos_towardzero_test_data): Likewise.
254 (acos_test_towardzero): Likewise.
255 (acos_downward_test_data): Likewise.
256 (acos_test_downward): Likewise.
257 (acos_upward_test_data): Likewise.
258 (acos_test_upward): Likewise.
259 (acosh_test_data): Update call to AUTO_TESTS_f_f.
260 (asin_test_data): Likewise.
261 (asin_test): Use ALL_RM_TEST.
262 (asin_tonearest_test_data): Remove.
263 (asin_test_tonearest): Likewise.
264 (asin_towardzero_test_data): Likewise.
265 (asin_test_towardzero): Likewise.
266 (asin_downward_test_data): Likewise.
267 (asin_test_downward): Likewise.
268 (asin_upward_test_data): Likewise.
269 (asin_test_upward): Likewise.
270 (asinh_test_data): Update call to AUTO_TESTS_f_f.
271 (atan_test_data): Likewise.
272 (atanh_test_data): Likewise.
273 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
274 (cabs_test_data): Update call to AUTO_TESTS_c_f.
275 (carg_test_data): Likewise.
276 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
277 (ccos_test_data): Update call to AUTO_TESTS_c_c.
278 (ccosh_test_data): Likewise.
279 (cexp_test_data): Likewise.
280 (clog_test_data): Likewise.
281 (clog10_test_data): Likewise.
282 (cos_test_data): Update call to AUTO_TESTS_f_f.
283 (cos_test): Use ALL_RM_TEST.
284 (cos_tonearest_test_data): Remove.
285 (cos_test_tonearest): Likewise.
286 (cos_towardzero_test_data): Likewise.
287 (cos_test_towardzero): Likewise.
288 (cos_downward_test_data): Likewise.
289 (cos_test_downward): Likewise.
290 (cos_upward_test_data): Likewise.
291 (cos_test_upward): Likewise.
292 (cosh_test_data): Update call to AUTO_TESTS_f_f.
293 (cosh_test): Use ALL_RM_TEST.
294 (cosh_tonearest_test_data): Remove.
295 (cosh_test_tonearest): Likewise.
296 (cosh_towardzero_test_data): Likewise.
297 (cosh_test_towardzero): Likewise.
298 (cosh_downward_test_data): Likewise.
299 (cosh_test_downward): Likewise.
300 (cosh_upward_test_data): Likewise.
301 (cosh_test_upward): Likewise.
302 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
303 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
304 (ctan_test_data): Likewise.
305 (ctan_test): Use ALL_RM_TEST.
306 (ctan_tonearest_test_data): Remove.
307 (ctan_test_tonearest): Likewise.
308 (ctan_towardzero_test_data): Likewise.
309 (ctan_test_towardzero): Likewise.
310 (ctan_downward_test_data): Likewise.
311 (ctan_test_downward): Likewise.
312 (ctan_upward_test_data): Likewise.
313 (ctan_test_upward): Likewise.
314 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
315 (ctanh_test): Use ALL_RM_TEST.
316 (ctanh_tonearest_test_data): Remove.
317 (ctanh_test_tonearest): Likewise.
318 (ctanh_towardzero_test_data): Likewise.
319 (ctanh_test_towardzero): Likewise.
320 (ctanh_downward_test_data): Likewise.
321 (ctanh_test_downward): Likewise.
322 (ctanh_upward_test_data): Likewise.
323 (ctanh_test_upward): Likewise.
324 (erf_test_data): Update call to AUTO_TESTS_f_f.
325 (erfc_test_data): Likewise.
326 (exp_test_data): Likewise.
327 (exp_test): Use ALL_RM_TEST.
328 (exp_tonearest_test_data): Remove.
329 (exp_test_tonearest): Likewise.
330 (exp_towardzero_test_data): Likewise.
331 (exp_test_towardzero): Likewise.
332 (exp_downward_test_data): Likewise.
333 (exp_test_downward): Likewise.
334 (exp_upward_test_data): Likewise.
335 (exp_test_upward): Likewise.
336 (exp10_test_data): Update call to AUTO_TESTS_f_f.
337 (exp10_test): Use ALL_RM_TEST.
338 (exp10_tonearest_test_data): Remove.
339 (exp10_test_tonearest): Likewise.
340 (exp10_towardzero_test_data): Likewise.
341 (exp10_test_towardzero): Likewise.
342 (exp10_downward_test_data): Likewise.
343 (exp10_test_downward): Likewise.
344 (exp10_upward_test_data): Likewise.
345 (exp10_test_upward): Likewise.
346 (exp2_test_data): Update call to AUTO_TESTS_f_f.
347 (expm1_test_data): Likewise.
348 (expm1_test): Use ALL_RM_TEST.
349 (expm1_tonearest_test_data): Remove.
350 (expm1_test_tonearest): Likewise.
351 (expm1_towardzero_test_data): Likewise.
352 (expm1_test_towardzero): Likewise.
353 (expm1_downward_test_data): Likewise.
354 (expm1_test_downward): Likewise.
355 (expm1_upward_test_data): Likewise.
356 (expm1_test_upward): Likewise.
357 (fma_test_data): Update call to AUTO_TESTS_fff_f.
358 (fma_test): Use ALL_RM_TEST.
359 (fma_towardzero_test_data): Remove.
360 (fma_test_towardzero): Likewise.
361 (fma_downward_test_data): Likewise.
362 (fma_test_downward): Likewise.
363 (fma_upward_test_data): Likewise.
364 (fma_test_upward): Likewise.
365 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
366 (j0_test_data): Update call to AUTO_TESTS_f_f.
367 (j1_test_data): Likewise.
368 (jn_test_data): Update call to AUTO_TESTS_if_f.
369 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
370 (log_test_data): Update call to AUTO_TESTS_f_f.
371 (log10_test_data): Likewise.
372 (log1p_test_data): Likewise.
373 (log2_test_data): Likewise.
374 (pow_test_data): Update call to AUTO_TESTS_ff_f.
375 (pow_tonearest_test_data): Likewise.
376 (sin_test_data): Update call to AUTO_TESTS_f_f.
377 (sin_test): Use ALL_RM_TEST.
378 (sin_tonearest_test_data): Remove.
379 (sin_test_tonearest): Likewise.
380 (sin_towardzero_test_data): Likewise.
381 (sin_test_towardzero): Likewise.
382 (sin_downward_test_data): Likewise.
383 (sin_test_downward): Likewise.
384 (sin_upward_test_data): Likewise.
385 (sin_test_upward): Likewise.
386 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
387 (sinh_test_data): Update call to AUTO_TESTS_f_f.
388 (sinh_test): Use ALL_RM_TEST.
389 (sinh_tonearest_test_data): Remove.
390 (sinh_test_tonearest): Likewise.
391 (sinh_towardzero_test_data): Likewise.
392 (sinh_test_towardzero): Likewise.
393 (sinh_downward_test_data): Likewise.
394 (sinh_test_downward): Likewise.
395 (sinh_upward_test_data): Likewise.
396 (sinh_test_upward): Likewise.
397 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
398 (sqrt_test): Use ALL_RM_TEST.
399 (sqrt_tonearest_test_data): Remove.
400 (sqrt_test_tonearest): Likewise.
401 (sqrt_towardzero_test_data): Likewise.
402 (sqrt_test_towardzero): Likewise.
403 (sqrt_downward_test_data): Likewise.
404 (sqrt_test_downward): Likewise.
405 (sqrt_upward_test_data): Likewise.
406 (sqrt_test_upward): Likewise.
407 (tan_test_data): Update call to AUTO_TESTS_f_f.
408 (tan_test): Use ALL_RM_TEST.
409 (tan_tonearest_test_data): Remove.
410 (tan_test_tonearest): Likewise.
411 (tan_towardzero_test_data): Likewise.
412 (tan_test_towardzero): Likewise.
413 (tan_downward_test_data): Likewise.
414 (tan_test_downward): Likewise.
415 (tan_upward_test_data): Likewise.
416 (tan_test_upward): Likewise.
417 (tanh_test_data): Update call to AUTO_TESTS_f_f.
418 (tgamma_test_data): Likewise.
419 (y0_test_data): Likewise.
420 (y1_test_data): Likewise.
421 (yn_test_data): Update call to AUTO_TESTS_if_f.
422 (main): Do not call removed functions.
424 2014-03-19 Joseph Myers <joseph@codesourcery.com>
426 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
427 (ldexp_test_data): Remove.
428 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
430 (scalb_test): Use ALL_RM_TEST.
432 2014-03-19 Andreas Schwab <schwab@suse.de>
434 * nscd/nscd.service: Also invalidate netgroup cache on reload.
436 2014-03-19 Joseph Myers <joseph@codesourcery.com>
439 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
440 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
441 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
442 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
443 (__ASSUME_PREADV): Undefine.
444 (__ASSUME_PWRITEV): Likewise.
446 2014-03-18 Roland McGrath <roland@hack.frob.com>
448 * bits/mman-linux.h: Add comment about non-Linux use.
449 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
450 bits/mman-linux.h resting place.
452 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
453 * bits/mman-linux.h: ... here.
455 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
457 * conform/conformtest.pl: Add standard definition when calling C
458 preprocessor on data files.
459 (checknamespace): Remove unused variable.
461 2014-03-18 Joseph Myers <joseph@codesourcery.com>
463 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
464 minus_oflow, plus_uflow and minus_uflow in expected results.
465 * math/libm-test.inc (scalbn_test_data): Add more tests of
466 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
468 (scalbn_test): Use ALL_RM_TEST.
469 (scalbln_test_data): Add more tests of negative arguments. Use
470 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
471 (scalbln_test): Use ALL_RM_TEST.
473 2014-03-18 Roland McGrath <roland@hack.frob.com>
475 * scripts/abilist.awk: Ignore symbols marked with .hidden.
477 2014-03-18 Will Newton <will.newton@linaro.org>
479 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
482 2014-03-18 Joseph Myers <joseph@codesourcery.com>
484 * Makerules [!subdir] (check-abi): Exit with error status if a
487 2014-03-17 Joseph Myers <joseph@codesourcery.com>
489 * math/libm-test.inc (nearbyint_test_data): Include all tests used
490 for rint. Include results for all rounding modes.
491 (nearbyint_test): Use ALL_RM_TEST.
492 (rint_test_data): Include all tests used for nearbyint.
494 2014-03-17 Will Newton <will.newton@linaro.org>
496 * nptl/sysdeps/pthread/pthread.h: Revert previous
499 * sysdeps/generic/ldsodefs.h: Revert previous
502 * libio/genops.c: Revert previous change.
503 * libio/libioP.h: Likewise.
504 * stdio-common/vfprintf.c: Likewise.
506 * sysdeps/generic/math_private.h: Revert previous
509 * sysdeps/generic/math_private.h: Check whether
510 HAVE_RM_CTX is defined with #ifdef rather
513 * argp/argp-fmtstream.h: Check whether
514 __STRICT_ANSI__ is defined with #ifdef rather
516 * argp/argp.h: Likewise.
518 * libio/genops.c: Check whether
519 _IO_JUMPS_OFFSET is defined with #ifdef rather
521 * libio/libioP.h: Likewise.
522 * stdio-common/vfprintf.c: Likewise.
524 * sysdeps/generic/ldsodefs.h: Check whether
525 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
528 * nptl/sysdeps/pthread/pthread.h: Check
529 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
532 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
534 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
536 * libio/tst-ftell-active-handler.c (do_append_test): Add a
540 * libio/fileops.c (_IO_file_open): Seek to end of file but
541 don't cache the offset.
542 (get_file_offset): Remove function.
543 (do_ftell): Use cached offset when available.
544 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
545 don't cache the offset.
546 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
548 (do_one_test): Call it.
549 (do_ftell_test): Fix up expected old offset for a+ mode.
550 * libio/wfileops.c (do_ftell_wide): Used cached offset when
553 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
554 up test status with function return status.
555 (do_write_test): Likewise.
556 (do_append_test): Likewise.
558 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
559 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
562 2014-03-17 Joseph Myers <joseph@codesourcery.com>
564 * math/gen-libm-test.pl (parse_args): Handle results specified for
565 each rounding mode separately.
566 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
567 tests and results from lrint_tonearest_test_data,
568 lrint_towardzero_test_data, lrint_downward_test_data and
569 lrint_upward_test_data.
570 (lrint_test): Use ALL_RM_TEST.
571 (lrint_tonearest_test_data): Remove.
572 (lrint_test_tonearest): Likewise.
573 (lrint_towardzero_test_data): Likewise.
574 (lrint_test_towardzero): Likewise.
575 (lrint_downward_test_data): Likewise.
576 (lrint_test_downward): Likewise.
577 (lrint_upward_test_data): Likewise.
578 (lrint_test_upward): Likewise.
579 (llrint_test_data): Merge in per-rounding-mode tests and results
580 from llrint_tonearest_test_data, llrint_towardzero_test_data,
581 llrint_downward_test_data and llrint_upward_test_data.
582 (llrint_test): Use ALL_RM_TEST.
583 (llrint_tonearest_test_data): Remove.
584 (llrint_test_tonearest): Likewise.
585 (llrint_towardzero_test_data): Likewise.
586 (llrint_test_towardzero): Likewise.
587 (llrint_downward_test_data): Likewise.
588 (llrint_test_downward): Likewise.
589 (llrint_upward_test_data): Likewise.
590 (llrint_test_upward): Likewise.
591 (rint_test_data): Merge in per-rounding-mode tests and results
592 from rint_tonearest_test_data, rint_towardzero_test_data,
593 rint_downward_test_data and rint_upward_test_data. Add
594 per-rounding-mode results for tests not in those arrays.
595 (rint_test): Use ALL_RM_TEST.
596 (rint_tonearest_test_data): Remove.
597 (rint_test_tonearest): Likewise.
598 (rint_towardzero_test_data): Likewise.
599 (rint_test_towardzero): Likewise.
600 (rint_downward_test_data): Likewise.
601 (rint_test_downward): Likewise.
602 (rint_upward_test_data): Likewise.
603 (rint_test_upward): Likewise.
604 (main): Don't call removed functions.
606 2014-03-14 Roland McGrath <roland@hack.frob.com>
608 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
609 "Compiled on ..." crapola. It is anti-useful.
611 2014-03-14 Joseph Myers <joseph@codesourcery.com>
613 * scripts/evaluate-test.sh: Handle fourth argument to determine
614 whether test run should stop on failure.
615 * Makeconfig (stop-on-test-failure): New variable.
616 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
617 $(stop-on-test-failure).
618 * Makefile (tests): Give a summary of results from testing and
619 exit with failure status if they include an ERROR or FAIL.
621 * manual/install.texi (Configuring and compiling): Mention
622 stop-on-test-failure=y.
623 * INSTALL: Regenerated.
625 2014-03-14 Roland McGrath <roland@hack.frob.com>
627 * scripts/versionlist.awk: New file.
628 * Makerules [$(build-shared) = yes]
629 (postclean-generated): Add Versions.def, not Versions.def.v and
631 ($(common-objpfx)Versions.def.v.i): Target removed.
632 ($(common-objpfx)Versions.def): New target.
633 ($(common-objpfx)Versions.all): Depend on that rather that
634 $(common-objpfx)Versions.def.v.
635 * Versions.def: File removed.
637 * Makeconfig (+gccwarn): Add -Wundef.
638 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
639 a dl-sysdep.h breaking its contract.
640 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
641 * include/stackinfo.h: New file.
642 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
643 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
644 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
645 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
646 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
647 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
648 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
649 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
650 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
651 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
652 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
653 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
654 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
655 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
656 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
658 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
661 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
663 * math/libm-test.inc (round_test_data): Add more tests.
665 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
668 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
670 * math/libm-test.inc (nearbyint_test_data): Add more tests.
672 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
675 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
677 * math/libm-test.inc (ceil_test_data): Add more tests.
679 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
681 * math/libm-test.inc (trunc_test_data): Add more tests related to
684 2014-03-14 Roland McGrath <roland@hack.frob.com>
686 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
687 with #if rather than #ifdef.
688 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
690 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
692 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
693 first. Disable AVX-512 GCC support if assembler doesn't support
695 * sysdeps/x86_64/configure: Regenerated.
697 2014-03-13 Carlos O'Donell <carlos@redhat.com>
699 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
700 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
701 (__old_pthread_attr_setstack): Likewise.
702 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
703 [!_STACK_GROWS_DOWN]: Likewise.
705 2014-03-13 Mike Frysinger <vapier@gentoo.org>
707 * config.make.in (have-bash2): Delete.
708 * configure.ac (libc_cv_have_bash2): Delete.
709 * configure: Regenerate.
710 * elf/Makefile (common-ldd-rewrite): Rename to ...
711 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
712 (sh-ldd-rewrite): Delete.
713 (bash-ldd-rewrite): Delete.
714 (have-bash2): Delete checks.
715 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to ldd-rewrite.
717 2014-03-13 Mike Frysinger <vapier@gentoo.org>
719 * config.make.in (have-ksh): Delete.
721 * configure.ac (libc_cv_have_ksh): Delete.
722 * configure: Regenerate.
724 2014-03-13 Mike Frysinger <vapier@gentoo.org>
726 * elf/Makefile: Delete $(have-ksh) check.
727 ($(objpfx)sotruss): Change KSH to BASH.
728 * elf/sotruss.ksh: Rename to ...
729 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
730 function style to match POSIX. Drop ksh vim mode setting.
732 2014-03-13 Mike Frysinger <vapier@gentoo.org>
734 * manual/time.texi (Specifying the Time Zone with TZ): Change
737 2014-03-13 Mike Frysinger <vapier@gentoo.org>
739 * debug/tst-longjmp_chk2.c: Update header comment.
740 (stackoverflow_handler): Add comment. Call assert on pass value.
742 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
744 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
745 (HAVE_AVX512_ASM_SUPPORT): Likewise.
746 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
747 (La_x86_64_vector): Add zmm.
748 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
749 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
750 ($(objpfx)tst-audit10): New target.
751 ($(objpfx)tst-audit10.out): Likewise.
752 (tst-audit10-ENV): New.
753 (AVX512-CFLAGS): Likewise.
754 (CFLAGS-tst-audit10.c): Likewise.
755 (CFLAGS-tst-auditmod10a.c): Likewise.
756 (CFLAGS-tst-auditmod10b.c): Likewise.
757 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
758 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
759 * sysdeps/x86_64/configure: Regenerated.
760 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
761 AVX-512 zmm register support.
762 (_dl_x86_64_save_sse): Likewise.
763 (_dl_x86_64_restore_sse): Likewise.
764 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
765 size vector registers.
766 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
767 (ZMM_SIZE): Likewise.
768 * sysdeps/x86_64/tst-audit10.c: New file.
769 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
770 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
772 2014-03-13 Roland McGrath <roland@hack.frob.com>
774 * configure.ac (HAVE_EHDR_START): New check.
775 * configure: Regenerated.
776 * config.h.in (HAVE_EHDR_START): New #undef.
777 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
778 assuming the lowest-addressed segment maps the start of the file.
780 2014-03-13 Joseph Myers <joseph@codesourcery.com>
782 * INSTALL: Regenerated.
784 2014-03-13 Will Newton <will.newton@linaro.org>
786 * manual/setjmp.texi (System V contexts): Improve
787 clarity and grammar of documentation.
789 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
792 * elf/Makefile (tests): Add tst-pie2.
793 (tests-pie): Add tst-pie2.
794 * elf/tst-pie2.c: New file.
795 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
797 * elf/rtld.c (map_doit): Load executable as lt_executable.
800 2014-03-12 Joseph Myers <joseph@codesourcery.com>
803 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
804 (__ASSUME_PSELECT): Undefine.
806 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
809 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
810 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
812 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
813 selector for static builds.
815 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
818 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
821 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
823 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
824 selector for static builds.
826 2014-03-11 Joseph Myers <joseph@codesourcery.com>
828 * sysdeps/mips/math_private.h [__mips_hard_float]
829 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
830 libc_feresetround_mips_ctx.
831 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
832 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
833 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
836 * math/s_nextafter.c (__nextafter): Do not return value from
837 overflowing computation.
838 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
839 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
840 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
842 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
844 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
845 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
847 2014-03-11 Roland McGrath <roland@hack.frob.com>
849 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
850 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
851 Move sfi_sp use from the load-multiple (that no longer sets sp) to
852 the new mov targetting sp.
854 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
857 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
858 Define it for static builds as well.
859 (NO_BZERO_IMPL): Likewise.
861 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
863 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
864 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
865 multiarch strspn for PPC64.
866 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
867 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
868 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
869 (__libc_ifunc_impl_list): Likewise.
870 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
871 multiarch optimizations
872 * string/strspn.c (strspn): Using macro to redefine symbol name.
874 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
875 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
877 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
878 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
879 multiarch strncat for PPC64.
880 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
881 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
882 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
883 (__libc_ifunc_impl_list): Likewise.
884 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
885 multiarch optimizations
887 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
890 * nscd/nscd.service: Make service type forking.
892 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
894 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
895 sign in non default rounding modes.
896 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
898 2014-03-08 Joseph Myers <joseph@codesourcery.com>
900 * math/libm-test.inc (ALL_RM_TEST): New macro.
901 (ceil_test): Use ALL_RM_TEST.
902 (cimag_test): Likewise.
903 (conj_test): Likewise.
904 (copysign_test): Likewise.
905 (cproj_test): Likewise.
906 (creal_test): Likewise.
907 (fabs_test): Likewise.
908 (floor_test): Likewise.
909 (fmax_test): Likewise.
910 (fmin_test): Likewise.
911 (fmod_test): Likewise.
912 (fpclassify_test): Likewise.
913 (frexp_test): Likewise.
914 (ilogb_test): Likewise.
915 (isfinite_test): Likewise.
916 (finite_test): Likewise.
917 (isgreater_test): Likewise.
918 (isgreaterequal_test): Likewise.
919 (isinf_test): Likewise.
920 (isless_test): Likewise.
921 (islessequal_test): Likewise.
922 (islessgreater_test): Likewise.
923 (isnan_test): Likewise.
924 (isnormal_test): Likewise.
925 (issignaling_test): Likewise.
926 (isunordered_test): Likewise.
927 (logb_test): Likewise.
928 (logb_downward_test_data): Remove.
929 (logb_test_downward): Likewise.
930 (lround_test): Use ALL_RM_TEST.
931 (llround_test): Likewise.
932 (modf_test): Likewise.
933 (nexttoward_test): Likewise.
934 (remainder_test): Likewise.
935 (drem_test): Likewise.
936 (remainder_tonearest_test_data): Likewise.
937 (remainder_test_tonearest): Likewise.
938 (drem_test_tonearest): Likewise.
939 (remainder_towardzero_test_data): Likewise.
940 (remainder_test_towardzero): Likewise.
941 (drem_test_towardzero): Likewise.
942 (remainder_downward_test_data): Likewise.
943 (remainder_test_downward): Likewise.
944 (drem_test_downward): Likewise.
945 (remainder_upward_test_data): Likewise.
946 (remainder_test_upward): Likewise.
947 (drem_test_upward): Likewise.
948 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
949 (round_test): Use ALL_RM_TEST.
950 (signbit_test): Likewise.
951 (trunc_test): Likewise.
952 (significand_test): Likewise.
953 (main): Don't call removed functions.
955 2014-03-07 Joseph Myers <joseph@codesourcery.com>
958 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
960 (ILL_ILLOPN): Likewise.
961 (ILL_ILLADR): Likewise.
962 (ILL_ILLTRP): Likewise.
963 (ILL_PRVOPC): Likewise.
964 (ILL_PRVREG): Likewise.
965 (ILL_COPROC): Likewise.
966 (ILL_BADSTK): Likewise.
967 (FPE_INTDIV): Likewise.
968 (FPE_INTOVF): Likewise.
969 (FPE_FLTDIV): Likewise.
970 (FPE_FLTOVF): Likewise.
971 (FPE_FLTUND): Likewise.
972 (FPE_FLTRES): Likewise.
973 (FPE_FLTINV): Likewise.
974 (FPE_FLTSUB): Likewise.
975 (SEGV_MAPERR): Likewise.
976 (SEGV_ACCERR): Likewise.
977 (BUS_ADRALN): Likewise.
978 (BUS_ADRERR): Likewise.
979 (BUS_OBJERR): Likewise.
980 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
981 (TRAP_TRACE): Likewise.
982 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
984 (CLD_KILLED): Likewise.
985 (CLD_DUMPED): Likewise.
986 (CLD_TRAPPED): Likewise.
987 (CLD_STOPPED): Likewise.
988 (CLD_CONTINUED): Likewise.
990 (POLL_OUT): Likewise.
991 (POLL_MSG): Likewise.
992 (POLL_ERR): Likewise.
993 (POLL_PRI): Likewise.
994 (POLL_HUP): Likewise.
995 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
997 (ILL_ILLOPN): Likewise.
998 (ILL_ILLADR): Likewise.
999 (ILL_ILLTRP): Likewise.
1000 (ILL_PRVOPC): Likewise.
1001 (ILL_PRVREG): Likewise.
1002 (ILL_COPROC): Likewise.
1003 (ILL_BADSTK): Likewise.
1004 (FPE_INTDIV): Likewise.
1005 (FPE_INTOVF): Likewise.
1006 (FPE_FLTDIV): Likewise.
1007 (FPE_FLTOVF): Likewise.
1008 (FPE_FLTUND): Likewise.
1009 (FPE_FLTRES): Likewise.
1010 (FPE_FLTINV): Likewise.
1011 (FPE_FLTSUB): Likewise.
1012 (SEGV_MAPERR): Likewise.
1013 (SEGV_ACCERR): Likewise.
1014 (BUS_ADRALN): Likewise.
1015 (BUS_ADRERR): Likewise.
1016 (BUS_OBJERR): Likewise.
1017 (BUS_MCEERR_AR): Likewise.
1018 (BUS_MCEERR_AO): Likewise.
1019 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1020 (TRAP_TRACE): Likewise.
1021 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1023 (CLD_KILLED): Likewise.
1024 (CLD_DUMPED): Likewise.
1025 (CLD_TRAPPED): Likewise.
1026 (CLD_STOPPED): Likewise.
1027 (CLD_CONTINUED): Likewise.
1028 (POLL_IN): Likewise.
1029 (POLL_OUT): Likewise.
1030 (POLL_MSG): Likewise.
1031 (POLL_ERR): Likewise.
1032 (POLL_PRI): Likewise.
1033 (POLL_HUP): Likewise.
1034 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
1035 (ILL_ILLOPN): Likewise.
1036 (ILL_ILLADR): Likewise.
1037 (ILL_ILLTRP): Likewise.
1038 (ILL_PRVOPC): Likewise.
1039 (ILL_PRVREG): Likewise.
1040 (ILL_COPROC): Likewise.
1041 (ILL_BADSTK): Likewise.
1042 (FPE_INTDIV): Likewise.
1043 (FPE_INTOVF): Likewise.
1044 (FPE_FLTDIV): Likewise.
1045 (FPE_FLTOVF): Likewise.
1046 (FPE_FLTUND): Likewise.
1047 (FPE_FLTRES): Likewise.
1048 (FPE_FLTINV): Likewise.
1049 (FPE_FLTSUB): Likewise.
1050 (SEGV_MAPERR): Likewise.
1051 (SEGV_ACCERR): Likewise.
1052 (BUS_ADRALN): Likewise.
1053 (BUS_ADRERR): Likewise.
1054 (BUS_OBJERR): Likewise.
1055 (BUS_MCEERR_AR): Likewise.
1056 (BUS_MCEERR_AO): Likewise.
1057 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1058 (TRAP_TRACE): Likewise.
1059 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1061 (CLD_KILLED): Likewise.
1062 (CLD_DUMPED): Likewise.
1063 (CLD_TRAPPED): Likewise.
1064 (CLD_STOPPED): Likewise.
1065 (CLD_CONTINUED): Likewise.
1066 (POLL_IN): Likewise.
1067 (POLL_OUT): Likewise.
1068 (POLL_MSG): Likewise.
1069 (POLL_ERR): Likewise.
1070 (POLL_PRI): Likewise.
1071 (POLL_HUP): Likewise.
1072 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
1074 (ILL_ILLOPN): Likewise.
1075 (ILL_ILLADR): Likewise.
1076 (ILL_ILLTRP): Likewise.
1077 (ILL_PRVOPC): Likewise.
1078 (ILL_PRVREG): Likewise.
1079 (ILL_COPROC): Likewise.
1080 (ILL_BADSTK): Likewise.
1081 (ILL_BADIADDR): Likewise.
1082 (ILL_BREAK): Likewise.
1083 (FPE_INTDIV): Likewise.
1084 (FPE_INTOVF): Likewise.
1085 (FPE_FLTDIV): Likewise.
1086 (FPE_FLTOVF): Likewise.
1087 (FPE_FLTUND): Likewise.
1088 (FPE_FLTRES): Likewise.
1089 (FPE_FLTINV): Likewise.
1090 (FPE_FLTSUB): Likewise.
1091 (FPE_DECOVF): Likewise.
1092 (FPE_DECDIV): Likewise.
1093 (FPE_DECERR): Likewise.
1094 (FPE_INVASC): Likewise.
1095 (FPE_INVDEC): Likewise.
1096 (SEGV_MAPERR): Likewise.
1097 (SEGV_ACCERR): Likewise.
1098 (SEGV_PSTKOVF): Likewise.
1099 (BUS_ADRALN): Likewise.
1100 (BUS_ADRERR): Likewise.
1101 (BUS_OBJERR): Likewise.
1102 (BUS_MCEERR_AR): Likewise.
1103 (BUS_MCEERR_AO): Likewise.
1104 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1105 (TRAP_TRACE): Likewise.
1106 (TRAP_BRANCH): Likewise.
1107 (TRAP_HWBKPT): Likewise.
1108 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1110 (CLD_KILLED): Likewise.
1111 (CLD_DUMPED): Likewise.
1112 (CLD_TRAPPED): Likewise.
1113 (CLD_STOPPED): Likewise.
1114 (CLD_CONTINUED): Likewise.
1115 (POLL_IN): Likewise.
1116 (POLL_OUT): Likewise.
1117 (POLL_MSG): Likewise.
1118 (POLL_ERR): Likewise.
1119 (POLL_PRI): Likewise.
1120 (POLL_HUP): Likewise.
1121 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
1122 (ILL_ILLOPN): Likewise.
1123 (ILL_ILLADR): Likewise.
1124 (ILL_ILLTRP): Likewise.
1125 (ILL_PRVOPC): Likewise.
1126 (ILL_PRVREG): Likewise.
1127 (ILL_COPROC): Likewise.
1128 (ILL_BADSTK): Likewise.
1129 (FPE_INTDIV): Likewise.
1130 (FPE_INTOVF): Likewise.
1131 (FPE_FLTDIV): Likewise.
1132 (FPE_FLTOVF): Likewise.
1133 (FPE_FLTUND): Likewise.
1134 (FPE_FLTRES): Likewise.
1135 (FPE_FLTINV): Likewise.
1136 (FPE_FLTSUB): Likewise.
1137 (SEGV_MAPERR): Likewise.
1138 (SEGV_ACCERR): Likewise.
1139 (BUS_ADRALN): Likewise.
1140 (BUS_ADRERR): Likewise.
1141 (BUS_OBJERR): Likewise.
1142 (BUS_MCEERR_AR): Likewise.
1143 (BUS_MCEERR_AO): Likewise.
1144 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1145 (TRAP_TRACE): Likewise.
1146 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1148 (CLD_KILLED): Likewise.
1149 (CLD_DUMPED): Likewise.
1150 (CLD_TRAPPED): Likewise.
1151 (CLD_STOPPED): Likewise.
1152 (CLD_CONTINUED): Likewise.
1153 (POLL_IN): Likewise.
1154 (POLL_OUT): Likewise.
1155 (POLL_MSG): Likewise.
1156 (POLL_ERR): Likewise.
1157 (POLL_PRI): Likewise.
1158 (POLL_HUP): Likewise.
1159 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
1160 (ILL_ILLOPN): Likewise.
1161 (ILL_ILLADR): Likewise.
1162 (ILL_ILLTRP): Likewise.
1163 (ILL_PRVOPC): Likewise.
1164 (ILL_PRVREG): Likewise.
1165 (ILL_COPROC): Likewise.
1166 (ILL_BADSTK): Likewise.
1167 (FPE_INTDIV): Likewise.
1168 (FPE_INTOVF): Likewise.
1169 (FPE_FLTDIV): Likewise.
1170 (FPE_FLTOVF): Likewise.
1171 (FPE_FLTUND): Likewise.
1172 (FPE_FLTRES): Likewise.
1173 (FPE_FLTINV): Likewise.
1174 (FPE_FLTSUB): Likewise.
1175 (SEGV_MAPERR): Likewise.
1176 (SEGV_ACCERR): Likewise.
1177 (BUS_ADRALN): Likewise.
1178 (BUS_ADRERR): Likewise.
1179 (BUS_OBJERR): Likewise.
1180 (BUS_MCEERR_AR): Likewise.
1181 (BUS_MCEERR_AO): Likewise.
1182 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1183 (TRAP_TRACE): Likewise.
1184 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1186 (CLD_KILLED): Likewise.
1187 (CLD_DUMPED): Likewise.
1188 (CLD_TRAPPED): Likewise.
1189 (CLD_STOPPED): Likewise.
1190 (CLD_CONTINUED): Likewise.
1191 (POLL_IN): Likewise.
1192 (POLL_OUT): Likewise.
1193 (POLL_MSG): Likewise.
1194 (POLL_ERR): Likewise.
1195 (POLL_PRI): Likewise.
1196 (POLL_HUP): Likewise.
1197 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
1198 (ILL_ILLOPN): Likewise.
1199 (ILL_ILLADR): Likewise.
1200 (ILL_ILLTRP): Likewise.
1201 (ILL_PRVOPC): Likewise.
1202 (ILL_PRVREG): Likewise.
1203 (ILL_COPROC): Likewise.
1204 (ILL_BADSTK): Likewise.
1205 (FPE_INTDIV): Likewise.
1206 (FPE_INTOVF): Likewise.
1207 (FPE_FLTDIV): Likewise.
1208 (FPE_FLTOVF): Likewise.
1209 (FPE_FLTUND): Likewise.
1210 (FPE_FLTRES): Likewise.
1211 (FPE_FLTINV): Likewise.
1212 (FPE_FLTSUB): Likewise.
1213 (SEGV_MAPERR): Likewise.
1214 (SEGV_ACCERR): Likewise.
1215 (BUS_ADRALN): Likewise.
1216 (BUS_ADRERR): Likewise.
1217 (BUS_OBJERR): Likewise.
1218 (BUS_MCEERR_AR): Likewise.
1219 (BUS_MCEERR_AO): Likewise.
1220 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1221 (TRAP_TRACE): Likewise.
1222 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1224 (CLD_KILLED): Likewise.
1225 (CLD_DUMPED): Likewise.
1226 (CLD_TRAPPED): Likewise.
1227 (CLD_STOPPED): Likewise.
1228 (CLD_CONTINUED): Likewise.
1229 (POLL_IN): Likewise.
1230 (POLL_OUT): Likewise.
1231 (POLL_MSG): Likewise.
1232 (POLL_ERR): Likewise.
1233 (POLL_PRI): Likewise.
1234 (POLL_HUP): Likewise.
1235 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
1236 (ILL_ILLOPN): Likewise.
1237 (ILL_ILLADR): Likewise.
1238 (ILL_ILLTRP): Likewise.
1239 (ILL_PRVOPC): Likewise.
1240 (ILL_PRVREG): Likewise.
1241 (ILL_COPROC): Likewise.
1242 (ILL_BADSTK): Likewise.
1243 (ILL_DBLFLT): Likewise.
1244 (ILL_HARDWALL): Likewise.
1245 (FPE_INTDIV): Likewise.
1246 (FPE_INTOVF): Likewise.
1247 (FPE_FLTDIV): Likewise.
1248 (FPE_FLTOVF): Likewise.
1249 (FPE_FLTUND): Likewise.
1250 (FPE_FLTRES): Likewise.
1251 (FPE_FLTINV): Likewise.
1252 (FPE_FLTSUB): Likewise.
1253 (SEGV_MAPERR): Likewise.
1254 (SEGV_ACCERR): Likewise.
1255 (BUS_ADRALN): Likewise.
1256 (BUS_ADRERR): Likewise.
1257 (BUS_OBJERR): Likewise.
1258 (BUS_MCEERR_AR): Likewise.
1259 (BUS_MCEERR_AO): Likewise.
1260 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1261 (TRAP_TRACE): Likewise.
1262 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1264 (CLD_KILLED): Likewise.
1265 (CLD_DUMPED): Likewise.
1266 (CLD_TRAPPED): Likewise.
1267 (CLD_STOPPED): Likewise.
1268 (CLD_CONTINUED): Likewise.
1269 (POLL_IN): Likewise.
1270 (POLL_OUT): Likewise.
1271 (POLL_MSG): Likewise.
1272 (POLL_ERR): Likewise.
1273 (POLL_PRI): Likewise.
1274 (POLL_HUP): Likewise.
1275 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
1276 (ILL_ILLOPN): Likewise.
1277 (ILL_ILLADR): Likewise.
1278 (ILL_ILLTRP): Likewise.
1279 (ILL_PRVOPC): Likewise.
1280 (ILL_PRVREG): Likewise.
1281 (ILL_COPROC): Likewise.
1282 (ILL_BADSTK): Likewise.
1283 (FPE_INTDIV): Likewise.
1284 (FPE_INTOVF): Likewise.
1285 (FPE_FLTDIV): Likewise.
1286 (FPE_FLTOVF): Likewise.
1287 (FPE_FLTUND): Likewise.
1288 (FPE_FLTRES): Likewise.
1289 (FPE_FLTINV): Likewise.
1290 (FPE_FLTSUB): Likewise.
1291 (SEGV_MAPERR): Likewise.
1292 (SEGV_ACCERR): Likewise.
1293 (BUS_ADRALN): Likewise.
1294 (BUS_ADRERR): Likewise.
1295 (BUS_OBJERR): Likewise.
1296 (BUS_MCEERR_AR): Likewise.
1297 (BUS_MCEERR_AO): Likewise.
1298 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1299 (TRAP_TRACE): Likewise.
1300 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1302 (CLD_KILLED): Likewise.
1303 (CLD_DUMPED): Likewise.
1304 (CLD_TRAPPED): Likewise.
1305 (CLD_STOPPED): Likewise.
1306 (CLD_CONTINUED): Likewise.
1307 (POLL_IN): Likewise.
1308 (POLL_OUT): Likewise.
1309 (POLL_MSG): Likewise.
1310 (POLL_ERR): Likewise.
1311 (POLL_PRI): Likewise.
1312 (POLL_HUP): Likewise.
1313 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
1314 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1317 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
1318 before #include of <time.h>.
1319 [!__USE_XOPEN2K] (__need_timespec): Likewise.
1320 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
1321 (test-xfail-UNIX98/sched.h/conform): Likewise.
1323 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
1325 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
1326 error absence of trapping exception support.
1327 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1329 2014-03-07 Joseph Myers <joseph@codesourcery.com>
1331 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
1332 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
1333 * timezone/Makefile (testdata): Move definition above include of
1335 (test-zones): New variable.
1336 (tests-special): Add zone files.
1337 (build-testdata): Use $(evaluate-test).
1339 * elf/Makefile (tests-special): Rename tests to end with .out.
1340 ($(objpfx)noload-mem): Likewise.
1341 ($(objpfx)tst-leaks1-mem): Likewise.
1342 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
1343 * iconv/Makefile (xtests-special): Change test-iconvconfig to
1344 $(objpfx)test-iconvconfig.out.
1345 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
1346 set -e inside subshell and redirect output to file.
1347 * iconvdata/Makefile (generated): Rename tests to end with .out.
1349 (tests-special): Rename tests to end with .out.
1350 ($(objpfx)mtrace-tst-loading): Likewise.
1351 * intl/Makefile (generated): Likewise.
1352 (tests-special): Likewise.
1353 ($(objpfx)mtrace-tst-gettext): Likewise.
1354 * misc/Makefile (generated): Likewise.
1355 (tests-special): Likewise.
1356 ($(objpfx)tst-error1-mem): Likewise.
1357 * nptl/Makefile (tests-special): Likewise.
1358 ($(objpfx)tst-stack3-mem): Likewise.
1359 (generated): Likewise.
1360 * posix/Makefile (generated): Likewise.
1361 (tests-special): Likewise.
1362 (xtests-special): Likewise.
1363 ($(objpfx)tst-fnmatch-mem): Likewise.
1364 ($(objpfx)bug-regex2-mem): Likewise.
1365 ($(objpfx)bug-regex14-mem): Likewise.
1366 ($(objpfx)bug-regex21-mem): Likewise.
1367 ($(objpfx)bug-regex31-mem): Likewise.
1368 ($(objpfx)tst-vfork3-mem): Likewise.
1369 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
1370 ($(objpfx)tst-pcre-mem): Likewise.
1371 ($(objpfx)tst-boost-mem): Likewise.
1372 ($(objpfx)bug-ga2-mem): Likewise.
1373 ($(objpfx)bug-glob2-mem): Likewise.
1374 * resolv/Makefile (generate): Likewise.
1375 (tests-special): Likewise.
1376 (xtests-special): Likewise.
1377 (generated): Likewise.
1378 ($(objpfx)mtrace-tst-leaks): Likewise.
1379 ($(objpfx)mtrace-tst-leaks2): Likewise.
1381 * scripts/merge-test-results.sh: New file.
1382 * Makefile (tests-special-notdir): New variable.
1383 (tests): Run merge-test-results.sh.
1385 * Rules (tests-special-notdir): New variable.
1386 (xtests-special-notdir): Likewise.
1387 (tests): Run merge-test-results.sh
1390 * Makeconfig (test-xfail-name): New variable.
1391 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
1392 compute variable name for expected failures.
1393 * conform/Makefile (conformtest-headers-data): New variable.
1394 (conformtest-standards): Likewise.
1395 (conformtest-headers-ISO): Likewise.
1396 (conformtest-headers-ISO99): Likewise.
1397 (conformtest-headers-ISO11): Likewise.
1398 (conformtest-headers-POSIX): Likewise.
1399 (conformtest-headers-XPG3): Likewise.
1400 (conformtest-headers-XPG4): Likewise.
1401 (conformtest-headers-UNIX98): Likewise.
1402 (conformtest-headers-XOPEN2K): Likewise.
1403 (conformtest-headers-POSIX2008): Likewise.
1404 (conformtest-headers-XOPEN2K8): Likewise.
1405 (conformtest-header-list-base): Likewise.
1406 (conformtest-header-list-tests): Likewise.
1407 (conformtest-header-base): Likewise.
1408 (conformtest-header-tests): Likewise.
1409 (tests-special): Add $(conformtest-header-list-tests). If
1410 [$(fast-check) && !$(cross-compiling)], add
1411 $(conformtest-header-tests) instead of
1412 $(objpfx)run-conformtest.out.
1413 (generated): Add $(conformtest-header-list-base). If
1414 [$(fast-check) && !$(cross-compiling)], add
1415 $(conformtest-header-base). Remove previous setting.
1416 ($(conformtest-header-list-tests)): New target.
1417 (test-xfail-run-conformtest): Remove variable.
1418 ($(objpfx)run-conformtest.out): Remove target.
1419 (test-xfail-ISO11/complex.h/conform): New variable.
1420 (test-xfail-ISO11/stdalign.h/conform): Likewise.
1421 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
1422 (test-xfail-XPG3/varargs.h/conform): Likewise.
1423 (test-xfail-XPG4/varargs.h/conform): Likewise.
1424 (test-xfail-UNIX98/varargs.h/conform): Likewise.
1425 (test-xfail-XPG4/ndbm.h/conform): Likewise.
1426 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
1427 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
1428 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
1429 (test-xfail-XPG3/fcntl.h/conform): Likewise.
1430 (test-xfail-XPG3/ftw.h/conform): Likewise.
1431 (test-xfail-XPG3/grp.h/conform): Likewise.
1432 (test-xfail-XPG3/langinfo.h/conform): Likewise.
1433 (test-xfail-XPG3/limits.h/conform): Likewise.
1434 (test-xfail-XPG3/pwd.h/conform): Likewise.
1435 (test-xfail-XPG3/search.h/conform): Likewise.
1436 (test-xfail-XPG3/signal.h/conform): Likewise.
1437 (test-xfail-XPG3/stdio.h/conform): Likewise.
1438 (test-xfail-XPG3/stdlib.h/conform): Likewise.
1439 (test-xfail-XPG3/string.h/conform): Likewise.
1440 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
1441 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
1442 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
1443 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
1444 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
1445 (test-xfail-XPG3/sys/types.h/conform): Likewise.
1446 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
1447 (test-xfail-XPG3/termios.h/conform): Likewise.
1448 (test-xfail-XPG3/time.h/conform): Likewise.
1449 (test-xfail-XPG3/unistd.h/conform): Likewise.
1450 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
1451 (test-xfail-XPG4/fcntl.h/conform): Likewise.
1452 (test-xfail-XPG4/langinfo.h/conform): Likewise.
1453 (test-xfail-XPG4/netdb.h/conform): Likewise.
1454 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
1455 (test-xfail-XPG4/signal.h/conform): Likewise.
1456 (test-xfail-XPG4/stdio.h/conform): Likewise.
1457 (test-xfail-XPG4/stdlib.h/conform): Likewise.
1458 (test-xfail-XPG4/stropts.h/conform): Likewise.
1459 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
1460 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
1461 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
1462 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
1463 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
1464 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
1465 (test-xfail-XPG4/sys/time.h/conform): Likewise.
1466 (test-xfail-XPG4/sys/types.h/conform): Likewise.
1467 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
1468 (test-xfail-XPG4/termios.h/conform): Likewise.
1469 (test-xfail-XPG4/ucontext.h/conform): Likewise.
1470 (test-xfail-XPG4/unistd.h/conform): Likewise.
1471 (test-xfail-XPG4/utmpx.h/conform): Likewise.
1472 (test-xfail-POSIX/sched.h/conform): Likewise.
1473 (test-xfail-POSIX/signal.h/conform): Likewise.
1474 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1475 (test-xfail-POSIX/tar.h/conform): Likewise.
1476 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
1477 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
1478 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
1479 (test-xfail-UNIX98/netdb.h/conform): Likewise.
1480 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
1481 (test-xfail-UNIX98/sched.h/conform): Likewise.
1482 (test-xfail-UNIX98/signal.h/conform): Likewise.
1483 (test-xfail-UNIX98/stdio.h/conform): Likewise.
1484 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
1485 (test-xfail-UNIX98/stropts.h/conform): Likewise.
1486 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
1487 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
1488 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
1489 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
1490 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
1491 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
1492 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
1493 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
1494 (test-xfail-UNIX98/unistd.h/conform): Likewise.
1495 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
1496 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
1497 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
1498 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
1499 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
1500 (test-xfail-XOPEN2K/math.h/conform): Likewise.
1501 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
1502 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
1503 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
1504 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
1505 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
1506 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
1507 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
1508 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
1509 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
1510 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
1511 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
1512 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
1513 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
1514 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
1515 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
1516 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
1517 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
1518 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
1519 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
1520 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
1521 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
1522 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
1523 (test-xfail-POSIX2008/signal.h/conform): Likewise.
1524 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
1525 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
1526 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
1527 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
1528 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
1529 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
1530 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
1531 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
1532 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
1533 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
1534 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
1535 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
1536 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
1537 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
1538 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
1539 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
1540 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
1541 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
1542 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
1543 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
1544 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
1545 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
1546 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
1547 (conformtest-cc-flags): Likewise.
1548 ($(conformtest-header-tests): New target.
1549 * conform/check-header-lists.sh: New file.
1550 * conform/run-conformtest.sh: Remove.
1552 * conform/conformtest.pl: Allow ' and \ in values given for
1554 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
1556 [POSIX] (sys/types.h): Likewise.
1557 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
1559 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
1561 * conform/data/signal.h-data (SIGIO): Remove expectation.
1562 [XPG3] (SIGBUS): Do not expect.
1563 [POSIX || XPG3] (SIGPOLL): Likewise.
1564 [POSIX || XPG3] (SIGPROF): Likewise.
1565 [POSIX || XPG3] (SIGSYS): Likewise.
1566 [XPG3] (SIGTRAP): Likewise.
1567 [POSIX || XPG3] (SIGURG): Likewise.
1568 [POSIX || XPG3] (SIGVTALRM): Likewise.
1569 [POSIX || XPG3] (SIGXCPU): Likewise.
1570 [POSIX || XPG3] (SIGXFSZ): Likewise.
1571 [POSIX] (SA_SIGINFO): Expect.
1572 [XPG3] (siginfo_t): Do not expect type or contents.
1573 [POSIX] (si_pid): Do not expect element.
1574 [POSIX] (si_uid): Likewise.
1575 [POSIX] (si_addr): Likewise.
1576 [POSIX] (si_status): Likewise.
1577 [POSIX] (si_band): Likewise.
1578 [XPG4] (si_value): Likewise.
1579 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
1580 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
1581 [POSIX || XPG3] (ILL_ILLADR): Likewise.
1582 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
1583 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
1584 [POSIX || XPG3] (ILL_PRVREG): Likewise.
1585 [POSIX || XPG3] (ILL_COPROC): Likewise.
1586 [POSIX || XPG3] (ILL_BADSTK): Likewise.
1587 [POSIX || XPG3] (FPE_INTDIV): Likewise.
1588 [POSIX || XPG3] (FPE_INTOVF): Likewise.
1589 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
1590 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
1591 [POSIX || XPG3] (FPE_FLTUND): Likewise.
1592 [POSIX || XPG3] (FPE_FLTRES): Likewise.
1593 [POSIX || XPG3] (FPE_FLTINV): Likewise.
1594 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
1595 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
1596 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
1597 [POSIX || XPG3] (BUS_ADRALN): Likewise.
1598 [POSIX || XPG3] (BUS_ADRERR): Likewise.
1599 [POSIX || XPG3] (BUS_OBJERR): Likewise.
1600 [POSIX || XPG3] (CLD_EXITED): Likewise.
1601 [POSIX || XPG3] (CLD_KILLED): Likewise.
1602 [POSIX || XPG3] (CLD_DUMPED): Likewise.
1603 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
1604 [POSIX || XPG3] (CLD_STOPPED): Likewise.
1605 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
1606 [POSIX || XPG3] (POLL_IN): Likewise.
1607 [POSIX || XPG3] (POLL_OUT): Likewise.
1608 [POSIX || XPG3] (POLL_MSG): Likewise.
1609 [POSIX || XPG3] (POLL_ERR): Likewise.
1610 [POSIX || XPG3] (POLL_PRI): Likewise.
1611 [POSIX || XPG3] (POLL_HUP): Likewise.
1612 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
1613 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
1614 (SIG*): Do not allow.
1615 [XPG3] (si_*): Likewise.
1616 [XPG3] (SI_*): Likewise.
1617 [XPG3 || XPG4] (sigev_*): Likewise.
1618 [XPG3 || XPG4] (SIGEV_*): Likewise.
1619 [XPG3 || XPG4] (sival_*): Likewise.
1620 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
1621 [POSIX || XPG3] (BUS_*): Likewise.
1622 [POSIX || XPG3] (CLD_*): Likewise.
1623 [POSIX || XPG3] (FPE_*): Likewise.
1624 [POSIX || XPG3] (ILL_*): Likewise.
1625 [POSIX || XPG3] (POLL_*): Likewise.
1626 [POSIX || XPG3] (SEGV_*): Likewise.
1627 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
1628 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
1629 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
1630 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
1631 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
1632 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
1633 Specify type and value.
1634 (TVERSLEN): Likewise.
1635 (REGTYPE): Likewise.
1636 (AREGTYPE): Likewise.
1637 (LNKTYPE): Likewise.
1638 (SYMTYPE): Likewise.
1639 (CHRTYPE): Likewise.
1640 (BLKTYPE): Likewise.
1641 (DIRTYPE): Likewise.
1642 (FIFOTYPE): Likewise.
1643 (CONTTYPE): Likewise.
1648 (TUWRITE): Likewise.
1651 (TGWRITE): Likewise.
1654 (TOWRITE): Likewise.
1656 [POSIX] (TSVTX): Expect constant.
1658 2014-03-06 Joseph Myers <joseph@codesourcery.com>
1660 * Makefile (tests): Change dependencies to ....
1661 (tests-special): ... additions to this variable.
1662 (tests): Depend on $(tests-special).
1663 * Makerules (check-abi-list): New variable.
1664 (check-abi): Depend on $(check-abi-list).
1665 [$(subdir) = elf] (tests-special): Add
1666 $(objpfx)check-abi-libc.out.
1667 [$(build-shared) = yes && subdir] (tests-special): Add
1669 [$(build-shared) = yes && subdir] (tests): Do not depend on
1671 * Rules (tests): Depend on $(tests-special).
1672 (xtests): Depend on $(xtests-special).
1673 * catgets/Makefile (tests): Change dependencies to ....
1674 (tests-special): ... additions to this variable.
1675 * conform/Makefile (tests): Change dependencies to ....
1676 (tests-special): ... additions to this variable.
1677 * elf/Makefile (tests): Change dependencies to ....
1678 (tests-special): ... additions to this variable.
1679 * grp/Makefile (tests): Change dependencies to ....
1680 (tests-special): ... additions to this variable.
1681 * iconv/Makefile (xtests): Change dependencies to ....
1682 (xtests-special): ... additions to this variable.
1683 * iconvdata/Makefile (tests): Change dependencies to ....
1684 (tests-special): ... additions to this variable.
1685 * intl/Makefile (tests): Change dependencies to ....
1686 (tests-special): ... additions to this variable. Also add
1687 $(objpfx)tst-gettext.out.
1688 * io/Makefile (tests): Change dependencies to ....
1689 (tests-special): ... additions to this variable.
1690 * libio/Makefile (tests): Change dependencies to ....
1691 (tests-special): ... additions to this variable.
1692 * malloc/Makefile (tests): Change dependencies to ....
1693 (tests-special): ... additions to this variable.
1694 * misc/Makefile (tests): Change dependencies to ....
1695 (tests-special): ... additions to this variable.
1696 * nptl/Makefile (tests): Change dependencies to ....
1697 (tests-special): ... additions to this variable.
1698 * nptl_db/Makefile (tests): Change dependencies to ....
1699 (tests-special): ... additions to this variable.
1700 * posix/Makefile (tests): Change dependencies to ....
1701 (tests-special): ... additions to this variable.
1702 (xtests): Change dependencies to ....
1703 (xtests-special): ... additions to this variable.
1704 * resolv/Makefile (tests): Change dependencies to ....
1705 (tests-special): ... additions to this variable.
1706 (xtests): Change dependencies to ....
1707 (xtests-special): ... additions to this variable.
1708 * stdio-common/Makefile (tests): Change dependencies to ....
1709 (tests-special): ... additions to this variable.
1710 (do-tst-unbputc): Remove target.
1711 (do-tst-printf): Likewise.
1712 * stdlib/Makefile (tests): Change dependencies to ....
1713 (tests-special): ... additions to this variable.
1714 * string/Makefile (tests): Change dependencies to ....
1715 (tests-special): ... additions to this variable.
1716 * sysdeps/x86/Makefile (tests): Change dependencies to ....
1717 (tests-special): ... additions to this variable.
1719 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
1721 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
1723 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
1724 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
1726 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
1727 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
1728 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
1729 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
1730 * conform/data/libgen.h-data [XPG3]: Likewise.
1731 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
1732 * conform/data/ndbm.h-data [XPG3]: Likewise.
1733 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
1734 * conform/data/netdb.h-data [XPG3]: Likewise.
1735 * conform/data/netinet/in.h-data [XPG3]: Likewise.
1736 * conform/data/poll.h-data [XPG3]: Likewise.
1737 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
1738 * conform/data/strings.h-data [XPG3]: Likewise.
1739 * conform/data/stropts.h-data [XPG3]: Likewise.
1740 * conform/data/sys/mman.h-data [XPG3]: Likewise.
1741 * conform/data/sys/resource.h-data [XPG3]: Likewise.
1742 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
1744 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
1745 * conform/data/sys/time.h-data [XPG3]: Likewise.
1746 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
1747 * conform/data/sys/uio.h-data [XPG3]: Likewise.
1748 * conform/data/sys/un.h-data [XPG3]: Likewise.
1749 * conform/data/syslog.h-data [XPG3]: Likewise.
1750 * conform/data/ucontext.h-data [XPG3]: Likewise.
1751 * conform/data/utmpx.h-data [XPG3]: Likewise.
1752 * conform/data/varargs.h-data [UNIX98]: Enable file.
1754 * manual/Makefile (INSTALL_INFO): Remove variable setting.
1756 * math/libm-test.inc (struct test_f_f_data): Move expected results
1757 into structure for each rounding mode.
1758 (struct test_ff_f_data): Likewise.
1759 (struct test_ff_f_data_nexttoward): Likewise.
1760 (struct test_fi_f_data): Likewise.
1761 (struct test_fl_f_data): Likewise.
1762 (struct test_if_f_data): Likewise.
1763 (struct test_fff_f_data): Likewise.
1764 (struct test_c_f_data): Likewise.
1765 (struct test_f_f1_data): Likewise.
1766 (struct test_fF_f1_data): Likewise.
1767 (struct test_ffI_f1_data): Likewise.
1768 (struct test_c_c_data): Likewise.
1769 (struct test_cc_c_data): Likewise.
1770 (struct test_f_i_data): Likewise.
1771 (struct test_ff_i_data): Likewise.
1772 (struct test_f_l_data): Likewise.
1773 (struct test_f_L_data): Likewise.
1774 (struct test_fFF_11_data): Likewise.
1776 (RM_FE_DOWNWARD): Likewise.
1777 (RM_FE_TONEAREST): Likewise.
1778 (RM_FE_TOWARDZERO): Likewise.
1779 (RM_FE_UPWARD): Likewise.
1780 (RUN_TEST_LOOP_f_f): Update references to expected results.
1781 (RUN_TEST_LOOP_2_f): Likewise.
1782 (RUN_TEST_LOOP_fff_f): Likewise.
1783 (RUN_TEST_LOOP_c_f): Likewise.
1784 (RUN_TEST_LOOP_f_f1): Likewise.
1785 (RUN_TEST_LOOP_fF_f1): Likewise.
1786 (RUN_TEST_LOOP_fI_f1): Likewise.
1787 (RUN_TEST_LOOP_ffI_f1): Likewise.
1788 (RUN_TEST_LOOP_c_c): Likewise.
1789 (RUN_TEST_LOOP_cc_c): Likewise.
1790 (RUN_TEST_LOOP_f_i): Likewise.
1791 (RUN_TEST_LOOP_f_i_tg): Likewise.
1792 (RUN_TEST_LOOP_ff_i_tg): Likewise.
1793 (RUN_TEST_LOOP_f_b): Likewise.
1794 (RUN_TEST_LOOP_f_b_tg): Likewise.
1795 (RUN_TEST_LOOP_f_l): Likewise.
1796 (RUN_TEST_LOOP_f_L): Likewise.
1797 (RUN_TEST_LOOP_fFF_11): Likewise.
1798 * math/gen-libm-test.pl (parse_args): Output four copies of
1799 expected results for each test.
1801 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1802 (__ASSUME_UTIMES): Remove.
1803 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1804 (__ASSUME_UTIMES): Likewise.
1806 * math/gen-auto-libm-tests.c: Update comment on output format.
1807 (output_for_one_input_case): Generate before-rounding and
1808 after-rounding information as conditions on output flags not
1809 floating-point format.
1810 * math/auto-libm-test-out: Regenerated.
1811 * math/gen-libm-test.pl (cond_value): New function.
1812 (or_cond_value): Use cond_value.
1813 (generate_testfile): Handle conditional exceptions.
1815 2014-03-05 Joseph Myers <joseph@codesourcery.com>
1817 * math/libm-test.inc (max_valid_error): New variable.
1818 (init_max_error): Take new argument specifying whether function
1819 results are exactly determined. Set max_valid_error and bound
1820 other variables for errors based on this argument.
1821 (set_max_error): Do not record results above max_valid_error.
1822 (check_float_internal): Only accept errors of up to 0.5ulps if
1823 also at most max_valid_error.
1824 (START): Take new argument EXACT and pass it to init_max_error.
1825 (acos_test): Update call to START.
1826 (acos_test_tonearest): Likewise.
1827 (acos_test_towardzero): Likewise.
1828 (acos_test_downward): Likewise.
1829 (acos_test_upward): Likewise.
1830 (acosh_test): Likewise.
1831 (asin_test): Likewise.
1832 (asin_test_tonearest): Likewise.
1833 (asin_test_towardzero): Likewise.
1834 (asin_test_downward): Likewise.
1835 (asin_test_upward): Likewise.
1836 (asinh_test): Likewise.
1837 (atan_test): Likewise.
1838 (atanh_test): Likewise.
1839 (atan2_test): Likewise.
1840 (cabs_test): Likewise.
1841 (cacos_test): Likewise.
1842 (cacosh_test): Likewise.
1843 (carg_test): Likewise.
1844 (casin_test): Likewise.
1845 (casinh_test): Likewise.
1846 (catan_test): Likewise.
1847 (catanh_test): Likewise.
1848 (cbrt_test): Likewise.
1849 (ccos_test): Likewise.
1850 (ccosh_test): Likewise.
1851 (ceil_test): Likewise.
1852 (cexp_test): Likewise.
1853 (cimag_test): Likewise.
1854 (clog_test): Likewise.
1855 (clog10_test): Likewise.
1856 (conj_test): Likewise.
1857 (copysign_test): Likewise.
1858 (cos_test): Likewise.
1859 (cos_test_tonearest): Likewise.
1860 (cos_test_towardzero): Likewise.
1861 (cos_test_downward): Likewise.
1862 (cos_test_upward): Likewise.
1863 (cosh_test): Likewise.
1864 (cosh_test_tonearest): Likewise.
1865 (cosh_test_towardzero): Likewise.
1866 (cosh_test_downward): Likewise.
1867 (cosh_test_upward): Likewise.
1868 (cpow_test): Likewise.
1869 (cproj_test): Likewise.
1870 (creal_test): Likewise.
1871 (csin_test): Likewise.
1872 (csinh_test): Likewise.
1873 (csqrt_test): Likewise.
1874 (ctan_test): Likewise.
1875 (ctan_test_tonearest): Likewise.
1876 (ctan_test_towardzero): Likewise.
1877 (ctan_test_downward): Likewise.
1878 (ctan_test_upward): Likewise.
1879 (ctanh_test): Likewise.
1880 (ctanh_test_tonearest): Likewise.
1881 (ctanh_test_towardzero): Likewise.
1882 (ctanh_test_downward): Likewise.
1883 (ctanh_test_upward): Likewise.
1884 (erf_test): Likewise.
1885 (erfc_test): Likewise.
1886 (exp_test): Likewise.
1887 (exp_test_tonearest): Likewise.
1888 (exp_test_towardzero): Likewise.
1889 (exp_test_downward): Likewise.
1890 (exp_test_upward): Likewise.
1891 (exp10_test): Likewise.
1892 (exp10_test_tonearest): Likewise.
1893 (exp10_test_towardzero): Likewise.
1894 (exp10_test_downward): Likewise.
1895 (exp10_test_upward): Likewise.
1896 (pow10_test): Likewise.
1897 (exp2_test): Likewise.
1898 (expm1_test): Likewise.
1899 (expm1_test_tonearest): Likewise.
1900 (expm1_test_towardzero): Likewise.
1901 (expm1_test_downward): Likewise.
1902 (expm1_test_upward): Likewise.
1903 (fabs_test): Likewise.
1904 (fdim_test): Likewise.
1905 (floor_test): Likewise.
1906 (fma_test): Likewise.
1907 (fma_test_towardzero): Likewise.
1908 (fma_test_downward): Likewise.
1909 (fma_test_upward): Likewise.
1910 (fmax_test): Likewise.
1911 (fmin_test): Likewise.
1912 (fmod_test): Likewise.
1913 (fpclassify_test): Likewise.
1914 (frexp_test): Likewise.
1915 (hypot_test): Likewise.
1916 (ilogb_test): Likewise.
1917 (isfinite_test): Likewise.
1918 (finite_test): Likewise.
1919 (isgreater_test): Likewise.
1920 (isgreaterequal_test): Likewise.
1921 (isinf_test): Likewise.
1922 (isless_test): Likewise.
1923 (islessequal_test): Likewise.
1924 (islessgreater_test): Likewise.
1925 (isnan_test): Likewise.
1926 (isnormal_test): Likewise.
1927 (issignaling_test): Likewise.
1928 (isunordered_test): Likewise.
1929 (j0_test): Likewise.
1930 (j1_test): Likewise.
1931 (jn_test): Likewise.
1932 (ldexp_test): Likewise.
1933 (lgamma_test): Likewise.
1934 (gamma_test): Likewise.
1935 (lrint_test): Likewise.
1936 (lrint_test_tonearest): Likewise.
1937 (lrint_test_towardzero): Likewise.
1938 (lrint_test_downward): Likewise.
1939 (lrint_test_upward): Likewise.
1940 (llrint_test): Likewise.
1941 (llrint_test_tonearest): Likewise.
1942 (llrint_test_towardzero): Likewise.
1943 (llrint_test_downward): Likewise.
1944 (llrint_test_upward): Likewise.
1945 (log_test): Likewise.
1946 (log10_test): Likewise.
1947 (log1p_test): Likewise.
1948 (log2_test): Likewise.
1949 (logb_test): Likewise.
1950 (logb_test_downward): Likewise.
1951 (lround_test): Likewise.
1952 (llround_test): Likewise.
1953 (modf_test): Likewise.
1954 (nearbyint_test): Likewise.
1955 (nextafter_test): Likewise.
1956 (nexttoward_test): Likewise.
1957 (pow_test): Likewise.
1958 (pow_test_tonearest): Likewise.
1959 (pow_test_towardzero): Likewise.
1960 (pow_test_downward): Likewise.
1961 (pow_test_upward): Likewise.
1962 (remainder_test): Likewise.
1963 (drem_test): Likewise.
1964 (remainder_test_tonearest): Likewise.
1965 (drem_test_tonearest): Likewise.
1966 (remainder_test_towardzero): Likewise.
1967 (drem_test_towardzero): Likewise.
1968 (remainder_test_downward): Likewise.
1969 (drem_test_downward): Likewise.
1970 (remainder_test_upward): Likewise.
1971 (drem_test_upward): Likewise.
1972 (remquo_test): Likewise.
1973 (rint_test): Likewise.
1974 (rint_test_tonearest): Likewise.
1975 (rint_test_towardzero): Likewise.
1976 (rint_test_downward): Likewise.
1977 (rint_test_upward): Likewise.
1978 (round_test): Likewise.
1979 (scalb_test): Likewise.
1980 (scalbn_test): Likewise.
1981 (scalbln_test): Likewise.
1982 (signbit_test): Likewise.
1983 (sin_test): Likewise.
1984 (sin_test_tonearest): Likewise.
1985 (sin_test_towardzero): Likewise.
1986 (sin_test_downward): Likewise.
1987 (sin_test_upward): Likewise.
1988 (sincos_test): Likewise.
1989 (sinh_test): Likewise.
1990 (sinh_test_tonearest): Likewise.
1991 (sinh_test_towardzero): Likewise.
1992 (sinh_test_downward): Likewise.
1993 (sinh_test_upward): Likewise.
1994 (sqrt_test): Likewise.
1995 (sqrt_test_tonearest): Likewise.
1996 (sqrt_test_towardzero): Likewise.
1997 (sqrt_test_downward): Likewise.
1998 (sqrt_test_upward): Likewise.
1999 (tan_test): Likewise.
2000 (tan_test_tonearest): Likewise.
2001 (tan_test_towardzero): Likewise.
2002 (tan_test_downward): Likewise.
2003 (tan_test_upward): Likewise.
2004 (tanh_test): Likewise.
2005 (tgamma_test): Likewise.
2006 (trunc_test): Likewise.
2007 (y0_test): Likewise.
2008 (y1_test): Likewise.
2009 (yn_test): Likewise.
2010 (significand_test): Likewise.
2012 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
2013 individual tests in comment.
2014 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
2015 (prev_max_error): New variable.
2016 (prev_real_max_error): Likewise.
2017 (prev_imag_max_error): Likewise.
2018 (compare_ulp_data): Don't refer to test names in comment.
2019 (find_test_ulps): Remove function.
2020 (find_function_ulps): Likewise.
2021 (find_complex_function_ulps): Likewise.
2022 (init_max_error): Take function name as argument. Look up ulps
2024 (print_ulps): Remove function.
2025 (print_max_error): Use prev_max_error instead of calling
2027 (print_complex_max_error): Use prev_real_max_error and
2028 prev_imag_max_error instead of calling find_complex_function_ulps.
2029 (check_float_internal): Take max_ulp parameter instead of calling
2030 find_test_ulps. Don't call print_ulps.
2031 (check_float): Update call to check_float_internal.
2032 (check_complex): Update calls to check_float_internal.
2033 (START): Pass argument to init_max_error.
2034 * math/gen-libm-test.pl (%results): Don't include "kind"
2036 (parse_ulps): Don't handle ulps of individual tests.
2037 (print_ulps_file): Likewise.
2038 (output_ulps): Likewise.
2039 * math/README.libm-test: Update.
2040 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
2042 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
2043 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
2044 * sysdeps/arm/libm-test-ulps: Likewise.
2045 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2046 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2047 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
2048 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
2049 * sysdeps/microblaze/libm-test-ulps: Likewise.
2050 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2051 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2052 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2053 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2054 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2055 * sysdeps/sh/libm-test-ulps: Likewise.
2056 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2057 * sysdeps/tile/libm-test-ulps: Likewise.
2058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2060 2014-03-04 Joseph Myers <joseph@codesourcery.com>
2062 * math/libm-test.inc (print_complex_max_error): Check separately
2063 whether real and imaginary errors are within allowed range and
2064 pass 0 to print_complex_function_ulps instead of value within
2067 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2069 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
2071 (get_handles_fopen): Likewise.
2072 (do_write_test): Likewise.
2074 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
2076 * libio/fileops.c (do_ftell): Use cached offset when
2078 * libio/iofwide.c (do_ftell_wide): Likewise.
2079 * libio/iofdopen.c (_IO_new_fdopen): Don't use
2081 * libio/wfileops.c (_IO_fwide): Don't cache offset.
2084 * libio/libioP.h (get_file_offset): New function.
2085 * libio/fileops.c (get_file_offset): Likewise.
2086 (do_ftell): Likewise.
2087 (_IO_new_file_seekoff): Split out ftell logic.
2088 * libio/wfileops.c (do_ftell_wide): Likewise.
2089 (_IO_wfile_seekoff): Split out ftell logic.
2090 * libio/tst-ftell-active-handler.c: New test case.
2091 * libio/Makefile (tests): Add it.
2093 2014-03-03 Roland McGrath <roland@hack.frob.com>
2095 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
2096 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
2098 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2101 * nscd/connections.c (nscd_init): Call do_exit.
2102 (start_threads): Call do_exit and notify_parent.
2103 (begin_drop_privileges): Call do_exit.
2104 (finish_drop_privileges): Likewise.
2105 * nscd/selinux.c (preserve_capabilities): Likewise.
2106 (install_real_capabilities): Likewise.
2107 (nscd_selinux_enabled): Likewise.
2108 (avc_create_thread): Likewise.
2109 (avc_alloc_lock): Likewise.
2110 (nscd_avc_init): Likewise.
2111 * nscd/nscd.c (parent_fd): New static variable.
2112 (main): Create a pipe between parent and child processes.
2113 Skip closing parent_fd.
2114 (monitor_child): New function.
2115 (do_exit): Likewise.
2116 (notify_parent): Likewise.
2117 * nscd/nscd.h (notify_parent): Likewise.
2118 (do_exit): Likewise.
2120 2014-03-03 Carlos O'Donell <carlos@redhat.com>
2122 * malloc/malloc.c (__libc_calloc): Revert last change.
2124 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2126 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2128 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2130 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
2131 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
2133 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2134 (__libc_ifunc_impl_list): Likewise.
2135 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
2136 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
2137 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
2138 * string/strrchr.c: Define STRRCHR.
2140 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
2142 * benchtest/bench-strtok.c (simple_strtok): Delete.
2143 (strtok_string): Use as benchmark.
2144 * string/strtok (STRTOK): New macro.
2146 2014-02-28 Carlos O'Donell <carlos@redhat.com>
2148 * manual/threads.texi: Add header and standard comments to all
2151 * elf/dl-lookup.c (check_match): New function.
2152 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
2153 (do_lookup_x): Remove nested function check_match. Use non-nested
2154 function check_match.
2156 2014-02-28 Roland McGrath <roland@hack.frob.com>
2158 * csu/Makefile (generated, before-compile): Use += rather than =.
2159 * catgets/Makefile (generated, generated-dirs): Likewise.
2160 * debug/Makefile (generated): Likewise.
2161 * dlfcn/Makefile (generated): Likewise.
2162 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
2163 * iconvdata/Makefile (before-compile, generated): Likewise.
2164 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
2165 * libio/Makefile (generated): Likewise.
2166 * malloc/Makefile (generated): Likewise.
2167 * manual/Makefile (generated, generated-dirs): Likewise.
2168 * misc/Makefile (generated): Likewise.
2169 * posix/Makefile (generated): Likewise.
2170 * resolv/Makefile (generated): Likewise.
2171 * sunrpc/Makefile (generated, generated-dirs): Likewise.
2172 * timezone/Makefile (generated, generated-dirs): Likewise.
2174 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
2176 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2178 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
2180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
2181 POWER8 llround ifunc implementation.
2182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
2183 POWER8 implementation.
2184 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
2185 POWER8 llround implementation.
2187 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2189 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
2191 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
2192 POWER8 llrint ifunc implementation.
2193 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
2194 POWER8 implementation.
2195 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
2196 POWER8 llrint implementation.
2198 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2200 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
2202 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
2203 POWER8 finite ifunc implementation.
2204 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
2205 POWER8 implementation.
2206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
2208 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
2209 POWER8 finite implementation.
2210 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
2212 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2214 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
2216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
2217 POWER8 isinf ifunc implementation.
2218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
2219 POWER8 implementation.
2220 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
2222 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
2223 POWER8 isinf implementation.
2224 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
2226 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2228 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
2229 Add hwcap2 initialization.
2230 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
2232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
2233 POWER8 isnan ifunc implementation.
2234 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
2235 POWER8 implementation.
2236 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
2238 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
2239 POWER8 isnan implementation.
2240 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
2242 2014-02-27 Joey Ye <joey.ye@arm.com>
2244 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2245 (_FP_NANFRAC_Q): Set to zero.
2247 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2250 * math/auto-libm-test-in: New test inputs.
2251 * math/auto-libm-test-out: Regenerate.
2252 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
2255 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
2257 2014-02-27 Joseph Myers <joseph@codesourcery.com>
2259 * scripts/evaluate-test.sh: Take new argument indicating whether
2260 failure is expected.
2261 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
2262 indicating whether failure is expected.
2263 * conform/Makefile (test-xfail-run-conformtest): New variable.
2264 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
2266 * posix/Makefile (test-xfail-annexc): New variable.
2267 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
2269 2014-02-26 Joseph Myers <joseph@codesourcery.com>
2271 * argp/Makefile: Include Makeconfig immediately after defining
2273 * assert/Makefile: Likewise.
2274 * benchtests/Makefile: Likewise.
2275 * catgets/Makefile: Likewise.
2276 * conform/Makefile: Likewise.
2277 * crypt/Makefile: Likewise.
2278 * csu/Makefile: Likewise.
2279 (all): Remove target.
2280 * ctype/Makefile: Include Makeconfig immediately after defining
2282 * debug/Makefile: Likewise.
2283 * dirent/Makefile: Likewise.
2284 * dlfcn/Makefile: Likewise.
2285 * gmon/Makefile: Likewise.
2286 * gnulib/Makefile: Likewise.
2287 * grp/Makefile: Likewise.
2288 * gshadow/Makefile: Likewise.
2289 * hesiod/Makefile: Likewise.
2290 * hurd/Makefile: Likewise.
2291 (all): Remove target.
2292 * iconvdata/Makefile: Include Makeconfig immediately after
2294 * inet/Makefile: Likewise.
2295 * intl/Makefile: Likewise.
2296 * io/Makefile: Likewise.
2297 * libio/Makefile: Likewise.
2298 (all): Remove target.
2299 * locale/Makefile: Include Makeconfig immediately after defining
2301 * login/Makefile: Likewise.
2302 * mach/Makefile: Likewise.
2303 (all): Remove target.
2304 * malloc/Makefile: Include Makeconfig immediately after defining
2306 (all): Remove target.
2307 * manual/Makefile: Include Makeconfig immediately after defining
2309 * math/Makefile: Likewise.
2310 * misc/Makefile: Likewise.
2311 * nis/Makefile: Likewise.
2312 * nss/Makefile: Likewise.
2313 * po/Makefile: Likewise.
2314 (all): Remove target.
2315 * posix/Makefile: Include Makeconfig immediately after defining
2317 * pwd/Makefile: Likewise.
2318 * resolv/Makefile: Likewise.
2319 * resource/Makefile: Likewise.
2320 * rt/Makefile: Likewise.
2321 * setjmp/Makefile: Likewise.
2322 * shadow/Makefile: Likewise.
2323 * signal/Makefile: Likewise.
2324 * socket/Makefile: Likewise.
2325 * soft-fp/Makefile: Likewise.
2326 * stdio-common/Makefile: Likewise.
2327 * stdlib/Makefile: Likewise.
2328 * streams/Makefile: Likewise.
2329 * string/Makefile: Likewise.
2330 * sunrpc/Makefile: Likewise.
2331 (all): Remove target.
2332 * sysvipc/Makefile: Include Makeconfig immediately after defining
2334 * termios/Makefile: Likewise.
2335 * time/Makefile: Likewise.
2336 * timezone/Makefile: Likewise.
2337 (all): Remove target.
2338 * wcsmbs/Makefile: Include Makeconfig immediately after defining
2340 * wctype/Makefile: Likewise.
2342 2014-02-26 Steve Ellcey <sellcey@mips.com>
2344 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
2345 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
2346 (libc_feholdexcept_setround_mips): Ditto.
2347 (libc_feholdsetround): New.
2348 (libc_feholdsetroundf): New.
2349 (libc_feholdsetroundl): New.
2350 (libc_feupdateenv_test_mips): New.
2351 (libc_feupdateenv_test): New.
2352 (libc_feupdateenv_testf): New.
2353 (libc_feupdateenv_testl): New.
2354 (libc_feresetround): New.
2355 (libc_feresetroundf): New.
2356 (libc_feresetroundl): New.
2357 (libc_fetestexcept_mips): New.
2358 (libc_fetestexcept): New.
2359 (libc_fetestexceptf): New.
2360 (libc_fetestexceptl): New.
2362 (libc_feholdexcept_setround_mips_ctx): New.
2363 (libc_feholdexcept_setround_ctx): New.
2364 (libc_feholdexcept_setroundf_ctx): New.
2365 (libc_feholdexcept_setroundl_ctx): New.
2366 (libc_fesetenv_mips_ctx): New.
2367 (libc_fesetenv_ctx): New.
2368 (libc_fesetenv_ctxf): New.
2369 (libc_fesetenv_ctxl): New.
2370 (libc_feupdateenv_mips_ctx): New.
2371 (libc_feupdateenv_ctx): New.
2372 (libc_feupdateenvf_ctx): New.
2373 (libc_feupdateenvl_ctx): New.
2374 (libc_feholdsetround_mips_ctx): New.
2375 (libc_feholdsetround_ctx): New.
2376 (libc_feholdsetroundf_ctx): New.
2377 (libc_feholdsetroundl_ctx): New.
2378 (libc_feresetround_mips_ctx): New.
2379 (libc_feresetround_ctx): New.
2380 (libc_feresetroundf_ctx): New.
2381 (libc_feresetroundl_ctx): New.
2383 2014-02-26 Carlos O'Donell <carlos@redhat.com>
2385 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
2387 * manual/ipc.texi: New file.
2388 * manual/Makefile (chapters): Add ipc.
2389 * manual/job.texi: Add "Inter-Process Communication" to next.
2390 * manual/process.texi: Add "Inter-Process Communication" to prev.
2392 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2394 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2396 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
2398 * malloc/malloc.c (__libc_calloc): Simplify implementation.
2400 * manual/arith.texi: Fix spaces after sentences.
2401 * manual/charset.texi: Likewise.
2402 * manual/errno.texi: Likewise.
2403 * manual/install.texi: Likewise.
2404 * manual/llio.texi: Likewise.
2405 * manual/locale.texi: Likewise.
2406 * manual/maint.texi: Likewise.
2407 * manual/math.texi: Likewise.
2408 * manual/memory.texi: Likewise.
2409 * manual/message.texi: Likewise.
2410 * manual/probes.texi: Likewise.
2411 * manual/resource.texi: Likewise.
2412 * manual/signal.texi: Likewise.
2413 * manual/socket.texi: Likewise.
2414 * manual/stdio.texi: Likewise.
2415 * manual/string.texi: Likewise.
2416 * manual/time.texi: Likewise.
2417 * manual/users.texi: Likewise.
2419 2014-02-25 Carlos O'Donell <carlos@redhat.com>
2422 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
2423 _DEFAULT_SOURCE is defined.
2425 2014-02-25 Ulrich Drepper <drepper@gmail.com>
2426 Carlos O'Donell <carlos@redhat.com>
2429 * elf/dl-tls.c (_dl_count_modids): New function.
2430 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
2431 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
2432 audit library and increment generation counter.
2433 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
2434 * elf/tst-audit9.c: New file.
2435 * elf/tst-auditmod9a.c: New file.
2436 * elf/tst-auditmod9b.c: New file.
2437 * elf/Makefile: Add rules to build and run tst-audit9.
2439 2014-02-25 Florian Weimer <fweimer@redhat.com>
2442 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
2444 2014-02-25 Will Newton <will.newton@linaro.org>
2446 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
2447 (__longjmp): Restore sp and lr before restoring callee
2448 saved registers. Add longjmp and longjmp_target
2449 SystemTap probe point.
2450 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
2451 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
2452 Define to zero to match jmpbuf layout.
2453 * sysdeps/arm/setjmp.S: Include stap-probe.h.
2454 (__sigsetjmp): Save sp and lr before saving callee
2455 saved registers. Add setjmp SystemTap probe point.
2457 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2459 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2461 2014-02-24 Andreas Schwab <schwab@suse.de>
2464 * elf/pldd.c (wait_for_ptrace_stop): New function.
2465 (main): Call it after attaching.
2467 2014-02-22 Roland McGrath <roland@hack.frob.com>
2469 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
2470 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
2471 Versions files is now verboten.
2472 * hurd/Versions (libc: GLIBC_2.0):
2473 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
2474 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
2475 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
2476 * mach/Versions: Likewise.
2478 * csu/Versions: Remove unused %include.
2479 * resolv/Versions: Likewise.
2481 2014-02-21 Joseph Myers <joseph@codesourcery.com>
2483 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
2484 ($(objpfx)check-local-headers.out): Likewise.
2485 ($(objpfx)begin-end-check.out): Likewise.
2486 * Makerules (check-abi-%.out): Likewise.
2487 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
2488 ($(objpfx)test2.cat): Likewise.
2489 ($(objpfx)de/libc.cat): Likewise.
2490 ($(objpfx)test-gencat.out): Likewise.
2491 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
2492 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
2493 ($(objpfx)noload-mem): Likewise.
2494 ($(objpfx)tst-pathopt.out): Likewise.
2495 ($(objpfx)tst-rtld-load-self.out): Likewise.
2496 ($(objpfx)tst-array1-cmp.out): Likewise.
2497 ($(objpfx)tst-array1-static-cmp.out): Likewise.
2498 ($(objpfx)tst-array2-cmp.out): Likewise.
2499 ($(objpfx)tst-array3-cmp.out): Likewise.
2500 ($(objpfx)tst-array4-cmp.out): Likewise.
2501 ($(objpfx)tst-array5-cmp.out): Likewise.
2502 ($(objpfx)tst-array5-static-cmp.out): Likewise.
2503 ($(objpfx)check-textrel.out): Likewise.
2504 ($(objpfx)check-execstack.out): Likewise.
2505 ($(objpfx)check-localplt.out): Likewise.
2506 ($(objpfx)order2-cmp.out): Likewise.
2507 ($(objpfx)tst-leaks1-mem): Likewise.
2508 ($(objpfx)tst-leaks1-static-mem): Likewise.
2509 ($(objpfx)tst-initorder-cmp.out): Likewise.
2510 ($(objpfx)tst-initorder2-cmp.out): Likewise.
2511 ($(objpfx)tst-unused-dep.out): Likewise.
2512 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
2513 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
2514 * iconv/Makefile (test-iconvconfig): Likewise.
2515 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
2516 ($(objpfx)iconv-test.out): Likewise.
2517 ($(objpfx)tst-tables.out): Likewise.
2518 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
2519 ($(objpfx)tst-gettext.out): Likewise.
2520 ($(objpfx)tst-translit.out): Likewise.
2521 ($(objpfx)tst-gettext2.out): Likewise.
2522 ($(objpfx)tst-gettext4.out): Likewise.
2523 ($(objpfx)tst-gettext6.out): Likewise.
2524 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
2525 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
2526 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
2527 ($(objpfx)tst-fopenloc-mem.out): Likewise.
2528 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
2529 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
2530 * posix/Makefile ($(objpfx)globtest.out): Likewise.
2531 ($(objpfx)wordexp-tst.out): Likewise.
2532 ($(objpfx)annexc.out): Likewise.
2533 ($(objpfx)tst-fnmatch-mem): Likewise.
2534 ($(objpfx)bug-regex2-mem): Likewise.
2535 ($(objpfx)bug-regex14-mem): Likewise.
2536 ($(objpfx)bug-regex21-mem): Likewise.
2537 ($(objpfx)bug-regex31-mem): Likewise.
2538 ($(objpfx)tst-vfork3-mem): Likewise.
2539 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2540 ($(objpfx)tst-pcre-mem): Likewise.
2541 ($(objpfx)tst-boost-mem): Likewise.
2542 ($(objpfx)tst-getconf.out): Likewise.
2543 ($(objpfx)bug-ga2-mem): Likewise.
2544 ($(objpfx)bug-glob2-mem): Likewise.
2545 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
2546 ($(objpfx)mtrace-tst-leaks2): Likewise.
2547 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
2548 ($(objpfx)tst-printf.out): Likewise.
2549 ($(objpfx)tst-setvbuf1.out): Likewise.
2550 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
2551 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
2552 ($(objpfx)tst-fmtmsg.out): Likewise.
2553 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
2554 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
2556 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
2557 * bits/sigaction.h [__USE_MISC]: Likewise.
2558 * bits/waitstatus.h: Update #endif comments.
2559 * ctype/ctype.h: Likewise.
2560 * dirent/dirent.h: Likewise.
2561 [__USE_MISC]: Remove redundant conditionals.
2562 * grp/grp.h: Update #endif comments.
2563 [__USE_GNU]: Remove redundant conditionals.
2564 [__USE_MISC]: Likewise.
2565 * inet/netinet/in.h [__USE_GNU]: Likewise.
2566 * io/sys/stat.h [__USE_MISC]: Likewise.
2567 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
2568 * libio/bits/stdio.h: Update #endif comments.
2569 [__USE_MISC]: Remove redundant conditionals.
2570 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
2571 * libio/stdio.h: Update #endif comments.
2572 [__USE_MISC]: Remove redundant conditionals.
2573 * math/bits/math-finite.h [__USE_MISC]: Likewise.
2574 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
2575 * math/math.h: Update #else and #endif comments.
2576 [__USE_MISC]: Remove redundant conditionals.
2577 * misc/sys/uio.h: Update #endif comments.
2578 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
2579 * posix/glob.h [__USE_MISC]: Likewise.
2580 * posix/sys/types.h: Update #endif comments.
2581 [__USE_MISC]: Remove redundant conditionals.
2582 * posix/sys/wait.h: Update #endif comments.
2583 [__USE_MISC]: Remove redundant conditionals.
2584 * posix/unistd.h: Update #endif comments.
2585 [__USE_MISC]: Remove redundant conditionals.
2586 * pwd/pwd.h [__USE_GNU]: Likewise.
2587 [__USE_MISC]: Likewise.
2588 * resolv/netdb.h [__USE_GNU]: Likewise.
2589 * signal/signal.h: Update #endif comments.
2590 [__USE_MISC]: Remove redundant conditionals.
2591 * stdlib/stdlib.h: Update #else and #endif comments.
2592 [__USE_MISC]: Remove redundant conditionals.
2593 [__USE_GNU]: Likewise.
2594 * string/bits/string2.h [__USE_MISC]: Likewise.
2595 * string/string.h: Update #endif comments.
2596 [__USE_MISC]: Remove redundant conditionals.
2597 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
2599 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
2600 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
2601 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
2603 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
2605 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
2607 [__USE_MISC]: Remove redundant conditionals.
2608 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
2609 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
2610 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
2611 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
2612 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
2614 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
2615 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
2617 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
2618 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
2620 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
2622 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
2623 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
2625 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
2627 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
2628 * sysdeps/x86/bits/string.h: Update #endif comments.
2629 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
2631 * time/sys/time.h: Update #endif comments.
2632 * time/time.h: Likewise.
2633 [__USE_MISC]: Remove redundant conditionals.
2635 2014-02-21 Yury Gribov <y.gribov@samsung.com>
2638 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
2640 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
2642 * Versions.def (librt): Add GLIBC_2.17.
2644 2014-02-21 Adam Conrad <adconrad@0c3.net>
2646 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
2647 synonym for _SYS_AUXV_H to allow direct inclusion.
2648 * sysdeps/sparc/bits/hwcap.h: Likewise.
2649 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
2650 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
2651 * sysdeps/sparc/sysdep.h: Likewise.
2653 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2655 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
2657 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2659 * benchtests/bench-strrchr.c: Print length instead of position.
2661 2014-02-20 Joseph Myers <joseph@codesourcery.com>
2664 * sysdeps/unix/sysv/linux/kernel-features.h
2665 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
2666 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
2667 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
2668 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
2670 [__i386__ || __powerpc__ || __sh__ || __sparc__]
2671 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2672 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
2673 (__ASSUME_SENDMMSG): Define instead of using previous
2674 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
2675 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2676 (__ASSUME_SENDMMSG_SYSCALL): Define.
2677 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2678 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
2680 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2681 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2683 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2684 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2686 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
2687 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
2688 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
2689 [__ASSUME_SENDMMSG]: Change conditionals to
2690 [__ASSUME_SENDMMSG_SOCKETCALL].
2691 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2692 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
2694 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2695 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
2697 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
2698 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
2699 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
2700 [!__ASSUME_SENDMMSG]: Change conditional to
2701 [!__ASSUME_SENDMMSG_SOCKETCALL].
2702 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2703 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2707 * sysdeps/unix/sysv/linux/kernel-features.h
2708 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
2709 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
2710 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
2711 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
2712 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2713 [__i386__ || __sparc__]
2714 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2715 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
2716 (__ASSUME_RECVMMSG): Define instead of using previous
2717 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
2718 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2719 (__ASSUME_RECVMMSG_SYSCALL): Define.
2720 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2721 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2723 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2724 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2726 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2727 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2729 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
2730 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
2731 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
2732 [__ASSUME_RECVMMSG]: Change condition to
2733 [__ASSUME_RECVMMSG_SOCKETCALL].
2734 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2735 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2737 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2738 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2739 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2741 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
2742 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
2743 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
2744 [!__ASSUME_RECVMMSG]: Change condition to
2745 [!__ASSUME_RECVMMSG_SOCKETCALL].
2746 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2747 (__ASSUME_RECVMMSG_SYSCALL): Define.
2750 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
2751 __powerpc__ || __s390__ || __sh__ || __sparc__]
2752 (__ASSUME_SOCKETCALL): Define.
2753 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
2754 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
2755 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
2756 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
2757 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2758 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2759 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
2760 (__ASSUME_ACCEPT4): Define instead of using previous
2761 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
2762 __powerpc__ || __sparc__ || __s390__)] condition.
2763 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2764 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
2765 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
2766 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
2767 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
2768 [!__ASSUME_ACCEPT4]: Change condition to
2769 [!__ASSUME_ACCEPT4_SOCKETCALL].
2770 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2771 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
2772 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
2773 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2774 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
2775 __ASSUME_ACCEPT4_SYSCALL.
2776 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
2777 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
2778 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2779 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
2780 __ASSUME_ACCEPT4_SYSCALL.
2781 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
2782 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
2783 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
2784 [__ASSUME_ACCEPT4]: Change condition to
2785 [__ASSUME_ACCEPT4_SOCKETCALL].
2786 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2787 (__ASSUME_SOCKETCALL): Define.
2788 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
2789 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2790 (__ASSUME_SOCKETCALL): Define.
2791 (__ASSUME_ACCEPT4): Remove.
2792 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
2794 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2795 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
2797 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2798 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
2800 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
2802 (HWCAP_ARM_LPAE): Likewise.
2803 (HWCAP_ARM_EVTSTRM): Likewise.
2804 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
2805 Add vpfd32, lpae and evtstrm.
2806 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
2809 2014-02-19 Joseph Myers <joseph@codesourcery.com>
2811 * math/auto-libm-test-in: Add tests of clog10.
2812 * math/auto-libm-test-out: Regenerated.
2813 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
2814 * sysdeps/i386/fpu/libm-test-ulps: Update.
2815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2817 2014-02-18 Andreas Schwab <schwab@suse.de>
2820 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
2821 Store non-zero if the second buffer was newly allocated.
2822 (send_dg): Likewise.
2823 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
2824 to send_vc and send_dg.
2825 (res_nsend): Pass NULL for ansp2_malloced.
2826 * resolv/res_query.c (__libc_res_nquery): Add parameter
2827 answerp2_malloced and pass it down to __libc_res_nsend.
2828 (res_nquery): Pass additional NULL to __libc_res_nquery.
2829 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
2830 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
2831 second answer buffer if answerp2_malloced was set.
2832 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
2833 (__libc_res_nquerydomain): Add parameter
2834 answerp2_malloced and pass it down to __libc_res_nquery.
2835 (res_nquerydomain): Pass additional NULL to
2836 __libc_res_nquerydomain.
2837 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
2838 additional NULL to __libc_res_nsend and __libc_res_nquery.
2839 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
2840 additional NULL to __libc_res_nsearch.
2841 (_nss_dns_gethostbyname4_r): Revert last change. Use new
2842 parameter of __libc_res_nsearch to check for separately allocated
2844 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
2846 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
2847 additional NULL to __libc_res_nquery.
2848 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
2850 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
2851 * include/resolv.h: Update prototypes of __libc_res_nquery,
2852 __libc_res_nsearch, __libc_res_nsend.
2854 2014-02-18 Joseph Myers <joseph@codesourcery.com>
2856 * math/auto-libm-test-in: Add tests of fma.
2857 * math/auto-libm-test-out: Regenerated.
2858 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
2859 (fma_towardzero_test_data): Likewise.
2860 (fma_downward_test_data): Likewise.
2861 (fma_upward_test_data): Likewise.
2862 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
2864 (rounding_modes): Add values for new field.
2865 (func_calc_method): Add value mpfr_fff_f.
2866 (func_calc_desc): Add mpfr_fff_f union field.
2867 (test_function): Add field exact_args.
2868 (FUNC): Add macro argument EXACT_ARGS.
2869 (FUNC_mpfr_f_f): Update call to FUNC.
2870 (FUNC_mpfr_f_f): Likewise.
2871 (FUNC_mpfr_ff_f): Likewise.
2872 (FUNC_mpfr_if_f): Likewise.
2873 (FUNC_mpc_c_f): Likewise.
2874 (FUNC_mpc_c_c): Likewise.
2875 (test_functions): Add fma. Update calls to FUNC.
2876 (handle_input_arg): Add argument exact_args.
2877 (add_test): Update call to handle_input_arg.
2878 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
2879 (output_for_one_input_case): Update call to calc_generic_results.
2880 Recalculate exact zero results in each rounding mode.
2882 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
2883 non-negative before setting low bit.
2884 * math/auto-libm-test-in: Mark one asin test possibly having
2886 * math/auto-libm-test-out: Regenerated.
2887 * sysdeps/i386/fpu/libm-test-ulps: Update.
2888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2890 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
2892 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
2893 * sysdeps/unix/sysv/linux/microblaze: Move directory from
2894 ports/sysdeps/unix/sysv/linux/microblaze.
2895 * README: Add missing listing for microblaze*-*-linux-gnu.
2897 2014-02-16 Mike Frysinger <vapier@gentoo.org>
2899 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
2900 * sysdeps/unix/sysv/linux/ia64: Move directory from
2901 ports/sysdeps/unix/sysv/linux/ia64.
2902 * README: Update listing for ia64-*-linux-gnu.
2904 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
2905 Joseph Myers <joseph@codesourcery.com>
2907 * Makeconfig (test-name): New variable.
2908 (evaluate-test): Likewise.
2909 * Makerules (do-test-clean): Remove .test-result files.
2910 (common-mostlyclean): Likewise.
2911 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
2912 * scripts/evaluate-test.sh: New file.
2914 2014-02-14 Joseph Myers <joseph@codesourcery.com>
2916 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
2917 separate $(objpfx)tst-fopenloc-cmp.out and
2918 $(objpfx)tst-fopenloc-mem.out targets.
2919 (tests): Update dependencies.
2920 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
2921 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
2922 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
2923 (tst-rxspencer-no-utf8-ARGS): New variable.
2924 (tst-rxspencer-no-utf8-ENV): Likewise.
2925 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
2926 instead of $(objpfx)tst-rxspencer-mem.
2927 ($(objpfx)tst-rxspencer-mem): Change target to
2928 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
2929 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
2930 * posix/tst-rxspencer-no-utf8.c: New file.
2932 * elf/Makefile ($(objpfx)order.out): Remove rule.
2933 [$(run-built-tests) = yes] (tests): Depend on
2934 $(objpfx)order-cmp.out.
2935 ($(objpfx)order-cmp.out): New rule.
2936 [$(run-built-tests) = yes] (tests): Depend on
2937 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
2938 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
2939 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
2940 $(objpfx)tst-array5-static-cmp.out.
2941 ($(objpfx)tst-array1.out): Remove rule.
2942 ($(objpfx)tst-array1-cmp.out): New rule.
2943 ($(objpfx)tst-array1-static.out): Remove rule.
2944 ($(objpfx)tst-array1-static-cmp.out): New rule.
2945 ($(objpfx)tst-array2.out): Remove rule.
2946 ($(objpfx)tst-array2-cmp.out): New rule.
2947 ($(objpfx)tst-array3.out): Remove rule.
2948 ($(objpfx)tst-array3-cmp.out): New rule.
2949 ($(objpfx)tst-array4.out): Remove rule.
2950 ($(objpfx)tst-array4-cmp.out): New rule.
2951 ($(objpfx)tst-array5.out): Remove rule.
2952 ($(objpfx)tst-array5-cmp.out): New rule.
2953 ($(objpfx)tst-array5-static.out): Remove rule.
2954 ($(objpfx)tst-array5-static-cmp.out): New rule.
2955 [$(run-built-tests) = yes] (tests): Depend on
2956 $(objpfx)order2-cmp.out.
2957 ($(objpfx)order2.out): Remove rule.
2958 ($(objpfx)order2-cmp.out): New rule.
2959 ($(objpfx)tst-initorder.out): Remove rule.
2960 [$(run-built-tests) = yes] (tests): Depend on
2961 $(objpfx)tst-initorder-cmp.out.
2962 ($(objpfx)tst-initorder-cmp.out): New rule.
2963 ($(objpfx)tst-initorder2.out): Remove rule.
2964 [$(run-built-tests) = yes] (tests): Depend on
2965 $(objpfx)tst-initorder2-cmp.out.
2966 ($(objpfx)tst-initorder2-cmp.out): New rule.
2967 [$(run-built-tests) = yes] (tests): Depend on
2968 $(objpfx)tst-unused-dep-cmp.out.
2969 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
2970 ($(objpfx)tst-unused-dep-cmp.out): New rule.
2971 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
2972 on $(objpfx)tst-setvbuf1-cmp.out.
2973 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
2974 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
2975 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
2976 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
2977 ($(objpfx)tst-svc.out): Remove rule.
2978 ($(objpfx)tst-svc-cmp.out): New rule.
2980 2014-02-13 Joseph Myers <joseph@codesourcery.com>
2982 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
2983 * ctype/ctype.h [__USE_MISC]: Likewise.
2984 * dirent/dirent.h [__USE_MISC]: Likewise.
2985 * grp/grp.h [__USE_MISC]: Likewise.
2986 * io/fcntl.h [__USE_MISC]: Likewise.
2987 * io/sys/stat.h [__USE_MISC]: Likewise.
2988 * libio/stdio.h [__USE_MISC]: Likewise.
2989 * posix/unistd.h [__USE_MISC]: Likewise.
2990 * pwd/pwd.h [__USE_MISC]: Likewise.
2991 * stdlib.h [__USE_MISC]: Likewise.
2992 * string/bits/string2.h [__USE_MISC]: Likewise.
2993 * string/string.h [__USE_MISC]: Likewise.
2994 * time/time.h [__USE_MISC]: Likewise.
2996 2014-02-13 Andreas Schwab <schwab@suse.de>
2999 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
3000 second answer buffer if it was separately allocated.
3002 2014-02-12 Joseph Myers <joseph@codesourcery.com>
3004 * sysdeps/mips/math-tests.h: Include <features.h>.
3005 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3006 (ROUNDING_TESTS_long_double): Do not define.
3007 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3008 (EXCEPTION_TESTS_long_double): Likewise.
3009 * sysdeps/mips/mips64/libm-test-ulps: Update.
3011 * include/features.h (__USE_BSD): Remove macro definitions.
3012 (__USE_SVID): Likewise.
3013 (_BSD_SOURCE): Likewise.
3014 (_SVID_SOURCE): Likewise.
3015 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
3016 from definition of _DEFAULT_SOURCE.
3017 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
3019 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
3020 * bits/mman.h [__USE_BSD]: Likewise.
3021 * bits/termios.h [__USE_BSD]: Likewise.
3022 * bits/waitstatus.h [__USE_BSD]: Likewise.
3023 * ctype/ctype.h [__USE_SVID]: Likewise.
3024 * dirent/dirent.h [__USE_BSD]: Likewise.
3025 * grp/grp.h [__USE_SVID]: Likewise.
3026 [__USE_BSD]: Likewise.
3027 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
3028 * io/fcntl.h [__USE_BSD]: Likewise.
3029 * io/ftw.h [__USE_BSD]: Likewise.
3030 * io/sys/stat.h [__USE_BSD]: Likewise.
3031 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
3032 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
3033 * libio/stdio.h [__USE_SVID]: Likewise.
3034 [__USE_BSD]: Likewise.
3035 * math/math.h [__USE_SVID]: Likewise.
3036 [__USE_BSD]: Likewise.
3037 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
3038 * misc/bits/syslog.h [__USE_BSD]: Likewise.
3039 * misc/search.h [__USE_SVID]: Likewise.
3040 * misc/sys/mman.h [__USE_BSD]: Likewise.
3041 * misc/sys/syslog.h [__USE_BSD]: Likewise.
3042 * misc/sys/uio.h [__USE_BSD]: Likewise.
3043 * posix/bits/unistd.h [__USE_BSD]: Likewise.
3044 * posix/glob.h [__USE_BSD]: Likewise.
3045 * posix/regex.h [__USE_BSD]: Likewise.
3046 * posix/sys/types.h [__USE_BSD]: Likewise.
3047 [__USE_SVID]: Likewise.
3048 * posix/sys/utsname.h [__USE_SVID]: Likewise.
3049 * posix/sys/wait.h [__USE_BSD]: Likewise.
3050 [__USE_SVID]: Likewise.
3051 * posix/unistd.h [__USE_BSD]: Likewise.
3052 [__USE_SVID]: Likewise.
3053 * pwd/pwd.h [__USE_SVID]: Likewise.
3054 * resolv/netdb.h [__USE_BSD]: Likewise.
3055 * setjmp/setjmp.h [__USE_BSD]: Likewise.
3056 * signal/signal.h [__USE_BSD]: Likewise.
3057 [__USE_SVID]: Likewise.
3058 * socket/sys/socket.h [__USE_BSD]: Likewise.
3059 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
3060 * stdlib/stdlib.h [__USE_BSD]: Likewise.
3061 [__USE_SVID]: Likewise.
3062 * string/bits/string2.h [__USE_BSD]: Likewise.
3063 [__USE_SVID]: Likewise.
3064 * string/bits/string3.h [__USE_BSD]: Likewise.
3065 * string/endian.h [__USE_BSD]: Likewise.
3066 * string/string.h [__USE_SVID]: Likewise.
3067 [__USE_BSD]: Likewise.
3068 * string/strings.h [__USE_BSD]: Likewise.
3069 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
3070 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
3071 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
3072 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
3073 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
3074 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
3076 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
3078 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
3079 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
3081 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
3082 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
3084 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
3086 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
3087 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
3088 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
3090 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
3092 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
3093 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
3094 * termios/termios.h [__USE_BSD]: Likewise.
3095 * time/sys/time.h [__USE_BSD]: Likewise.
3096 * time/time.h [__USE_BSD]: Likewise.
3097 [__USE_SVID]: Likewise.
3099 * Makefile (subdir_targets): Remove subdir_lint.out.
3101 * stdio-common/Makefile (do-tst-unbputc): Remove target.
3102 (do-tst-printf): Likewise.
3103 (tests): Depend directly on $(objpfx)tst-unbputc.out and
3104 $(objpfx)tst-printf.out.
3106 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
3108 * Makerules (check-abi-%): Change target to
3109 $(objpfx)check-abi-%.out.
3110 (check-abi target): Update dependencies.
3111 (check-abi-pattern variable): Redirect output of diff to $@.
3112 (check-abi variable): Likewise.
3113 * elf/Makefile (check-abi): Update dependencies.
3115 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
3117 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
3118 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
3120 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
3121 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
3122 value has largest subnormal exponent.
3123 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
3124 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
3125 * sysdeps/aarch64/soft-fp/sfp-machine.h
3126 (_FP_TININESS_AFTER_ROUNDING): New macro.
3127 * sysdeps/alpha/soft-fp/sfp-machine.h
3128 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3129 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3131 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
3132 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3133 * sysdeps/mips/soft-fp/sfp-machine.h
3134 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3135 * sysdeps/powerpc/soft-fp/sfp-machine.h
3136 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3137 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3139 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3140 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3141 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3142 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3143 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3146 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
3149 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
3152 2014-02-12 Richard Henderson <rth@redhat.com>
3154 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
3155 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
3156 * sysdeps/unix/sysv/linux/alpha: Move directory from
3157 ports/sysdeps/unix/sysv/linux/alpha.
3158 * README: Update listing for alpha-*-linux-gnu.
3160 2014-02-11 Joseph Myers <joseph@codesourcery.com>
3162 * include/features.h: Update comment documenting feature test
3164 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
3166 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
3167 (_SVID_SOURCE): Likewise.
3168 (_DEFAULT_SOURCE): Update description of default features.
3169 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
3171 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
3172 (S_ISVTX): Likewise.
3173 * manual/math.texi (Mathematical Constants): Likewise.
3174 * manual/signal.texi (Interrupted Primitives): Likewise.
3175 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
3176 * math/test-matherr.c (_SVID_SOURCE): Do not define.
3177 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
3178 Don't refer to _SVID_SOURCE in warning text.
3180 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3182 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
3184 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
3185 * sysdeps/mips/dl-lookup.c: Remove.
3186 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
3188 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3191 * math/auto-libm-test-in: Add testcase for expl.
3192 * math/auto-libm-test-out: Regenerate.
3193 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
3194 calculation of unsafe.
3195 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
3197 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
3199 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
3200 * sysdeps/unix/sysv/linux/aarch64: Move directory from
3201 ports/sysdeps/unix/sysv/linux/aarch64.
3202 * README: Update listing for aarch64*-*-linux-gnu.
3204 2014-02-11 Will Newton <will.newton@linaro.org>
3206 * manual/probes.texi (Mathematical Function Probes): Use
3207 "triggered" instead of "hit".
3209 2014-02-11 Will Newton <will.newton@linaro.org>
3211 * manual/probes.texi (Internal Probes): Add documentation
3212 of setjmp, longjmp and longjmp_target probes.
3214 2014-02-11 Will Newton <will.newton@linaro.org>
3216 * include/stap-probe.h: Add comment about probe argument
3219 2014-02-11 Will Newton <will.newton@linaro.org>
3221 * malloc/mtrace.c (attribute_hidden): Remove unused macro
3222 definition. (tr_where, tr_freehook, tr_mallochook,
3223 tr_reallochook, tr_memalignhook): Use ANSI protoype.
3225 2014-02-11 David S. Miller <davem@davemloft.net>
3227 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
3228 processing int_tests.
3230 2014-02-10 Joseph Myers <joseph@codesourcery.com>
3232 * sysdeps/mips: Move directory from ports/sysdeps/mips.
3233 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
3234 * sysdeps/unix/sysv/linux/mips: Move directory from
3235 ports/sysdeps/unix/sysv/linux/mips.
3236 * README: Update listing for mips-*-linux-gnu and
3239 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
3241 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
3242 * sysdeps/unix/sysv/linux/m68k: Move directory from
3243 ports/sysdeps/unix/sysv/linux/m68k.
3244 * README: Update listing for m68k-*-linux-gnu.
3246 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
3248 * sysdeps/tile: Move directory from ports/sysdeps/tile.
3249 * sysdeps/unix/sysv/linux/generic: Move directory from
3250 ports/sysdeps/unix/sysv/linux/generic.
3251 * sysdeps/unix/sysv/linux/tile: Move directory from
3252 ports/sysdeps/unix/sysv/linux/tile.
3253 * README: Update listing for tile*-*-linux-gnu.
3255 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
3257 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
3258 * benchtests/bench-memmem.c (simple_memmem): Likewise.
3259 * catgets/open_catalog.c (__open_catalog): Likewise.
3260 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
3261 * debug/confstr_chk.c: Likewise.
3262 * debug/fread_chk.c (__fread_chk): Likewise.
3263 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
3264 * debug/getgroups_chk.c: Likewise.
3265 * debug/mbsnrtowcs_chk.c: Likewise.
3266 * debug/mbsrtowcs_chk.c: Likewise.
3267 * debug/mbstowcs_chk.c: Likewise.
3268 * debug/memcpy_chk.c: Likewise.
3269 * debug/memmove_chk.c: Likewise.
3270 * debug/mempcpy_chk.c: Likewise.
3271 * debug/memset_chk.c: Likewise.
3272 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3273 * debug/strcat_chk.c (__strcat_chk): Likewise.
3274 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
3275 * debug/strncat_chk.c (__strncat_chk): Likewise.
3276 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
3277 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
3278 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
3279 * debug/wcpncpy_chk.c: Likewise.
3280 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3281 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
3282 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
3283 * debug/wcsncpy_chk.c: Likewise.
3284 * debug/wcsnrtombs_chk.c: Likewise.
3285 * debug/wcsrtombs_chk.c: Likewise.
3286 * debug/wcstombs_chk.c: Likewise.
3287 * debug/wmemcpy_chk.c: Likewise.
3288 * debug/wmemmove_chk.c: Likewise.
3289 * debug/wmempcpy_chk.c: Likewise.
3290 * debug/wmemset_chk.c: Likewise.
3291 * dirent/scandirat.c (SCANDIRAT): Likewise.
3292 * dlfcn/dladdr1.c (dladdr1): Likewise.
3293 * dlfcn/dladdr.c (dladdr): Likewise.
3294 * dlfcn/dlclose.c (dlclose_doit): Likewise.
3295 * dlfcn/dlerror.c (__dlerror): Likewise.
3296 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
3297 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
3298 * dlfcn/dlopen.c (dlopen_doit): Likewise.
3299 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
3300 * dlfcn/dlsym.c (dlsym_doit): Likewise.
3301 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
3302 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
3303 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
3305 * elf/dl-conflict.c: Likewise.
3306 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
3307 * elf/dl-dst.h: Likewise.
3308 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
3309 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
3310 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
3311 * elf/dl-init.c (call_init, _dl_init): Likewise.
3312 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
3313 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
3314 _dl_map_object_from_fd, open_verify, open_path,
3315 _dl_map_object): Likewise.
3316 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
3318 * elf/dl-minimal.c (__libc_memalign): Likewise.
3319 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
3320 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3321 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
3322 * elf/dl-sym.c (do_sym): Likewise.
3323 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
3324 _dl_tls_get_addr_soft): Likewise.
3325 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
3326 * elf/dl-writev.h (_dl_writev): Likewise.
3327 * elf/ldconfig.c (search_dir): Likewise.
3328 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
3330 * elf/setup-vdso.h (setup_vdso): Likewise.
3331 * grp/compat-initgroups.c (compat_call): Likewise.
3332 * grp/fgetgrent.c (fgetgrent): Likewise.
3333 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
3334 * grp/putgrent.c (putgrent): Likewise.
3335 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3337 * hurd/hurdinit.c: Likewise.
3338 * iconvdata/8bit-gap.c (struct): Likewise.
3339 * iconvdata/ansi_x3.110.c : Likewise.
3340 * iconvdata/big5.c : Likewise.
3341 * iconvdata/big5hkscs.c : Likewise.
3342 * iconvdata/cp1255.c: Likewise.
3343 * iconvdata/cp1258.c : Likewise.
3344 * iconvdata/cp932.c : Likewise.
3345 * iconvdata/euc-cn.c: Likewise.
3346 * iconvdata/euc-jisx0213.c : Likewise.
3347 * iconvdata/euc-jp.c: Likewise.
3348 * iconvdata/euc-jp-ms.c : Likewise.
3349 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
3350 * iconvdata/gb18030.c : Likewise.
3351 * iconvdata/gbbig5.c (const): Likewise.
3352 * iconvdata/gbgbk.c: Likewise.
3353 * iconvdata/gbk.c : Likewise.
3354 * iconvdata/ibm1364.c : Likewise.
3355 * iconvdata/ibm930.c : Likewise.
3356 * iconvdata/ibm932.c: Likewise.
3357 * iconvdata/ibm933.c : Likewise.
3358 * iconvdata/ibm935.c : Likewise.
3359 * iconvdata/ibm937.c : Likewise.
3360 * iconvdata/ibm939.c : Likewise.
3361 * iconvdata/ibm943.c: Likewise.
3362 * iconvdata/iso_11548-1.c: Likewise.
3363 * iconvdata/iso-2022-cn.c : Likewise.
3364 * iconvdata/iso-2022-cn-ext.c : Likewise.
3365 * iconvdata/iso-2022-jp-3.c: Likewise.
3366 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
3367 * iconvdata/iso-2022-kr.c : Likewise.
3368 * iconvdata/iso646.c (gconv_end): Likewise.
3369 * iconvdata/iso_6937-2.c : Likewise.
3370 * iconvdata/iso_6937.c : Likewise.
3371 * iconvdata/iso8859-1.c: Likewise.
3372 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
3373 * iconvdata/shift_jisx0213.c : Likewise.
3374 * iconvdata/sjis.c : Likewise.
3375 * iconvdata/t.61.c : Likewise.
3376 * iconvdata/tcvn5712-1.c : Likewise.
3377 * iconvdata/tscii.c: Likewise.
3378 * iconvdata/uhc.c : Likewise.
3379 * iconvdata/unicode.c (gconv_end): Likewise.
3380 * iconvdata/utf-16.c (gconv_end): Likewise.
3381 * iconvdata/utf-32.c (gconv_end): Likewise.
3382 * iconvdata/utf-7.c (base64): Likewise.
3383 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
3384 * iconv/gconv_close.c (__gconv_close): Likewise.
3385 * iconv/gconv_open.c (__gconv_open): Likewise.
3386 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
3387 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
3388 internal_ucs4le_loop_single, ucs4le_internal_loop,
3389 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
3390 * iconv/iconv.c (iconv): Likewise.
3391 * iconv/iconv_close.c: Likewise.
3392 * iconv/loop.c (SINGLE): Likewise.
3393 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
3394 * include/atomic.h: Likewise.
3395 * inet/inet6_option.c (option_alloc): Likewise.
3396 * intl/bindtextdom.c (set_binding_values): Likewise.
3397 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
3398 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
3399 * intl/localealias.c (read_alias_file): Likewise.
3400 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
3401 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
3402 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
3403 * libio/fmemopen.c (fmemopen): Likewise.
3404 * libio/iofgets.c (_IO_fgets): Likewise.
3405 * libio/iofgets_u.c (fgets_unlocked): Likewise.
3406 * libio/iofgetws.c (fgetws): Likewise.
3407 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
3408 * libio/iogetdelim.c (_IO_getdelim): Likewise.
3409 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
3410 adjust_wide_data, _IO_wfile_seekoff): Likewise.
3411 * locale/findlocale.c (_nl_find_locale): Likewise.
3412 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
3413 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
3415 * locale/setlocale.c (setlocale): Likewise.
3416 * login/programs/pt_chown.c (main): Likewise.
3417 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
3418 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
3419 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
3420 mmap, mmap64, mremap, munmap): Likewise.
3421 * math/e_exp2l.c: Likewise.
3422 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
3423 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
3424 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
3425 * math/s_catan.c (__catan): Likewise.
3426 * math/s_catanf.c (__catanf): Likewise.
3427 * math/s_catanh.c (__catanh): Likewise.
3428 * math/s_catanhf.c (__catanhf): Likewise.
3429 * math/s_catanhl.c (__catanhl): Likewise.
3430 * math/s_catanl.c (__catanl): Likewise.
3431 * math/s_ccosh.c (__ccosh): Likewise.
3432 * math/s_ccoshf.c (__ccoshf): Likewise.
3433 * math/s_ccoshl.c (__ccoshl): Likewise.
3434 * math/s_cexp.c (__cexp): Likewise.
3435 * math/s_cexpf.c (__cexpf): Likewise.
3436 * math/s_cexpl.c (__cexpl): Likewise.
3437 * math/s_clog10.c (__clog10): Likewise.
3438 * math/s_clog10f.c (__clog10f): Likewise.
3439 * math/s_clog10l.c (__clog10l): Likewise.
3440 * math/s_clog.c (__clog): Likewise.
3441 * math/s_clogf.c (__clogf): Likewise.
3442 * math/s_clogl.c (__clogl): Likewise.
3443 * math/s_csin.c (__csin): Likewise.
3444 * math/s_csinf.c (__csinf): Likewise.
3445 * math/s_csinh.c (__csinh): Likewise.
3446 * math/s_csinhf.c (__csinhf): Likewise.
3447 * math/s_csinhl.c (__csinhl): Likewise.
3448 * math/s_csinl.c (__csinl): Likewise.
3449 * math/s_csqrt.c (__csqrt): Likewise.
3450 * math/s_csqrtf.c (__csqrtf): Likewise.
3451 * math/s_csqrtl.c (__csqrtl): Likewise.
3452 * math/s_ctan.c (__ctan): Likewise.
3453 * math/s_ctanf.c (__ctanf): Likewise.
3454 * math/s_ctanh.c (__ctanh): Likewise.
3455 * math/s_ctanhf.c (__ctanhf): Likewise.
3456 * math/s_ctanhl.c (__ctanhl): Likewise.
3457 * math/s_ctanl.c (__ctanl): Likewise.
3458 * math/w_pow.c: Likewise.
3459 * math/w_powf.c: Likewise.
3460 * math/w_powl.c: Likewise.
3461 * math/w_scalb.c (sysv_scalb): Likewise.
3462 * math/w_scalbf.c (sysv_scalbf): Likewise.
3463 * math/w_scalbl.c (sysv_scalbl): Likewise.
3464 * misc/error.c (error_tail): Likewise.
3465 * misc/pselect.c (__pselect): Likewise.
3466 * nis/nis_callback.c (__nis_create_callback): Likewise.
3467 * nis/nis_call.c (__nisfind_server): Likewise.
3468 * nis/nis_creategroup.c (nis_creategroup): Likewise.
3469 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
3470 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
3471 * nis/nis_getservlist.c (nis_getservlist): Likewise.
3472 * nis/nis_lookup.c (nis_lookup): Likewise.
3473 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
3474 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
3475 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
3476 * nis/nis_xdr.c (xdr_endpoint): Likewise.
3477 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
3478 internal_getgrgid_r): Likewise.
3479 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
3481 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
3482 internal_getpwuid_r): Likewise.
3483 * nis/nss_compat/compat-spwd.c (getspent_next_file,
3484 internal_getspnam_r): Likewise.
3485 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
3486 _nss_nis_getaliasbyname_r): Likewise.
3487 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
3488 _nss_nis_getntohost_r): Likewise.
3489 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
3490 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
3492 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
3493 internal_nis_gethostent_r, internal_gethostbyname2_r,
3494 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
3495 _nss_nis_gethostbyname4_r): Likewise.
3496 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
3497 initgroups_netid): Likewise.
3498 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
3499 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
3500 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
3501 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
3502 _nss_nis_getprotobynumber_r): Likewise.
3503 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
3504 _nss_nis_getsecretkey): Likewise.
3505 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
3506 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
3508 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
3509 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
3510 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
3511 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
3512 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
3513 _nss_nis_getspnam_r): Likewise.
3514 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
3516 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
3517 _nss_nisplus_getntohost_r): Likewise.
3518 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
3519 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
3520 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
3521 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
3522 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
3524 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
3525 _nss_nisplus_getnetbyaddr_r): Likewise.
3526 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
3527 _nss_nisplus_getprotobynumber_r): Likewise.
3528 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
3529 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
3530 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
3532 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
3533 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
3534 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
3535 _nss_nisplus_getspnam_r): Likewise.
3536 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
3537 * nscd/aicache.c (addhstaiX): Likewise.
3538 * nscd/cache.c (cache_search, prune_cache): Likewise.
3539 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
3540 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
3541 * nscd/grpcache.c (addgrbyX): Likewise.
3542 * nscd/hstcache.c (addhstbyX): Likewise.
3543 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3544 * nscd/mem.c (gc, mempool_alloc): Likewise.
3545 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
3547 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
3549 * nscd/nscd_getai.c (__nscd_getai): Likewise.
3550 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
3551 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
3553 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
3554 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
3555 * nscd/nscd_helper.c (__readvall, open_socket,
3556 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
3557 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
3558 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
3559 * nscd/pwdcache.c (addpwbyX): Likewise.
3560 * nscd/selinux.c (preserve_capabilities): Likewise.
3561 * nscd/servicescache.c (addservbyX): Likewise.
3562 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
3563 * posix/fnmatch.c (fnmatch): Likewise.
3564 * posix/getopt.c (_getopt_internal_r): Likewise.
3565 * posix/glob.c (glob, glob_in_dir): Likewise.
3566 * posix/wordexp.c (exec_comm_child): Likewise.
3567 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
3568 gaih_getanswer_slice): Likewise.
3569 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
3570 * resolv/res_init.c: Likewise.
3571 * resolv/res_mkquery.c (res_nmkquery): Likewise.
3572 * resolv/res_query.c (__libc_res_nquery): Likewise.
3573 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
3575 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
3576 * stdio-common/perror.c (perror): Likewise.
3577 * stdio-common/printf_fp.c (___printf_fp): Likewise.
3578 * stdio-common/tmpnam.c (tmpnam): Likewise.
3579 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
3580 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
3581 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
3582 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
3583 * stdlib/putenv.c (putenv): Likewise.
3584 * stdlib/setenv.c (__add_to_environ): Likewise.
3585 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3586 * stdlib/strtol_l.c (INTERNAL): Likewise.
3587 * string/memmem.c (memmem): Likewise.
3588 * string/strerror.c (strerror): Likewise.
3589 * string/strnlen.c (__strnlen): Likewise.
3590 * string/test-memmem.c (simple_memmem): Likewise.
3591 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
3592 * sunrpc/pm_getport.c (__get_socket): Likewise.
3593 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
3594 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
3595 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
3596 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
3598 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
3599 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
3600 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
3601 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
3602 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
3603 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
3604 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
3605 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
3606 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
3607 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3608 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
3609 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
3610 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
3611 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3612 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
3613 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
3614 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
3615 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
3616 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
3618 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
3620 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
3622 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
3623 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3624 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
3625 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
3626 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
3627 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
3628 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3629 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
3630 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
3631 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
3632 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
3633 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3634 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3635 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
3636 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3637 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
3638 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
3640 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
3642 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
3644 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3645 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3646 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
3648 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
3649 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
3650 * sysdeps/posix/opendir.c (__opendirat): Likewise.
3651 * sysdeps/posix/sleep.c: Likewise.
3652 * sysdeps/posix/tempname.c: Likewise.
3653 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
3654 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3656 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
3657 elf_machine_rela): Likewise.
3658 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
3659 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3660 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
3661 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
3663 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
3664 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
3665 elf_machine_rela, elf_machine_lazy_rel): Likewise.
3666 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
3667 elf_machine_rela, elf_machine_lazy_rel): Likewise.
3668 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
3669 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
3670 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
3671 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3672 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
3673 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
3674 elf_machine_lazy_rel): Likewise.
3675 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
3676 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
3677 elf_machine_lazy_rel): Likewise.
3678 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
3679 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
3680 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
3681 * sysdeps/unix/grantpt.c (grantpt): Likewise.
3682 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
3683 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
3684 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
3685 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3687 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
3688 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
3689 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
3690 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
3691 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3692 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3693 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
3694 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
3695 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
3696 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3697 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3699 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
3700 (__posix_fallocate64_l64): Likewise.
3701 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
3702 (posix_fallocate): Likewise.
3703 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
3704 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3705 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
3706 getifaddrs_internal): Likewise.
3707 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
3708 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
3709 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
3710 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
3711 * sysdeps/unix/sysv/linux/posix_fallocate64.c
3712 (__posix_fallocate64_l64): Likewise.
3713 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
3715 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
3716 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
3718 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
3719 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
3720 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
3721 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3722 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3723 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
3724 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
3725 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
3727 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
3728 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
3729 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
3730 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
3731 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
3732 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
3733 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
3735 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3736 (posix_fallocate): Likewise.
3737 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3738 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
3739 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
3740 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
3741 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
3743 * time/asctime.c (asctime_internal): Likewise.
3744 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
3745 * time/tzset.c (__tzset_parse_tz): Likewise.
3746 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3747 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
3748 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
3749 * wcsmbs/wcsmbsload.h: Likewise.
3751 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
3754 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
3756 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
3758 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
3759 arena_get2): Remove THREAD_STATS conditionals.
3760 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
3761 __malloc_stats, int): Likewise.
3763 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3765 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
3766 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
3768 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3770 * manual/setjmp.texi: Fix typos/grammar errors.
3772 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3774 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
3775 Only return early when n is <= 0. Delete unused return statement.
3777 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3779 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
3780 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
3781 * debug/tst-longjmp_chk3.c: New file.
3783 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3785 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
3786 (test_main): Replace code with set_fortify_handler call.
3787 * debug/test-strcpy_chk.c: Likewise.
3788 * debug/tst-chk1.c: Likewise.
3789 * debug/tst-longjmp_chk.c: Likewise.
3790 * test-skeleton.c: Include fcntl.h & paths.h
3791 (set_fortify_handler): Define.
3793 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3795 * debug/tst-longjmp_chk.c: Add header comment and include
3797 (do_test): Mark static.
3798 (TEST_FUNCTION): Define.
3800 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3802 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
3803 (IP_PMTUDISC_INTERFACE): Likewise.
3804 (IP_MULTICAST_IF): Likewise.
3805 (IP_MULTICAST_TTL): Likewise.
3806 (IP_MULTICAST_LOOP): Likewise.
3807 (IP_ADD_MEMBERSHIP): Likewise.
3808 (IP_DROP_MEMBERSHIP): Likewise.
3809 (IP_UNBLOCK_SOURCE): Likewise.
3810 (IP_BLOCK_SOURCE): Likewise.
3811 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
3812 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
3813 (IP_MSFILTER): Likewise.
3814 (MCAST_JOIN_GROUP): Likewise.
3815 (MCAST_BLOCK_SOURCE): Likewise.
3816 (MCAST_UNBLOCK_SOURCE): Likewise.
3817 (MCAST_LEAVE_GROUP): Likewise.
3818 (MCAST_JOIN_SOURCE_GROUP): Likewise.
3819 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
3820 (MCAST_MSFILTER): Likewise.
3821 (IP_MULTICAST_ALL): Likewise.
3822 (IP_UNICAST_IF): Likewise.
3824 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3826 * timezone/Makefile: Delete $(have-ksh) check.
3827 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
3828 * timezone/tzselect.ksh: Add +x mode bits.
3830 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3832 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
3833 (ANON_INODE_FS_MAGIC): Likewise.
3834 (BDEVFS_MAGIC): Likewise.
3835 (BINFMTFS_MAGIC): Likewise.
3836 (BTRFS_TEST_MAGIC): Likewise.
3837 (CRAMFS_MAGIC_WEND): Likewise.
3838 (DEBUGFS_MAGIC): Likewise.
3839 (ECRYPTFS_SUPER_MAGIC): Likewise.
3840 (EXT3_SUPER_MAGIC): Likewise.
3841 (EXT4_SUPER_MAGIC): Likewise.
3842 (FUTEXFS_SUPER_MAGIC): Likewise.
3843 (HOSTFS_SUPER_MAGIC): Likewise.
3844 (HUGETLBFS_MAGIC): Likewise.
3845 (MINIX3_SUPER_MAGIC): Likewise.
3846 (MTD_INODE_FS_MAGIC): Likewise.
3847 (NILFS_SUPER_MAGIC): Likewise.
3848 (OPENPROM_SUPER_MAGIC): Likewise.
3849 (PIPEFS_MAGIC): Likewise.
3850 (PSTOREFS_MAGIC): Likewise.
3851 (QNX6_SUPER_MAGIC): Likewise.
3852 (RAMFS_MAGIC): Likewise.
3853 (REISERFS_SUPER_MAGIC_STRING): Likewise.
3854 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
3855 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
3856 (SECURITYFS_MAGIC): Likewise.
3857 (SELINUX_MAGIC): Likewise.
3858 (SMACK_MAGIC): Likewise.
3859 (SOCKFS_MAGIC): Likewise.
3860 (SQUASHFS_MAGIC): Likewise.
3861 (STACK_END_MAGIC): Likewise.
3862 (TMPFS_MAGIC): Likewise.
3863 (USBDEVICE_SUPER_MAGIC): Likewise.
3864 (V9FS_MAGIC): Likewise.
3865 (XENFS_SUPER_MAGIC): Likewise.
3866 (CRAMFS_MAGIC): Fix typo in comment.
3867 (EXT2_SUPER_MAGIC): Update comment.
3868 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
3870 2014-02-08 Joseph Myers <joseph@codesourcery.com>
3872 * sysdeps/arm: Move directory from ports/sysdeps/arm.
3873 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
3874 * sysdeps/unix/sysv/linux/arm: Move directory from
3875 ports/sysdeps/unix/sysv/linux/arm.
3876 * README: Update listing for arm-*-linux-gnueabi.
3878 * README: Remove mention of am33.
3880 2014-02-07 Roland McGrath <roland@hack.frob.com>
3882 * bits/sigset.h (__sigemptyset): Use a statement expression rather
3883 than the comma operator, to avoid "rhs of comma has no effect"
3885 (__sigfillset, __sigandset, __sigorset): Likewise.
3886 * include/signal.h (__sigemptyset): Likewise.
3887 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
3889 2014-02-07 Allan McRae <allan@archlinux.org>
3891 * version.h (RELEASE): Set to "development".
3892 (VERSION): Set to "2.19.90"
3893 * NEWS: Add 2.20 section.
3895 2014-02-06 Carlos O'Donell <carlos@redhat.com>
3898 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
3900 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3902 * manual/contrib.texi: Update entry for Carlos O'Donell,
3903 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
3905 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
3907 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
3909 * sysdeps/unix/sysv/linux/kernel-features.h
3910 [__LINUX_KERNEL_VERSION >= 0x020621]
3911 (__ASSUME_PROC_PID_TASK_COMM): Define.
3913 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3916 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
3917 conversion when destination buffer does not have enough space.
3918 * libio/tst-ftell-partial-wide.c: New test case.
3919 * libio/Makefile (tests): Add tst-ftell-partial-wide.
3921 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
3922 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
3923 Leonard and Allan McRae.
3925 2014-02-04 David S. Miller <davem@davemloft.net>
3927 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
3930 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
3934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
3938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
3940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
3944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
3946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3959 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3961 * nptl/shlib-versions: Change powerpc*le start to 2.17.
3962 * shlib-versions: Likewise.
3964 2014-02-04 Roland McGrath <roland@hack.frob.com>
3965 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3967 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
3968 (abilist-pattern): New variable, set to %-le.abilist.
3970 * Makerules (abilist-pattern): New variable.
3971 (vpath): Use $(abilist-pattern) in place of %.abilist.
3972 (check-abi-% pattern rule): Likewise.
3973 (check-abi, update-abi): Likewise.
3975 2014-02-04 Eric Wong <normalperson@yhbt.net>
3977 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3979 2014-02-04 Eric Wong <normalperson@yhbt.net>
3981 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3983 2014-02-03 Carlos O'Donell <carlos@redhat.com>
3985 * manual/startup.texi: Add next, previous, and top entries for
3986 the `Program Arguments' and `Environment Variables' nodes.
3988 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
3990 * manual/macros.texi: Add comments before MTASC-safety macros.
3992 * manual/users.texi: Document MTASC-safety properties.
3994 * manual/threads.texi (pthread_key_create, pthread_key_delete,
3995 pthread_getspecific, pthread_setspecific): Format with
3996 @deftypefun, and add @safety note.
3997 * manual/signal.texi: Move comments that analyze the above
3998 functions to their home place.
4000 2014-02-03 Allan McRae <allan@archlinux.org>
4002 * po/sl.po: Update Slovenian translation from translation project.
4004 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
4006 * manual/time.texi (timegm): Add missing blank after @c.
4007 Reported by Joseph Myers <joseph@codesourcery.com>.
4009 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
4011 * manual/check-safety.sh: New.
4012 * manual/Makefile ($(objpfx)stamp-summary): Run it.
4014 * manual/terminal.texi: Document MTASC-safety properties.
4016 * manual/filesys.texi: Document MTASC-safety properties.
4018 * manual/errno.texi: Document MTASC-safety properties.
4020 * manual/intro.texi: Document safety identifiers and
4023 * manual/string.texi (wcstok): Fix prototype.
4024 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
4026 * manual/time.texi: Document MTASC-safety properties.
4028 * manual/string.texi: Document MTASC-safety properties.
4030 * manual/threads.texi: Document MTASC-safety properties.
4032 * manual/stdio.texi: Document MTASC-safety properties.
4034 * manual/syslog.texi: Document MTASC-safety properties.
4036 * manual/sysinfo.texi: Document MTASC-safety properties.
4038 * manual/startup.texi: Document MTASC-safety properties.
4040 * manual/socket.texi: Document MTASC-safety properties.
4042 * manual/signal.texi: Document MTASC-safety properties.
4044 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
4046 * manual/setjmp.texi: Document MTASC-safety properties.
4048 * manual/search.texi: Document MTASC-safety properties.
4050 * manual/resource.texi: Document MTASC-safety properties.
4052 * manual/process.texi: Document MTASC-safety properties.
4054 * manual/platform.texi: Document MTASC-safety properties.
4056 * manual/pipe.texi: Document MTASC-safety properties.
4058 * manual/pattern.texi: Document MTASC-safety properties.
4060 * manual/message.texi: Document MTASC-safety properties.
4063 * manual/memory.texi: Document MTASC-safety properties.
4065 * manual/math.texi: Document MTASC-safety properties.
4067 * manual/locale.texi: Document MTASC-safety properties.
4069 * manual/llio.texi: Document MTASC-safety properties.
4071 * manual/libdl.texi: New.
4073 * manual/lang.texi: Document MTASC-safety properties.
4075 * manual/job.texi: Document MTASC-safety properties.
4077 * manual/getopt.texi: Document MTASC-safety properties.
4079 * manual/ctype.texi: Document MTASC-safety properties.
4081 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
4084 * csu/libc-tls.c (static_map): Remove variable.
4085 (__libc_setup_tls): Use main executable's link map for TLS data.
4086 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
4087 casing for LM_ID_BASE and GL(dl_nns).
4088 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
4089 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
4090 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
4091 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
4092 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
4094 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
4097 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
4099 * manual/debug.texi: Document MTASC-safety properties.
4101 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
4104 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
4105 of __x86_64__ when disabling x87 inline functions.
4107 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
4109 * manual/charset.texi: Document MTASC-safety properties.
4111 * manual/crypt.texi: Document MTASC-safety properties.
4113 * manual/conf.texi: Document MTASC-safety properties.
4115 * manual/arith.texi: Document MTASC-safety properties.
4117 * manual/argp.texi: Document MTASC-safety properties.
4119 * manual/macros.texi: Introduce macros to document multi
4120 thread, asynchronous signal and asynchronous cancellation
4122 * manual/intro.texi: Introduce the properties themselves.
4124 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4126 * sysdeps/sh/sh4/Makefile: New file.
4128 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
4130 * math/gen-libm-test.pl ($srcdir): New variable.
4131 ($auto_input): Use it.
4133 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4136 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
4137 access beyond array bounds when parsing netgroups file.
4139 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
4140 the old buffer before realloc.
4142 2014-01-27 Allan McRae <allan@archlinux.org>
4144 * po/fr.po: Update French translation from translation project.
4146 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4148 * sysdeps/sh/libm-test-ulps: Regenerate.
4150 2014-01-24 David S. Miller <davem@davemloft.net>
4152 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
4154 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4156 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
4157 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
4159 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4162 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
4163 string pointers after reallocation.
4165 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4167 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
4168 __SH4A__ instead of __SH_FPU_ANY__.
4170 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4172 * sysdeps/sh/fpu_control.h: New file.
4173 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
4174 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
4175 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
4176 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
4177 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
4178 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
4179 * sysdeps/sh/sys/ucontext.h: Remove.
4180 * sysdeps/sh/sys: Remove directory.
4182 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4184 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
4185 s390/sys/ucontext.h.
4186 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
4187 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
4189 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
4192 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
4194 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4197 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4198 Adjust the vDSO correctly for internal calls.
4199 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
4201 2014-01-20 Allan McRae <allan@archlinux.org>
4203 * po/ca.po: Update Catalan translation from translation project.
4205 2014-01-16 Mike Frysinger <vapier@gentoo.org>
4207 * sysdeps/s390/sotruss-lib.c: New file.
4209 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4212 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
4213 (__GI___gettimeofday): Alias for a different internal symbol to avoid
4214 local calls issues by not having a PLT stub required for IFUNC calls.
4215 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
4217 2014-01-16 Joseph Myers <joseph@codesourcery.com>
4219 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
4220 * math/test-fpucw-static.c: Likewise.
4222 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4225 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
4227 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4229 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
4230 implementation for powerpc.
4232 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
4235 * sysdeps/posix/system.c (__libc_system): Do not enable
4236 asynchronous cancellation.
4238 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4241 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
4242 handling only for numbers special also in the IEEE case.
4244 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4246 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4248 2014-01-11 Allan McRae <allan@archlinux.org>
4250 * po/bg.po: Update Bulgarian translation from translation project.
4252 * po/de.po: Update German translation from translation project.
4254 2014-01-10 Roland McGrath <roland@hack.frob.com>
4256 * sysdeps/generic/gcc-compat.h: New file.
4258 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4260 * benchtests/asin-inputs: Correct slow inputs.
4261 * benchtests/acos-inputs: Likewise.
4263 2014-01-10 Allan McRae <allan@archlinux.org>
4265 * po:sv.po: Update Swedish translation from translation project.
4267 * po/vi.po: Update Vietnamese translation from translation project.
4269 * po/eo.po: Update Esperanto translation from translation project.
4271 * po/cs.po: Update Czech translation from translation project.
4273 * po/nl.po: Update Dutch translation from translation project.
4275 * po/pl.po: Update Polish translation from translation project.
4277 * po/ru.po: Update Russian translation from translation project.
4279 * po/uk.po: Update Ukrainian translation from translation project.
4281 2014-01-08 Brooks Moses <bmoses@google.com>
4283 * elf/dl-load.c: Fix comment typo.
4285 2014-01-08 Carlos O'Donell <carlos@redhat.com>
4287 * po/header.pot: Rename to...
4288 * po/pot.header: ... this.
4289 * po/Makefile: Use pot.header.
4291 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
4292 Maxim Kuvyrkov <maxim@kugelworks.com>
4295 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
4296 SRC and DEST against LEN.
4298 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4301 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
4303 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
4305 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4307 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4309 2014-01-08 Joseph Myers <joseph@codesourcery.com>
4312 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
4313 for large positive arguments.
4315 2014-01-07 Joseph Myers <joseph@codesourcery.com>
4317 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4319 * math/auto-libm-test-in: Mark various tests with
4320 xfail-rounding:ldbl-128ibm.
4321 * math/auto-libm-test-out: Regenerated.
4324 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
4325 Increase overflow threshold.
4327 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
4330 * stdio-common/vfprintf.c: Check for integer overflow.
4332 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4334 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
4335 the first argument and return value of __tls_get_addr_internal.
4337 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4339 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
4340 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
4342 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4344 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
4345 * sysdeps/s390/rtld-global-offsets.sym: New file.
4346 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
4348 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
4349 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
4350 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
4352 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
4353 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
4355 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4357 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4359 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
4360 halfs of GPRs for high_gprs contexts.
4361 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
4362 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
4364 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
4366 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
4368 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
4369 for high GPRs (uc_high_gprs) and for future extensions
4371 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
4372 for future extensions (__reserved).
4373 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
4375 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
4376 SC_HIGHGPRS offset definition.
4377 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
4378 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
4380 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4382 * Versions.def: Add GLIBC_2.19 for libpthread.
4383 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
4384 siglongjmp for libpthread with GLIBC_2.19 symver.
4385 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
4386 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
4387 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
4388 * sysdeps/s390/__longjmp.c: New file.
4389 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
4390 * sysdeps/s390/longjmp.c: New file.
4391 * sysdeps/s390/setjmp.S: New file.
4392 * sysdeps/s390/sigjmp.S: New file.
4393 * sysdeps/s390/v1-longjmp.c: New file.
4394 * sysdeps/s390/v1-setjmp.h: New file.
4395 * sysdeps/s390/v1-sigjmp.c: New file.
4396 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
4397 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
4399 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
4400 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
4401 versioned symbols for ____longjmp_chk.
4402 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
4404 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4406 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4408 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4410 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4412 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
4413 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
4414 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
4415 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
4416 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
4417 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
4418 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
4419 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
4420 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
4421 * sysdeps/s390/rtld-__longjmp.c: New file.
4422 * sysdeps/s390/rtld-setjmp.S: New file.
4424 2014-01-06 Joseph Myers <joseph@codesourcery.com>
4427 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4428 Return -__logl (x) for small positive arguments without evaluating
4431 2014-01-06 Mike Frysinger <vapier@gentoo.org>
4433 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
4435 (__ptrace_peeksiginfo_args): ... this.
4436 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4437 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4438 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4440 2014-01-06 Allan McRae <allan@archlinux.org>
4442 * inet/netinet/in.h: Fix typo in comment.
4444 2014-01-05 Andreas Jaeger <aj@suse.de>
4446 * sysdeps/i386/fpu/libm-test-ulps: Update.
4448 2014-01-05 Allan McRae <allan@archlinux.org>
4450 * po/libc.pot: Regenerated.
4452 * malloc/memusagestat.c: Fix gettext call formatting.
4454 2014-01-04 Sami Kerola <kerolasa@iki.fi>
4456 * nscd/nscd.c: Improve usage() output.
4458 2014-01-04 Mike Frysinger <vapier@gentoo.org>
4460 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
4461 * sysdeps/unix/sysv/linux/configure: Regenerated.
4462 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
4463 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
4465 2014-01-03 Joseph Myers <joseph@codesourcery.com>
4468 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4469 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
4471 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4473 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
4474 extra tokens at end of #undef directive.
4475 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
4476 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
4477 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4479 2014-01-03 Joseph Myers <joseph@codesourcery.com>
4481 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4483 * math/auto-libm-test-in: Mark various tests with
4484 xfail-rounding:ldbl-128ibm.
4485 * math/auto-libm-test-out: Regenerated.
4487 2014-01-02 Joseph Myers <joseph@codesourcery.com>
4490 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
4491 numbers with subnormal high part when calculating exponent.
4494 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
4498 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
4500 (__ieee754_acoshl): Use __log1pl not __log1p.
4502 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
4504 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
4505 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
4506 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
4507 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
4508 Convert to GNU style.
4509 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
4510 mem2mem_check, mem2chunk_check, top_check, realloc_check,
4511 memalign_check, __malloc_set_state): Likewise.
4512 * malloc/mallocbug.c (main): Likewise.
4513 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
4514 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
4515 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
4516 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
4517 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
4518 * malloc/malloc.h: Likewise.
4519 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
4520 memalignhook, reallochook, mabort): Likewise.
4521 * malloc/mcheck.h: Likewise.
4522 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
4523 mmap64, mremap, munmap, dest): Likewise.
4524 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
4525 * malloc/morecore.c (__default_morecore): Likewise.
4526 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
4527 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
4528 _obstack_allocated_p, obstack_free, _obstack_memory_used,
4529 print_and_abort): Likewise.
4530 * malloc/obstack.h: Likewise.
4531 * malloc/set-freeres.c (__libc_freeres): Likewise.
4532 * malloc/tst-mallocstate.c (main): Likewise.
4533 * malloc/tst-mtrace.c (main): Likewise.
4534 * malloc/tst-realloc.c (do_test): Likewise.
4536 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4539 * nscd/netgroupcache.c (do_notfound): New function.
4540 (addgetnetgrentX): Use it.
4543 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
4544 NSS_STATUS_NOTFOUND.
4546 2014-01-01 Joseph Myers <joseph@codesourcery.com>
4548 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4551 2014-01-01 Allan McRae <allan@archlinux.org>
4553 * scripts/update-copyrights: Update configure input file suffix.
4555 * NEWS: Update copyright year.
4556 * catgets/gencat.c: Likewise.
4557 * csu/version.c: Likewise.
4558 * debug/catchsegv.sh: Likewise.
4559 * debug/pcprofiledump.c: Likewise.
4560 * debug/xtrace.sh: Likewise.
4561 * elf/ldconfig.c: Likewise.
4562 * elf/ldd.bash.in: Likewise.
4563 * elf/pldd.c: Likewise.
4564 * elf/sotruss.ksh: Likewise.
4565 * elf/sprof.c: Likewise.
4566 * iconv/iconv_prog.c: Likewise.
4567 * iconv/iconvconfig.c: Likewise.
4568 * locale/programs/locale.c: Likewise.
4569 * locale/programs/localedef.c: Likewise.
4570 * login/programs/pt_chown.c: Likewise.
4571 * malloc/memusage.sh: Likewise.
4572 * malloc/memusagestat.c: Likewise.
4573 * malloc/mtrace.pl: Likewise.
4574 * manual/libc.texinfo: Likewise.
4575 * nscd/nscd.c: Likewise.
4576 * nss/getent.c: Likewise.
4577 * nss/makedb.c: Likewise.
4578 * posix/getconf.c: Likewise.
4579 * scripts/test-installation.pl: Likewise.
4581 * All files with FSF copyright notices: Update copyright dates
4582 using scripts/update-copyrights.
4583 * intl/plural.c: Regenerated.
4584 * locale/programs/charmap-kw.h: Likewise.
4585 * locale/programs/locfile-kw.h: Likewise.
4587 2013-12-31 Mike Frysinger <vapier@gentoo.org>
4589 * sysdeps/unix/sysv/linux/configure: Regenerated.
4590 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
4591 the linux/fanotify.h header.
4592 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
4593 HAVE_LINUX_FANOTIFY_H is defined.
4595 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4597 * benchtests/cos-inputs: New inputs.
4598 * benchtests/sin-inputs: Likewise.
4600 * benchtests/atan-inputs: New inputs. Fix name of multiple
4601 precision fallback inputs.
4603 * benchtests/atanh-inputs: New inputs.
4604 * benchtests/tanh-inputs: Likewise.
4606 * benchtests/acosh-inputs: New inputs.
4607 * benchtests/asinh-inputs: Likewise.
4609 * benchtests/cosh-inputs: New inputs.
4610 * benchtests/sinh-inputs: Likewise.
4612 * benchtests/acos-inputs: Add more inputs.
4613 * benchtests/asin-inputs: Likewise.
4615 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
4618 * manual/arith.texi: Fix spelling.
4619 * manual/charset.texi: Likewise.
4620 * manual/errno.texi: Likewise.
4621 * manual/filesys.texi: Likewise.
4622 * manual/lang.texi: Likewise.
4623 * manual/llio.texi: Likewise.
4624 * manual/locale.texi: Likewise.
4625 * manual/message.texi: Likewise.
4626 * manual/resource.texi: Likewise.
4627 * manual/search.texi: Likewise.
4628 * manual/setjmp.texi: Likewise.
4629 * manual/stdio.texi: Likewise.
4630 * manual/string.texi: Likewise.
4631 * manual/sysinfo.texi: Likewise.
4632 * manual/time.texi: Likewise.
4634 2013-12-27 Carlos O'Donell <carlos@redhat.com>
4636 * po/sl.po: New file.
4638 2013-12-27 Mike Frysinger <vapier@gentoo.org>
4640 * .gitignore: Add core/.gdbinit/.gdb_history.
4642 2013-12-27 Allan McRae <allan@archlinux.org>
4645 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
4646 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
4648 2013-12-24 Brooks Moses <bmoses@google.com>
4650 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
4651 all compilers that claim C++98 compliance, not just GCC.
4652 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
4655 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
4657 * NEWS: Restore accidentally deleted bug-fix entries.
4659 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
4660 Ondřej Bílka <neleai@seznam.cz>
4663 * malloc/malloc.c (_int_free): Perform sanity check only if we
4666 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
4669 * manual/stdio.texi (String Input Conversions): Clarify that character
4670 classes are not supported.
4672 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4674 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4676 2013-12-22 Joseph Myers <joseph@codesourcery.com>
4679 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4680 Calculate results for small negative arguments directly rather
4681 than using reflection formula with special underflow handling.
4683 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
4684 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
4685 sysdeps/unix/bsd/bsd4.4/syscalls.list.
4686 (fchflags): Likewise.
4688 (setlogin): Likewise.
4689 (sigaltstack): Likewise.
4692 (sigsetmask): Likewise.
4694 (waitpid): Likewise.
4695 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
4696 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
4698 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
4699 * sysdeps/unix/bsd/Makefile: ... here.
4700 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
4701 * sysdeps/unix/bsd/Versions: ... here.
4702 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
4703 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
4704 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
4705 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
4706 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
4707 * sysdeps/unix/bsd/sigblock.c: ... here.
4708 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
4709 * sysdeps/unix/bsd/sigsetmask.c: ... here.
4710 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
4711 * sysdeps/unix/bsd/sigvec.c: ... here.
4712 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
4713 * sysdeps/unix/bsd/tcdrain.c: ... here.
4714 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
4715 * sysdeps/unix/bsd/tcgetattr.c: ... here.
4716 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
4717 * sysdeps/unix/bsd/tcsetattr.c: ... here.
4718 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
4719 * sysdeps/unix/bsd/wait.c: ... here.
4720 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
4721 * sysdeps/unix/bsd/wait3.c: ... here.
4722 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
4723 * sysdeps/unix/bsd/waitpid.c: ... here.
4725 2013-12-21 Joseph Myers <joseph@codesourcery.com>
4728 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
4729 round-to-nearest for [!USE_AS_EXPM1L].
4730 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
4731 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
4732 more tests of exp and exp10. Expect some exp10 tests to miss
4733 exceptions or fail in directed rounding modes.
4734 * math/auto-libm-test-out: Regenerated.
4735 * math/libm-test.inc (exp10_tonearest_test_data): New array.
4736 (exp10_test_tonearest): New function.
4737 (exp10_towardzero_test_data): New array.
4738 (exp10_test_towardzero): New function.
4739 (exp10_downward_test_data): New array.
4740 (exp10_test_downward): New function.
4741 (exp10_upward_test_data): New array.
4742 (exp10_test_upward): New function.
4743 (main): Call the new functions.
4744 * sysdeps/i386/fpu/libm-test-ulps: Update.
4745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4747 2013-12-20 Joseph Myers <joseph@codesourcery.com>
4749 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
4750 asinh, atan, atan2, atanh, cbrt, cos and cosh.
4751 * math/auto-libm-test-out: Regenerated.
4752 * math/libm-test.inc (acosh_test_data): Add more tests.
4753 (atanh_test_data): Likewise.
4754 (ceil_test_data): Likewise.
4755 (copysign_test_data): Likewise.
4756 * sysdeps/i386/fpu/libm-test-ulps: Update.
4757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4759 * timezone/checktab.awk: Update from tzcode 2013i.
4760 * timezone/private.h: Likewise.
4761 * timezone/scheck.c: Likewise.
4762 * timezone/tzfile.h: Likewise.
4763 * timezone/tzselect.ksh: Likewise.
4764 * timezone/zdump.c: Likewise.
4765 * timezone/zic.c: Likewise.
4767 * math/auto-libm-test-in: Add tests of cpow.
4768 * math/auto-libm-test-out: Regenerated.
4769 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
4770 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
4772 (func_calc_desc): Add mpc_cc_c union field.
4773 (test_functions): Add cpow.
4774 (special_fill_2pi): New function.
4775 (special_real_inputs): Add 2pi.
4776 (calc_generic_results): Handle mpc_cc_c.
4777 * sysdeps/i386/fpu/libm-test-ulps: Update.
4778 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4780 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
4781 csqrt, ctan and ctanh.
4782 * math/auto-libm-test-out: Regenerated.
4783 * math/libm-test.inc (TEST_COND_x86_64): New macro.
4784 (TEST_COND_x86): Likewise.
4785 (ccos_test_data): Use AUTO_TESTS_c_c.
4786 (ccosh_test_data): Likewise.
4787 (cexp_test_data): Likewise.
4788 (clog_test_data): Likewise.
4789 (csqrt_test_data): Likewise.
4790 (ctan_test_data): Likewise.
4791 (ctan_tonearest_test_data): Likewise.
4792 (ctan_towardzero_test_data): Likewise.
4793 (ctan_downward_test_data): Likewise.
4794 (ctan_upward_test_data): Likewise.
4795 (ctanh_test_data): Likewise.
4796 (ctanh_tonearest_test_data): Likewise.
4797 (ctanh_towardzero_test_data): Likewise.
4798 (ctanh_downward_test_data): Likewise.
4799 (ctanh_upward_test_data): Likewise.
4800 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4802 (func_calc_desc): Add mpc_c_c union field.
4803 (FUNC_mpc_c_c): New macro.
4804 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
4805 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
4807 (special_fill_min_subnorm_p120): New function.
4808 (special_real_inputs): Add min_subnorm_p120.
4809 (calc_generic_results): Handle mpc_c_c.
4810 * sysdeps/i386/fpu/libm-test-ulps: Update.
4811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4813 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4815 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
4816 do_sin_slow): New functions.
4817 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
4818 cslow2, csloww1, csloww2): Use the new functions.
4820 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
4821 Use M to change sign of result instead of X. Assume X is
4823 (csloww1): Likewise.
4827 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
4832 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
4834 (sloww1): Don't adjust sign of DX.
4835 (csloww1): Likewise.
4836 (sloww2): Use X directly and don't adjust sign of DX.
4837 (csloww2): Likewise.
4839 2013-12-19 Joseph Myers <joseph@codesourcery.com>
4841 * math/auto-libm-test-in: Add tests of cabs and carg.
4842 * math/auto-libm-test-out: Regenerated.
4843 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
4844 (carg_test_data): Likewise.
4845 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4847 (func_calc_desc): Add mpc_c_f union field.
4848 (test_functions): Add cabs and carg.
4849 (calc_generic_results): Handle mpc_c_f.
4851 * sysdeps/powerpc/powerpc32/libgcc-compat.S
4852 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
4853 as a macro and a compat symbol.
4854 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
4855 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
4856 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
4857 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
4858 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
4859 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
4861 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
4863 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
4865 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
4867 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
4869 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
4871 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
4872 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
4875 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4877 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4879 2013-12-19 Joseph Myers <joseph@codesourcery.com>
4881 * manual/texinfo.tex: Update to version 2013-11-26.10 with
4882 trailing whitespace removed.
4883 * scripts/config.guess: Update to version 2013-11-29.
4884 * scripts/config.sub: Update to version 2013-10-01.
4886 * math/auto-libm-test-in: Add tests of sincos.
4887 * math/auto-libm-test-out: Regenerated.
4888 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
4889 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4891 (func_calc_desc): Add mpfr_f_11 union field.
4892 (test_functions): Add sincos.
4893 (calc_generic_results): Handle mpfr_f_11.
4894 * sysdeps/i386/fpu/libm-test-ulps: Update.
4895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4897 2013-12-19 Andreas Schwab <schwab@suse.de>
4899 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
4901 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4902 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
4903 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
4905 2013-12-19 Joseph Myers <joseph@codesourcery.com>
4907 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
4908 * sysdeps/i386/fpu/libm-test-ulps: Update.
4909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4912 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
4913 round-to-nearest mode when using frndint.
4914 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
4915 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
4916 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4918 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
4920 * math/auto-libm-test-out: Regenerated.
4921 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
4922 (TEST_COND_x86): Likewise.
4923 (expm1_tonearest_test_data): New array.
4924 (expm1_test_tonearest): New function.
4925 (expm1_towardzero_test_data): New array.
4926 (expm1_test_towardzero): New function.
4927 (expm1_downward_test_data): New array.
4928 (expm1_test_downward): New function.
4929 (expm1_upward_test_data): New array.
4930 (expm1_test_upward): New function.
4931 (main): Run the new test functions.
4932 * sysdeps/i386/fpu/libm-test-ulps: Update.
4933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4935 * include/features.h: Update comment documenting feature test
4936 macros. Mention _DEFAULT_SOURCE in comment.
4937 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
4938 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
4939 _BSD_SOURCE and _SVID_SOURCE.
4940 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
4941 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
4942 !_SVID_SOURCE]: Likewise.
4943 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4944 (__USE_POSIX_IMPLICITLY): Define.
4945 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4946 (_POSIX_SOURCE): Undefine and redefine.
4947 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4948 (_POSIX_C_SOURCE): Likewise.
4949 * manual/creature.texi (_DEFAULT_SOURCE): Document.
4950 (Feature Test Macros): Update documentation of default features.
4952 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4954 * benchtests/Makefile: Add bench-strtok.
4955 * benchtests/bench-strtok.c: New file: strtok benchtest.
4957 2013-12-19 Allan McRae <allan@archlinux.org>
4959 * manual/install.texi: Suppress menu for plain text output.
4960 * INSTALL: Regenerated.
4962 2013-12-18 Brooks Moses <bmoses@google.com>
4965 * misc/getauxval.c: Include errno.h.
4966 (__getauxval): Set errno to ENOENT if the requested type is not
4968 * misc/sys/auxv.h (getauxval): Document that it may set errno;
4969 don't declare with __attribute_const__.
4970 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
4971 * manual/startup.texi: Document that getauxval sets errno.
4973 2013-12-18 Joseph Myers <joseph@codesourcery.com>
4975 * math/auto-libm-test-in: Add tests of jn and yn.
4976 * math/auto-libm-test-out: Regenerated.
4977 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
4978 (yn_test_data): Likewise.
4979 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4981 (func_calc_desc): Add mpfr_if_f union field.
4982 (FUNC_mpfr_if_f): New macro.
4983 (test_functions): Add jn and yn.
4984 (calc_generic_results): Assert type of second input for
4985 mpfr_ff_f. Handle mpfr_if_f.
4986 (output_for_one_input_case): Disable all checking for arguments
4987 fitting floating-point types in case of an integer argument.
4988 * sysdeps/i386/fpu/libm-test-ulps: Update.
4989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4992 Don't expect fegetround reference in libm.so.
4994 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4996 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
4997 $(config-cflags-nofma).
4999 2013-12-18 Joseph Myers <joseph@codesourcery.com>
5001 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
5002 * math/auto-libm-test-out: Regenerated.
5005 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
5006 to determine exponent and adjust argument to have exponent of -1.
5007 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
5009 * math/auto-libm-test-out: Regenerated.
5010 * sysdeps/i386/fpu/libm-test-ulps: Update.
5011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5013 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
5015 * manual/probes.texi: Remove cases when per-thread arenas are
5018 2013-12-18 Andreas Schwab <schwab@suse.de>
5020 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
5021 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
5022 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
5023 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
5024 * sysdeps/i386/i686/multiarch/Makefile: Update.
5025 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
5027 2013-12-17 Joseph Myers <joseph@codesourcery.com>
5029 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
5030 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
5032 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
5035 Support TZ transition times < 00:00:00.
5036 This is needed for version-3 tz-format files; it supports time
5037 stamps past 2037 for America/Godthab (the only entry in the tz
5038 database for which this change is relevant).
5039 * manual/time.texi (TZ Variable): Document transition times
5040 from -167:59:59 through -00:00:01.
5041 * time/tzset.c (tz_rule): Time of day is now signed.
5042 (__tzset_parse_tz): Parse negative time of day.
5044 Document TZ transition times >= 25:00:00.
5045 * manual/time.texi (TZ Variable): Document transition times from
5046 25:00:00 through 167:59:59. These are already supported, and this
5047 support will help with version-3 tz-format files.
5049 * manual/time.texi (TZ Variable): Modernize North America example
5050 to reflect current (i.e., 2007-and-later) daylight saving rules.
5052 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
5054 2013-12-17 Joseph Myers <joseph@codesourcery.com>
5056 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
5057 * sysdeps/unix/bsd/bits/stat.h: Likewise.
5058 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
5059 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5060 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
5061 * sysdeps/unix/bsd/bsdstat.h: Likewise.
5062 * sysdeps/unix/bsd/clock.c: Likewise.
5063 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
5064 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
5065 * sysdeps/unix/bsd/init-posix.c: Likewise.
5066 * sysdeps/unix/bsd/poll.c: Likewise.
5067 * sysdeps/unix/bsd/ptsname.c: Likewise.
5068 * sysdeps/unix/bsd/seekdir.c: Likewise.
5069 * sysdeps/unix/bsd/setegid.c: Likewise.
5070 * sysdeps/unix/bsd/seteuid.c: Likewise.
5071 * sysdeps/unix/bsd/setgid.c: Likewise.
5072 * sysdeps/unix/bsd/setrgid.c: Likewise.
5073 * sysdeps/unix/bsd/setruid.c: Likewise.
5074 * sysdeps/unix/bsd/setsid.c: Likewise.
5075 * sysdeps/unix/bsd/setuid.c: Likewise.
5076 * sysdeps/unix/bsd/sigaction.c: Likewise.
5077 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
5078 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
5079 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
5080 * sysdeps/unix/bsd/telldir.c: Likewise.
5081 * sysdeps/unix/bsd/times.c: Likewise.
5082 * sysdeps/unix/bsd/usleep.c: Likewise.
5084 * misc/Makefile (install-lib): Remove libbsd-compat.a.
5085 ($(objpfx)libbsd-compat.a): Remove rule.
5087 * include/features.h (__FAVOR_BSD): Do not define.
5088 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
5089 features conflicting with POSIX.
5090 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
5091 (_BSD_SOURCE): Remove description of not being a subset of other
5092 feature test macros.
5093 * manual/job.texi (getpgrp): Do not document BSD version.
5094 (getpgid): Do not document by reference to BSD getpgrp.
5095 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
5096 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
5097 * signal/signal.h [__FAVOR_BSD]: Likewise.
5098 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
5099 instead of making contents conditional on [__FAVOR_BSD].
5100 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
5102 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5104 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5106 2013-12-17 Joseph Myers <joseph@codesourcery.com>
5109 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
5110 values below 2**-450, not 2**-500.
5111 * math/auto-libm-test-in: Don't allow spurious underflow from
5113 * math/auto-libm-test-out: Regenerated.
5117 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
5118 values of ha and hb and sort them after adjusting subnormal
5120 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5122 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
5123 values of ea and eb and sort them after adjusting subnormal
5125 * math/auto-libm-test-in: Do not expect some hypot tests of
5126 subnormals to fail. Add more hypot tests.
5127 * math/auto-libm-test-out: Regenerated.
5129 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5132 * sysdeps/sh/s_fma.c: New file.
5133 * sysdeps/sh/s_fmaf.c: New file.
5134 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
5136 * sysdeps/sh/Implies: Add sh/soft-fp.
5138 2013-12-16 Roland McGrath <roland@hack.frob.com>
5140 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
5141 level of indirection to members `objname', `errstring', `malloced'.
5142 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
5143 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
5144 it as the __longjmp argument (just pass 1 instead).
5145 (_dl_catch_error): Initialize C with argument pointers and address of
5146 volatile local ERRCODE rather than copying values out of C at return.
5148 2013-12-16 Joseph Myers <joseph@codesourcery.com>
5150 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
5151 * math/auto-libm-test-out: Regenerated.
5152 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
5153 (hypot_test_data): Likewise.
5154 (pow_test_data): Likewise.
5155 (pow_tonearest_test_data): Likewise.
5156 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5158 (func_calc_desc): Add mpfr_ff_f union field.
5159 (FUNC_mpfr_ff_f): New macro.
5160 (test_functions): Add atan2, hypot and pow.
5161 (special_fill_min): New function.
5162 (special_fill_minus_min): Likewise.
5163 (special_fill_min_subnorm): Likewise.
5164 (special_fill_minus_min_subnorm): Likewise.
5165 (special_real_inputs): Add min, -min, min_subnorm and
5167 (calc_generic_results): Handle mpfr_ff_f.
5168 * sysdeps/i386/fpu/libm-test-ulps: Update.
5169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5171 2013-12-16 Will Newton <will.newton@linaro.org>
5173 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
5174 (Aligned Memory Blocks): Add documentation for aligned_alloc
5175 and suggest it as an alternative to posix_memalign.
5176 (Hooks for Malloc): Document __memalign_hook is also called
5177 for aligned_alloc. (Summary of Malloc): Add summary for
5178 aligned alloc. Document __memalign_hook is also called
5181 2013-12-16 Will Newton <will.newton@linaro.org>
5183 * manual/memory.texi (Malloc Examples): Clarify default
5184 alignment documentation. Suggest posix_memalign rather
5185 than memalign or valloc.
5186 (Aligned Memory Blocks): Remove suggestion to use memalign
5187 or valloc. Remove obsolete comment about BSD.
5188 Document memalign errno values and mark the function obsolete.
5189 Document posix_memalign returned error codes. Mark valloc
5190 as obsolete. (Hooks for Malloc): __memalign_hook is also
5191 called for posix_memalign and valloc.
5192 (Summary of Malloc): Add posix_memalign to function summary.
5193 __memalign_hook is also called for posix_memalign and valloc.
5195 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5197 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
5201 (sloww): Use mynumber union. Expand ternary operator into
5203 (cslow): use mynumber union.
5205 2013-12-16 Allan McRae <allan@archlinux.org>
5207 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
5208 * configure: Regenerated.
5210 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
5213 * configure.ac: Added --enable-maintainer-mode. Check for
5214 autoconf when enabled.
5215 * configure: Regenerated.
5217 * nscd/nscd.service: New file.
5218 * nscd/nscd.tmpfiles: New file.
5220 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
5223 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
5224 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
5225 * sysdeps/x86_64/multiarch/strstr.c: ... here.
5226 (strstr): Add __strstr_sse2_unaligned ifunc.
5227 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
5228 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
5229 (strcasestr): Remove __strcasestr_sse42 ifunc.
5230 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
5231 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5232 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5234 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5236 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
5237 * sysdeps/sh/bits/fenv.h: ... here.
5238 * sysdeps/sh/sh4/fpu/bits: Remove directory.
5240 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5242 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
5244 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5246 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
5247 hypotf multiarch implementations.
5248 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
5249 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
5250 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
5251 multiarch hypot for PPC64.
5252 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
5253 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
5254 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
5255 multiarch hypotf for PPC64.
5257 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5259 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
5260 modff multiarch implementations.
5261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
5262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
5263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
5264 multiarch modf for PPC64.
5265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
5266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
5267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
5268 multiarch modff for PPC64.
5270 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5272 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
5273 and logl multiarch implementations.
5274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
5275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
5276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
5277 multiarch logb for PPC64.
5278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
5279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
5280 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
5281 multiarch logb for PPC64.
5282 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
5283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
5284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
5285 multiarch logb for PPC64.
5287 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5289 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
5290 isinff multiarch implementation.
5291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
5293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
5294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
5295 multiarch isinf for PPC64.
5296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
5298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
5299 multiarch isinff for PPC64.
5301 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5303 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
5304 finitef multiarch implementation.
5305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
5307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
5308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
5309 multiarch finite for PPC64.
5310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
5312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
5313 multiarch finitef for PPC64.
5315 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5317 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
5318 lrint multiarch implementation.
5319 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
5321 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
5322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
5323 multiarch llrint for PPC64.
5324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
5325 multiarch lrint for PPC64.
5327 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5329 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
5330 copysignf multiarch implementation.
5331 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
5333 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
5335 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
5336 multiarch copysign for PPC64.
5337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
5338 multiarch copysignf for PPC64.
5340 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5342 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
5343 multiarch implementation.
5344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
5346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
5348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
5350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
5352 multiarch llround for PPC64.
5353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
5354 multiarch trunc for PPC64.
5355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
5356 multiarch truncf for PPC64.
5358 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5360 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
5361 multiarch implementation.
5362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
5364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
5366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
5368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
5370 multiarch llround for PPC64.
5371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
5372 multiarch round for PPC64.
5373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
5374 multiarch roundf for PPC64.
5376 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5378 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
5379 multiarch implementation.
5380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
5382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
5384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
5386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
5388 multiarch llround for PPC64.
5389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
5390 multiarch floor for PPC64.
5391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
5392 multiarch floorf for PPC64.
5394 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5396 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
5397 multiarch implementation.
5398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
5400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
5402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
5404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
5406 multiarch llround for PPC64.
5407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
5408 multiarch ceil for PPC64.
5409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
5410 multiarch ceilf for PPC64.
5412 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5414 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
5415 multiarch implementation.
5416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
5418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
5420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
5422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
5423 multiarch llround for PPC64.
5424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
5425 multiarch lround for PPC64.
5427 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5429 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
5430 multiarch implementation.
5431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
5432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
5433 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
5435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
5436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
5437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
5438 multiarch isnan for PPC64.
5439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
5440 multiarch isnanf for PPC64.
5442 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5444 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
5445 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
5446 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
5447 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
5448 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
5449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
5451 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5453 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
5454 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5455 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5456 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5458 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5460 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
5461 multiarch implementations.
5462 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5463 (__libc_ifunc_impl_list): Likewise.
5464 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
5465 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
5466 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
5467 multiarch stpcpy for PPC64.
5469 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5471 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
5472 multiarch implementations.
5473 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5474 (__libc_ifunc_impl_list): Likewise.
5475 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
5476 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
5477 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
5478 multiarch strcpy for PPC64.
5480 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5482 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
5483 redefine function name.
5484 (_wordcopy_fwd_dest_aligned): Likewise.
5485 (_wordcopy_bwd_aligned): Likewise.
5486 (_wordcopy_bwd_dest_aligned): Likewise.
5487 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
5488 multiarch implementations.
5489 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5490 (__libc_ifunc_impl_list): Likewise.
5491 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
5492 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
5493 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
5494 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
5495 multiarch wcscpy for PPC64.
5497 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5499 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
5500 multiarch implementations.
5501 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5502 (__libc_ifunc_impl_list): Likewise.
5503 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
5504 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
5505 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
5506 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
5507 multiarch wcscpy for PPC64.
5509 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5511 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
5512 multiarch implementations.
5513 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5514 (__libc_ifunc_impl_list): Likewise.
5515 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
5516 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
5517 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
5518 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
5519 multiarch wcsrchr for PPC64.
5521 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5523 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
5524 multiarch implementations.
5525 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5526 (__libc_ifunc_impl_list): Likewise.
5527 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
5528 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
5529 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
5530 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
5531 multiarch wcschr for PPC64.
5533 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5535 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
5536 multiarch implementations.
5537 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5538 (__libc_ifunc_impl_list): Likewise.
5539 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
5540 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
5541 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
5542 multiarch strchrnul for PPC64.
5544 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5546 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
5548 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5549 (__libc_ifunc_impl_list): Likewise.
5550 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
5551 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
5552 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
5553 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
5556 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5558 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
5560 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5561 (__libc_ifunc_impl_list): Likewise.
5562 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
5563 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
5564 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
5565 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
5568 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5570 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
5571 multiarch implementations.
5572 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5573 (__libc_ifunc_impl_list): Likewise.
5574 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
5575 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
5576 strncasecmp for PPC64.
5577 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
5578 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
5579 multiarch strncasecmp_l for PPC64.
5581 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5583 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
5584 multiarch implementations.
5585 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5586 (__libc_ifunc_impl_list): Likewise.
5587 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
5588 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
5589 multiarch strcasecmp for PPC64.
5590 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
5592 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
5593 multiarch strcasecmp_l for PPC64.
5595 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5597 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
5599 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5600 (__libc_ifunc_impl_list): Likewise.
5601 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
5602 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
5603 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
5606 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5608 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
5610 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5611 (__libc_ifunc_impl_list): Likewise.
5612 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
5613 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
5614 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
5617 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5619 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
5621 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5622 (__libc_ifunc_impl_list): Likewise.
5623 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
5624 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
5625 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
5626 rawmemrchr for PPC64.
5628 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5630 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
5632 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5633 (__libc_ifunc_impl_list): Likewise.
5634 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
5635 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
5636 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
5639 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5641 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
5643 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5644 (__libc_ifunc_impl_list): Likewise.
5645 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
5646 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
5647 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
5650 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5652 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
5654 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5655 (__libc_ifunc_impl_list): Likewise.
5656 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
5657 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
5658 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
5661 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5663 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
5664 avoid cretion of __bzero symbol.
5665 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
5667 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
5669 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
5671 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
5672 multiarch implementations.
5673 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5674 (__libc_ifunc_impl_list): Likewise.
5675 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
5676 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
5677 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
5678 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
5680 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
5681 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
5682 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
5683 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
5684 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
5686 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
5688 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5690 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
5691 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
5693 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5694 (__libc_ifunc_impl_list): Likewise.
5695 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
5696 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
5697 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
5698 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
5701 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5703 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
5704 multiarch for POWER/PPC64.
5705 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5706 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
5707 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
5708 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
5709 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
5710 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
5711 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
5712 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
5713 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
5716 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5718 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
5719 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
5720 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
5721 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
5722 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
5723 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
5724 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
5725 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
5726 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
5727 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
5728 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
5729 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
5730 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
5731 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
5732 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
5733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
5734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
5735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
5736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
5737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
5738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
5739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
5741 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5743 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
5745 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5747 * benchtests/Makefile (bench): Add exp2 and log2.
5748 (LDLIBS-bench-exp2): Add -lm.
5749 (LDLIBS-bench-log2): Likewise.
5750 * benchtests/exp2-inputs: New inputs file.
5751 * benchtests/log2-inputs: New inputs file.
5752 * benchtests/log-inputs: Add new inputs.
5753 * benchtests/tan-inputs: Likewise.
5755 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5757 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
5759 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
5760 csloww1, csloww2): ... from here.
5762 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
5763 instead of structures.
5764 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
5765 (POLYNOMIAL): Likewise.
5766 (TAYLOR_SLOW): Likewise.
5774 (bsloww1): Likewise.
5775 (bsloww2): Likewise.
5778 (csloww1): Likewise.
5779 (csloww2): Likewise.
5781 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
5783 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
5784 (__malloc_assert, __libc_realloc, __libc_calloc,
5785 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
5787 * malloc/hooks.c (realloc_check): Likewise.
5789 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
5791 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
5792 * malloc/arena.c: Remove PER_THREAD conditional.
5793 [!PER_THREAD]: Remove code.
5794 (ptmalloc_unlock_all2): Likewise.
5795 (ptmalloc_init): Likewise.
5796 (_int_new_arena): Likewise.
5797 (arena_get2): Likewise.
5798 * malloc/hooks.c (__malloc_get_state): Likewise.
5799 (__malloc_set_state): Likewise.
5800 * malloc/malloc.c: Likewise.
5801 (struct malloc_state): Likewise.
5802 (struct malloc_par): Likewise.
5803 (__libc_realloc): Likewise.
5804 (__libc_mallopt): Likewise.
5806 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5808 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
5810 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
5812 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
5813 macro to a function. Check for zero perturb_byte.
5814 (_int_malloc, _int_free): Remove zero perturb_byte checks.
5816 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
5818 * malloc/malloc.c: (force_reg): Remove.
5819 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
5820 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
5821 force_reg by atomic_forced_read.
5822 * malloc/arena.c (ptmalloc_init): Likewise.
5823 * malloc/hooks.c (top_check): Likewise.
5825 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5827 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5829 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
5831 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5833 2013-12-08 Joseph Myers <joseph@codesourcery.com>
5835 * math/auto-libm-test-in: Add tests of lgamma.
5836 * math/auto-libm-test-out: Regenerated.
5837 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
5838 (M_LOG_2_SQRT_PIl): Likewise.
5839 (lgamma_test_data): Use AUTO_TESTS_f_f1.
5840 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5842 (func_calc_desc): Add mpfr_f_f1 union field.
5851 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
5852 (test_functions): Add lgamma.
5853 (calc_generic_results): Handle mpfr_f_f1.
5854 * sysdeps/i386/fpu/libm-test-ulps: Update.
5855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5857 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5859 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
5860 __mpn_add_n for PowerPC64/POWER7.
5861 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
5862 __mpn_sub_n for PowerPC64/POWER7.
5864 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5866 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
5867 __mpn_addmul_1 for PowerPC64.
5868 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
5869 __mpn_submul_1 for PowerPC64.
5870 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
5872 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
5875 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
5878 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
5880 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5882 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
5884 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5886 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
5887 add multiarch folders.
5888 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
5889 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
5890 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
5891 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
5892 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
5893 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
5894 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
5895 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
5896 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
5897 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
5898 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
5899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
5900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
5901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
5902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
5903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
5904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
5906 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
5909 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
5910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
5912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
5914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
5915 multiarch __ieee754_hypot for PowerPC32.
5916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
5918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
5920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
5921 multiarch __ieee754_hypotf for PowerPC32.
5923 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5925 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
5926 long_double_symbol only if __logbl is defined.
5927 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
5928 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
5929 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
5930 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
5931 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
5932 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
5933 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
5934 path for implementation.
5935 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
5936 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
5937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
5938 logb, and logbl multiarch implementations for PowerPC32.
5939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
5941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
5943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
5944 multiarch logb for PowerPC32.
5945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
5947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
5949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
5950 multiarch logbf for PowerPC32.
5951 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
5952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
5954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
5955 multiarch logbl implementation for PowerPC32.
5957 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
5960 and modff multiarch implementations.
5961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
5963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
5965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
5966 multiarch modf for PowerPC32.
5967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
5969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
5971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
5972 multiarch modff for PowerPC32.
5974 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
5977 and lrintf multiarch implementations.
5978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
5980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
5982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
5983 multiarch lrint for PowerPC32.
5984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
5985 file: multiarch lrintf for PowerPC32.
5987 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
5990 and lroundf multiarch implementations.
5991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
5993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
5995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
5997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
5998 multiarch lround for PowerPC32.
5999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
6000 file: multiarch lroundf for PowerPC32.
6002 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6005 copysign and copysignf multiarch implementations.
6006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
6008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
6010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
6011 file: multiarch copysign for PowerPC32.
6012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
6013 file: multiarch copysignf for PowerPC32.
6015 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
6018 and truncf multiarch implementations.
6019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
6021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
6023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
6024 multiarch trunc for PowerPC32.
6025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
6027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
6029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
6030 multiarch truncf for PowerPC32.
6032 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
6035 and roundf multiarch implementations.
6036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
6038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
6040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
6041 multiarch round for PowerPC32.
6042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
6044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
6046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
6047 multiarch roundf for PowerPC32.
6049 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
6052 and floorf multiarch implementations.
6053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
6055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
6057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
6058 multiarch floor for PowerPC32.
6059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
6061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
6063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
6064 multiarch floorf for PowerPC32.
6066 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
6069 and ceilf multiarch implementations.
6070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
6072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
6074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
6075 multiarch ceil for PowerPC32.
6076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
6078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
6080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
6081 multiarch ceilf for PowerPC32.
6083 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6085 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
6087 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
6089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
6090 and finitef multiarch implementations.
6091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
6093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
6095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
6096 multiarch finite for PowerPC32.
6097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
6099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
6100 file: multiarch finitef for PowerPC32.
6102 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
6105 and isinff multiarch implementations.
6106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
6108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
6110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
6111 multiarch isinf for PowerPC32.
6112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
6114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
6115 multiarch isinff for PowerPC32.
6117 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6119 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
6120 alias when __isnan is defined.
6121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
6122 and isnanf multiarch implementations.
6123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
6125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
6127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
6129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
6131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
6132 multiarch isnan for PowerPC32.
6133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
6135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
6137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
6138 multiarch isnanf for PowerPC32.
6140 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
6143 and sqrtf multiarch implementations.
6144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
6146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
6148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
6149 multiarch sqrt for PowerPC32.
6150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
6152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
6154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
6155 multiarch sqrtf for PowerPC32.
6157 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
6160 and llroundf multiarch implementations.
6161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
6163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
6165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
6167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
6168 file: multiarch llround for PowerPC32.
6169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
6170 file: multiarch llroundf for PowerPC32.
6172 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
6175 multiarch PowerPC32 fpu implementations.
6176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
6178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
6180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
6181 multiarch llrint for PowerPC32.
6182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
6184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
6186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
6189 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
6193 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6195 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
6197 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
6199 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
6201 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
6202 multiarch wordcopy for PPC32.
6203 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6205 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6206 (__libc_ifunc_impl_list): Likewise.
6207 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
6208 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
6209 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
6210 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
6211 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
6212 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
6214 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6216 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
6217 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
6219 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
6221 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
6223 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
6224 multiarch wcscpy for PPC32.
6225 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6227 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6228 (__libc_ifunc_impl_list): Likewise.
6229 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6230 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6231 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
6232 sysdeps/powerpc/power6/wcscpy.c.
6234 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6236 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
6237 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
6239 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
6241 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
6243 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
6244 multiarch wcsrchr for PPC32.
6245 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6247 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6248 (__libc_ifunc_impl_list): Likewise.
6249 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6250 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6251 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
6252 sysdeps/powerpc/power6/wcsrchr.c.
6254 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6256 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
6258 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
6260 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
6261 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
6262 multiarch wcschr for PPc32.
6263 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6265 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6266 (__libc_ifunc_impl_list): Likewise.
6267 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
6268 * sysdeps/powerpc/power6/wcschr.c: ... to here.
6269 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
6270 sysdeps/powerpc/power6/wcschr.c.
6272 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6274 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
6275 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
6277 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
6278 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
6279 file: multiarch strchr for PPC32.
6280 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
6282 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6283 (__libc_ifunc_impl_list): Likewise.
6285 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6287 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
6289 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
6291 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
6293 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
6294 multiarch strchrnul for PPC32.
6295 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
6297 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6298 (__libc_ifunc_impl_list): Likewise.
6300 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6302 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
6304 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
6305 multiarch strncasecmp for PPC32.
6306 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
6308 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
6309 multiarch strncasecmp_l for PPC32.
6310 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
6311 strncasecmp multiarch objects.
6312 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6313 (__libc_ifunc_impl_list): Likewise.
6315 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6317 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
6319 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
6320 multiarch strncasecmp for PPC32.
6321 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6323 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
6324 multiarch strcasecmp_l for PPC32.
6325 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
6327 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6328 (__libc_ifunc_impl_list): Likewise.
6330 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6332 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
6334 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
6336 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
6337 multiarch strncmp for PPC32.
6338 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
6340 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6341 (__libc_ifunc_impl_list): Likewise.
6343 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6345 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
6346 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
6348 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
6349 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
6350 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
6352 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6353 (__libc_ifunc_impl_list): Likewise.
6355 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6357 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
6359 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
6361 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
6362 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
6364 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6365 (__libc_ifunc_impl_list): Likewise.
6367 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6369 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
6371 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
6373 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
6374 multiarch rawmemchr for PPC32.
6375 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
6377 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6378 (__libc_ifunc_impl_list): Likewise.
6380 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6382 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
6384 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
6386 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
6387 file: memrchr multiarch for PPC32.
6388 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
6390 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6391 (__libc_ifunc_impl_list): Likewise.
6393 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6395 * string/memchr.c (__memchr): Using macro to redefine symbol name.
6396 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
6398 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
6399 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
6400 multiarch memchr for PPC32.
6401 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
6403 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6404 (__libc_ifunc_impl_list): Likewise.
6406 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6408 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
6409 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
6411 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
6413 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
6414 file: multiarch mempcpy for PPC32.
6415 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
6417 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6418 (__libc_ifunc_impl_list): Likewise.
6420 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6422 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
6423 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
6424 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
6425 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
6426 multiarch bzero for PPC32.
6427 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
6429 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
6431 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
6432 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
6433 file: multiarch memset for PPC32.
6434 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
6435 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
6436 memset multiarch objects.
6437 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6438 (__libc_ifunc_impl_list): Likewise.
6440 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6442 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
6444 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
6445 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
6447 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
6448 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
6450 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6451 (__libc_ifunc_impl_list): Likewise.
6453 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6455 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
6456 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
6457 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
6459 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
6461 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
6463 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
6464 multiarch memcpy for PPC32.
6465 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
6467 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6468 (__libc_ifunc_impl_list): Likewise.
6470 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6472 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
6473 support multiarch for POWER/PPC32.
6474 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
6476 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
6477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
6478 Implies file to make multiarch folder appers before the fpu and
6479 default folder for power4 configuration.
6481 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6483 * scripts/bench.pl: Append volatile keyword to type.
6485 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6487 * sysdeps/sh/sotruss-lib.c: New file.
6488 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
6490 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6492 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6494 2013-12-05 Joseph Myers <joseph@codesourcery.com>
6497 * math/w_tgamma.c: Include <errno.h>.
6498 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
6499 * math/w_tgammaf.c: Include <errno.h>.
6500 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
6501 * math/w_tgammal.c: Include <errno.h>.
6502 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
6503 * math/auto-libm-test-in: Do not allow missing errno on tgamma
6504 underflow. Add more tgamma tests.
6505 * math/auto-libm-test-out: Regenerated.
6506 * sysdeps/i386/fpu/libm-test-ulps: Update.
6507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6509 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
6510 sin, sinh, tan, tanh, tgamma, y0 and y1.
6511 * math/auto-libm-test-out: Regenerated.
6512 * math/libm-test.inc (TEST_COND_x86_64): New macro.
6513 (TEST_COND_x86): Likewise.
6514 (M_E2l): Remove macro.
6516 (M_2_SQRT_PIl): Likewise.
6517 (M_SQRT_PIl): Likewise.
6518 (M_1_DIV_El): Likewise.
6519 (log_test_data): Use AUTO_TESTS_f_f.
6520 (log10_test_data): Likewise.
6521 (log1p_test_data): Likewise.
6522 (log2_test_data): Likewise.
6523 (sin_test_data): Likewise.
6524 (sin_tonearest_test_data): Likewise.
6525 (sin_towardzero_test_data): Likewise.
6526 (sin_downward_test_data): Likewise.
6527 (sin_upward_test_data): Likewise.
6528 (sinh_test_data): Likewise.
6529 (sinh_tonearest_test_data): Likewise.
6530 (sinh_towardzero_test_data): Likewise.
6531 (sinh_downward_test_data): Likewise.
6532 (sinh_upward_test_data): Likewise.
6533 (tan_test_data): Likewise.
6534 (tan_tonearest_test_data): Likewise.
6535 (tan_towardzero_test_data): Likewise.
6536 (tan_downward_test_data): Likewise.
6537 (tan_upward_test_data): Likewise.
6538 (tanh_test_data): Likewise.
6539 (tgamma_test_data): Likewise.
6540 (y0_test_data): Likewise.
6541 (y1_test_data): Likewise.
6542 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
6543 (special_real_inputs): Add pi/4.
6544 * sysdeps/i386/fpu/libm-test-ulps: Update.
6545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6547 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6549 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
6550 "longjmp_target" static probes.
6551 (__longjmp): Rename to __longjmp_symbol.
6552 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6553 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
6554 on which longjmp to generate.
6555 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6556 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
6558 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6559 (__sigjmp_save): Rename to __sigjmp_save_symbol.
6560 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6561 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
6562 and __sigjmp_save_symbol based on which sigsetjmp to generated.
6563 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
6564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
6565 __longjmp_symbol based on which __longjmp to generate.
6566 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
6568 (setjmp): Rename to setjmp_symbol.
6569 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6570 (_setjmp): Rename to _setjmp_symbol.
6571 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6572 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
6573 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
6574 which setjmp to generate.
6575 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
6576 "longjmp_target" static probes.
6578 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6580 * benchtests/README: Add note about output arguments.
6581 * benchtests/bench-sincos.c: Remove file.
6582 * benchtests/sincos-inputs: New file.
6583 * scripts/bench.pl: Identify output arguments and define
6584 static variables for them.
6586 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
6589 * Makefile (INSTALL): Add install-plain.texi as the primary
6591 * manual/install-plain.texi: New file.
6592 * manual/install.texi: Include node directive only for
6593 non-plaintext output.
6595 2013-12-04 Joseph Myers <joseph@codesourcery.com>
6597 * stdlib/longlong.h: Update from GCC.
6601 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
6602 * math/w_j0f.c (y0f): Likewise.
6603 * math/w_j0l.c (__y0l): Likewise.
6604 * math/w_j1.c (y1): Likewise.
6605 * math/w_j1f.c (y1f): Likewise.
6606 * math/w_j1l.c (__y1l): Likewise
6607 * math/w_jn.c (yn): Likewise.
6608 * math/w_jnf.c (ynf): Likewise.
6609 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
6610 Bessel function pole errors in _POSIX_ mode. Use NAN as return
6611 value for Bessel function domain errors outside _SVID_ mode.
6612 Adjust sign of return value for yn (negative integer, 0).
6613 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
6614 by zero in return for negative x and set sign appropriately for
6616 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
6617 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6618 * math/libm-test.inc (y0_test_data): Add more tests and adjust
6619 expectations in error cases.
6620 (y1_test_data): Likewise.
6621 (yn_test_data): Likewise.
6622 * sysdeps/i386/fpu/libm-test-ulps: Update.
6623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6625 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6627 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
6628 "64" to "64-v1". Add "64-v2".
6629 (abi-64-options): Rename to ...
6630 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
6631 (abi-64-condition): Rename to ...
6632 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
6633 (abi-64-ld-soname): Rename to ...
6634 (abi-64-v1-ld-soname): ... this.
6635 (abi-64-v2-options): Define.
6636 (abi-64-v2-condition): Likewise.
6637 (abi-64-v2-ld-soname): Likewise.
6638 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
6639 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
6640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
6641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
6642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
6644 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6645 Alan Modra <amodra@gmail.com>
6647 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
6648 New versions for use with the ELFv2 ABI.
6649 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
6650 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
6652 (struct La_ppc64v2_retval): Likewise.
6653 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
6654 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
6655 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
6656 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
6657 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
6658 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
6659 Do not save or restore CR.
6660 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
6661 (_dl_profile_resolve): Do no save or restore CR. Support extended
6662 return values for ELFv2 ABI. Fix location of FPR return registers.
6663 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
6664 updated values for _CALL_ELF == 2.
6665 (La_regs, La_retval, int_retval): Likewise.
6667 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6669 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
6670 (FRAME_MIN_SIZE_PARM): Likewise.
6671 (FRAME_BACKCHAIN): Likewise.
6672 (FRAME_CR_SAVE): Likewise.
6673 (FRAME_LR_SAVE): Likewise.
6674 (FRAME_TOC_SAVE): Likewise.
6675 (FRAME_PARM_SAVE): Likewise.
6676 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
6677 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
6678 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
6679 (call_mcount_parm_offset): New macro.
6680 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
6681 (PROF): Use symbolic stack frame offsets.
6682 (TAIL_CALL_SYSCALL_ERROR): Likewise.
6683 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
6684 Redefine in terms of FRAME_MIN_SIZE.
6685 (_dl_runtime_resolve): Use symbolic stack frame offsets.
6686 (_dl_profile_resolve): Likewise. Update comment.
6687 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
6688 symbols stack frame offsets.
6689 (__sigsetjmp): Likewise.
6690 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
6691 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
6692 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
6693 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
6695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
6696 (FRAME_BACKCHAIN): Remove.
6697 (FRAME_CR_SAVE): Likewise.
6698 (FRAME_LR_SAVE): Likewise.
6699 (FRAME_COMPILER_DW): Likewise.
6700 (FRAME_LINKER_DW): Likewise.
6701 (FRAME_TOC_SAVE): Likewise.
6702 (FRAME_PARM_SAVE): Likewise.
6703 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
6704 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
6705 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
6706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
6707 (CHECK_SP): Use symbolic stack frame offsets.
6708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
6709 zone" instead of caller's parameter save area for temp storage.
6710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
6711 Likewise. Also, use symbolic stack frame offsets.
6712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
6713 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
6714 our own stack frame instead of the caller's.
6715 (__socket): Use symbolic stack frame offsets.
6717 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6718 Alan Modra <amodra@gmail.com>
6720 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
6722 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
6723 PPC64_LOCAL_ENTRY_OFFSET): Define.
6724 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
6726 (elf_machine_fixup_plt): Call it.
6727 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
6729 (elf_machine_rela): Update call to elf_machine_plt_conflict.
6730 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6731 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
6732 r2 before calling target.
6734 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6735 Alan Modra <amodra@gmail.com>
6737 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
6738 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
6739 versions of macros to support ELFv2 ABI.
6740 (LOCALENTRY): New macro.
6741 (ENTRY, EALIGN): Use it.
6742 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
6743 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
6744 fall through into ENTRY entry point.
6745 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
6746 Only define if _CALL_ELF != 2.
6748 (elf_machine_matches_host): Verify ABI version matches.
6749 (RTLD_START): Use LOCALENTRY.
6750 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
6751 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
6752 (PLT_ENTRY_WORDS): New macro.
6753 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
6754 (elf_machine_runtime_setup): Support ELFv2 ABI.
6755 (elf_machine_fixup_plt): Likewise.
6756 (elf_machine_plt_conflict): Likewise.
6757 (resolve_ifunc): Likewise.
6758 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6759 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
6761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
6762 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
6763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6764 (makecontext): Support ELFv2 ABI.
6765 * elf/elf.h (EF_PPC64_ABI): Define.
6767 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6769 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
6770 New assembler macro.
6771 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
6772 [ASSEMBLER] (ENTRY): ... but instead here ...
6773 [ASSEMBLER] (EALIGN): ... and here.
6774 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
6775 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
6776 [!ASSEMBLER] (ENTRY_2): Use it.
6777 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
6778 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
6779 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6780 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
6781 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
6782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
6783 Use PPC64_LOAD_FUNCPTR.
6785 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6787 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
6789 2013-12-04 Alan Modra <amodra@gmail.com>
6791 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
6792 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
6793 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
6794 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
6796 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
6797 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
6798 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
6799 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
6800 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
6801 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
6803 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6806 (__makecontext): Fix incorrect CFI when backtracing out of
6807 context created via makecontext.
6808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
6809 (__setcontext): Fix incorrect CFI during switch to new context.
6810 (__novec_setcontext): Likewise.
6812 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
6815 * time/strptime_l.c (__strptime_internal): Allow modifiers
6817 * time/tst-strptime.c (day_tests): Add testcase.
6820 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6822 * scripts/bench.pl: Skip over blank lines.
6824 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
6827 * manual/time.texi (Calendar Time): Clarify what timezone functions
6830 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6832 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6834 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
6836 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
6838 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
6839 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
6840 * debug/memset_chk.c (__memset_chk): Likewise.
6841 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
6842 * debug/strncpy_chk.c: Likewise.
6844 2013-12-03 Joseph Myers <joseph@codesourcery.com>
6848 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
6849 (__ieee754_exp): For possibly underflowing results, check size of
6850 result and force underflow exception if required.
6851 * math/auto-libm-test-in: Add more tests of exp.
6852 * math/auto-libm-test-out: Regenerated.
6853 * sysdeps/i386/fpu/libm-test-ulps: Update.
6854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6857 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
6858 * math/w_exp2f.c (__exp2f): Likewise.
6859 * math/w_exp2l.c (__exp2l): Likewise.
6860 * math/auto-libm-test-in: Do not allow missing errno on exp2
6862 * math/auto-libm-test-out: Regenerated.
6864 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
6867 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
6868 handle filename validation.
6869 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
6872 2013-12-03 Joseph Myers <joseph@codesourcery.com>
6875 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
6876 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
6877 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
6879 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
6880 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
6881 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6882 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
6883 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6884 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
6885 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6886 * math/auto-libm-test-in: Don't allow missing errno from erfc.
6887 Add more erfc tests.
6888 * math/auto-libm-test-out: Regenerated.
6889 * sysdeps/i386/fpu/libm-test-ulps: Update.
6890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6892 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
6893 exp2, expm1, j0 and j1.
6894 * math/auto-libm-test-out: Regenerated.
6895 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
6896 (erfc_test_data): Likewise.
6897 (exp_test_data): Likewise.
6898 (exp_tonearest_test_data): Likewise.
6899 (exp_towardzero_test_data): Likewise.
6900 (exp_downward_test_data): Likewise.
6901 (exp_upward_test_data): Likewise.
6902 (exp10_test_data): Likewise.
6903 (exp2_test_data): Likewise.
6904 (expm1_test_data): Likewise.
6905 (j0_test_data): Likewise.
6906 (j1_test_data): Likewise.
6907 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
6908 (input_flag_type): Add flag_xfail_rounding.
6909 (input_flags): Add xfail-rounding.
6910 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
6911 (output_for_one_input_case): Handle flag_xfail_rounding.
6912 * sysdeps/i386/fpu/libm-test-ulps: Update.
6913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6915 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
6918 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
6921 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6924 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
6925 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
6926 (STAP_PROBE0): New macro.
6927 (STAP_PROBE1): Likewise.
6928 (STAP_PROBE2): Likewise.
6929 (STAP_PROBE3): Likewise.
6930 (STAP_PROBE4): Likewise.
6932 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
6934 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
6936 2013-12-02 Steve Ellcey <sellcey@mips.com>
6938 * benchtests/Makefile (bench): Add sqrt.
6939 (LDLIBS-bench-sqrt): New.
6940 * benchtests/sqrt-input: New.
6942 2013-12-02 Pavel Simerda <psimerda@redhat.com>
6944 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
6945 (GAIH_EAI): Likewise.
6946 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
6947 (gaih_inet): Likewise.
6948 (getaddrinfo): Don't use GAIH_EAI.
6950 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
6951 (struct gaih): Remove definition.
6953 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6955 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
6956 Use HERRNOP directly.
6958 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6960 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6962 2013-11-30 Joseph Myers <joseph@codesourcery.com>
6964 * math/gen-auto-libm-tests.c (test_functions): Add more
6965 single-argument functions.
6966 (special_fill_pi_2): New function.
6967 (special_fill_minus_pi_2): Likewise.
6968 (special_fill_pi_6): Likewise.
6969 (special_fill_minus_pi_6): Likewise.
6970 (special_fill_pi_3): Likewise.
6971 (special_fill_2pi_3): Likewise.
6972 (special_fill_e): Likewise.
6973 (special_fill_1_e): Likewise.
6974 (special_fill_e_minus_1): Likewise.
6975 (special_real_inputs): Add more special inputs.
6976 (output_for_one_input_case): Do not require ERANGE on underflow to
6977 zero if round-to-nearest result does not underflow to zero, unless
6978 exact results required.
6979 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
6980 atan, atanh, cbrt, cos and cosh.
6981 * math/auto-libm-test-out: Regenerated.
6982 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
6983 (acos_tonearest_test_data): Likewise.
6984 (acos_towardzero_test_data): Likewise.
6985 (acos_downward_test_data): Likewise.
6986 (acos_upward_test_data): Likewise.
6987 (acosh_test_data): Likewise.
6988 (asin_test_data): Likewise.
6989 (asin_tonearest_test_data): Likewise.
6990 (asin_towardzero_test_data): Likewise.
6991 (asin_upward_test_data): Likewise.
6992 (asinh_test_data): Likewise.
6993 (atan_test_data): Likewise.
6994 (atanh_test_data): Likewise.
6995 (cbrt_test_data): Likewise.
6996 (cos_test_data): Likewise.
6997 (cos_tonearest_test_data): Likewise.
6998 (cos_towardzero_test_data): Likewise.
6999 (cos_downward_test_data): Likewise.
7000 (cos_upward_test_data): Likewise.
7001 (cosh_test_data): Likewise.
7002 (cosh_tonearest_test_data): Likewise.
7003 (cosh_towardzero_test_data): Likewise.
7004 (cosh_downward_test_data): Likewise.
7005 (cosh_upward_test_data): Likewise.
7006 * sysdeps/i386/fpu/libm-test-ulps: Update.
7007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7009 2013-11-29 Joseph Myers <joseph@codesourcery.com>
7012 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
7013 * math/w_exp10f.c (__exp10f): Likewise.
7014 * math/w_exp10l.c (__exp10l): Likewise.
7015 * math/libm-test.inc (exp10_test_data): Add more tests and expect
7016 errno settings in existing tests.
7019 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
7020 precision control set to double precision.
7021 * sysdeps/i386/fpu/w_sqrt.c: New file.
7022 * math/auto-libm-test-in: Add more tests.
7023 * math/auto-libm-test-out: Update.
7025 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
7026 (sqrt_test_tonearest): New function.
7027 (sqrt_towardzero_test_data): New variable.
7028 (sqrt_test_towardzero): New function.
7029 (sqrt_downward_test_data): New variable.
7030 (sqrt_test_downward): New function.
7031 (sqrt_upward_test_data): New variable.
7032 (sqrt_test_upward): New function.
7033 (main): Call the new functions.
7035 * math/gen-auto-libm-tests.c: New file.
7036 * math/auto-libm-test-in: Likewise.
7037 * math/auto-libm-test-out: New generated file.
7038 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
7040 (%beautify): Add generated representations of zero.
7041 (top level): Set $auto_input and call parse_auto_input.
7042 (beautify): Remove trailing "f" from hex float constants.
7043 (parse_args): Handle XFAIL_TEST.
7044 (convert_condition): New function.
7045 (or_value): Likewise.
7046 (or_cond_value): Likewise.
7047 (generate_testfile): Handle AUTO_TESTS_* lines.
7048 (parse_auto_input): New function.
7049 * math/libm-test.inc (XFAIL_TEST): New macro.
7050 (ERRNO_UNCHANGED): Update value.
7051 (ERRNO_EDOM): Likewise.
7052 (ERRNO_ERANGE): Likewise.
7053 (IGNORE_RESULT): Likewise.
7054 (TEST_COND_flt_32): New macro.
7055 (TEST_COND_dbl_64): Likewise.
7056 (TEST_COND_ldbl_96_intel): Likewise.
7057 (TEST_COND_ldbl_96_m68k): Likewise.
7058 (TEST_COND_ldbl_128): Likewise.
7059 (TEST_COND_ldbl_128ibm): Likewise.
7060 (TEST_COND_long32): Likewise.
7061 (TEST_COND_long64): Likewise.
7062 (TEST_COND_before_rounding): Likewise.
7063 (TEST_COND_after_rounding): Likewise.
7064 (enable_test): Handle XFAIL_TEST flag.
7065 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
7066 with finite results.
7067 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
7070 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7071 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7074 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
7075 __tls_get_addr_internal instead of __tls_get_offset in order to
7076 avoid GOT pointer dependency. Make rtld export
7077 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
7078 __tls_get_addr since we are a __tls_get_offset platform.
7079 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
7080 GOT pointer being set up before.
7081 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
7083 2013-11-28 Joseph Myers <joseph@codesourcery.com>
7085 * manual/math.texi (Errors in Math Functions): Document accuracy
7089 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
7090 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
7091 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7092 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7093 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7094 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7095 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7096 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7097 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7098 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7099 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7100 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7101 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7102 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7103 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7104 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7106 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
7107 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
7108 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
7109 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
7110 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
7112 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
7114 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
7116 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
7117 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
7118 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
7119 atomic-feupdateenv and flt-rounds.
7120 * sysdeps/powerpc/nofpu/Versions (libc): Add
7121 __atomic_feholdexcept, __atomic_feclearexcept,
7122 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
7123 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
7124 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
7125 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
7126 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
7128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7131 * manual/arith.texi (FP Exceptions): Document that exceptions may
7132 not be raised when matherr is used.
7133 (Math Error Reporting): Document overflow in directed rounding
7134 modes. Document that errno may not be set when finite values are
7135 returned on overflow. Document intent to set errno on underflow
7136 only for underflow to zero.
7139 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
7140 round-to-nearest then adjust result for other rounding modes.
7141 * include/fenv.h (fegetround): Use libm_hidden_proto.
7142 * math/fegetround.c (fegetround): Use libm_hidden_def.
7143 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7144 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7145 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7146 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7148 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
7149 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7150 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7151 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
7153 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7156 * nss/Versions (libnss_files): Add
7157 _nss_files_gethostbyname3_r.
7158 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
7160 (HOST_DB_LOOKUP): Remove macro.
7161 (_nss_files_gethostbyname_r): Implement function without the
7162 HOST_DB_LOOKUP macro.
7163 (_nss_files_gethostbyname2_r): Likewise.
7165 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
7167 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
7169 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
7171 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
7172 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
7175 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7177 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
7178 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
7179 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7180 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7181 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
7182 __fe_nomask_env_priv and attribute_hidden.
7183 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
7184 (libc_feupdateenv_test_ppc): Likewise.
7185 (libc_feresetround_ppc): Likewise.
7186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7187 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
7188 compat_symbol macro.
7189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7190 (__fe_nomask_env): Likewise.
7191 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
7193 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7195 * string/Makefile: Remove ifunc tests.
7196 * string/test-string.h: Define TEST_IFUNC.
7197 * string/test-bcopy-ifunc.c: Remove.
7198 * string/test-bzero-ifunc.c: Likewise.
7199 * string/test-memccpy-ifunc.c: Likewise.
7200 * string/test-memchr-ifunc.c: Likewise.
7201 * string/test-memcmp-ifunc.c: Likewise.
7202 * string/test-memcpy-ifunc.c: Likewise.
7203 * string/test-memmem-ifunc.c: Likewise.
7204 * string/test-memmove-ifunc.c: Likewise.
7205 * string/test-mempcpy-ifunc.c: Likewise.
7206 * string/test-memrchr-ifunc.c: Likewise.
7207 * string/test-memset-ifunc.c: Likewise.
7208 * string/test-rawmemchr-ifunc.c: Likewise.
7209 * string/test-stpcpy-ifunc.c: Likewise.
7210 * string/test-stpncpy-ifunc.c: Likewise.
7211 * string/test-strcasecmp-ifunc.c: Likewise.
7212 * string/test-strcasestr-ifunc.c: Likewise.
7213 * string/test-strcat-ifunc.c: Likewise.
7214 * string/test-strchr-ifunc.c: Likewise.
7215 * string/test-strchrnul-ifunc.c: Likewise.
7216 * string/test-strcmp-ifunc.c: Likewise.
7217 * string/test-strcpy-ifunc.c: Likewise.
7218 * string/test-strcspn-ifunc.c: Likewise.
7219 * string/test-strlen-ifunc.c: Likewise.
7220 * string/test-strncasecmp-ifunc.c: Likewise.
7221 * string/test-strncat-ifunc.c: Likewise.
7222 * string/test-strncmp-ifunc.c: Likewise.
7223 * string/test-strncpy-ifunc.c: Likewise.
7224 * string/test-strnlen-ifunc.c: Likewise.
7225 * string/test-strpbrk-ifunc.c: Likewise.
7226 * string/test-strrchr-ifunc.c: Likewise.
7227 * string/test-strspn-ifunc.c: Likewise.
7228 * string/test-strstr-ifunc.c: Likewise.
7230 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7232 * benchtests/Makefile: Remove ifunc tests.
7233 * benchtests/bench-string.h: Define TEST_IFUNC.
7234 * benchtests/bench-bcopy-ifunc.c: Remove.
7235 * benchtests/bench-bzero-ifunc.c: Likewise.
7236 * benchtests/bench-memccpy-ifunc.c: Likewise.
7237 * benchtests/bench-memchr-ifunc.c: Likewise.
7238 * benchtests/bench-memcmp-ifunc.c: Likewise.
7239 * benchtests/bench-memcpy-ifunc.c: Likewise.
7240 * benchtests/bench-memmem-ifunc.c: Likewise.
7241 * benchtests/bench-memmove-ifunc.c: Likewise.
7242 * benchtests/bench-mempcpy-ifunc.c: Likewise.
7243 * benchtests/bench-memrchr-ifunc.c: Likewise.
7244 * benchtests/bench-memset-ifunc.c: Likewise.
7245 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
7246 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
7247 * benchtests/bench-stpcpy-ifunc.c: Likewise.
7248 * benchtests/bench-stpncpy-ifunc.c: Likewise.
7249 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
7250 * benchtests/bench-strcasestr-ifunc.c: Likewise.
7251 * benchtests/bench-strcat-ifunc.c: Likewise.
7252 * benchtests/bench-strchr-ifunc.c: Likewise.
7253 * benchtests/bench-strchrnul-ifunc.c: Likewise.
7254 * benchtests/bench-strcmp-ifunc.c: Likewise.
7255 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
7256 * benchtests/bench-strcpy-ifunc.c: Likewise.
7257 * benchtests/bench-strcspn-ifunc.c: Likewise.
7258 * benchtests/bench-strlen-ifunc.c: Likewise.
7259 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
7260 * benchtests/bench-strncat-ifunc.c: Likewise.
7261 * benchtests/bench-strncmp-ifunc.c: Likewise.
7262 * benchtests/bench-strncpy-ifunc.c: Likewise.
7263 * benchtests/bench-strnlen-ifunc.c: Likewise.
7264 * benchtests/bench-strpbrk-ifunc.c: Likewise.
7265 * benchtests/bench-strrchr-ifunc.c: Likewise.
7266 * benchtests/bench-strsep-ifunc.c: Likewise.
7267 * benchtests/bench-strspn-ifunc.c: Likewise.
7268 * benchtests/bench-strstr-ifunc.c: Likewise.
7270 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7272 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
7274 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7276 * resolv/netdb.h: Use __glibc_reserved instead __unused.
7277 * rt/aio.h: Likewise.
7278 * sysdeps/gnu/bits/utmp.h: Likewise.
7279 * sysdeps/gnu/bits/utmpx.h: Likewise.
7280 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7281 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
7282 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
7283 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
7284 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
7285 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
7286 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
7287 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
7288 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
7289 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
7290 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
7291 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7292 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
7293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
7294 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7295 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
7296 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7297 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7298 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
7299 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
7300 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
7301 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
7302 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
7303 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7304 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7305 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7306 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
7307 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
7308 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
7309 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
7310 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
7311 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
7312 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
7313 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7314 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
7315 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
7316 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
7317 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
7318 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
7319 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
7320 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
7321 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7323 2013-11-25 Carlos O'Donell <carlos@redhat.com>
7326 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
7327 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
7329 2013-11-25 Joseph Myers <joseph@codesourcery.com>
7331 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
7332 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7335 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7337 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
7338 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
7339 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
7340 (__fesetround): Remove define.
7341 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
7342 rounding and exceptions handling.
7343 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
7344 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
7345 (__fe_nomask_env): Likewise.
7346 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
7347 __fegetround instead of fegetround.
7348 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7349 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
7351 2013-11-21 Roland McGrath <roland@hack.frob.com>
7353 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
7356 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
7358 2013-11-21 Meador Inge <meadori@codesourcery.com>
7361 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
7362 (encrypt_r): Likewise.
7363 * malloc/obstack.h (obstack_free): Likewise.
7364 * posix/unistd.h (encrypt): Likewise.
7366 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
7368 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
7369 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
7370 DL_CALL_DT_FINI() that call the functions directly.
7371 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
7372 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
7373 * elf/dl-fini.c: Likewise.
7375 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
7377 * malloc/hooks.c (memalign_check): Add alignment rounding.
7378 * malloc/malloc.c (_mid_memalign): New function.
7379 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
7380 Implement by calling _mid_memalign.
7381 * manual/probes.texi (Memory Allocation Probes): Remove
7382 memory_valloc_retry and memory_pvalloc_retry.
7384 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7386 * locale/programs/locarchive.c (open_archive): Add const
7387 qualifier to ARCHIVEFNAME and copy default fname to
7391 * libio/tst-widetext.input: Rename Oriya to Odia.
7392 * locale/iso-639.def: Likewise.
7394 * manual/probes.texi (Mathematical Function Probes): Add
7395 documentation for sin, cos, asin and acos probes.
7396 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
7397 (__sin32): Add slowasin probe.
7398 (__cos32): Add slowacos probe.
7399 (__mpsin): Add slowsin probe.
7400 (__mpcos): Add slowcos probe.
7402 2013-11-19 Joseph Myers <joseph@codesourcery.com>
7405 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
7406 thread-local __sim_exceptions_thread and global
7407 __sim_exceptions_global.
7408 (__sim_disabled_exceptions): Change to thread-local
7409 __sim_disabled_exceptions_thread and global
7410 __sim_disabled_exceptions_global.
7411 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7412 and global __sim_round_mode_global.
7413 (__simulate_exceptions): Use thread-local floating-point state and
7414 set global state from it as needed.
7415 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
7416 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
7417 __sim_round_mode_thread.
7418 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
7419 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
7420 and global __sim_exceptions_global.
7421 (__sim_disabled_exceptions): Change to thread-local
7422 __sim_disabled_exceptions_thread and global
7423 __sim_disabled_exceptions_global.
7424 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7425 and global __sim_round_mode_global.
7426 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
7427 (SIM_SET_GLOBAL): Likewise.
7428 * sysdeps/powerpc/soft-fp/sfp-machine.h
7429 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
7430 __sim_round_mode_thread.
7431 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
7432 __sim_disabled_exceptions_thread.
7433 (__sim_exceptions): Change to __sim_exceptions_thread.
7434 (__sim_disabled_exceptions): Change to
7435 __sim_disabled_exceptions_thread.
7436 (__sim_round_mode): Change to __sim_round_mode_thread.
7437 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
7438 thread-local floating-point state and set global state from it as
7440 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
7441 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
7442 (__sim_disabled_exceptions): Remove extern declaration.
7443 (feenableexcept): Use thread-local floating-point state and set
7444 global state from it as needed.
7445 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
7447 (__sim_disabled_exceptions): Likewise.
7448 (__sim_round_mode): Likewise.
7449 (__fegetenv): Use thread-local floating-point state.
7450 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
7451 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7452 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
7453 floating-point state and set global state from it as needed.
7454 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
7455 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7456 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
7458 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
7459 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
7461 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
7462 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
7463 Use __sim_round_mode_thread.
7464 * math/test-fenv-tls.c: New file.
7465 * math/Makefile (tests): Add test-fenv-tls.
7466 ($(objpfx)test-fenv-tls): Depend on
7467 $(common-objpfx)nptl/libpthread.so.
7469 2013-11-19 Andreas Schwab <schwab@suse.de>
7471 * locale/programs/locale.c (show_info): Decode wordarray elements.
7472 * locale/categories.def (LC_MONETARY): Add element for
7473 _NL_MONETARY_CRNCYSTR.
7474 * locale/C-monetary.c (conversion_rate): New variable.
7475 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
7478 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
7480 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
7481 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
7483 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7485 * elf/Makefile (tst-auxv): New test.
7486 * elf/tst-auxv.c: New
7487 * elf/rtld.c (dl_main): Adjust AT_EXECFN
7489 2013-11-18 Joseph Myers <joseph@codesourcery.com>
7491 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
7492 (hidden_proto): Caller changed.
7493 (hidden_tls_proto): New macro.
7494 (libc_hidden_tls_proto): Likewise.
7495 (rtld_hidden_tls_proto): Likewise.
7496 (libm_hidden_tls_proto): Likewise.
7497 (libresolv_hidden_tls_proto): Likewise.
7498 (librt_hidden_tls_proto): Likewise.
7499 (libdl_hidden_tls_proto): Likewise.
7500 (libnss_files_hidden_tls_proto): Likewise.
7501 (libnsl_hidden_tls_proto): Likewise.
7502 (libnss_nisplus_hidden_tls_proto): Likewise.
7503 (libutil_hidden_tls_proto): Likewise.
7505 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
7508 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
7509 (decompose_rpath): Defer expansion to fillin_rpath.
7510 (_dl_init_paths): Pass linkmap to fillin_rpath.
7512 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7514 * benchtests/Makefile: Add strsep.
7515 * benchtests/bench-strsep.c: New file: strsep benchtest.
7516 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
7518 2013-11-18 Andreas Schwab <schwab@suse.de>
7520 * locale/programs/locale.c (show_info) [case byte]: Check for
7521 '\377' instead of '\177'.
7522 * locale/C-monetary.c (not_available): Always use "\377".
7523 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
7524 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
7525 detect unavailable sign_posn locale elements.
7526 * locale/localeconv.c (__localeconv): For grouping and
7527 mon_grouping handle "\177" and "\377" like no grouping.
7528 (INT_ELEM): New macro. Use it to set all numeric members.
7529 * locale/programs/ld-monetary.c (monetary_read)
7530 <tok_mon_grouping>: Normalize single -1 to the empty string.
7531 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
7534 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
7537 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
7538 when we match (nil).
7539 * stdio-common/tst-sscanf.c (struct test): Add testcase.
7541 2013-11-16 Joseph Myers <joseph@codesourcery.com>
7543 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
7544 (NO_TEST_INLINE): Update value.
7545 (ERRNO_UNCHANGED): Likewise.
7546 (ERRNO_EDOM): Likewise.
7547 (ERRNO_ERANGE): Likewise.
7548 (IGNORE_RESULT): Likewise.
7549 (check_float_internal): Check signs of NaN results if
7551 (check_complex): Pass TEST_NAN_SIGN flag through to second
7552 check_float_internal call.
7553 (copysign_test_data): Add tests with quiet NaNs as second
7554 argument. Use TEST_NAN_SIGN.
7555 (fabs_test_data): Add test of negative quiet NaN argument. Use
7557 (signbit_test_data): Add tests of quiet NaN argument.
7558 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
7560 * math/gen-libm-test.pl (show_exceptions): Take extra argument
7562 (parse_args): Handle function results specified as IGNORE.
7563 * math/libm-test.inc (IGNORE_RESULT): New macro.
7564 (check_float_internal): Do not check numerical result if flag
7566 (check_complex): Pass through IGNORE_RESULT to second
7567 check_float_internal call.
7568 (check_int): Do not check numerical result if flag IGNORE_RESULT
7570 (check_long): Likewise.
7571 (check_bool): Likewise.
7572 (check_longlong): Likewise.
7573 (lrint_test_data): Add tests of infinite and NaN arguments.
7574 (lrint_tonearest_test_data): Likewise.
7575 (lrint_towardzero_test_data): Likewise.
7576 (lrint_downward_test_data): Likewise.
7577 (lrint_upward_test_data): Likewise.
7578 (llrint_test_data): Likewise.
7579 (llrint_tonearest_test_data): Likewise.
7580 (llrint_towardzero_test_data): Likewise.
7581 (llrint_downward_test_data): Likewise.
7582 (llrint_upward_test_data): Likewise.
7583 (lround_test_data): Likewise.
7584 (llround_test_data): Likewise.
7586 * math/libm-test.inc (NO_TEST_INLINE): New macro.
7587 (ERRNO_UNCHANGED): Update value.
7588 (ERRNO_EDOM): Likewise.
7589 (ERRNO_ERANGE): Likewise.
7590 (NO_TEST_INLINE_FLOAT): New macro.
7591 (NO_TEST_INLINE_DOUBLE): Likewise.
7592 (enable_test): New function.
7593 (RUN_TEST_f_f): Check enable_test before running test.
7594 (RUN_TEST_2_f): Likewise.
7595 (RUN_TEST_fff_f): Likewise.
7596 (RUN_TEST_c_f): Likewise.
7597 (RUN_TEST_f_f1): Likewise.
7598 (RUN_TEST_fF_f1): Likewise.
7599 (RUN_TEST_fI_f1): Likewise.
7600 (RUN_TEST_ffI_f1): Likewise.
7601 (RUN_TEST_c_c): Likewise.
7602 (RUN_TEST_cc_c): Likewise.
7603 (RUN_TEST_f_i): Likewise.
7604 (RUN_TEST_f_i_tg): Likewise.
7605 (RUN_TEST_ff_i_tg): Likewise.
7606 (RUN_TEST_f_b): Likewise.
7607 (RUN_TEST_f_b_tg): Likewise.
7608 (RUN_TEST_f_l): Likewise.
7609 (RUN_TEST_f_L): Likewise.
7610 (RUN_TEST_fFF_11): Likewise.
7611 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
7613 (cosh_test_data): Likewise.
7614 (exp_test_data): Likewise.
7615 (expm1_test_data): Likewise.
7616 (hypot_test_data): Likewise.
7617 (pow_test_data): Likewise.
7618 (sinh_test_data): Likewise.
7619 (tanh_test_data): Likewise.
7620 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
7623 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
7624 tests with quiet NaN input and output.
7625 (acosh_test_data): Likewise.
7626 (asin_test_data): Likewise.
7627 (asinh_test_data): Likewise.
7628 (atan_test_data): Likewise.
7629 (atanh_test_data): Likewise.
7630 (atan2_test_data): Likewise.
7631 (cbrt_test_data): Likewise.
7632 (cos_test_data): Likewise.
7633 (cosh_test_data): Likewise.
7634 (erf_test_data): Likewise.
7635 (erfc_test_data): Likewise.
7636 (exp_test_data): Likewise.
7637 (exp10_test_data): Likewise.
7638 (exp2_test_data): Likewise.
7639 (expm1_test_data): Likewise.
7640 (hypot_test_data): Likewise.
7641 (j0_test_data): Likewise.
7642 (j1_test_data): Likewise.
7643 (jn_test_data): Likewise.
7644 (lgamma_test_data): Likewise.
7645 (log_test_data): Likewise.
7646 (log10_test_data): Likewise.
7647 (log1p_test_data): Likewise.
7648 (log2_test_data): Likewise.
7649 (pow_test_data): Likewise.
7650 (scalb_test_data): Likewise.
7651 (sin_test_data): Likewise.
7652 (sincos_test_data): Likewise.
7653 (sinh_test_data): Likewise.
7654 (tan_test_data): Likewise.
7655 (tanh_test_data): Likewise.
7656 (tgamma_test_data): Likewise.
7657 (y0_test_data): Likewise.
7658 (y1_test_data): Likewise.
7659 (yn_test_data): Likewise.
7662 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
7663 argument being NaN and avoid computations with second argument in
7665 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7666 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
7667 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7669 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
7671 * locale/iso-639.def: Add Chitwani Tharu (the).
7673 2013-11-14 Andreas Schwab <schwab@suse.de>
7675 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
7676 word instead of empty string.
7678 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7681 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
7682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7683 (__fe_nomask_env): Likewise.
7685 2013-11-13 Steve Ellcey <sellcey@mips.com>
7687 * benchtests/bench-timing.h: Include time.h.
7689 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
7692 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
7694 * sysdeps/unix/sysv/linux/configure: Regenerated.
7696 2013-11-13 Joseph Myers <joseph@codesourcery.com>
7699 * stdlib/strtod_l.c (round_and_return): Do not consider
7700 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
7701 exponent one less than half the least subnormal exponent.
7702 * stdlib/test-strtod-round-data: Add more tests.
7703 * stdlib/tst-strtod-round.c (tests): Regenerated.
7705 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7708 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
7709 (__fe_mask_env): Likewise.
7710 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
7711 libm_hidden_proto and add function prototype.
7712 (__fe_mask_env): Add function prototype.
7713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7714 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
7715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
7716 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
7717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7718 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
7720 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7722 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
7723 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
7725 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7727 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
7728 of htab_find_slot().
7730 2013-11-11 David S. Miller <davem@davemloft.net>
7733 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
7734 symbol in the non-vis3 case in static builds.
7735 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
7736 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
7737 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
7738 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
7740 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7743 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
7746 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7748 * benchtests/Makefile: Add bench-strtod.
7749 * benchtests/bench-strtod.c: New file: strtod benchtest
7751 2013-11-11 Andreas Schwab <schwab@suse.de>
7754 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
7755 terminating NUL in key length.
7757 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7759 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7760 Add artificial ODP entry for vDSO symbol for PPC64.
7761 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
7762 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
7764 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
7767 * nss/getent.c (services_keys): Recognize services starting with digit.
7769 2013-11-06 David S. Miller <davem@davemloft.net>
7772 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
7773 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
7775 2013-11-06 Will Newton <will.newton@linaro.org>
7777 * manual/memory.texi (Malloc Examples): Remove register
7778 keyword from examples.
7780 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
7782 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
7784 2013-11-04 Joseph Myers <joseph@codesourcery.com>
7787 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
7788 depending on [__GCC_IEC_559 > 0].
7789 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
7790 depending on [__GCC_IEC_559_COMPLEX > 0].
7792 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
7794 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
7797 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
7799 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
7801 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
7804 * malloc/malloc (malloc_info): Do not handle first bin as
7807 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
7809 * locale/iso-639.def: Add Central Nahuatl (nhn).
7811 2013-11-01 Bruno Haible <bruno@clisp.org>
7814 * manual/math.texi (BSD Random): Specify range upper bound as
7817 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
7819 * locale/iso-639.def: Add Meadow Mari (mhr).
7821 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
7823 [BZ #14752], [BZ #15763]
7824 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
7826 * rt/tst_shm.c: Add test for escaping directory.
7828 2013-10-31 Andreas Schwab <schwab@suse.de>
7831 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
7832 followed by 'x' as part of digit sequence.
7833 * stdio-common/tst-sscanf.c (double_tests2): New tests.
7835 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
7838 * configure.ac: allow GNU Make 4.0 and greater.
7839 * configure: Regenerated.
7841 2013-10-30 Will Newton <will.newton@linaro.org>
7844 * malloc/hooks.c (memalign_check): Limit alignment to the
7845 maximum representable power of two.
7846 * malloc/malloc.c (__libc_memalign): Likewise.
7847 * malloc/tst-memalign.c (do_test): Add test for very
7848 large alignment values.
7849 * malloc/tst-posix_memalign.c (do_test): Likewise.
7851 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
7854 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
7855 (munmap_chunk): Likewise.
7856 (mremap_chunk): Likewise.
7858 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
7861 * stdlib/div.c (div): Remove obsolete code.
7862 * stdlib/ldiv.c (ldiv): Likewise.
7863 * stdlib/lldiv.c (lldiv): Likewise.
7865 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7868 * nss/nss_files/files-XXX.c (get_contents_ret): New
7870 (get_contents): New function.
7871 (internal_getent): Use it. Expand size of LINEBUFLEN.
7873 2013-10-30 Mike Frysinger <vapier@gentoo.org>
7875 * configure.in: Moved to ...
7876 * configure.ac: ... here. Change reference to configure.in
7878 * sysdeps/arm/preconfigure.ac: ... here.
7879 configure.in to configure.ac.
7880 * sysdeps/gnu/configure.in: Moved to ...
7881 * sysdeps/gnu/configure.ac: ... here.
7882 * sysdeps/i386/configure.in: Moved to ...
7883 * sysdeps/i386/configure.ac: ... here.
7884 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
7885 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
7886 * sysdeps/mach/configure.in: Moved to ...
7887 * sysdeps/mach/configure.ac: ... here.
7888 * sysdeps/mach/hurd/configure.in: Moved to ...
7889 * sysdeps/mach/hurd/configure.ac: ... here.
7890 * sysdeps/powerpc/configure.in: Moved to ...
7891 * sysdeps/powerpc/configure.ac: ... here.
7892 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
7893 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
7894 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
7895 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
7896 * sysdeps/s390/s390-32/configure.in: Moved to ...
7897 * sysdeps/s390/s390-32/configure.ac: ... here.
7898 * sysdeps/s390/s390-64/configure.in: Moved to ...
7899 * sysdeps/s390/s390-64/configure.ac: ... here.
7900 * sysdeps/sh/configure.in: Moved to ...
7901 * sysdeps/sh/configure.ac: ... here.
7902 * sysdeps/sparc/configure.in: Moved to ...
7903 * sysdeps/sparc/configure.ac: ... here.
7904 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
7905 * sysdeps/unix/sysv/linux/configure.ac: ... here.
7906 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
7907 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
7908 * sysdeps/x86_64/configure.in: Moved to ...
7909 * sysdeps/x86_64/configure.ac: ... here.
7910 * sysdeps/x86_64/preconfigure.in: Moved to ...
7911 * sysdeps/x86_64/preconfigure.ac: ... here.
7912 * aclocal.m4: Change reference to configure.in to configure.ac.
7913 * config.h.in: Likewise.
7914 * manual/install.texi: Likewise.
7915 * manual/maint.texi: Likewise.
7916 * Makefile: Likewise.
7917 * malloc/Makefile: Likewise.
7918 * nscd/Makefile: Likewise.
7919 * Makeconfig: Change reference to configure.in and
7920 preconfigure.in to configure.ac and preconfigure.ac
7922 * INSTALL: Regenerated.
7923 * configure: Likewise.
7924 * sysdeps/gnu/configure: Likewise.
7925 * sysdeps/i386/configure: Likewise.
7926 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
7927 * sysdeps/mach/configure: Likewise.
7928 * sysdeps/mach/hurd/configure: Likewise.
7929 * sysdeps/powerpc/configure: Likewise.
7930 * sysdeps/powerpc/powerpc32/configure: Likewise.
7931 * sysdeps/powerpc/powerpc64/configure: Likewise.
7932 * sysdeps/s390/s390-32/configure: Likewise.
7933 * sysdeps/s390/s390-64/configure: Likewise.
7934 * sysdeps/sh/configure: Likewise.
7935 * sysdeps/sparc/configure: Likewise.
7936 * sysdeps/unix/sysv/linux/configure: Likewise.
7937 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
7938 * sysdeps/x86_64/configure: Likewise.
7939 * sysdeps/x86_64/preconfigure: Likewise.
7941 2013-10-29 Andreas Schwab <schwab@suse.de>
7943 * stdio-common/Makefile (tst-swscanf-ENV): Define.
7945 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7947 * benchtests/pow-inputs: Add new inputs.
7949 * benchtests/exp-inputs: Add new inputs.
7951 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
7952 conditional check for return value.
7953 (__cos32): Likewise.
7955 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7957 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
7958 to provide a boost for large inputs with word alignment.
7959 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
7960 implementation based on optimized PPC64 strcpy.
7961 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
7962 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
7963 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
7964 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
7966 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
7969 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
7971 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
7974 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
7975 * time/tst-strptime.c (day_tests): Add testcase.
7977 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
7980 * manual/pattern.texi: Acknowledge that fnmatch can fail.
7982 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
7985 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
7986 MAP_FAILED on error.
7988 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7991 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
7992 heap for large requests.
7994 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
7997 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
7998 result if the result has no associated interface.
7999 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
8000 interface for all 127.X.Y.Z addresses.
8002 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
8004 * locale/iso-639.def: Add Ligurian (lij)
8006 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
8009 * sunrpc/rpc_main.c: Document rpcgen -5.
8011 2013-10-19 Michael Stahl <mstahl@redhat.com>
8013 * elf/rtld.c (do_preload): Print the reason why preloading failed.
8015 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
8018 * posix/glob.c: Match only directories when trailing slash is present.
8019 * posix/tst-gnuglob.c (my_opendir): Do not open files.
8020 (main): Add testcase.
8022 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
8025 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
8027 2013-10-18 Carlos O'Donell <carlos@redhat.com>
8029 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
8030 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
8031 AUTH_DES and cindex for FIPS 140-2.
8032 (DES Encryption): Add cindex FIPS 46-3.
8034 * locale/locarchive.h (struct locarhandle): Add fname.
8035 * locale/programs/localedef.c (main): Pass ARGV[remaining]
8036 if an optional argument was specified to --list-archive,
8038 * locale/programs/locarchive.c (show_archive_content): Take new
8039 argument fname and pass it via ah.fname to open_archive.
8040 * locale/programs/localedef.h: Update decl.
8041 (open_archive): If AH->fname is non-null, open that file
8042 rather than the default file name, and don't ignore ENOENT.
8043 (create_archive): Set AH.fname to NULL.
8044 (delete_locales_from_archive): Likewise.
8045 (add_locales_to_archive): Likewise.
8046 * locale/programs/locfile.c (write_all_categories): Likewise.
8048 2013-10-18 Joseph Myers <joseph@codesourcery.com>
8049 Aldy Hernandez <aldyh@redhat.com>
8051 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
8052 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
8053 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
8054 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
8055 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
8056 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
8057 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
8058 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
8059 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
8060 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
8061 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
8062 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
8063 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
8064 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
8065 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
8067 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
8069 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
8071 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
8073 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
8074 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
8076 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
8077 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
8078 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
8079 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
8081 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
8082 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
8083 * sysdeps/powerpc/preconfigure: Likewise.
8084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
8086 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
8087 Replace contents of file by #include of <fenv_libc.h>.
8088 * sysdeps/powerpc/soft-fp/sfp-machine.h
8089 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
8091 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
8092 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
8093 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
8094 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
8095 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
8096 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
8097 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
8098 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
8099 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
8100 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
8101 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
8102 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
8103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8104 Allow copysignl PLT reference to be missing.
8106 2013-10-18 Richard Sandiford <richard@codesourcery.com>
8107 Joseph Myers <joseph@codesourcery.com
8110 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
8112 (add_to_tablewc): Assert sequence of wide characters is nonempty.
8114 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8116 * elf/tst-tls-dlinfo.c: Don't include tls.h.
8117 * elf/tst-tls1.c: Likewise.
8118 * elf/tst-tls10.h: Likewise.
8119 * elf/tst-tls14.c: Likewise.
8120 * elf/tst-tls2.c: Likewise.
8121 * elf/tst-tls3.c: Likewise.
8122 * elf/tst-tls4.c: Likewise.
8123 * elf/tst-tls5.c: Likewise.
8124 * elf/tst-tls6.c: Likewise.
8125 * elf/tst-tls7.c: Likewise.
8126 * elf/tst-tls8.c: Likewise.
8127 * elf/tst-tls9.c: Likewise.
8128 * elf/tst-tlsmod1.c: Likewise.
8129 * elf/tst-tlsmod13.c: Likewise.
8130 * elf/tst-tlsmod13a.c: Likewise.
8131 * elf/tst-tlsmod14a.c: Likewise.
8132 * elf/tst-tlsmod16a.c: Likewise.
8133 * elf/tst-tlsmod16b.c: Likewise.
8134 * elf/tst-tlsmod2.c: Likewise.
8135 * elf/tst-tlsmod3.c: Likewise.
8136 * elf/tst-tlsmod4.c: Likewise.
8137 * elf/tst-tlsmod5.c: Likewise.
8138 * elf/tst-tlsmod6.c: Likewise.
8140 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
8143 * malloc/malloc.c: remove checks for statistics.
8145 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
8148 * inet/inet_net.c (inet_network): Detect additional invalid strings.
8149 * inet/tst-network.c: Add testcase.
8151 2013-10-17 Andreas Schwab <schwab@suse.de>
8154 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
8155 to determine canonical name.
8157 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
8159 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
8160 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
8161 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8162 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8163 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8164 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8165 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8166 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8167 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8168 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8169 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8170 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8171 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8172 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8173 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8174 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8175 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8176 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8177 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8178 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8179 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8180 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8181 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8182 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
8183 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
8184 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8185 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8186 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
8187 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8188 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
8189 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8190 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8191 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8192 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8193 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8194 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8195 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8196 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8197 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8198 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8199 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8200 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8201 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8202 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8203 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8204 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8205 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8206 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8207 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8208 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8209 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8210 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8211 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8212 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8213 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8214 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8215 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8216 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8218 2013-10-17 Joseph Myers <joseph@codesourcery.com>
8221 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
8222 make result into a quiet NaN.
8224 2013-10-16 Joseph Myers <joseph@codesourcery.com>
8226 * soft-fp/adddf3.c: Fix horizontal whitespace.
8227 * soft-fp/addsf3.c: Likewise.
8228 * soft-fp/addtf3.c: Likewise.
8229 * soft-fp/divdf3.c: Likewise.
8230 * soft-fp/divsf3.c: Likewise.
8231 * soft-fp/divtf3.c: Likewise.
8232 * soft-fp/double.h: Likewise.
8233 * soft-fp/eqdf2.c: Likewise.
8234 * soft-fp/eqsf2.c: Likewise.
8235 * soft-fp/eqtf2.c: Likewise.
8236 * soft-fp/extenddftf2.c: Likewise.
8237 * soft-fp/extended.h: Likewise.
8238 * soft-fp/extendsfdf2.c: Likewise.
8239 * soft-fp/extendsftf2.c: Likewise.
8240 * soft-fp/extendxftf2.c: Likewise.
8241 * soft-fp/fixdfdi.c: Likewise.
8242 * soft-fp/fixdfsi.c: Likewise.
8243 * soft-fp/fixdfti.c: Likewise.
8244 * soft-fp/fixsfdi.c: Likewise.
8245 * soft-fp/fixsfsi.c: Likewise.
8246 * soft-fp/fixsfti.c: Likewise.
8247 * soft-fp/fixtfdi.c: Likewise.
8248 * soft-fp/fixtfsi.c: Likewise.
8249 * soft-fp/fixtfti.c: Likewise.
8250 * soft-fp/fixunsdfdi.c: Likewise.
8251 * soft-fp/fixunsdfsi.c: Likewise.
8252 * soft-fp/fixunsdfti.c: Likewise.
8253 * soft-fp/fixunssfdi.c: Likewise.
8254 * soft-fp/fixunssfsi.c: Likewise.
8255 * soft-fp/fixunssfti.c: Likewise.
8256 * soft-fp/fixunstfdi.c: Likewise.
8257 * soft-fp/fixunstfsi.c: Likewise.
8258 * soft-fp/fixunstfti.c: Likewise.
8259 * soft-fp/floatdidf.c: Likewise.
8260 * soft-fp/floatdisf.c: Likewise.
8261 * soft-fp/floatditf.c: Likewise.
8262 * soft-fp/floatsidf.c: Likewise.
8263 * soft-fp/floatsisf.c: Likewise.
8264 * soft-fp/floatsitf.c: Likewise.
8265 * soft-fp/floattidf.c: Likewise.
8266 * soft-fp/floattisf.c: Likewise.
8267 * soft-fp/floattitf.c: Likewise.
8268 * soft-fp/floatundidf.c: Likewise.
8269 * soft-fp/floatundisf.c: Likewise.
8270 * soft-fp/floatunditf.c: Likewise.
8271 * soft-fp/floatunsidf.c: Likewise.
8272 * soft-fp/floatunsisf.c: Likewise.
8273 * soft-fp/floatunsitf.c: Likewise.
8274 * soft-fp/floatuntidf.c: Likewise.
8275 * soft-fp/floatuntisf.c: Likewise.
8276 * soft-fp/floatuntitf.c: Likewise.
8277 * soft-fp/fmadf4.c: Likewise.
8278 * soft-fp/fmasf4.c: Likewise.
8279 * soft-fp/fmatf4.c: Likewise.
8280 * soft-fp/gedf2.c: Likewise.
8281 * soft-fp/gesf2.c: Likewise.
8282 * soft-fp/getf2.c: Likewise.
8283 * soft-fp/ledf2.c: Likewise.
8284 * soft-fp/lesf2.c: Likewise.
8285 * soft-fp/letf2.c: Likewise.
8286 * soft-fp/muldf3.c: Likewise.
8287 * soft-fp/mulsf3.c: Likewise.
8288 * soft-fp/multf3.c: Likewise.
8289 * soft-fp/negdf2.c: Likewise.
8290 * soft-fp/negsf2.c: Likewise.
8291 * soft-fp/negtf2.c: Likewise.
8292 * soft-fp/op-1.h: Likewise.
8293 * soft-fp/op-2.h: Likewise.
8294 * soft-fp/op-4.h: Likewise.
8295 * soft-fp/op-8.h: Likewise.
8296 * soft-fp/op-common.h: Likewise.
8297 * soft-fp/quad.h: Likewise.
8298 * soft-fp/single.h: Likewise.
8299 * soft-fp/soft-fp.h: Likewise.
8300 * soft-fp/sqrtdf2.c: Likewise.
8301 * soft-fp/sqrtsf2.c: Likewise.
8302 * soft-fp/sqrttf2.c: Likewise.
8303 * soft-fp/subdf3.c: Likewise.
8304 * soft-fp/subsf3.c: Likewise.
8305 * soft-fp/subtf3.c: Likewise.
8306 * soft-fp/truncdfsf2.c: Likewise.
8307 * soft-fp/trunctfdf2.c: Likewise.
8308 * soft-fp/trunctfsf2.c: Likewise.
8309 * soft-fp/trunctfxf2.c: Likewise.
8310 * soft-fp/unorddf2.c: Likewise.
8311 * soft-fp/unordsf2.c: Likewise.
8312 * soft-fp/unordtf2.c: Likewise.
8314 2013-10-15 Joseph Myers <joseph@codesourcery.com>
8316 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
8317 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
8319 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
8321 * elf/dl-libc.c: Clear initfini list after freeing.
8323 2013-10-14 Joseph Myers <joseph@codesourcery.com>
8325 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
8326 * soft-fp/addsf3.c: Likewise.
8327 * soft-fp/addtf3.c: Likewise.
8328 * soft-fp/divdf3.c: Likewise.
8329 * soft-fp/divsf3.c: Likewise.
8330 * soft-fp/divtf3.c: Likewise.
8331 * soft-fp/double.h: Likewise.
8332 * soft-fp/eqdf2.c: Likewise.
8333 * soft-fp/eqsf2.c: Likewise.
8334 * soft-fp/eqtf2.c: Likewise.
8335 * soft-fp/extenddftf2.c: Likewise.
8336 * soft-fp/extended.h: Likewise.
8337 * soft-fp/extendsfdf2.c: Likewise.
8338 * soft-fp/extendsftf2.c: Likewise.
8339 * soft-fp/extendxftf2.c: Likewise.
8340 * soft-fp/fixdfdi.c: Likewise.
8341 * soft-fp/fixdfsi.c: Likewise.
8342 * soft-fp/fixdfti.c: Likewise.
8343 * soft-fp/fixsfdi.c: Likewise.
8344 * soft-fp/fixsfsi.c: Likewise.
8345 * soft-fp/fixsfti.c: Likewise.
8346 * soft-fp/fixtfdi.c: Likewise.
8347 * soft-fp/fixtfsi.c: Likewise.
8348 * soft-fp/fixtfti.c: Likewise.
8349 * soft-fp/fixunsdfdi.c: Likewise.
8350 * soft-fp/fixunsdfsi.c: Likewise.
8351 * soft-fp/fixunsdfti.c: Likewise.
8352 * soft-fp/fixunssfdi.c: Likewise.
8353 * soft-fp/fixunssfsi.c: Likewise.
8354 * soft-fp/fixunssfti.c: Likewise.
8355 * soft-fp/fixunstfdi.c: Likewise.
8356 * soft-fp/fixunstfsi.c: Likewise.
8357 * soft-fp/fixunstfti.c: Likewise.
8358 * soft-fp/floatdidf.c: Likewise.
8359 * soft-fp/floatdisf.c: Likewise.
8360 * soft-fp/floatditf.c: Likewise.
8361 * soft-fp/floatsidf.c: Likewise.
8362 * soft-fp/floatsisf.c: Likewise.
8363 * soft-fp/floatsitf.c: Likewise.
8364 * soft-fp/floattidf.c: Likewise.
8365 * soft-fp/floattisf.c: Likewise.
8366 * soft-fp/floattitf.c: Likewise.
8367 * soft-fp/floatundidf.c: Likewise.
8368 * soft-fp/floatundisf.c: Likewise.
8369 * soft-fp/floatunsidf.c: Likewise.
8370 * soft-fp/floatunsisf.c: Likewise.
8371 * soft-fp/floatuntidf.c: Likewise.
8372 * soft-fp/floatuntisf.c: Likewise.
8373 * soft-fp/floatuntitf.c: Likewise.
8374 * soft-fp/fmadf4.c: Likewise.
8375 * soft-fp/fmasf4.c: Likewise.
8376 * soft-fp/fmatf4.c: Likewise.
8377 * soft-fp/gedf2.c: Likewise.
8378 * soft-fp/gesf2.c: Likewise.
8379 * soft-fp/getf2.c: Likewise.
8380 * soft-fp/ledf2.c: Likewise.
8381 * soft-fp/lesf2.c: Likewise.
8382 * soft-fp/letf2.c: Likewise.
8383 * soft-fp/muldf3.c: Likewise.
8384 * soft-fp/mulsf3.c: Likewise.
8385 * soft-fp/multf3.c: Likewise.
8386 * soft-fp/negdf2.c: Likewise.
8387 * soft-fp/negsf2.c: Likewise.
8388 * soft-fp/negtf2.c: Likewise.
8389 * soft-fp/op-1.h: Likewise.
8390 * soft-fp/op-2.h: Likewise.
8391 * soft-fp/op-4.h: Likewise.
8392 * soft-fp/op-8.h: Likewise.
8393 * soft-fp/op-common.h: Likewise.
8394 * soft-fp/quad.h: Likewise.
8395 * soft-fp/single.h: Likewise.
8396 * soft-fp/soft-fp.h: Likewise.
8397 * soft-fp/sqrtdf2.c: Likewise.
8398 * soft-fp/sqrtsf2.c: Likewise.
8399 * soft-fp/sqrttf2.c: Likewise.
8400 * soft-fp/subdf3.c: Likewise.
8401 * soft-fp/subsf3.c: Likewise.
8402 * soft-fp/subtf3.c: Likewise.
8403 * soft-fp/truncdfsf2.c: Likewise.
8404 * soft-fp/trunctfdf2.c: Likewise.
8405 * soft-fp/trunctfsf2.c: Likewise.
8406 * soft-fp/trunctfxf2.c: Likewise.
8407 * soft-fp/unorddf2.c: Likewise.
8408 * soft-fp/unordsf2.c: Likewise.
8409 * soft-fp/unordtf2.c: Likewise.
8411 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
8414 * misc/error.c (error_tail): Fix possible buffer overflow.
8416 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
8419 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
8422 2013-10-14 P. J. McDermott <pj@pehjota.net>
8425 * elf/ldd.bash.in (try_trace): New function. Delete previous code
8426 testing pipefail option.
8428 2013-10-12 Joseph Myers <joseph@codesourcery.com>
8430 * soft-fp/double.h: Indent preprocessor directives inside #if.
8431 * soft-fp/extended.h: Likewise.
8432 * soft-fp/op-2.h: Likewise.
8433 * soft-fp/op-4.h: Likewise.
8434 * soft-fp/op-common.h: Likewise.
8435 * soft-fp/quad.h: Likewise.
8436 * soft-fp/single.h: Likewise.
8437 * soft-fp/soft-fp.h: Likewise.
8439 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
8441 * iconv/iconv_prog.c: Fix typos.
8442 * stdio-common/psiginfo-data.h: Likewise.
8444 2013-10-12 Reuben Thomas <rrt@sc3d.org>
8447 * locale/setlocale.c: Fix typo.
8449 2013-10-12 Joseph Myers <joseph@codesourcery.com>
8452 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
8453 signaling NaN arguments.
8454 * soft-fp/unordsf2.c (__unordsf2): Likewise.
8455 * soft-fp/unordtf2.c (__unordtf2): Likewise.
8458 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
8460 * soft-fp/gesf2.c (__gesf2): Likewise.
8461 * soft-fp/getf2.c (__getf2): Likewise.
8462 * soft-fp/ledf2.c (__ledf2): Likewise.
8463 * soft-fp/lesf2.c (__lesf2): Likewise.
8464 * soft-fp/letf2.c (__letf2): Likewise.
8466 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
8467 * soft-fp/eqsf2.c (__eqsf2): Likewise.
8468 * soft-fp/eqtf2.c (__eqtf2): Likewise.
8469 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
8470 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
8471 * soft-fp/fixdfti.c (__fixdfti): Likewise.
8472 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
8473 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
8474 * soft-fp/fixsfti.c (__fixsfti): Likewise.
8475 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
8476 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
8477 * soft-fp/fixtfti.c (__fixtfti): Likewise.
8478 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
8479 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
8480 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
8481 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
8482 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
8483 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
8484 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
8485 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
8486 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
8487 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
8488 * soft-fp/floatdisf.c (__floatdisf): Likewise.
8489 * soft-fp/floatsisf.c (__floatsisf): Likewise.
8490 * soft-fp/floattidf.c (__floattidf): Likewise.
8491 * soft-fp/floattisf.c (__floattisf): Likewise.
8492 * soft-fp/floattitf.c (__floattitf): Likewise.
8493 * soft-fp/floatundidf.c (__floatundidf): Likewise.
8494 * soft-fp/floatundisf.c (__floatundisf): Likewise.
8495 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
8496 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
8497 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
8498 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
8499 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
8500 * soft-fp/gesf2.c (__gesf2): Likewise.
8501 * soft-fp/getf2.c (__getf2): Likewise.
8502 * soft-fp/ledf2.c (__ledf2): Likewise.
8503 * soft-fp/lesf2.c (__lesf2): Likewise.
8504 * soft-fp/letf2.c (__letf2): Likewise.
8506 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
8507 Undefine and redefine.
8508 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
8509 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
8510 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
8511 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
8512 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8513 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
8514 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8515 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
8516 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8517 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
8518 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8519 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
8520 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8521 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
8522 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8525 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
8526 without decrementing exponent if mantissa >= that for the
8528 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
8529 denominator, not >. Decrement exponent in < case instead of
8530 incrementing in >= case.
8531 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
8532 without decrementing exponent if mantissa >= that for the
8535 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
8536 computing saturated result for unsigned overflow.
8538 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8539 Jeff Law <law@redhat.com>
8541 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
8542 (atan2Mp): Add systemtap probe marker.
8543 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
8544 (__ieee754_log): Add systemtap probe marker.
8545 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
8546 (atanMp): Add systemtap probe marker.
8547 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
8548 (tanMp): Add systemtap probe marker.
8549 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
8550 (__slowexp): Add systemtap probe marker.
8551 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
8552 (__slowpow): Add systemtap probe marker.
8553 * manual/probes.texi: Document probes.
8555 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
8558 * libio/fileops.c (_IO_new_file_write): Return count of bytes
8560 (_IO_new_file_xsputn): Don't return EOF if nothing has been
8562 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
8563 written to buffer but not flushed.
8564 * libio/iofwrite_u.c: Likewise.
8565 * libio/iopadn.c: Return bytes returned even if EOF was
8567 * libio/iowpadn.c: Likewise.
8568 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
8569 if _IO_padn does not write the whole buffer.
8570 [!COMPILE_WPRINTF] (PAD): Likewise.
8572 2013-10-10 David S. Miller <davem@davemloft.net>
8574 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
8577 2013-10-10 Joseph Myers <joseph@codesourcery.com>
8579 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
8580 instead of FSF address.
8581 * soft-fp/fixdfti.c: Likewise.
8582 * soft-fp/fixsfti.c: Likewise.
8583 * soft-fp/fixtfti.c: Likewise.
8584 * soft-fp/fixunsdfti.c: Likewise.
8585 * soft-fp/fixunssfti.c: Likewise.
8586 * soft-fp/fixunstfti.c: Likewise.
8587 * soft-fp/floattidf.c: Likewise.
8588 * soft-fp/floattisf.c: Likewise.
8589 * soft-fp/floattitf.c: Likewise.
8590 * soft-fp/floatuntidf.c: Likewise.
8591 * soft-fp/floatuntisf.c: Likewise.
8592 * soft-fp/floatuntitf.c: Likewise.
8593 * soft-fp/trunctfxf2.c: Likewise.
8595 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
8596 * soft-fp/fixdfti.c: Likewise.
8597 * soft-fp/fixsfti.c: Likewise.
8598 * soft-fp/fixtfti.c: Likewise.
8599 * soft-fp/fixunsdfti.c: Likewise.
8600 * soft-fp/fixunssfti.c: Likewise.
8601 * soft-fp/fixunstfti.c: Likewise.
8602 * soft-fp/floattidf.c: Likewise.
8603 * soft-fp/floattisf.c: Likewise.
8604 * soft-fp/floattitf.c: Likewise.
8605 * soft-fp/floatuntidf.c: Likewise.
8606 * soft-fp/floatuntisf.c: Likewise.
8607 * soft-fp/floatuntitf.c: Likewise.
8608 * soft-fp/trunctfxf2.c: Likewise.
8610 2013-10-10 David S. Miller <davem@davemloft.net>
8612 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8614 2013-10-10 Joseph Myers <joseph@codsourcery.com>
8616 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8617 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
8618 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
8619 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
8620 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
8621 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
8622 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
8624 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
8625 for NaNs before doing comparisons on argument.
8626 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
8629 2013-10-10 Will Newton <will.newton@linaro.org>
8631 * malloc/hooks.c (memalign_check): Ensure the value of bytes
8632 passed to _int_memalign does not overflow.
8634 2013-10-10 Torvald Riegel <triegel@redhat.com>
8636 * scripts/bench.pl: Add include-sources directive.
8637 * benchtests/README: Update documentation.
8639 2013-10-10 Joseph Myers <joseph@codesourcery.com>
8641 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
8642 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
8643 instead of FP_INIT_ROUNDMODE.
8644 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
8645 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
8648 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
8649 copy class of input value.
8650 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
8651 not handle exceptions.
8652 * soft-fp/negsf2.c (__negsf2): Likewise.
8653 * soft-fp/negtf2.c (__negtf2): Likewise.
8654 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
8656 2013-10-09 Joseph Myers <joseph@codesourcery.com>
8658 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
8659 semicolon. From Linux kernel.
8661 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
8663 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
8665 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
8668 * manual/socket.texi: Added statement about buffer
8669 for gethostbyname2_r.
8671 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
8673 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
8674 Use .p2align directive instead, throughout.
8675 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8676 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
8677 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
8678 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8679 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8680 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
8681 * sysdeps/x86_64/strchr.S: Likewise.
8682 * sysdeps/x86_64/strrchr.S: Likewise.
8684 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8686 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
8688 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
8690 * sysdeps/generic/math_private.h (__mpsin1): Remove
8692 (__mpcos1): Likewise.
8693 (__mpsin): New argument __range_reduce.
8694 (__mpcos): Likewise.
8695 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8696 (slow): Use __mpsin and __mpcos.
8703 (bsloww1): Likewise.
8704 (bsloww2): Likewise.
8707 (csloww1): Likewise.
8708 (csloww2): Likewise.
8709 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
8710 range_reduce. Merge in __mpsin1.
8711 (__mpcos): Likewise.
8713 (__mpcos1): Likewise.
8715 2013-10-07 Joseph Myers <joseph@codesourcery.com>
8717 * locale/loadlocale.c (_nl_intern_locale_data): Use
8719 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
8720 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
8721 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
8722 obstack data is appropriately aligned.
8723 (obstack_int32_grow_fast): Likewise.
8724 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
8725 * locale/programs/locfile.c (add_locale_uint32): Likewise.
8726 (add_locale_uint32_array): Likewise.
8728 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8730 * benchtests/Makefile: Remove ARGLIST and RET variables.
8731 ($(objpfx)bench-%.c): Pass only function name to the script.
8732 * benchtests/README: Update documentation.
8733 * benchtests/acos-inputs: Add new directives.
8734 * benchtests/acosh-inputs: Likewise.
8735 * benchtests/asin-inputs: Likewise.
8736 * benchtests/asinh-inputs: Likewise.
8737 * benchtests/atan-inputs: Likewise.
8738 * benchtests/atanh-inputs: Likewise.
8739 * benchtests/cos-inputs: Likewise.
8740 * benchtests/cosh-inputs: Likewise.
8741 * benchtests/exp-inputs: Likewise.
8742 * benchtests/log-inputs: Likewise.
8743 * benchtests/pow-inputs: Likewise.
8744 * benchtests/rint-inputs: Likewise.
8745 * benchtests/sin-inputs: Likewise.
8746 * benchtests/sinh-inputs: Likewise.
8747 * benchtests/tan-inputs: Likewise.
8748 * benchtests/tanh-inputs: Likewise.
8749 * scripts/bench.pl: Add support for new directives.
8751 2013-10-07 Alan Modra <amodra@gmail.com>
8753 * README: Fix careless merge.
8755 2013-10-05 Alan Modra <amodra@gmail.com>
8757 * NEWS: Mention powerpc64le support and bugs fixed.
8758 * README: Both big-endian and little-endian powerpc64 supported.
8760 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
8762 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
8763 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
8764 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
8765 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
8767 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
8769 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
8772 2013-10-04 Joseph Myers <joseph@codesourcery.com>
8774 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
8775 Move -mhard-float appending from
8776 ports/sysdeps/powerpc/powerpc32/Makefile.
8777 [$(with-fp) = yes] (ASFLAGS): Likewise.
8778 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
8779 * sysdeps/powerpc/nofpu: Move directory from
8780 ports/sysdeps/powerpc/nofpu.
8781 * sysdeps/powerpc/soft-fp: Move directory from
8782 ports/sysdeps/powerpc/soft-fp.
8783 * sysdeps/powerpc/powerpc32/405: Move directory from
8784 ports/sysdeps/powerpc/powerpc32/405.
8785 * sysdeps/powerpc/powerpc32/440: Move directory from
8786 ports/sysdeps/powerpc/powerpc32/440.
8787 * sysdeps/powerpc/powerpc32/464: Move directory from
8788 ports/sysdeps/powerpc/powerpc32/464.
8789 * sysdeps/powerpc/powerpc32/476: Move directory from
8790 ports/sysdeps/powerpc/powerpc32/476.
8791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
8792 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
8793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
8794 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
8795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
8796 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
8797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
8798 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
8799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
8800 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
8801 * README: Update for powerpc-*-linux-gnu software floating point
8804 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
8805 case to powerpc/powerpc32*.
8806 * sysdeps/unix/sysv/linux/configure: Regenerated.
8808 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
8809 (_FPU_MASK_OM): Define as 0x04.
8810 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
8811 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
8813 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
8815 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
8817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
8818 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
8820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
8821 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
8823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
8824 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
8825 and setcontext_e500.
8827 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
8829 * locale/iso-3166.def: Update iso-1366.def and related occurrences
8831 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8833 * manual/threads.texi (Default Thread Attributes): Fix typo.
8835 2013-10-04 Will Newton <will.newton@linaro.org>
8837 * malloc/Makefile: Add tst-memalign.
8838 * malloc/tst-memalign.c: New file.
8840 * malloc/tst-posix_memalign.c: Add comments.
8841 (do_test): Add comments and call free on all potentially
8842 allocated pointers. Add space after cast.
8844 * malloc/tst-pvalloc.c: Add comments.
8845 (do_test): Add comments and call free on all potentially
8846 allocated pointers. Remove duplicate check for NULL pointer.
8847 Add space after cast.
8849 * malloc/tst-valloc.c: Add comments.
8850 (do_test): Add comments and call free on all potentially
8851 allocated pointers. Remove duplicate check for NULL pointer.
8852 Add space after cast.
8854 2013-10-04 Alan Modra <amodra@gmail.com>
8856 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8857 Use stdint types in rather than __attribute__((mode())).
8858 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8860 2013-10-04 Alan Modra <amodra@gmail.com>
8862 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8863 Correct handling of unaligned relocs for little-endian.
8864 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8866 2013-10-04 Alan Modra <amodra@gmail.com>
8868 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
8869 * configure: Regenerate.
8870 * nptl/shlib-versions: Powerpc*le starts at 2.18.
8871 * shlib-versions: Likewise.
8873 2013-10-04 Alan Modra <amodra@gmail.com>
8875 * string/tester.c (test_memrchr): Increment reported test cycle.
8877 2013-10-04 Alan Modra <amodra@gmail.com>
8879 * string/test-memcpy.c (do_one_test): When reporting errors, print
8880 string address and don't overrun end of string.
8882 2013-10-04 Alan Modra <amodra@gmail.com>
8884 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
8885 insrdi. Make better use of reg selection to speed exit slightly.
8886 Schedule entry path a little better. Remove useless "are we done"
8887 checks on entry to main loop. Handle wrapping around zero address.
8888 Correct main loop count. Handle single left-over word from main
8889 loop inline rather than by using loop_small. Remove extra word
8890 case in loop_small caused by wrong loop count. Add little-endian
8892 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8893 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
8895 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8896 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
8897 support. Avoid rlwimi.
8898 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
8900 2013-10-04 Alan Modra <amodra@gmail.com>
8902 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
8904 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
8905 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8906 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
8907 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
8908 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
8909 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
8911 2013-10-04 Alan Modra <amodra@gmail.com>
8913 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
8914 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8915 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
8916 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
8917 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8918 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8919 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8920 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
8921 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
8922 use of regs. Use power7 mtocrf. Tidy function tails.
8924 2013-10-04 Alan Modra <amodra@gmail.com>
8926 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
8927 Formatting. Consistently use rXXX register defines or rN defines.
8928 Use early exit labels that avoid restoring unused non-volatile regs.
8929 Make cr field use more consistent with rWORDn compares. Rename
8930 regs used as shift registers for unaligned loop, using rN defines
8931 for short lifetime/multiple use regs.
8932 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8933 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
8934 addi 1,1,64 to pop stack frame. Simplify return value code.
8935 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8937 2013-10-04 Alan Modra <amodra@gmail.com>
8939 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
8940 support. Correct typos, formatting. Optimize tail. Use insrdi
8942 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
8943 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
8944 little-endian support. Correct typos.
8945 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
8947 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
8948 in loop and entry code to keep "and." results.
8949 (strchr): Add little-endian support. Comment. Move cntlzd
8951 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
8953 2013-10-04 Alan Modra <amodra@gmail.com>
8955 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
8956 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
8957 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
8958 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
8960 2013-10-04 Alan Modra <amodra@gmail.com>
8962 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
8963 (rTMP): Define as r11.
8964 (strcmp): Add little-endian support. Optimise tail.
8965 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
8966 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8967 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8968 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8969 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8970 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8971 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8973 2013-10-04 Alan Modra <amodra@gmail.com>
8975 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
8976 little-endian support. Remove unnecessary "are we done" tests.
8977 Handle "s" wrapping around zero and extremely large "size".
8978 Correct main loop count. Handle single left-over word from main
8979 loop inline rather than by using small_loop. Correct comments.
8980 Delete "zero" tail, use "end_max" instead.
8981 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
8983 2013-10-04 Alan Modra <amodra@gmail.com>
8985 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
8986 support. Don't branch over align.
8987 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
8988 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
8989 support. Rearrange tmp reg use to suit. Comment.
8990 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
8992 2013-10-04 Alan Modra <amodra@gmail.com>
8994 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
8996 2013-10-04 Alan Modra <amodra@gmail.com>
8998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
8999 conditional form of branch and link when obtaining pc.
9000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9002 2013-10-04 Alan Modra <amodra@gmail.com>
9004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
9006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
9007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
9009 2013-10-04 Alan Modra <amodra@gmail.com>
9011 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
9012 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
9013 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9014 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
9015 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9016 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9017 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
9018 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9019 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9020 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
9022 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9023 Alistair Popple <alistair@ozlabs.au.ibm.com>
9024 Alan Modra <amodra@gmail.com>
9027 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
9028 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
9029 _dl_hwcap access for little-endian.
9030 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
9031 destroy vmx regs when saving unaligned.
9032 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
9033 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
9034 destroy vmx regs when saving unaligned.
9036 2013-10-04 Alan Modra <amodra@gmail.com>
9038 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
9039 Don't use a union to pack hi/low value.
9041 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9043 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
9045 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9046 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
9047 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9048 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9049 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9051 2013-10-04 Alan Modra <amodra@gmail.com>
9053 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
9054 constants to usual value for .cst8 section, and remove redundant
9056 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
9057 constant for 0x1p52. Load little-endian words of double from
9058 correct stack offsets.
9060 2013-10-04 Alan Modra <amodra@gmail.com>
9062 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
9063 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
9064 words of double from correct stack offsets.
9065 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9066 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
9067 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9068 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9069 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9070 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9071 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9072 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9073 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9074 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9075 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9076 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9077 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9078 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9079 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9080 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
9081 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9083 2013-10-04 Alan Modra <amodra@gmail.com>
9085 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
9086 64-bit int/double union.
9087 (_FPU_SETCW): Likewise.
9088 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
9089 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
9091 2013-10-04 Alan Modra <amodra@gmail.com>
9093 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
9094 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
9096 2013-10-04 Alan Modra <amodra@gmail.com>
9098 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
9099 use vector int constants.
9100 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
9102 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9104 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
9105 array with long long.
9106 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
9107 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
9108 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
9109 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
9110 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
9111 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
9112 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
9113 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
9114 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
9115 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
9116 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
9117 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
9118 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
9120 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9122 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
9123 (__signbit): Likewise. Correct for little-endian.
9124 (__signbitl): Call __signbit.
9125 (lrint): Correct for little-endian.
9126 (lrintf): Call lrint.
9128 2013-10-04 Alan Modra <amodra@gmail.com>
9130 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
9131 union 32-bit int array member with 64-bit int array.
9132 (t515, tm256): Double rather than long double.
9133 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
9135 2013-10-04 Alan Modra <amodra@gmail.com>
9137 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
9139 (IEEE854_LONG_DOUBLE_BIAS): Delete.
9140 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
9141 version of math_ldbl.h.
9143 2013-10-04 Alan Modra <amodra@gmail.com>
9145 [BZ #15734], [BZ #15735]
9146 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
9147 all uses of ieee875 long double macros and unions. Simplify test
9148 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
9149 ldbl_extract_mantissa value for ix,iy exponents. Properly
9150 normalize after ldbl_extract_mantissa, and don't add hidden bit
9151 already handled. Don't treat low word of ieee854 mantissa like
9152 low word of IBM long double and mask off bit when testing for
9154 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
9155 all uses of ieee875 long double macros and unions. Simplify tests
9156 for 0.0L and inf. Correct double adjustment of k. Delete dead code
9157 adjusting ha,hb. Simplify code setting kld. Delete two600 and
9158 two1022, instead use their values. Recognise that tests for large
9159 "a" and small "b" are mutually exclusive. Rename vars. Comment.
9160 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
9161 Rewrite all uses of ieee875 long double macros and unions. Simplify
9162 test for 0.0L and nan. Correct negation.
9163 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
9164 ieee875 long double macros and unions. Correct output for large
9165 magnitude x. Correct absolute value calculation.
9166 (__erfcl): Likewise.
9167 * math/libm-test.inc: Add tests for errors discovered in IBM long
9168 double versions of fmodl, remainderl, erfl and erfcl.
9170 2013-10-04 Alan Modra <amodra@gmail.com>
9172 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
9173 all uses of ieee854 long double macros and unions. Simplify tests
9174 for long doubles that are fully specified by the high double.
9175 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9177 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
9178 Remove dead code too.
9179 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9180 (__ieee754_ynl): Likewise.
9181 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
9182 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
9183 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9184 Remove dead code too.
9185 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9186 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9187 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9188 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
9190 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
9192 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
9193 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
9194 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
9195 Comment on variable precision.
9196 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
9197 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9199 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9200 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9201 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9202 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
9203 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
9205 2013-10-04 Alan Modra <amodra@gmail.com>
9207 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
9208 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
9209 all uses of ieee854 long double macros and unions.
9210 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
9211 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9212 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
9213 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
9214 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
9215 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9217 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
9218 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9219 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
9220 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9221 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
9222 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
9223 Simplify sign and nan test too.
9224 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
9225 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
9226 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
9227 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
9229 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9230 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
9232 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9233 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
9234 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
9235 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
9236 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
9237 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
9239 2013-10-04 Alan Modra <amodra@gmail.com>
9241 * stdio-common/printf_size.c (__printf_size): Don't use
9242 union ieee854_long_double in fpnum union.
9243 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
9244 signbit macro to retrieve sign from long double.
9245 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
9246 retrieve sign from long double.
9247 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
9248 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
9249 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
9250 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9251 * math/test-misc.c (main): Don't use union ieee854_long_double.
9253 2013-10-04 Alan Modra <amodra@gmail.com>
9256 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
9257 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
9258 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
9259 calculation. Remove unnecessary test for denormal exponent.
9260 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
9261 Correct handling of denormals. Avoid undefined shift behaviour.
9262 Correct normalisation of low mantissa when low double is denormal.
9263 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
9264 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
9265 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
9266 Correct normalisation of low mantissa. Test for overflow of high
9267 mantissa and normalise.
9268 (ldbl_nearbyint): Use more readable constant for two52.
9269 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
9270 (__mpn_construct_long_double): Fix test for overflow of high
9271 mantissa and correct normalisation. Avoid undefined shift.
9273 2013-10-04 Alan Modra <amodra@gmail.com>
9275 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
9276 (union ibm_extended_long_double): Define as an array of ieee754_double.
9277 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
9278 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
9279 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
9280 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9281 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9282 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
9283 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9284 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9285 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9286 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
9287 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9289 2013-10-03 Joseph Myers <joseph@codesourcery.com>
9291 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
9292 page size instead of calling getpagesize.
9294 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
9295 (LOCFILE_ALIGN_MASK): Likewise.
9296 (LOCFILE_ALIGN_UP): Likewise.
9297 (LOCFILE_ALIGNED_P): Likewise.
9298 * locale/programs/ld-collate.c (collate_output): Use the new
9299 macros instead of __alignof__ (int32_t).
9300 * locale/weight.h (findidx): Likewise.
9302 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
9305 * manual/string.texi: Fix strncat and wcsncat.
9307 2013-10-03 Brooks Moses <bmoses@google.com>
9310 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
9311 * Makerules: ...here, and adjust associated comments.
9313 2013-10-02 Will Newton <will.newton@linaro.org>
9315 * malloc/Makefile: Add tst-pvalloc.
9316 * malloc/tst-pvalloc.c: New file.
9318 2013-10-02 Will Newton <will.newton@linaro.org>
9320 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
9321 improve test coverage.
9323 2013-10-02 Will Newton <will.newton@linaro.org>
9325 * malloc/Makefile: Add tst-posix_memalign.
9326 * malloc/tst-posix_memalign.c: New file.
9328 2013-10-01 Eric Blake <eblake@redhat.com>
9330 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
9331 Use __THROWNL rather than __THROW on static functions.
9333 2013-09-30 Petr Machata <pmachata@redhat.com>
9335 * elf/elf.h (R_AARCH64_ABS16): New macro.
9336 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
9337 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
9338 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
9339 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
9340 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
9341 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
9342 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
9343 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
9344 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
9345 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
9346 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
9347 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
9348 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
9349 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
9350 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
9351 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
9352 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
9353 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
9354 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
9355 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
9356 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
9357 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
9358 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
9359 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
9360 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
9361 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
9362 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
9363 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
9364 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
9365 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
9366 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
9367 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
9368 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
9369 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
9370 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
9371 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
9372 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
9373 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
9374 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
9375 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
9376 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
9377 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
9378 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
9379 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
9380 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
9381 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
9382 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
9383 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
9384 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
9385 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
9386 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
9387 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
9388 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
9389 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
9390 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
9391 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
9392 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
9393 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
9394 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
9395 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
9396 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
9397 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
9398 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
9399 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
9400 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
9401 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
9402 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
9403 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
9404 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
9405 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
9406 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
9407 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
9408 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
9409 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
9410 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
9411 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
9412 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
9413 (R_AARCH64_TLSDESC_LDR): Likewise.
9414 (R_AARCH64_TLSDESC_ADD): Likewise.
9415 (R_AARCH64_TLSDESC_CALL): Likewise.
9417 2013-09-30 Andreas Schwab <schwab@suse.de>
9420 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
9421 the nss database lookup.
9422 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9423 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9425 2013-09-28 Mike Frysinger <vapier@gentoo.org>
9427 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
9429 2013-09-28 P. J. McDermott <pj@pehjota.net>
9431 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
9432 ${Bash-specific parameter/pattern/string} parameter expansion.
9433 * sysdeps/unix/make-syscalls.sh: Likewise.
9435 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9437 * sysdeps/sh/stackguard-macros.h: New file.
9439 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
9441 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9442 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
9443 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
9444 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
9445 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9446 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
9448 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9450 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
9451 Fix thread ID register.
9453 2013-09-25 Joseph Myers <joseph@codesourcery.com>
9455 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
9456 [POSIX || UNIX98]: Require rather than permitting all symbols from
9458 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
9459 element of struct sched_param.
9460 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
9461 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
9462 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
9463 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
9466 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
9468 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
9469 argument calculation.
9471 2013-09-24 Joseph Myers <joseph@codesourcery.com>
9473 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
9475 [POSIX] (pthread_attr_t): Do not require type.
9476 [POSIX] (pthread_cond_t): Likewise.
9477 [POSIX] (pthread_condattr_t): Likewise.
9478 [POSIX] (pthread_key_t): Likewise.
9479 [POSIX] (pthread_mutex_t): Likewise.
9480 [POSIX] (pthread_mutexattr_t): Likewise.
9481 [POSIX] (pthread_once_t): Likewise.
9482 [POSIX] (pthread_t): Likewise.
9483 [POSIX-based standards] (pthread_atfork): Expect function.
9485 2013-09-24 Joseph Myers <joseph@codesourcery.com>
9486 Richard Sandiford <richard@codesourcery.com>
9488 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
9489 (swap_endianness_p): New extern variable.
9490 (set_big_endian): New inline function.
9491 (maybe_swap_uint32): Likewise.
9492 (maybe_swap_uint32_array): Likewise.
9493 (maybe_swap_uint32_obstack): Likewise.
9494 * locale/programs/locfile.c: Include <stdbool.h>.
9495 (swap_endianness_p): New variable.
9496 (add_locale_uint32): Call maybe_swap_uint32.
9497 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
9498 (write_locale_data): Call maybe_swap_uint32_array.
9499 * locale/programs/ld-collate.c (obstack_int32_grow): Call
9501 (obstack_int32_grow_fast): Likewise.
9502 (output_weightwc): Call maybe_swap_uint32_obstack.
9503 (collate_output): Likewise.
9504 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
9505 (OPT_LITTLE_ENDIAN): Likewise.
9506 (options): Add --little-endian and --big-endian options.
9507 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
9508 * locale/programs/locarchive.c: Include "locfile.h".
9512 (create_archive): Use the new macros to access fields of
9513 structures directly mapped from or written to locale archives.
9514 (oldlocrecentcmp): Likewise.
9515 (enlarge_archive): Likewise.
9516 (insert_name): Likewise.
9517 (add_alias): Likewise.
9518 (add_locale): Likewise.
9519 (delete_locales_from_archive): Likewise.
9520 (show_archive_content): Likewise.
9521 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
9524 2013-09-24 Roland McGrath <roland@hack.frob.com>
9526 * manual/freemanuals.texi: Updated from (newly) canonical copy at
9527 http://www.gnu.org/doc/freemanuals.texi.
9528 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
9530 2013-09-24 Will Newton <will.newton@linaro.org>
9532 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
9535 2013-09-23 Joseph Myers <joseph@codesourcery.com>
9537 * locale/hashval.h (compute_hashval): Interpret bytes of key as
9540 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
9542 * manual/threads.texi (POSIX Threads): Fix a typo.
9544 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9547 * string/tst-strcoll-overflow.c: New test case.
9548 * string/Makefile (xtests): Add tst-strcoll-overflow.
9549 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
9550 cache if string sizes may cause integer overflow.
9553 * string/strcoll_l.c (coll_seq): New members rule, idx,
9554 save_idx and back_us.
9555 (get_next_seq_nocache): New function.
9556 (do_compare_nocache): New function.
9557 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
9560 2013-09-23 Carlos O'Donell <carlos@redhat.com>
9563 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
9564 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
9565 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
9568 * elf/Makefile (tests): Add tst-ptrguard1.
9569 (tests-static): Add tst-ptrguard1-static.
9570 (tst-ptrguard1-ARGS): Define.
9571 (tst-ptrguard1-static-ARGS): Define.
9572 * elf/tst-ptrguard1.c: New file.
9573 * elf/tst-ptrguard1-static.c: New file.
9574 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
9575 * sysdeps/i386/stackguard-macros.h: Likewise.
9576 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
9577 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
9578 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9579 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9580 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
9581 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
9583 2013-09-23 Hector Marco <hecmargi@upv.es>
9584 Ismael Ripoll <iripoll@disca.upv.es>
9585 Carlos O'Donell <carlos@redhat.com>
9588 * sysdeps/generic/stackguard-macros.h: Define
9589 __pointer_chk_guard_local and POINTER_CHK_GUARD.
9590 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
9591 Define __pointer_chk_guard_local.
9592 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
9593 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
9595 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
9598 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
9600 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
9602 * include/string.h (__ffs): Declare as hidden.
9603 * string/ffs.c (__ffs): Define as hidden.
9604 * sysdeps/i386/ffs.c (__ffs): Likewise.
9605 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
9606 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
9607 * sysdeps/s390/ffs.c (__ffs): Likewise.
9608 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
9610 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
9612 * NEWS: Mention malloc probes.
9614 * malloc/arena.c (new_heap): New memory_heap_new probe.
9615 (grow_heap): New memory_heap_more probe.
9616 (shrink_heap): New memory_heap_less probe.
9617 (heap_trim): New memory_heap_free probe.
9618 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
9619 (systrim): New memory_sbrk_less probe.
9620 * manual/probes.texi: Document them.
9622 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
9623 * manual/probes.texi: Document it.
9625 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
9626 (__libc_realloc): Add memory_realloc_retry probe.
9627 (__libc_memalign): Add memory_memalign_retry probe.
9628 (__libc_valloc): Add memory_valloc_retry probe.
9629 (__libc_pvalloc): Add memory_pvalloc_retry probe.
9630 (__libc_calloc): Add memory_calloc_retry probe.
9631 * manual/probes.texi: Document them.
9633 * malloc/arena.c (get_free_list): Add probe
9634 memory_arena_reuse_free_list.
9635 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
9636 and memory_arena_reuse.
9637 (arena_get2) [!PER_THREAD]: Likewise.
9638 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
9639 memory_arena_reuse_realloc.
9640 * manual/probes.texi: Document them.
9642 * malloc/malloc.c (__libc_free): Add
9643 memory_mallopt_free_dyn_thresholds probe.
9644 (__libc_mallopt): Add multiple memory_mallopt probes.
9645 * manual/probes.texi: Document them.
9647 * malloc/malloc.c: Include stap-probe.h.
9648 (__libc_mallopt): Add memory_mallopt probe.
9649 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
9650 * manual/probes.texi: New.
9651 * manual/Makefile (chapters): Add probes.
9652 * manual/threads.texi: Set next node.
9654 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
9657 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
9658 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
9659 Add `Chinese' to `nan' entry name.
9661 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9663 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
9664 (POLYNOMIAL): Likewise.
9665 (TAYLOR_SINCOS): Likewise.
9666 (TAYLOR_SLOW): Likewise.
9667 (__sin): Use TAYLOR_SINCOS.
9669 (slow): Use TAYLOR_SLOW.
9674 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9676 * stdlib/strtod_l.c: Fix buffer overrun.
9678 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9680 * benchtests/Makefile (bench): Add sincos.
9681 * benchtests/bench-sincos.c: New file.
9683 * math/libm-test.inc (cos_test_data): New test inputs.
9684 (sin_test_data): Likewise.
9686 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
9694 (bsloww1): Likewise.
9695 (bsloww2): Likewise.
9697 (csloww1): Likewise.
9698 (csloww2): Likewise.
9700 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
9705 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
9709 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
9711 * config.h.in (HAVE_MIPS_NAN2008): New macro.
9712 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
9713 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
9714 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
9715 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
9716 * elf/cache.c (print_entry): Handle the new cache flags.
9718 2013-09-18 Joseph Myers <joseph@codesourcery.com>
9719 Aldy Hernandez <aldyh@redhat.com>
9721 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
9722 Change condition to [_SOFT_FLOAT].
9723 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
9724 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
9725 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
9726 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
9727 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
9728 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
9729 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
9730 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
9731 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
9732 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
9733 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
9734 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
9735 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
9736 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
9737 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
9738 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
9741 2013-09-18 Joseph Myers <joseph@codesourcery.com>
9743 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
9744 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
9745 (__longjmp): Use LOAD_GP to load saved GPRs.
9746 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
9747 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
9748 (__sigsetjmp): Use SAVE_GP to save GPRs.
9750 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
9751 Do not append -msoft-float.
9752 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
9754 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9756 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
9758 2013-09-17 Joseph Myers <joseph@codesourcery.com>
9761 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
9762 (_FPU_GETCW): Use initial "__" on variable and field names but not
9763 on macro parameter name.
9764 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
9765 parentheses around reference to macro parameter.
9767 2013-09-13 Richard Sandiford <richard@codesourcery.com>
9769 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
9771 (ctype_startup): Use uint32_t in cast and sizeof for
9774 2013-09-11 Jia Liu <proljc@gmail.com>
9776 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
9778 [__FreeBSD__]: Likewise.
9780 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
9782 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9783 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
9784 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
9785 (strchr): Remove __strchr_sse42 ifunc selection.
9786 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
9787 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
9789 2013-09-11 Will Newton <will.newton@linaro.org>
9791 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
9792 parameter to RES. Remove hardcoded 1000 value.
9793 * benchtests/bench-skeleton.c (main): Pass RES parameter
9794 to TIMING_INIT and multiply result by 1000.
9796 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9798 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9800 2013-09-11 Andreas Schwab <schwab@suse.de>
9802 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
9804 (O_TMPFILE) [__USE_GNU]: Define.
9805 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
9808 2013-09-11 Will Newton <will.newton@linaro.org>
9811 * malloc/malloc.c (__libc_memalign): Check the value of bytes
9814 2013-09-11 Will Newton <will.newton@linaro.org>
9817 * malloc/malloc.c (__libc_valloc): Check the value of bytes
9820 2013-09-11 Will Newton <will.newton@linaro.org>
9823 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
9826 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
9828 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
9829 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9830 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9831 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9832 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9834 2013-09-10 Allan McRae <allan@archlinux.org>
9837 * manual/arith.texi (Parsing of Floats): Clarify
9841 * manual/install.texi (Running make install): Mention
9843 * INSTALL: Regenerated.
9845 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9847 * csu/init-first.c (_init): Remove the !SHARED condition around
9848 FPU control word initialization.
9849 * elf/dl-support.c (_dl_fpu_control): New variable.
9850 (_dl_aux_init) <AT_FPUCW>: Initialize it.
9851 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
9852 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
9853 * math/test-fpucw-static.c: New file.
9854 * math/test-fpucw-ieee.c: New file.
9855 * math/test-fpucw-ieee-static.c: New file.
9856 * math/Makefile (tests): Add `test-fpucw-ieee' and
9858 (tests-static): New variable.
9859 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
9861 [($(build-shared),yes)]
9862 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
9864 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
9867 2013-09-09 Allan McRae <allan@archlinux.org>
9870 * manual/string.texi (Collation Functions): Fix typo in
9872 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
9875 * stdlib/isomac.c (get_null_defines): Fix memory leak.
9878 * libio/memstream.c (open_memstream): Fix memory leak.
9879 * libio/wmemstream.c (open_wmemstream): Likewise.
9882 * nscd/netgroupcache.c: Fix nesting of ifdefs.
9884 2013-09-09 Will Newton <will.newton@linaro.org>
9886 * malloc/Makefile: Add tst-realloc to tests.
9887 * malloc/tst-realloc.c: New file.
9889 2013-09-09 Allan McRae <allan@archlinux.org>
9892 * COPYING: Update from GNU website to fix FSF address.
9893 * COPYING.LIB: Likewise.
9895 2013-09-06 David S. Miller <davem@davemloft.net>
9897 * po/zh_TW.po: Update Chinese (traditional) translation from
9898 translation project.
9900 2013-09-06 Richard Sandiford <richard@codesourcery.com>
9901 Joseph Myers <joseph@codesourcery.com>
9903 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
9905 (obstack_chunk_alloc): New macro.
9906 (obstack_chunk_free): Likewise.
9907 (record_offset): New function.
9908 (init_locale_data): Likewise.
9909 (align_locale_data): Likewise.
9910 (add_locale_empty): Likewise.
9911 (add_locale_raw_data): Likewise.
9912 (add_locale_raw_obstack): Likewise.
9913 (add_locale_string): Likewise.
9914 (add_locale_wstring): Likewise.
9915 (add_locale_uint32): Likewise.
9916 (add_locale_uint32_array): Likewise.
9917 (add_locale_char): Likewise.
9918 (start_locale_structure): Likewise.
9919 (end_locale_structure): Likewise.
9920 (start_locale_prelude): Likewise.
9921 (end_locale_prelude): Likewise.
9922 (write_locale_data): Take locale_file structure rather than an
9924 * locale/programs/locfile.h: Include "obstack.h".
9925 (struct locale_file): Change to store locale file contents instead
9927 (init_locale_data): New prototype.
9928 (align_locale_data): Likewise.
9929 (add_locale_empty): Likewise.
9930 (add_locale_raw_data): Likewise.
9931 (add_locale_raw_obstack): Likewise.
9932 (add_locale_string): Likewise.
9933 (add_locale_wstring): Likewise.
9934 (add_locale_uint32): Likewise.
9935 (add_locale_uint32_array): Likewise.
9936 (add_locale_char): Likewise.
9937 (start_locale_structure): Likewise.
9938 (end_locale_structure): Likewise.
9939 (start_locale_prelude): Likewise.
9940 (end_locale_prelude): Likewise.
9941 (write_locale_data): Update prototype.
9942 * locale/programs/3level.h (struct TABLE): Remove result field.
9943 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
9944 Use new locale_file interface.
9945 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
9946 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
9947 * locale/programs/ld-address.c (address_output): Use new
9948 locale_file interface.
9949 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
9951 (collate_finish): Don't call collseq_table_finalize.
9952 (collate_output): Use new locale_file interface.
9953 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
9955 (NO_FINALIZE): Change to NO_ADD_LOCALE.
9956 (TABLE): Move defines earlier in file.
9957 (ELEMENT): Likewise.
9958 (DEFAULT): Likewise.
9959 (wctrans_table_add): Move macro and inline function earlier in
9961 (struct wctype_table): Move type earlier in file.
9962 (add_locale_wctype_table): New static prototype.
9963 (struct locale_ctype_t): Use logical types instead of struct iovec
9964 pointers for members.
9965 (ctype_output): Use new locale_file interface.
9966 (wctype_table_finalize): Change to add_locale_wctype_table. Use
9967 new locale_file interface.
9968 (allocate_arrays): Update for use of new locale_file interface.
9969 * locale/programs/ld-identification.c (identification_output): Use
9970 new locale_file interface.
9971 * locale/programs/ld-measurement.c (measurement_output): Likewise.
9972 * locale/programs/ld-messages.c (messages_output): Likewise.
9973 * locale/programs/ld-monetary.c (monetary_output): Likewise.
9974 * locale/programs/ld-name.c (name_output): Likewise.
9975 * locale/programs/ld-numeric.c (numeric_output): Likewise.
9976 * locale/programs/ld-paper.c (paper_output): Likewise.
9977 * locale/programs/ld-telephone.c (telephone_output): Likewise.
9978 * locale/programs/ld-time.c (time_output): Likewise.
9980 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9982 * benchtests/Makefile: Add memrchr benchmark.
9983 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
9984 benchmark as memrchr.
9985 * benchtests/bench-memrchr-ifunc.c: New file.
9986 * benchtests/bench-memrchr.c: New file.
9988 2013-09-06 Will Newton <will.newton@linaro.org>
9990 * benchtests/Makefile (string-bench): Add memcpy.
9992 2013-09-05 Carlos O'Donell <carlos@redhat.com>
9993 Cong Wang <amwang@redhat.com>
9996 * sysdeps/unix/sysv/linux/bits/in.h
9997 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
9998 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
9999 before __USE_KERNEL_IPV6_DEFS uses.
10000 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
10002 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
10003 sockaddr_in6, or ipv6_mreq.
10005 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10007 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
10008 memory access for final bytes in some large inputs.
10009 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
10011 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10013 * string/test-memrchr.c: New file.
10014 * string/test-memrchr-ifunc.c: New file.
10015 * string/Makefile: Add new memrchr testcase.
10017 2013-09-05 Mike Frysinger <vapier@gentoo.org>
10019 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
10020 fanotify_init returns EPERM.
10022 2013-09-04 Joseph Myers <joseph@codesourcery.com>
10024 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
10026 (top level): Treat second token from macro or constant entries for
10027 allowed headers as allowed.
10028 * include/complex.h: Condition internal declarations on
10030 * include/fenv.h: Condition include of <stdbool.h> and internal
10031 declarations on [!_ISOMAC].
10033 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
10036 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
10038 2013-09-04 Joseph Myers <joseph@codesourcery.com>
10040 * configure.in (--enable-versioning): Remove configure option.
10041 (libc_cv_asm_symver_directive): Remove configure test.
10042 (libc_cv_ld_version_script_option): Likewise.
10043 (VERSIONING): Remove variable and AC_SUBST.
10044 (DO_VERSIONING): Remove AC_DEFINE.
10045 * configure: Regenerated.
10046 * config.h.in (DO_VERSIONING): Remove macro.
10047 * Makerules [$(versioning) = yes]: Change conditionals to
10048 [$(build-shared) = yes].
10049 * config.make.in (versioning): Remove variable.
10050 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
10051 [$(build-shared) = yes].
10052 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
10053 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
10054 * elf/Makefile [$(versioning) = yes]: Change conditionals to
10055 [$(build-shared) = yes].
10056 * extra-lib.mk [$(versioning) = yes]: Likewise.
10057 * hurd/Makefile [$(versioning) = yes]: Likewise.
10058 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
10060 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
10062 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10063 [SHARED && !NO_HIDDEN].
10064 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
10066 [SHARED && DO_VERSIONING]: Likewise..
10067 * libio/Makefile [$(versioning) = yes]: Change conditionals to
10068 [$(build-shared) = yes].
10069 * manual/install.texi (--disable-versioning): Remove
10071 * INSTALL: Regenerated.
10072 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
10074 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
10075 [$(build-shared) = yes].
10076 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
10077 * sysdeps/i386/i686/multiarch/strstr-c.c
10078 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10079 [SHARED && !NO_HIDDEN].
10080 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
10081 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
10082 * sysdeps/powerpc/powerpc32/dl-machine.c
10083 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
10084 * sysdeps/powerpc/powerpc32/sysdep.h
10085 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
10086 to [SHARED && PIC && !NO_HIDDEN].
10087 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
10088 conditional to [SHARED].
10090 2013-09-04 Will Newton <will.newton@linaro.org>
10092 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
10093 * benchtests/bench-string.h: Include bench-timing.h instead
10094 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
10095 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
10096 call to HP_TIMING_DIFF_INIT.
10097 * benchtests/bench-memccpy.c: Use bench-timing.h macros
10098 instead of hp-timing.h macros.
10099 * benchtests/bench-memchr.c: Likewise.
10100 * benchtests/bench-memcmp.c: Likewise.
10101 * benchtests/bench-memcpy.c: Likewise.
10102 * benchtests/bench-memmem.c: Likewise.
10103 * benchtests/bench-memmove.c: Likewise.
10104 * benchtests/bench-memset.c: Likewise.
10105 * benchtests/bench-rawmemchr.c: Likewise.
10106 * benchtests/bench-strcasecmp.c: Likewise.
10107 * benchtests/bench-strcasestr.c: Likewise.
10108 * benchtests/bench-strcat.c: Likewise.
10109 * benchtests/bench-strchr.c: Likewise.
10110 * benchtests/bench-strcmp.c: Likewise.
10111 * benchtests/bench-strcpy.c: Likewise.
10112 * benchtests/bench-strcpy_chk.c: Likewise.
10113 * benchtests/bench-strlen.c: Likewise.
10114 * benchtests/bench-strncasecmp.c: Likewise.
10115 * benchtests/bench-strncat.c: Likewise.
10116 * benchtests/bench-strncmp.c: Likewise.
10117 * benchtests/bench-strncpy.c: Likewise.
10118 * benchtests/bench-strnlen.c: Likewise.
10119 * benchtests/bench-strpbrk.c: Likewise.
10120 * benchtests/bench-strrchr.c: Likewise.
10121 * benchtests/bench-strspn.c: Likewise.
10122 * benchtests/bench-strstr.c: Likewise.
10124 2013-09-04 Will Newton <will.newton@linaro.org>
10126 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
10128 2013-09-03 Joseph Myers <joseph@codesourcery.com>
10131 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
10132 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
10133 * math/libm-test.inc (lgamma_test_data): Add more tests.
10134 * sysdeps/i386/fpu/libm-test-ulps: Update.
10135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10137 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
10139 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
10140 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10142 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10143 Add strcmp-sse2-unaligned
10144 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
10146 2013-09-02 Mike Frysinger <vapier@gentoo.org>
10148 * Versions.def (libc): Add GLIBC_2.19.
10150 2013-09-02 Mike Frysinger <vapier@gentoo.org>
10152 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
10153 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
10155 2013-09-02 Joseph Myers <joseph@codesourcery.com>
10158 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
10159 intermediate calculations in recurrence.
10160 (__ieee754_ynf): Likewise.
10161 * math/libm-test.inc (jn_test_data): Do not allow spurious
10162 underflow exception. Add more tests.
10163 (yn_test_data): Add more tests.
10164 * sysdeps/i386/fpu/libm-test-ulps: Update.
10165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10167 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
10169 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
10171 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
10173 * csu/init-first.c: Fix then/than typos.
10174 * locale/programs/ld-collate.c: Likewise.
10175 * locale/programs/linereader.h: Likewise.
10176 * manual/charset.texi: Likewise.
10177 * manual/filesys.texi: Likewise.
10178 * manual/stdio.texi: Likewise.
10179 * manual/string.texi: Likewise.
10180 * stdlib/fmtmsg.c: Likewise.
10181 * sysdeps/i386/stpncpy.S: Likewise.
10182 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10183 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10184 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10185 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10187 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
10189 * elf/dl-open.c: Fix typos.
10190 * iconvdata/gbbig5.c: Likewise.
10191 * iconvdata/iso-2022-jp.c: Likewise.
10192 * iconv/gconv_int.h: Likewise.
10193 * iconv/loop.c: Likewise.
10194 * nis/rpcsvc/nis.h: Likewise.
10195 * resolv/ns_name.c: Likewise.
10196 * stdio-common/vfscanf.c: Likewise.
10197 * streams/stropts.h: Likewise.
10198 * sunrpc/rpc_thread.c: Likewise.
10199 * sysdeps/i386/strpbrk.S: Likewise.
10200 * sysdeps/ieee754/k_standard.c: Likewise.
10201 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10202 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10203 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10204 * sysdeps/mach/hurd/profil.c: Likewise.
10205 * sysdeps/s390/dl-procinfo.h: Likewise.
10206 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10207 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10208 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
10209 * sysdeps/x86_64/dl-trampoline.S: Likewise.
10210 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10212 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
10214 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
10215 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
10217 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
10219 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
10220 aix specific files.
10221 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
10222 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
10223 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
10224 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
10225 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
10226 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
10227 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
10228 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
10230 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10231 Roland McGrath <roland@hack.frob.com>
10233 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
10234 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10236 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
10238 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
10239 __executable_start symbol instead of _start.
10241 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10243 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
10244 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
10246 * sysdeps/gnu/ldsodefs.h: ... this new file.
10248 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
10249 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
10250 instead of ELFOSABI_LINUX.
10252 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
10253 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
10254 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
10255 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
10257 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
10258 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
10259 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
10261 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10262 (ibm_extended_long_double): Add ieee_nan member.
10263 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
10264 (do_test): New function.
10266 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
10268 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
10269 functions, renamed from truncdfsf_test, trunctfsf_test,
10271 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
10273 (do_test): Run all these.
10275 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
10277 * argp/argp-help.c: Fix typos.
10278 * argp/argp-parse.c: Likewise.
10279 * debug/backtracesyms.c: Likewise.
10280 * elf/elf.h: Likewise.
10281 * malloc/malloc.c: Likewise.
10282 * nis/nis_print.c: Likewise.
10283 * resolv/res_comp.c: Likewise.
10284 * stdlib/stdlib.h: Likewise.
10285 * sunrpc/clnt_tcp.c: Likewise.
10286 * sunrpc/clnt_udp.c: Likewise.
10287 * sunrpc/clnt_unix.c: Likewise.
10288 * sysdeps/unix/bsd/ptsname.c: Likewise.
10289 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10290 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
10291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
10293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
10295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
10297 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10299 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10301 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
10302 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10304 2013-08-27 Mike Frysinger <vapier@gentoo.org>
10307 * dlfcn/Makefile (tests): Add bug-dl-leaf.
10308 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
10309 ($(objpfx)bug-dl-leaf): New rule.
10310 ($(objpfx)bug-dl-leaf.so): Likewise.
10311 ($(objpfx)bug-dl-leaf.out): Likewise.
10312 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
10313 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
10314 * dlfcn/bug-dl-leaf.c: New test.
10315 * dlfcn/bug-dl-leaf-lib.c: Likewise.
10316 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
10317 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
10318 (dlclose): Likewise.
10319 (dlmopen): Likewise.
10321 2013-08-27 Roland McGrath <roland@hack.frob.com>
10323 * include/netdb.h [!_ISOMAC]:
10324 Don't include <tls.h>.
10325 (h_errno, __libc_h_errno): Move declaration and macros out of
10328 * include/resolv.h [_RESOLV_H_]:
10329 Don't include <tls.h>.
10330 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
10331 * resolv/res_libc.c: Don't include <tls.h>.
10332 (_res): Use __attribute__ ((nocommon)) in place of
10333 __attribute__ ((section (".bss"))).
10335 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
10336 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
10338 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
10340 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
10341 only under [SIOCGIFCONF && SIOCGIFNETMASK].
10343 * resolv/res_mkquery.c: Include <sys/time.h>.
10345 * inet/ifreq.c: Moved to ...
10346 * sysdeps/unix/ifreq.c: ... here.
10347 * inet/ifreq.c: New file, true stub version.
10349 * socket/sa_len.c: New file.
10350 * socket/Makefile (aux): Add it.
10351 * sysdeps/unix/sysv/linux/Makefile
10352 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
10353 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
10354 and #include <socket/sa_len.c>.
10355 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
10356 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
10358 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
10359 * bits/socket.h: ... here.
10361 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
10362 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
10363 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
10365 2013-08-27 Andreas Schwab <schwab@suse.de>
10368 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
10369 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
10370 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
10371 * string/test-strcasecmp.c (test_main): Run tests in several
10373 * string/test-strncasecmp.c (test_main): Likewise.
10375 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
10376 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
10377 to __strcasecmp_nonascii and __strncasecmp_nonascii.
10378 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
10379 (__strncasecmp_ssse3) [PIC]: Likewise.
10381 2013-08-26 Roland McGrath <roland@hack.frob.com>
10383 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
10385 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
10386 instead of explicitly declaring xdecrypt.
10387 * nis/nss_nis/nis-publickey.c: Likewise.
10389 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10392 * nscd/aicache.c: Include res_hconf.h.
10393 (addhstaiX): Initialize res_hconf.
10395 2013-08-26 Andreas Schwab <schwab@suse.de>
10397 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
10398 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
10400 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10402 * nscd/aicache.c (addhstaiX): Fix indentation.
10404 2013-08-25 Mike Frysinger <vapier@gentoo.org>
10406 * configure.ac: Quote $build_pt_chown test.
10407 * configure: Regenerated.
10409 2013-08-23 Joseph Myers <joseph@codesourcery.com>
10412 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
10413 * math/s_cexpf.c (__cexpf): Likewise.
10414 * math/s_cexpl.c (__cexpl): Likewise.
10415 * math/libm-test.inc (cexp_test_data): Correct expected return
10416 value for NaN + i0. Add another test.
10418 2013-08-22 David S. Miller <davem@davemloft.net>
10420 * po/ca.po: Update Catalan translation from translation project.
10421 * po/uk.po: Add Ukrainian translations from translation project.
10423 2013-08-21 Joseph Myers <joseph@codesourcery.com>
10426 * math/s_fdim.c (__fdim): Check for infinite arguments if result
10427 is infinite, not alongside NaN test.
10428 * math/s_fdimf.c (__fdimf): Likewise.
10429 * math/s_fdiml.c (__fdiml): Likewise.
10430 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
10431 errno is unchanged.
10433 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
10435 * argp/argp-help.c: Fix typos.
10436 * crypt/speeds.c: Likewise.
10437 * csu/check_fds.c: Likewise.
10438 * elf/dl-load.c: Likewise.
10439 * elf/dl-open.c: Likewise.
10440 * elf/reldep3.c: Likewise.
10441 * elf/reldep.c: Likewise.
10442 * elf/sprof.c: Likewise.
10443 * iconv/iconv_charmap.c: Likewise.
10444 * iconv/skeleton.c: Likewise.
10445 * iconv/strtab.c: Likewise.
10446 * io/lockf64.c: Likewise.
10447 * libio/libioP.h: Likewise.
10448 * resolv/gai_notify.c: Likewise.
10449 * resolv/ns_name.c: Likewise.
10450 * resolv/ns_samedomain.c: Likewise.
10451 * resolv/res_send.c: Likewise.
10452 * stdlib/random.c: Likewise.
10453 * sunrpc/rpc/xdr.h: Likewise.
10454 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
10455 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10456 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10457 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10458 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10459 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10460 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10461 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10462 * sysdeps/mach/hurd/check_fds.c: Likewise.
10463 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10464 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10465 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10466 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10467 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10468 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10469 * sysdeps/pthread/aio_notify.c: Likewise.
10470 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
10471 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
10472 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
10473 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10474 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
10476 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10478 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
10479 version if bit_Slow_SSE4_2 is set.
10480 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10481 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10483 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10486 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
10487 trampoline stack frame information.
10488 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
10489 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
10490 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
10491 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
10492 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
10493 * sysdeps/unix/sysv/linux/powerpc/init-first.c
10494 (_libc_vdso_platform_setup): Initialize the signal trampolines.
10495 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
10497 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
10498 interrupting a syscall and set with option SA_SIGINFO.
10500 2013-08-20 Joseph Myers <joseph@codesourcery.com>
10503 * math/s_cproj.c (__cproj): Only return an infinity if one part of
10504 argument is infinite.
10505 * math/s_cprojf.c (__cprojf): Likewise.
10506 * math/s_cprojl.c (__cprojl): Likewise.
10507 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
10508 * math/libm-test.inc (cproj_test_data): Add more tests.
10510 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
10512 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
10513 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
10514 size. Use __ffs to determine corresponding shift.
10516 2013-08-20 Joseph Myers <joseph@codesourcery.com>
10517 Roland McGrath <roland@hack.frob.com>
10519 * Makefile (INSTALL): Remove trailing blank lines from output of
10522 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10524 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
10525 Align 32 bit compat elf_greg to 8 bytes.
10527 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
10529 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
10531 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10533 * string/strcoll_l.c (coll_seq): New structure.
10534 (get_next_seq_cached): New function.
10535 (get_next_seq): New function.
10536 (do_compare): New function.
10537 (STRCOLL): Use GNU style definition. Simplify implementation
10538 by using get_next_seq, get_next_seq_cached and do_compare.
10540 2013-08-16 Florian Weimer <fweimer@redhat.com>
10544 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
10546 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
10548 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
10549 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
10550 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
10552 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
10553 GETDENTS_64BIT_ALIGNED.
10554 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10555 * manual/filesys.texi (Reading/Closing Directory): Document
10556 ENAMETOOLONG return value of readdir_r. Recommend readdir more
10558 * manual/conf.texi (Limits for Files): Add portability note to
10559 NAME_MAX, PATH_MAX.
10560 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
10562 2013-08-13 Andreas Schwab <schwab@suse.de>
10565 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
10567 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
10568 LDBL_MAX_EXP >= 16384]: Add tests for it.
10570 2013-08-12 David S. Miller <davem@davemloft.net>
10572 * version.h (RELEASE): Set to "development".
10573 (VERSION): Set to "2.18.90".
10574 * NEWS: Add 2.19 section.
10576 2013-08-03 David S. Miller <davem@davemloft.net>
10578 * po/ko.po: Update Korean translation from translation project.
10580 2013-08-01 David S. Miller <davem@davemloft.net>
10582 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
10583 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
10586 2013-07-30 David S. Miller <davem@davemloft.net>
10588 * po/fr.po: Update French translation from translation project.
10590 2013-07-28 David S. Miller <davem@davemloft.net>
10592 * po/cs.po: Update Czech translation from translation project.
10594 * po/sv.po: Update Swedish translation from translation project.
10596 2013-07-27 David S. Miller <davem@davemloft.net>
10598 * po/eo.po: Update Esperanto translation from translation project.
10600 * po/vi.po: Update Vietnamese translation from translation project.
10602 * po/de.po: Update German translation from translation project.
10604 2013-07-26 David S. Miller <davem@davemloft.net>
10606 * po/bg.po: Update Bulgarian translation from translation project.
10608 * po/nl.po: Update Dutch translation from translation project.
10609 * po/pl.po: Update Polish translation from translation project.
10610 * po/ru.po: Update Russian translation from translation project.
10612 2013-07-24 David S. Miller <davem@davemloft.net>
10614 * po/libc.pot: Update.
10616 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10618 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
10619 variable page size.
10620 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
10621 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
10622 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
10624 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10626 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
10628 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10629 Andreas Schwab <schwab@suse.de>
10630 Roland McGrath <roland@hack.frob.com>
10631 Joseph Myers <joseph@codesourcery.com>
10632 Carlos O'Donell <carlos@redhat.com>
10635 * config.h.in: Define HAVE_PT_CHOWN.
10636 * config.make.in (build-pt-chown): New variable.
10637 * configure.in (--enable-pt_chown): New configure option.
10638 * configure: Regenerate.
10639 * login/Makefile: Include Makeconfig. Build pt_chown only if
10640 build-pt-chown is enabled.
10641 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
10642 pt_chown to fix pty ownership.
10643 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
10645 * manual/install.texi (Configuring and compiling): Mention
10646 --enable-pt_chown. Add @findex for grantpt.
10647 * INSTALL: Regenerate.
10649 2013-07-20 David S. Miller <davem@davemloft.net>
10651 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
10652 difference between 32-bit and 64-bit.
10654 2013-07-15 Carlos O'Donell <carlos@redhat.com>
10657 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
10658 Avoid system header dependency with -ffreestanding.
10659 ($(objpfx)bits/syscall%d): Likewise.
10661 2013-07-13 David S. Miller <davem@davemloft.net>
10663 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
10664 underflows from atanl/atan2l due to bug 15319.
10665 (casinh_test_data): Likewise.
10667 2013-07-07 David S. Miller <davem@davemloft.net>
10669 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
10671 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
10673 * sysdeps/i386/fpu/libm-test-ulps: Update.
10674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10676 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10678 * configure.in (--enable-lock-elision): Fix message text.
10679 * INSTALL: Regenerate.
10680 * configure: Regenerate.
10682 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10684 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10686 2013-07-03 Andreas Jaeger <aj@suse.de>
10688 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
10690 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
10691 (ptrace_peeksiginfo_args): Add.
10692 (__ptrace_peeksiginfo_flags): Add.
10693 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10694 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10695 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10697 2013-07-03 Allan McRae <allan@archlinux.org>
10699 * sysdeps/i386/fpu/libm-test-ulps: Update.
10701 2013-07-02 David S. Miller <davem@davemloft.net>
10703 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10705 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
10707 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10709 2013-07-02 Joseph Myers <joseph@codesourcery.com>
10711 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10714 2013-07-02 Andi Kleen <ak@linux.intel.com>
10716 * config.h.in (ENABLE_LOCK_ELISION): Add.
10717 * configure.in (--enable-lock-elision): Add option.
10718 * manual/install.texi: Document --enable lock elision.
10719 * configure: Regenerate
10720 * INSTALL: Regenerate.
10722 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
10724 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
10725 SSE4.2 strcasecmp for libc.a.
10726 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
10728 2013-07-02 Joseph Myers <joseph@codesourcery.com>
10731 * soft-fp/op-common.h (_FP_FMA): New macro.
10732 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
10733 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
10734 (_FP_MUL_MEAT_1_imm): ... here.
10735 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
10736 (_FP_MUL_MEAT_1_wide): ... here.
10737 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
10738 (_FP_MUL_MEAT_1_hard): ... here.
10739 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
10740 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
10741 (_FP_MUL_MEAT_2_wide): ... here.
10742 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
10743 (_FP_MUL_MEAT_2_wide_3mul): ... here.
10744 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
10745 (_FP_MUL_MEAT_2_gmp): ... here.
10746 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
10747 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
10748 (_FP_MUL_MEAT_4_wide): ... here.
10749 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
10750 (_FP_MUL_MEAT_4_gmp): ... here.
10751 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
10752 (_FP_WFRACBITS_DW_S): Likewise.
10753 (_FP_WFRACXBITS_DW_S): Likewise.
10754 (_FP_HIGHBIT_DW_S): Likewise.
10755 (FP_FMA_S): Likewise.
10756 (_FP_FRAC_HIGH_DW_S): Likewise.
10757 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
10758 (_FP_WFRACBITS_DW_D): Likewise.
10759 (_FP_WFRACXBITS_DW_D): Likewise.
10760 (_FP_HIGHBIT_DW_D): Likewise.
10761 (FP_FMA_D): Likewise.
10762 (_FP_FRAC_HIGH_DW_D): Likewise.
10763 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
10764 (_FP_WFRACBITS_DW_E): Likewise.
10765 (_FP_WFRACXBITS_DW_E): Likewise.
10766 (_FP_HIGHBIT_DW_E): Likewise.
10767 (FP_FMA_E): Likewise.
10768 (_FP_FRAC_HIGH_DW_E): Likewise.
10769 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
10770 (_FP_WFRACBITS_DW_Q): Likewise.
10771 (_FP_WFRACXBITS_DW_Q): Likewise.
10772 (_FP_HIGHBIT_DW_Q): Likewise.
10773 (FP_FMA_Q): Likewise.
10774 (_FP_FRAC_HIGH_DW_Q): Likewise.
10775 * soft-fp/fmasf4.c: New file.
10776 * soft-fp/fmadf4.c: Likewise.
10777 * soft-fp/fmatf4.c: Likewise.
10779 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10781 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10782 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
10784 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
10786 (index_Slow_SSE4_2): Likewise.
10787 (index_Prefer_PMINUB_for_stringop): Likewise.
10788 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
10789 bit_Slow_SSE4_2 is set.
10790 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10791 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10793 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10795 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
10796 rtld_global._dl_hwcap2.
10797 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
10799 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
10800 POWER8 feature descriptions defined in _dl_hwcap2.
10801 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
10802 string handling for POWER8 feature bits.
10803 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
10804 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
10805 _dl_powerpc_cap_flags.
10806 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
10807 * sysdeps/powerpc/rtld-global-offsets.sym
10808 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
10809 _dl_hwcap2 in the rtld_global_ro structure.
10811 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10813 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
10814 hardware capabilities in support of AT_HWCAP2.
10815 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
10816 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
10818 (_dl_show_auxv): Add support for calling _dl_procinfo to display
10819 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
10820 explicitly the unknown a_type display mechanism is used.
10821 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
10822 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
10824 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
10825 to macro prototype for AT_HWCAP2 support.
10826 * sysdeps/i386/dl-procinfo.h: Likewise.
10827 * sysdeps/s390/dl-procinfo.h: Likewise.
10828 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
10829 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
10830 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
10831 return -1 for unknown a_type display fallback.
10832 * sysdeps/sparc/dl-procinfo.h: Likewise.
10833 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
10834 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
10836 2013-06-28 Joseph Myers <joseph@codesourcery.com>
10838 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
10839 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
10841 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
10844 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
10845 mprotect making __stack_prot writable.
10847 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
10848 Joseph Myers <joseph@codesourcery.com>
10850 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
10851 as being properly aligned.
10853 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
10855 * dlfcn/modstatic5.c: New file.
10856 * dlfcn/tststatic5.c: New file.
10857 * dlfcn/Makefile (tests): Add tststatic5.
10858 (tests-static): Likewise.
10859 (modules-names): Add modstatic5.
10860 (tststatic5-ENV): New variable.
10861 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
10864 * elf/dl-support.c (_dl_main_map): New variable.
10865 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
10866 (_dl_nns, _dl_load_adds): Set to 1.
10867 (_dl_initial_searchlist): Refer to _dl_main_map.
10868 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
10869 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
10870 call to _dl_get_origin.
10871 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
10873 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
10874 * dlfcn/modstatic3.c: New file.
10875 * dlfcn/tststatic3.c: New file.
10876 * dlfcn/tststatic4.c: New file.
10877 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
10878 (tests-static): Likewise.
10879 (modules-names): Add modstatic3.
10880 (tststatic3-ENV, tststatic4-ENV): New variables.
10881 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
10882 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
10884 2013-06-26 Joseph Myers <joseph@codesourcery.com>
10886 * configure.in (CC): Require GCC version 4.4 or later.
10887 * configure: Regenerated.
10888 * manual/install.texi (Tools for Compilation): Update GCC version
10890 * INSTALL: Regenerated.
10892 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10895 * string/test-memcmp.c (check2): New.
10896 (main): Call check2.
10898 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
10900 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
10903 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
10905 (dl_open_worker) [!SHARED]: ... here.
10907 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10909 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
10911 2013-06-25 Richard Henderson <rth@redhat.com>
10913 * locale/programs/locarchive.c: Include <libc-internal.h>
10915 2013-06-25 Joseph Myers <joseph@codesourcery.com>
10917 * manual/texinfo.tex: Update to version 2013-06-21.17, with
10918 trailing whitespace removed.
10920 2013-06-24 Mike Frysinger <vapier@gentoo.org>
10923 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
10924 * locale/programs/locarchive.c: Include libc-mmap.h.
10925 (prepare_address_space): Take two new outputs (the mmap base and len).
10926 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
10928 (create_archive): Declare new mmap base and len values for
10929 prepare_address_space, and store the result in ah.
10930 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
10931 (enlarge_archive): If ah->mmap_base is not NULL, use that and
10932 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
10933 Declare new mmap base and len values for
10934 prepare_address_space, and store the result in new_ah.
10935 (open_archive): Declare new mmap base and len values for
10936 prepare_address_space, and store the result in ah.
10937 (close_archive): If ah->mmap_base is not NULL, use that and
10938 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
10939 * sysdeps/generic/libc-mmap.h: New file.
10941 2013-06-24 Mike Frysinger <vapier@gentoo.org>
10943 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
10944 (ALIGN_UP): Likewise.
10945 (PTR_ALIGN_DOWN): Likewise.
10946 (PTR_ALIGN_UP): Likewise.
10948 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10950 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
10951 entry mapped to PPC_PLATFORM_POWER8.
10952 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
10954 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
10955 (_dl_string_platform): Add case for exporting platform position for
10957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
10958 search path to sysdeps/powerpc/powerpc32/power8 directory.
10959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
10960 search path to sysdeps/powerpc/powerpc64/power8 directory.
10961 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
10962 power7 directories.
10963 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
10964 power7 directories.
10966 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10968 * INSTALL: Regenerate.
10970 * nscd/connections.c (nscd_init): Fix comment.
10972 2013-06-22 Joseph Myers <joseph@codesourcery.com>
10974 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
10977 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
10978 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
10980 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
10982 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
10984 (DL_DST_REQ_STATIC): Remove macro.
10986 2013-06-21 Joseph Myers <joseph@codesourcery.com>
10989 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
10990 with a shift of 0 bits.
10992 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
10994 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
10997 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11000 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
11002 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11004 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
11005 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
11006 accepts -fno-tree-loop-distribute-patterns.
11007 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
11008 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
11010 * string/memset.c (memset): Likewise.
11011 * string/test-memmove.c (simple_memmove): Disable loop transformation
11013 * string/test-memset.c (simple_memset): Likewise.
11014 * benchtests/bench-memmove.c (simple_memmove): Likewise.
11015 * benchtests/bench-memset.c (simple_memset): Likewise.
11016 * configure: Regenerated.
11018 2013-06-20 Joseph Myers <joseph@codesourcery.com>
11020 * math/test-misc.c (main): Ignore fesetround failure when failures
11021 of subsequent rounding tests would be ignored.
11024 * math/fedisblxcpt.c (fedisableexcept): Return 0.
11025 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
11026 * math/fegetenv.c (__fegetenv): Return 0.
11027 * math/fegetexcept.c (fegetexcept): Return 0.
11028 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
11030 * math/feholdexcpt.c (feholdexcept): Return 0.
11031 * math/fesetenv.c (__fesetenv): Return 0.
11032 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
11033 argument FE_TONEAREST.
11034 * math/feupdateenv.c (__feupdateenv): Return 0.
11035 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
11037 2013-06-18 Roland McGrath <roland@hack.frob.com>
11039 * elf/rtld-Rules (rtld-compile-command.S): New variable.
11040 (rtld-compile-command.s, rtld-compile-command.c): New variables.
11041 ($(objpfx)rtld-%.os rules): Use them.
11043 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11045 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
11048 2013-06-17 Roland McGrath <roland@hack.frob.com>
11050 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
11051 length of target pattern, then descending length of dependency pattern.
11052 * configure.in (AWK): Require gawk 3.1.2 or newer.
11053 * manual/install.texi (Tools for Compilation): Say that we do.
11054 * configure: Regenerated.
11056 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
11057 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
11058 * scripts/sysd-rules.awk: ... this new script.
11059 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
11060 than a glob-style pattern.
11062 2013-06-17 Joseph Myers <joseph@codesourcery.com>
11064 * math/test-misc.c (main): Do not treat incorrectly rounded
11065 conversions as failure unless ROUNDING_TESTS passes.
11067 2013-06-15 Joseph Myers <joseph@codesourcery.com>
11070 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
11071 restore exception state around main square root computation, then
11072 check for inexactness explicitly.
11074 * math/libm-test.inc (fma_test_data): Add another test.
11076 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11078 * manual/threads.texi (Non-POSIX Extensions): New document
11079 node. Document pthread_getattr_default_np and
11080 pthread_setattr_default_np.
11082 * Versions.def (libpthread): Add GLIBC_2.18.
11083 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
11084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11088 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11090 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11092 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
11094 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11096 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11098 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11100 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11103 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11105 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11106 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
11108 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11109 H.J. Lu <hjl.tools@gmail.com>
11112 * sysdeps/x86_64/rtld-memset.c: Remove file.
11113 * sysdeps/x86_64/rtld-memset.S: New file.
11115 2013-06-14 Joseph Myers <joseph@codesourcery.com>
11117 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
11118 (test_in_one_mode): Take arguments for whether the rounding mode
11119 is supported for each floating-point type.
11120 (do_test): Pass new arguments to test_in_one_mode using
11123 2013-06-13 Roland McGrath <roland@hack.frob.com>
11125 * posix/tst-waitid.c (do_test): Distinguish different instances of
11126 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
11127 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
11128 before entering the kernel for waitpid.
11130 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11132 * NEWS: Fix note on clock function precision. Text by Roland
11135 2013-06-13 Roland McGrath <roland@hack.frob.com>
11137 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
11138 it into place only when and if the sanity check passes.
11140 2013-06-13 Joseph Myers <joseph@codesourcery.com>
11142 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
11143 output for whether conversion result is exact. Take argument
11144 indicating whether type is IBM long double.
11145 (round_for_all): Change need_exact field to ibm_ld.
11146 * stdlib/tst-strtod-round.c (struct exactness): New type.
11147 (struct test): Change bool ld_ok field to struct exactness exact.
11148 (TEST): Update all definitions for change to field.
11149 (tests): Regenerate array contents.
11150 (test_in_one_mode): Take pointer to new field instead of old ld_ok
11151 field value. Check for IBM long double here.
11152 (do_test): Update calls to test_in_one_mode.
11154 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11157 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
11158 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
11160 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11163 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
11164 generated by the compiler on loop optimizations.
11165 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
11166 general definitions.
11168 2013-06-12 Joseph Myers <joseph@codesourcery.com>
11170 * math/bug-nextafter.c: Include <math-tests.h>.
11171 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11173 * math/bug-nexttoward.c: Include <math-tests.h>.
11174 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11176 * math/test-misc.c: Include <math-tests.h>.
11177 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11180 2013-06-12 Andreas Jaeger <aj@suse.de>
11182 * po/ia.po: Update Interlingua translation from translation
11185 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11187 * include/fenv.h: Include stdbool.h.
11188 (struct rm_ctx): New structure.
11189 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
11191 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
11192 (SET_RESTORE_ROUNDF): Likewise.
11193 (SET_RESTORE_ROUNDL): Likewise.
11194 (SET_RESTORE_ROUND_NOEX): Likewise.
11195 (SET_RESTORE_ROUND_NOEXF): Likewise.
11196 (SET_RESTORE_ROUND_NOEXL): Likewise.
11197 (SET_RESTORE_ROUND_53BIT): Likewise.
11198 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
11199 (libc_feresetround_noexf_ctx): Likewise.
11200 (libc_feresetround_noexl_ctx): Likewise.
11201 (libc_feholdsetround_53bit_ctx): Likewise.
11202 (libc_feresetround_53bit_ctx): Likewise.
11203 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
11204 (libc_feholdexcept_setround_sse_ctx): New function.
11205 (libc_fesetenv_sse_ctx): Likewise.
11206 (libc_feupdateenv_sse_ctx): Likewise.
11207 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
11208 (libc_feholdexcept_setround_387_ctx): Likewise.
11209 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
11210 (libc_feholdsetround_387_prec_ctx): Likewise.
11211 (libc_feholdsetround_387_ctx): Likewise.
11212 (libc_feholdsetround_387_53bit_ctx): Likewise.
11213 (libc_feholdsetround_sse_ctx): Likewise.
11214 (libc_feresetround_sse_ctx): Likewise.
11215 (libc_feresetround_387_ctx): Likewise.
11216 (libc_feupdateenv_387_ctx): Likewise.
11217 (libc_feholdexcept_setroundf_ctx): Define macro.
11218 (libc_fesetenvf_ctx): Likewise.
11219 (libc_feupdateenvf_ctx): Likewise.
11220 (libc_feholdsetroundf_ctx): Likewise.
11221 (libc_feresetroundf_ctx): Likewise.
11222 (libc_feholdexcept_setround_ctx): Likewise.
11223 (libc_fesetenv_ctx): Likewise.
11224 (libc_feupdateenv_ctx): Likewise.
11225 (libc_feholdsetround_ctx): Likewise.
11226 (libc_feresetround_ctx): Likewise.
11227 (libc_feholdexcept_setroundl_ctx): Likewise.
11228 (libc_feupdateenvl_ctx): Likewise.
11229 (libc_feholdsetroundl_ctx): Likewise.
11230 (libc_feresetroundl_ctx): Likewise.
11231 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
11232 (libc_feresetround_53bit_ctx): Likewise.
11234 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11236 * locale/iso-639.def: Convert to UTF-8.
11238 2013-06-11 Joseph Myers <joseph@codesourcery.com>
11240 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
11241 (EXCEPTION_TESTS_double): Likewise.
11242 (EXCEPTION_TESTS_long_double): Likewise.
11243 (EXCEPTION_TESTS): Likewise.
11244 * math/libm-test.inc (test_exceptions): Only test exceptions if
11245 EXCEPTION_TESTS (FLOAT).
11247 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11249 * benchtests/Makefile (string-bench): Add strcpy_chk and
11251 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
11252 * benchtests/bench-stpcpy_chk.c: New file.
11253 * benchtests/bench-strcpy_chk-ifunc.c: New file.
11254 * benchtests/bench-strcpy_chk.c: New file.
11255 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
11257 (do_test): Likewise.
11259 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11261 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
11262 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
11263 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
11264 with tabs where appropriate.
11265 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
11267 [PPC_PLATFORM_PPC440]: Likewise.
11268 [PPC_PLATFORM_PPC464]: Likewise.
11269 [PPC_PLATFORM_PPC476]: Likewise.
11270 (_dl_string_platform): Add support for detecting ppc405, ppc440,
11271 ppc464, and ppc476 platform strings merging from ports/
11274 2013-06-11 Andreas Schwab <schwab@suse.de>
11277 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
11278 (from_ucs4_idx): Regenerate.
11279 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
11280 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
11281 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
11282 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
11283 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
11284 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
11285 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
11286 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
11287 from FROM_LOOP and TO_LOOP specific macros.
11288 (BODY): Handle combining characters.
11289 * iconvdata/BIG5HKSCS.irreversible: Update.
11290 * iconvdata/BIG5HKSCS.precomposed: New file.
11291 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
11293 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
11295 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11297 * include/sys/time.h: Fix indentation and add copyright header.
11299 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
11300 (do_test): Likewise.
11301 * string/test-memchr.c (do_one_test): Likewise.
11302 (do_test): Likewise.
11303 * string/test-memcmp.c (do_one_test): Likewise.
11304 (do_test): Likewise.
11305 * string/test-memcpy.c (do_one_test): Likewise.
11306 (do_test): Likewise.
11307 * string/test-memmem.c (do_one_test): Likewise.
11308 (do_test): Likewise.
11309 (do_random_tests): Likewise.
11310 * string/test-memmove.c (do_one_test): Likewise.
11311 (do_test): Likewise.
11312 * string/test-memset.c (do_one_test): Likewise.
11313 (do_test): Likewise.
11314 * string/test-rawmemchr.c (do_one_test): Likewise.
11315 (do_test): Likewise.
11316 * string/test-strcasecmp.c (do_one_test): Likewise.
11317 (do_test): Likewise.
11318 * string/test-strcasestr.c (do_one_test): Likewise.
11319 (do_test): Likewise.
11320 * string/test-strcat.c (do_one_test): Likewise.
11321 (do_test): Likewise.
11322 * string/test-strchr.c (do_one_test): Likewise.
11323 (do_test): Likewise.
11324 * string/test-strcmp.c (do_one_test): Likewise.
11325 (do_test): Likewise.
11326 * string/test-strcpy.c (do_one_test): Likewise.
11327 (do_test): Likewise.
11328 * string/test-string.h: Likewise.
11329 (test_init): Likewise.
11330 * string/test-strlen.c (do_one_test): Likewise.
11331 (do_test): Likewise.
11332 * string/test-strncasecmp.c (do_one_test): Likewise.
11333 (do_test): Likewise.
11334 * string/test-strncat.c (do_one_test): Likewise.
11335 (do_test): Likewise.
11336 * string/test-strncmp.c (do_one_test): Likewise.
11337 (do_test_limit): Likewise.
11338 (do_test): Likewise.
11339 * string/test-strncpy.c (do_one_test): Likewise.
11340 (do_test): Likewise.
11341 * string/test-strnlen.c (do_one_test): Likewise.
11342 (do_test): Likewise.
11343 * string/test-strpbrk.c (do_one_test): Likewise.
11344 (do_test): Likewise.
11345 * string/test-strrchr.c (do_one_test): Likewise.
11346 (do_test): Likewise.
11347 * string/test-strspn.c (do_one_test): Likewise.
11348 (do_test): Likewise.
11349 * string/test-strstr.c (do_one_test): Likewise.
11350 (do_test): Likewise.
11352 * benchtests/Makefile (string-bench): Add string benchmarks.
11353 * benchtests/bench-bcopy-ifunc.c: New file.
11354 * benchtests/bench-bcopy.c: New file.
11355 * benchtests/bench-bzero-ifunc.c: New file.
11356 * benchtests/bench-bzero.c: New file.
11357 * benchtests/bench-memccpy-ifunc.c: New file.
11358 * benchtests/bench-memccpy.c: New file.
11359 * benchtests/bench-memchr-ifunc.c: New file.
11360 * benchtests/bench-memchr.c: New file.
11361 * benchtests/bench-memcmp-ifunc.c: New file.
11362 * benchtests/bench-memcmp.c: New file.
11363 * benchtests/bench-memmem-ifunc.c: New file.
11364 * benchtests/bench-memmem.c: New file.
11365 * benchtests/bench-memmove-ifunc.c: New file.
11366 * benchtests/bench-memmove.c: New file.
11367 * benchtests/bench-mempcpy-ifunc.c: New file.
11368 * benchtests/bench-mempcpy.c: New file.
11369 * benchtests/bench-memset-ifunc.c: New file.
11370 * benchtests/bench-memset.c: New file.
11371 * benchtests/bench-rawmemchr-ifunc.c: New file.
11372 * benchtests/bench-rawmemchr.c: New file.
11373 * benchtests/bench-stpcpy-ifunc.c: New file.
11374 * benchtests/bench-stpcpy.c: New file.
11375 * benchtests/bench-stpncpy-ifunc.c: New file.
11376 * benchtests/bench-stpncpy.c: New file.
11377 * benchtests/bench-strcasecmp-ifunc.c: New file.
11378 * benchtests/bench-strcasecmp.c: New file.
11379 * benchtests/bench-strcasestr-ifunc.c: New file.
11380 * benchtests/bench-strcasestr.c: New file.
11381 * benchtests/bench-strcat-ifunc.c: New file.
11382 * benchtests/bench-strcat.c: New file.
11383 * benchtests/bench-strchr-ifunc.c: New file.
11384 * benchtests/bench-strchr.c: New file.
11385 * benchtests/bench-strchrnul-ifunc.c: New file.
11386 * benchtests/bench-strchrnul.c: New file.
11387 * benchtests/bench-strcmp-ifunc.c: New file.
11388 * benchtests/bench-strcmp.c: New file.
11389 * benchtests/bench-strcpy-ifunc.c: New file.
11390 * benchtests/bench-strcpy.c: New file.
11391 * benchtests/bench-strcspn-ifunc.c: New file.
11392 * benchtests/bench-strcspn.c: New file.
11393 * benchtests/bench-strlen-ifunc.c: New file.
11394 * benchtests/bench-strlen.c: New file.
11395 * benchtests/bench-strncasecmp-ifunc.c: New file.
11396 * benchtests/bench-strncasecmp.c: New file.
11397 * benchtests/bench-strncat-ifunc.c: New file.
11398 * benchtests/bench-strncat.c: New file.
11399 * benchtests/bench-strncmp-ifunc.c: New file.
11400 * benchtests/bench-strncmp.c: New file.
11401 * benchtests/bench-strncpy-ifunc.c: New file.
11402 * benchtests/bench-strncpy.c: New file.
11403 * benchtests/bench-strnlen-ifunc.c: New file.
11404 * benchtests/bench-strnlen.c: New file.
11405 * benchtests/bench-strpbrk-ifunc.c: New file.
11406 * benchtests/bench-strpbrk.c: New file.
11407 * benchtests/bench-strrchr-ifunc.c: New file.
11408 * benchtests/bench-strrchr.c: New file.
11409 * benchtests/bench-strspn-ifunc.c: New file.
11410 * benchtests/bench-strspn.c: New file.
11411 * benchtests/bench-strstr-ifunc.c: New file.
11412 * benchtests/bench-strstr.c: New file.
11414 * benchtests/Makefile: Disable parallel execution of targets.
11415 (string-bench): Add memcpy.
11416 (benchset): New variable to store a list of benchmark sets.
11417 (bench-func): Renamed from bench.
11418 (bench-set): New target.
11419 (bench): Depend on bench-func and bench-set.
11420 * benchtests/README: Add section on benchmark sets.
11421 * benchtests/bench-memcpy-ifunc.c: New file.
11422 * benchtests/bench-memcpy.c: New file.
11423 * benchtests/bench-string.h: New file.
11425 2013-06-11 Andreas Schwab <schwab@suse.de>
11428 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
11429 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
11430 values in the triple.
11431 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
11432 terminator in the group key.
11434 2013-06-11 Andreas Jaeger <aj@suse.de>
11436 * po/zh_TW.po: Update Chinese (traditional) translation from
11437 translation project.
11439 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11441 * include/time.h (__clock_gettime): Add libc_hidden_proto.
11442 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
11443 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
11444 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
11445 (clock_getcpuclockid): Likewise.
11446 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
11447 Add weak_alias and libc_hidden_def.
11448 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
11449 * rt/clock_gettime.c (clock_gettime): Rename to
11450 __clock_gettime. Add weak_alias and libc_hidden_def.
11451 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
11452 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
11453 __clock_nanosleep. Add weak_alias and libc_hidden_def.
11454 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
11455 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
11457 * rt/clock_settime.c (clock_settime): Rename to
11458 __clock_settime. Add weak_alias and libc_hidden_def.
11459 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
11461 2013-06-10 Joseph Myers <joseph@codesourcery.com>
11463 * mach/err_boot.sub: Remove trailing whitespace.
11464 * mach/err_ipc.sub: Likewise.
11465 * mach/err_mach.sub: Likewise.
11467 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
11468 (ROUNDING_TESTS_double): Likewise.
11469 (ROUNDING_TESTS_long_double): Likewise.
11470 (ROUNDING_TESTS): Likewise.
11471 * math/libm-test.inc: Include <math-tests.h>.
11472 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
11473 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
11474 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11475 (IF_ROUND_INIT_FE_UPWARD): Likewise.
11477 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11479 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
11482 2013-06-08 Joseph Myers <joseph@codesourcery.com>
11484 * sysdeps/gnu/errlist.awk: Do not generate space at end of
11485 otherwise empty TRANS lines.
11486 * sysdeps/gnu/errlist.c: Regenerated.
11488 * catgets/gencat.c (error_print): Use (void) in function
11490 * crypt/crypt_util.c (__init_des): Likewise.
11491 * crypt/speeds.c (Stop): Likewise.
11493 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
11494 * inet/ruserpass.c (token): Likewise.
11495 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
11496 * intl/localealias.c (extend_alias_table): Likewise.
11497 * intl/plural-exp.c (init_germanic_plural): Likewise.
11498 * libio/fcloseall.c (__fcloseall): Likewise.
11499 * libio/genops.c (_IO_flush_all): Likewise.
11500 (_IO_flush_all_linebuffered): Likewise.
11501 (_IO_cleanup): Likewise.
11502 (_IO_iter_begin): Likewise.
11503 (_IO_iter_end): Likewise.
11504 (_IO_list_lock): Likewise.
11505 (_IO_list_unlock): Likewise.
11506 (_IO_list_resetlock): Likewise.
11507 * libio/getchar.c (getchar): Likewise.
11508 * libio/getchar_u.c (getchar_unlocked): Likewise.
11509 * libio/getwchar.c (getwchar): Likewise.
11510 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
11511 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
11512 * login/getpt.c (__getpt): Likewise.
11513 * login/tst-utmp.c (main): Likewise.
11514 * malloc/hooks.c (__malloc_check_init): Likewise.
11515 * malloc/malloc.c (__malloc_stats): Likewise.
11516 * malloc/mtrace.c (tr_break): Likewise.
11517 (mtrace): Likewise.
11518 (muntrace): Likewise.
11519 * misc/fstab.c (endfsent): Likewise.
11520 * misc/getclktck.c (__getclktck): Likewise.
11521 * misc/getdtsz.c (__getdtablesize): Likewise.
11522 * misc/gethostid.c (gethostid): Likewise.
11523 * misc/getpagesize.c (__getpagesize): Likewise.
11524 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
11525 (__get_nprocs): Likewise.
11526 (__get_phys_pages): Likewise.
11527 (__get_avphys_pages): Likewise.
11528 * misc/getttyent.c (getttyent): Likewise.
11529 (setttyent): Likewise.
11530 (endttyent): Likewise.
11531 * misc/getusershell.c (getusershell): Likewise.
11532 (endusershell): Likewise.
11533 (setusershell): Likewise.
11534 (initshells): Likewise.
11535 * misc/hsearch.c (__hdestroy): Likewise.
11536 * misc/sync.c (sync): Likewise.
11537 * misc/syslog.c (closelog_internal): Likewise.
11538 (closelog): Likewise.
11539 * misc/ttyslot.c (ttyslot): Likewise.
11540 * misc/vhangup.c (vhangup): Likewise.
11541 * posix/fork.c (__fork): Likewise.
11542 * posix/getegid.c (__getegid): Likewise.
11543 * posix/geteuid.c (__geteuid): Likewise.
11544 * posix/getgid.c (__getgid): Likewise.
11545 * posix/getpid.c (__getpid): Likewise.
11546 * posix/getppid.c (__getppid): Likewise.
11547 * posix/getuid.c (__getuid): Likewise.
11548 * posix/pause.c (pause): Likewise.
11549 * posix/setpgrp.c (setpgrp): Likewise.
11550 * posix/setsid.c (__setsid): Likewise.
11551 * posix/test-vfork.c (noop): Likewise.
11552 * resolv/gethnamaddr.c (_endhtent): Likewise.
11553 (_gethtent): Likewise.
11554 (ht_endhostent): Likewise.
11555 (gethostent): Likewise.
11556 (dns_service): Likewise.
11557 * stdlib/drand48.c (drand48): Likewise.
11558 * stdlib/lrand48.c (lrand48): Likewise.
11559 * stdlib/mrand48.c (mrand48): Likewise.
11560 * stdlib/rand.c (rand): Likewise.
11561 * stdlib/random.c (__random): Likewise.
11562 * stdlib/setenv.c (clearenv): Likewise.
11563 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
11564 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
11565 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
11566 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
11567 (__get_nprocs): Likewise.
11568 (__get_phys_pages): Likewise.
11569 (__get_avphys_pages): Likewise.
11570 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
11571 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
11572 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
11573 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
11574 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
11575 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
11576 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
11577 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
11578 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
11579 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
11580 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
11581 * sysdeps/mach/hurd/sync.c (sync): Likewise.
11582 * sysdeps/posix/clock.c (clock): Likewise.
11583 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
11584 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
11585 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
11586 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
11587 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
11588 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
11589 (__get_nprocs_conf): Likewise.
11590 (__get_phys_pages): Likewise.
11591 (__get_avphys_pages): Likewise.
11592 * time/clock.c (clock): Likewise.
11593 * time/tzset.c (__tzname_max): Likewise.
11595 2013-06-07 Joseph Myers <joseph@codesourcery.com>
11597 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
11598 (__bswap_32): Do not use "register".
11599 * crypt/crypt.c (_ufc_doit_r): Likewise.
11600 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
11601 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
11602 * gmon/gmon.c (__monstartup): Likewise.
11603 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
11604 * hurd/hurdmalloc.c (more_memory): Likewise.
11605 (malloc): Likewise.
11607 (realloc): Likewise.
11608 (malloc_fork_prepare): Likewise.
11609 (malloc_fork_parent): Likewise.
11610 (malloc_fork_child): Likewise.
11611 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
11612 (_svcauth_des): Likewise.
11613 * inet/inet_lnaof.c (inet_lnaof): Likewise.
11614 * inet/inet_net.c (inet_network): Likewise.
11615 * inet/inet_netof.c (inet_netof): Likewise.
11616 * inet/rcmd.c (__validuser2_sa): Likewise.
11617 * io/fts.c (fts_open): Likewise.
11618 (fts_load): Likewise.
11619 (fts_close): Likewise.
11620 (fts_read): Likewise.
11621 (fts_children): Likewise.
11622 (fts_build): Likewise.
11623 (fts_stat): Likewise.
11624 (fts_sort): Likewise.
11625 (fts_alloc): Likewise.
11626 (fts_lfree): Likewise.
11627 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
11628 (_IO_file_xsgetn): Likewise.
11629 (_IO_file_xsgetn_mmap): Likewise.
11630 * libio/iofopncook.c (_IO_cookie_read): Likewise.
11631 (_IO_cookie_write): Likewise.
11632 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
11633 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
11634 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
11635 * malloc/obstack.c (_obstack_begin): Likewise.
11636 (_obstack_begin_1): Likewise.
11637 (_obstack_newchunk): Likewise.
11638 (_obstack_allocated_p): Likewise.
11639 (obstack_free): Likewise.
11640 (_obstack_memory_used): Likewise.
11641 * misc/getttyent.c (getttynam): Likewise.
11642 (getttyent): Likewise.
11645 * misc/getusershell.c (initshells): Likewise.
11646 * misc/syslog.c (__vsyslog_chk): Likewise.
11647 * misc/ttyslot.c (ttyslot): Likewise.
11648 * nis/nis_hash.c (__nis_hash): Likewise.
11649 * posix/fnmatch_loop.c (FCT): Likewise.
11650 * posix/getconf.c (print_all): Likewise.
11652 * posix/getopt.c (exchange): Likewise.
11653 * posix/glob.c (globfree): Likewise.
11654 (prefix_array): Likewise.
11655 (__glob_pattern_type): Likewise.
11656 * resolv/arpa/nameser.h (NS_GET16): Likewise.
11657 (NS_GET32): Likewise.
11658 (NS_PUT16): Likewise.
11659 (NS_PUT32): Likewise.
11660 * resolv/gethnamaddr.c (getanswer): Likewise.
11661 (gethostbyname2): Likewise.
11662 (gethostbyaddr): Likewise.
11663 (_gethtent): Likewise.
11664 (_gethtbyname2): Likewise.
11665 (_gethtbyaddr): Likewise.
11666 * resolv/ns_print.c (dst_s_get_int16): Likewise.
11667 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
11668 * resolv/res_init.c (__res_vinit): Likewise.
11669 (net_mask): Likewise.
11670 * resolv/res_mkquery.c (outchar): Likewise.
11672 * stdio-common/printf_fp.c (outchar): Likewise.
11674 * stdio-common/printf_fphex.c (outchar): Likewise.
11676 * stdio-common/printf_size.c (outchar): Likewise.
11678 * stdio-common/test_rdwr.c (main): Likewise.
11679 * stdio-common/tfformat.c (matches): Likewise.
11680 * stdio-common/vfprintf.c (outchar): Likewise.
11681 (printf_unknown): Likewise.
11682 (buffered_vfprintf): Likewise.
11683 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11684 * stdio-common/xbug.c (AppendToBuffer): Likewise.
11685 (ReadFile): Likewise.
11686 * stdlib/qsort.c (SWAP): Likewise.
11687 (_quicksort): Likewise.
11688 * stdlib/setenv.c (__add_to_environ): Likewise.
11689 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11690 * stdlib/strtol_l.c (__strtol_l): Likewise.
11691 * stdlib/tst-strtod.c (main): Likewise.
11692 * stdlib/tst-strtol.c (main): Likewise.
11693 * stdlib/tst-strtoll.c (main): Likewise.
11694 * string/bits/string2.h (__strcmp_cc): Likewise.
11695 (__strcmp_cg): Likewise.
11696 (__strcspn_c1): Likewise.
11697 (__strcspn_c2): Likewise.
11698 (__strcspn_c3): Likewise.
11699 (__strspn_c1): Likewise.
11700 (__strspn_c2): Likewise.
11701 (__strspn_c3): Likewise.
11702 (__strsep_1c): Likewise.
11703 (__strsep_2c): Likewise.
11704 (__strsep_3c): Likewise.
11705 * string/memccpy.c (__memccpy): Likewise.
11706 * string/stpcpy.c (__stpcpy): Likewise.
11707 * string/strcmp.c (strcmp): Likewise.
11708 * string/strrchr.c (strrchr): Likewise.
11709 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
11711 * sysdeps/mach/hurd/getcwd.c
11712 (_hurd_canonicalize_directory_name_internal): Likewise.
11713 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
11714 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
11715 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
11716 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
11717 Likewise, in both definitions.
11718 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
11720 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
11721 64] (__bswap_64): Likewise.
11722 * time/test_time.c (main): Likewise.
11723 * time/tzfile.c (__tzfile_read): Likewise.
11724 (__tzfile_compute): Likewise.
11725 * time/tzset.c (__tzset_parse_tz): Likewise.
11726 (tzset_internal): Likewise.
11727 (compute_change): Likewise.
11728 * wcsmbs/wcscat.c (__wcscat): Likewise.
11729 * wcsmbs/wcschr.c (wcschr): Likewise.
11730 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
11731 * wcsmbs/wcscspn.c (wcscspn): Likewise.
11732 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
11733 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
11734 * wcsmbs/wcsspn.c (wcsspn): Likewise.
11735 * wcsmbs/wcsstr.c (wcsstr): Likewise.
11736 * wcsmbs/wmemchr.c (wmemchr): Likewise.
11737 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11738 * wcsmbs/wmemset.c (wmemset): Likewise.
11740 2013-06-06 Joseph Myers <joseph@codesourcery.com>
11742 * scripts/config.guess: Update to version 2013-05-16.
11743 * scripts/config.sub: Update to version 2013-04-24.
11744 * scripts/install-sh: Update to version 2011-11-20.07.
11745 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
11746 * scripts/move-if-change: Update to version 2012-01-06 07:23.
11748 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
11750 * debug/fgetws_u_chk.c: Fix leading whitespaces.
11751 * elf/sln.c: Likewise.
11752 * hurd/hurd/ioctl.h: Likewise.
11753 * hurd/hurdmalloc.c: Likewise.
11754 * hurd/xattr.c: Likewise.
11755 * include/shlib-compat.h: Likewise.
11756 * inet/ruserpass.c: Likewise.
11757 * libio/iofgets_u.c: Likewise.
11758 * libio/iofgetws_u.c: Likewise.
11759 * locale/programs/ld-identification.c: Likewise.
11760 * locale/programs/ld-time.c: Likewise.
11761 * mach/msg-destroy.c: Likewise.
11762 * nss/nss_files/files-netgrp.c: Likewise.
11763 * resolv/res_data.c: Likewise.
11764 * soft-fp/op-1.h: Likewise.
11765 * soft-fp/op-2.h: Likewise.
11766 * soft-fp/op-4.h: Likewise.
11767 * soft-fp/op-common.h: Likewise.
11768 * stdio-common/printf_fphex.c: Likewise.
11769 * stdlib/strtod_l.c: Likewise.
11770 * sunrpc/rpc/clnt.h: Likewise.
11771 * sysdeps/generic/framestate.c: Likewise.
11772 * sysdeps/i386/bsd-_setjmp.S: Likewise.
11773 * sysdeps/i386/bsd-setjmp.S: Likewise.
11774 * sysdeps/i386/__longjmp.S: Likewise.
11775 * sysdeps/i386/setjmp.S: Likewise.
11776 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11777 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11778 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11779 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11780 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11781 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
11782 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11783 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11784 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11785 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11786 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11787 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11788 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11789 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11790 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11791 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11792 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11793 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
11794 * sysdeps/ieee754/support.c: Likewise.
11795 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11796 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
11797 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
11798 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
11799 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
11800 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
11801 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
11802 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
11803 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
11804 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
11805 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
11806 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
11807 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
11808 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
11809 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
11810 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
11811 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
11814 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
11816 * posix/transbug.c: Remove executable mode.
11818 2013-06-05 Joseph Myers <joseph@codesourcery.com>
11820 * crypt/speeds.c: Remove trailing whitespace.
11821 * dlfcn/default.c: Likewise.
11822 * elf/ifuncdep2.c: Likewise.
11823 * elf/ifuncmain1.c: Likewise.
11824 * elf/ifuncmain1vis.c: Likewise.
11825 * elf/testobj.h: Likewise.
11826 * elf/tst-stackguard1.c: Likewise.
11827 * gmon/sys/gmon.h: Likewise.
11828 * hurd/hurdmsg.c: Likewise.
11829 * hurd/new-fd.c: Likewise.
11830 * hurd/ports-get.c: Likewise.
11831 * iconvdata/ibm1008_420.c: Likewise.
11832 * inet/tst-getni1.c: Likewise.
11833 * inet/tst-getni2.c: Likewise.
11834 * libio/ioungetc.c: Likewise.
11835 * libio/wfiledoalloc.c: Likewise.
11836 * manual/libm-err-tab.pl: Likewise.
11837 * math/w_dremf.c: Likewise.
11838 * misc/ftruncate.c: Likewise.
11839 * posix/bug-glob2.c: Likewise.
11840 * posix/tst-pcre.c: Likewise.
11841 * posix/wait4.c: Likewise.
11842 * resolv/README: Likewise.
11843 * resolv/res_debug.h: Likewise.
11844 * resolv/tst-inet_ntop.c: Likewise.
11845 * setjmp/bug269-setjmp.c: Likewise.
11846 * soft-fp/extended.h: Likewise.
11847 * soft-fp/op-1.h: Likewise.
11848 * soft-fp/op-2.h: Likewise.
11849 * soft-fp/op-4.h: Likewise.
11850 * soft-fp/op-8.h: Likewise.
11851 * soft-fp/testit.c: Likewise.
11852 * stdio-common/bug16.c: Likewise.
11853 * stdlib/random.c: Likewise.
11854 * sunrpc/rpcsvc/rquota.x: Likewise.
11855 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
11856 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11857 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11858 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11859 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11860 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11861 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11862 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11863 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11864 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11865 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11866 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11867 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11868 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11869 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11870 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11871 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11872 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11873 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11874 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11875 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11876 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11877 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
11878 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
11879 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11880 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11881 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11882 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11883 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11884 * sysdeps/ieee754/s_lib_version.c: Likewise.
11885 * sysdeps/mach/hurd/check_fds.c: Likewise.
11886 * sysdeps/mach/hurd/getsockname.c: Likewise.
11887 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
11888 * sysdeps/mach/hurd/recvfrom.c: Likewise.
11889 * sysdeps/powerpc/bits/link.h: Likewise.
11890 * sysdeps/powerpc/dl-procinfo.c: Likewise.
11891 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
11892 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
11893 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
11894 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11895 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11896 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
11897 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11898 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
11899 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11900 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
11901 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11902 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
11903 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11904 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11905 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11906 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11907 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11908 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11909 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11910 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11911 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
11912 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11913 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
11914 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
11915 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11916 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11917 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11918 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11919 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11920 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11921 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11922 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11923 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11924 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
11925 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11926 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
11927 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11928 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
11929 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
11930 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
11931 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
11932 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
11933 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
11934 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11935 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
11936 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
11937 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11938 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
11939 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
11940 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11941 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11942 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11943 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11944 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
11945 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
11946 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
11947 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11948 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
11949 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
11950 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
11951 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
11952 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
11953 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11954 * sysdeps/powerpc/sysdep.h: Likewise.
11955 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11956 * sysdeps/s390/s390-64/sub_n.S: Likewise.
11957 * sysdeps/sh/dl-trampoline.S: Likewise.
11958 * sysdeps/sh/memset.S: Likewise.
11959 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
11960 * sysdeps/sh/strlen.S: Likewise.
11961 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
11962 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
11963 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
11964 * sysdeps/sparc/sparc32/rem.S: Likewise.
11965 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
11966 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
11967 * sysdeps/sparc/sparc32/strchr.S: Likewise.
11968 * sysdeps/sparc/sparc32/udiv.S: Likewise.
11969 * sysdeps/sparc/sparc32/urem.S: Likewise.
11970 * sysdeps/sparc/sparc64/add_n.S: Likewise.
11971 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
11972 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
11973 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
11974 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
11975 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
11976 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
11977 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
11978 * sysdeps/unix/bsd/times.c: Likewise.
11979 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
11980 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
11981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
11982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
11983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
11984 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
11985 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
11986 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
11987 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
11988 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
11989 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
11990 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11991 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
11992 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
11993 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11994 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
11995 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11996 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
11997 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
11998 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
11999 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12000 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
12001 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12002 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
12003 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
12004 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12005 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
12006 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12007 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
12008 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
12009 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
12010 * sysdeps/x86_64/strcspn.S: Likewise.
12012 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12014 * locale/C-translit.h: Revert #include <stdint.h> because this is a
12015 generated file. Regenerate properly from gen-translit.pl.
12016 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
12017 locale/C-translit.h.
12019 2013-06-05 Andreas Schwab <schwab@suse.de>
12022 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
12023 week as 6 instead of -1.
12024 * time/tst-strptime.c (day_tests): Add test case.
12026 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12028 * sysdeps/generic/math_private.h
12029 (libc_feholdexcept_setround_53bit): Replace with
12030 libc_feholdsetround_53bit.
12031 (libc_feupdateenv_53bit): Replace with
12032 libc_feresetround_53bit.
12033 (SET_RESTORE_ROUND_53BIT): Adjust.
12035 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12037 * string/test-strchrnul.c: Add copyright header.
12039 * posix/tst-getaddrinfo4.c: Increase test timeout.
12041 2013-06-03 Carlos O'Donell <carlos@redhat.com>
12044 * math/libm-test.inc (MAX_EXP): Remove
12046 (ulp): Use MIN_EXP - MANT_DIG.
12047 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
12049 2013-05-31 Carlos O'Donell <carlos@redhat.com>
12051 * po/be.po: Revert last change.
12052 * po/zh_CN.po: Likewise.
12053 * po/header.pot: Likewise.
12055 2013-05-31 Joseph Myers <joseph@codesourcery.com>
12057 * Makefile ($(common-objpfx)linkobj/libc.so): Define
12058 link-libc-deps to empty as target-specific variable.
12059 * Makerules (link-libc-args): New variable.
12060 (libc-for-link): Likewise.
12061 (link-libc-deps): Likewise.
12062 (lib%.so): Depend on $(link-libc-deps). Link with
12064 (build-module): Link with $(link-libc-args).
12065 (build-module-asneeded): Likewise.
12066 (build-module-helper-objlist): Filter out $(link-libc-deps) from
12068 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
12069 target-specific variable.
12070 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
12071 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
12072 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
12074 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
12076 ($(objpfx)libpcprofile.so): Likewise.
12077 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
12079 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
12080 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
12081 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
12083 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
12084 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
12085 * login/Makefile ($(objpfx)libutil.so): Likewise.
12086 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
12087 * math/Makefile ($(objpfx)libm.so): Likewise.
12088 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
12089 $(objpfx)libnsl.so): Define libc-for-link as target-specific
12090 variable instead of depending directly on libc.
12091 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
12092 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
12094 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
12096 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
12097 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
12098 ($(objpfx)libanl.so): Likewise.
12099 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
12101 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
12103 * sysdeps/i386/fpu/Makefile: Remove file.
12104 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
12105 ($(objpfx)libm.so): Remove dependency on ld.so.
12107 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
12110 * nis/yp_xdr.c (XDRMAXNAME): Define.
12111 (XDRMAXRECORD): Define.
12112 (xdr_domainname): Use XDRMAXNAME.
12113 (xdr_mapname): Likewise.
12114 (xdr_peername): Likewise.
12115 (xdr_keydat): Use XDRMAXRECORD.
12116 (xdr_valdat): Likewise.
12118 2013-05-30 Jeff Law <law@redhat.com>
12121 * manual/errno.texi (ESTALE): Update to account for more than
12122 just NFS file systems.
12123 * sysdeps/gnu/errlist.c: Regenerated.
12125 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12128 * elf/Makefile (tests): Add tst-null-argv.
12129 (modules-names): Add tst-null-argv-lib.
12130 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
12131 (tst-null-argv-ENV): Set environment for tst-null-argv.
12132 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
12133 (RTLD_PROGNAME): New macro.
12134 * elf/tst-null-argv.c: New test case.
12135 * elf/tst-null-argv-lib.c: Library for test case.
12136 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
12137 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
12138 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
12139 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
12140 * elf/dl-init.c (call_init): Likewise.
12141 (_dl_init): Likewise.
12142 * elf/dl-load.c (print_search_path): Likewise.
12143 (_dl_map_object): Likewise.
12144 * elf/dl-lookup.c (do_lookup_x): Likewise.
12145 (add_dependency): Likewise.
12146 (_dl_lookup_symbol_x): Likewise.
12147 (_dl_debug_bindings): Likewise.
12148 * elf/dl-open.c (_dl_show_scope): Likewise.
12149 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12150 * elf/dl-version.c (match_symbol): Likewise.
12151 (_dl_check_map_versions): Likewise.
12152 * elf/rtld.c (dl_main): Likewise.
12153 (print_unresolved): Use RTLD_PROGNAME.
12154 (print_missing_version): Likewise.
12155 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12156 (elf_machine_rela): Likewise.
12157 * sysdeps/powerpc/powerpc32/dl-machine.c
12158 (__process_machine_rela): Likewise.
12159 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12161 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12163 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12165 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12166 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12168 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12170 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12172 2013-05-28 Carlos O'Donell <carlos@redhat.com>
12174 * po/be.po: Add descriptive title.
12175 * po/zh_CN.po: Likewise.
12176 * po/header.pot: Likewise.
12178 2013-05-28 Mike Frysinger <vapier@gentoo.org>
12180 * locale/programs/locarchive.c (create_archive): Inlucde fname in
12182 (enlarge_archive): Likewise.
12184 2013-05-28 Ben North <ben@redfrontdoor.org>
12186 * manual/arith.texi (frexp): It is the magnitude of the return
12187 value which lies in [0.5, 1), not the return value itself.
12189 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12191 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12193 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
12195 * stdio-common/bug26.c (main): Correct fscanf template.
12197 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
12198 declare _dl_skip_args.
12200 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
12203 * manual/platform.texi: Add missing @end deftypefun.
12205 2013-05-24 Joseph Myers <joseph@codesourcery.com>
12208 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
12209 bit of mantissa of 2^16382.
12210 * math/libm-test.inc (hypot_test_data): Add more tests.
12212 * math/libm-test.inc: Add drem and pow10 to list of tested
12214 (pow10_test): New function.
12215 (drem_test): Likewise.
12216 (drem_test_tonearest): Likewise.
12217 (drem_test_towardzero): Likewise.
12218 (drem_test_downward): Likewise.
12219 (drem_test_upward): Likewise.
12220 (main): Call the new functions.
12222 * math/libm-test.inc (finite_test_data): Remove.
12223 (finite_test): Run tests from isfinite_test_data.
12224 (gamma_test_data): Remove.
12225 (gamma_test): Run tests from lgamma_test_data.
12226 * sysdeps/i386/fpu/libm-test-ulps: Update.
12227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12229 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12231 * manual/platform.texi: Add PowerPC PPR function set documentation.
12232 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
12235 2013-05-24 Carlos O'Donell <carlos@redhat.com>
12237 * math/libm-test.inc (MAX_EXP): Define.
12239 (ulp): New function.
12240 (check_float_internal): Use ULPDIFF.
12241 (cpow_test): Disable failing test.
12242 (check_ulp): Test ulp() implemetnation.
12243 (main): Call check_ulp before starting tests.
12245 2013-05-24 Joseph Myers <joseph@codesourcery.com>
12247 * math/gen-libm-test.pl (generate_testfile): Do not handle
12248 START_DATA and END_DATA.
12249 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
12251 (acos_tonearest_test_data): Likewise.
12252 (acos_towardzero_test_data): Likewise.
12253 (acos_downward_test_data): Likewise.
12254 (acos_upward_test_data): Likewise.
12255 (acosh_test_data): Likewise.
12256 (asin_test_data): Likewise.
12257 (asin_tonearest_test_data): Likewise.
12258 (asin_towardzero_test_data): Likewise.
12259 (asin_downward_test_data): Likewise.
12260 (asin_upward_test_data): Likewise.
12261 (asinh_test_data): Likewise.
12262 (atan_test_data): Likewise.
12263 (atanh_test_data): Likewise.
12264 (atan2_test_data): Likewise.
12265 (cabs_test_data): Likewise.
12266 (cacos_test_data): Likewise.
12267 (cacosh_test_data): Likewise.
12268 (carg_test_data): Likewise.
12269 (casin_test_data): Likewise.
12270 (casinh_test_data): Likewise.
12271 (catan_test_data): Likewise.
12272 (catanh_test_data): Likewise.
12273 (cbrt_test_data): Likewise.
12274 (ccos_test_data): Likewise.
12275 (ccosh_test_data): Likewise.
12276 (ceil_test_data): Likewise.
12277 (cexp_test_data): Likewise.
12278 (cimag_test_data): Likewise.
12279 (clog_test_data): Likewise.
12280 (clog10_test_data): Likewise.
12281 (conj_test_data): Likewise.
12282 (copysign_test_data): Likewise.
12283 (cos_test_data): Likewise.
12284 (cos_tonearest_test_data): Likewise.
12285 (cos_towardzero_test_data): Likewise.
12286 (cos_downward_test_data): Likewise.
12287 (cos_upward_test_data): Likewise.
12288 (cosh_test_data): Likewise.
12289 (cosh_tonearest_test_data): Likewise.
12290 (cosh_towardzero_test_data): Likewise.
12291 (cosh_downward_test_data): Likewise.
12292 (cosh_upward_test_data): Likewise.
12293 (cpow_test_data): Likewise.
12294 (cproj_test_data): Likewise.
12295 (creal_test_data): Likewise.
12296 (csin_test_data): Likewise.
12297 (csinh_test_data): Likewise.
12298 (csqrt_test_data): Likewise.
12299 (ctan_test_data): Likewise.
12300 (ctan_tonearest_test_data): Likewise.
12301 (ctan_towardzero_test_data): Likewise.
12302 (ctan_downward_test_data): Likewise.
12303 (ctan_upward_test_data): Likewise.
12304 (ctanh_test_data): Likewise.
12305 (ctanh_tonearest_test_data): Likewise.
12306 (ctanh_towardzero_test_data): Likewise.
12307 (ctanh_downward_test_data): Likewise.
12308 (ctanh_upward_test_data): Likewise.
12309 (erf_test_data): Likewise.
12310 (erfc_test_data): Likewise.
12311 (exp_test_data): Likewise.
12312 (exp_tonearest_test_data): Likewise.
12313 (exp_towardzero_test_data): Likewise.
12314 (exp_downward_test_data): Likewise.
12315 (exp_upward_test_data): Likewise.
12316 (exp10_test_data): Likewise.
12317 (exp2_test_data): Likewise.
12318 (expm1_test_data): Likewise.
12319 (fabs_test_data): Likewise.
12320 (fdim_test_data): Likewise.
12321 (finite_test_data): Likewise.
12322 (floor_test_data): Likewise.
12323 (fma_test_data): Likewise.
12324 (fma_towardzero_test_data): Likewise.
12325 (fma_downward_test_data): Likewise.
12326 (fma_upward_test_data): Likewise.
12327 (fmax_test_data): Likewise.
12328 (fmin_test_data): Likewise.
12329 (fmod_test_data): Likewise.
12330 (fpclassify_test_data): Likewise.
12331 (frexp_test_data): Likewise.
12332 (gamma_test_data): Likewise.
12333 (hypot_test_data): Likewise.
12334 (ilogb_test_data): Likewise.
12335 (isfinite_test_data): Likewise.
12336 (isgreater_test_data): Likewise.
12337 (isgreaterequal_test_data): Likewise.
12338 (isinf_test_data): Likewise.
12339 (isless_test_data): Likewise.
12340 (islessequal_test_data): Likewise.
12341 (islessgreater_test_data): Likewise.
12342 (isnan_test_data): Likewise.
12343 (isnormal_test_data): Likewise.
12344 (issignaling_test_data): Likewise.
12345 (isunordered_test_data): Likewise.
12346 (j0_test_data): Likewise.
12347 (j1_test_data): Likewise.
12348 (jn_test_data): Likewise.
12349 (ldexp_test_data): Likewise.
12350 (lgamma_test_data): Likewise.
12351 (lrint_test_data): Likewise.
12352 (lrint_tonearest_test_data): Likewise.
12353 (lrint_towardzero_test_data): Likewise.
12354 (lrint_downward_test_data): Likewise.
12355 (lrint_upward_test_data): Likewise.
12356 (llrint_test_data): Likewise.
12357 (llrint_tonearest_test_data): Likewise.
12358 (llrint_towardzero_test_data): Likewise.
12359 (llrint_downward_test_data): Likewise.
12360 (llrint_upward_test_data): Likewise.
12361 (log_test_data): Likewise.
12362 (log10_test_data): Likewise.
12363 (log1p_test_data): Likewise.
12364 (log2_test_data): Likewise.
12365 (logb_test_data): Likewise.
12366 (logb_downward_test_data): Likewise.
12367 (lround_test_data): Likewise.
12368 (llround_test_data): Likewise.
12369 (modf_test_data): Likewise.
12370 (nearbyint_test_data): Likewise.
12371 (nextafter_test_data): Likewise.
12372 (nexttoward_test_data): Likewise.
12373 (pow_test_data): Likewise.
12374 (pow_tonearest_test_data): Likewise.
12375 (pow_towardzero_test_data): Likewise.
12376 (pow_downward_test_data): Likewise.
12377 (pow_upward_test_data): Likewise.
12378 (remainder_test_data): Likewise.
12379 (remainder_tonearest_test_data): Likewise.
12380 (remainder_towardzero_test_data): Likewise.
12381 (remainder_downward_test_data): Likewise.
12382 (remainder_upward_test_data): Likewise.
12383 (remquo_test_data): Likewise.
12384 (rint_test_data): Likewise.
12385 (rint_tonearest_test_data): Likewise.
12386 (rint_towardzero_test_data): Likewise.
12387 (rint_downward_test_data): Likewise.
12388 (rint_upward_test_data): Likewise.
12389 (round_test_data): Likewise.
12390 (scalb_test_data): Likewise.
12391 (scalbn_test_data): Likewise.
12392 (scalbln_test_data): Likewise.
12393 (signbit_test_data): Likewise.
12394 (sin_test_data): Likewise.
12395 (sin_tonearest_test_data): Likewise.
12396 (sin_towardzero_test_data): Likewise.
12397 (sin_downward_test_data): Likewise.
12398 (sin_upward_test_data): Likewise.
12399 (sincos_test_data): Likewise.
12400 (sinh_test_data): Likewise.
12401 (sinh_tonearest_test_data): Likewise.
12402 (sinh_towardzero_test_data): Likewise.
12403 (sinh_downward_test_data): Likewise.
12404 (sinh_upward_test_data): Likewise.
12405 (sqrt_test_data): Likewise.
12406 (tan_test_data): Likewise.
12407 (tan_tonearest_test_data): Likewise.
12408 (tan_towardzero_test_data): Likewise.
12409 (tan_downward_test_data): Likewise.
12410 (tan_upward_test_data): Likewise.
12411 (tanh_test_data): Likewise.
12412 (tgamma_test_data): Likewise.
12413 (trunc_test_data): Likewise.
12414 (y0_test_data): Likewise.
12415 (y1_test_data): Likewise.
12416 (yn_test_data): Likewise.
12417 (significand_test_data): Likewise.
12419 * math/gen-libm-test.pl (@functions): Remove variable.
12420 (generate_testfile): Don't handle START and END lines.
12421 * math/libm-test.inc (START): New macro.
12423 (END_COMPLEX): Likewise.
12424 (acos_test): Use END macro without arguments.
12425 (acos_test_tonearest): Likewise.
12426 (acos_test_towardzero): Likewise.
12427 (acos_test_downward): Likewise.
12428 (acos_test_upward): Likewise.
12429 (acosh_test): Likewise.
12430 (asin_test): Likewise.
12431 (asin_test_tonearest): Likewise.
12432 (asin_test_towardzero): Likewise.
12433 (asin_test_downward): Likewise.
12434 (asin_test_upward): Likewise.
12435 (asinh_test): Likewise.
12436 (atan_test): Likewise.
12437 (atanh_test): Likewise.
12438 (atan2_test): Likewise.
12439 (cabs_test): Likewise.
12440 (cacos_test): Use END_COMPLEX macro without arguments.
12441 (cacosh_test): Likewise.
12442 (carg_test): Use END macro without arguments.
12443 (casin_test): Use END_COMPLEX macro without arguments.
12444 (casinh_test): Likewise.
12445 (catan_test): Likewise.
12446 (catanh_test): Likewise.
12447 (cbrt_test): Use END macro without arguments.
12448 (ccos_test): Use END_COMPLEX macro without arguments.
12449 (ccosh_test): Likewise.
12450 (ceil_test): Use END macro without arguments.
12451 (cexp_test): Use END_COMPLEX macro without arguments.
12452 (cimag_test): Use END macro without arguments.
12453 (clog_test): Use END_COMPLEX macro without arguments.
12454 (clog10_test): Likewise.
12455 (conj_test): Likewise.
12456 (copysign_test): Use END macro without arguments.
12457 (cos_test): Likewise.
12458 (cos_test_tonearest): Likewise.
12459 (cos_test_towardzero): Likewise.
12460 (cos_test_downward): Likewise.
12461 (cos_test_upward): Likewise.
12462 (cosh_test): Likewise.
12463 (cosh_test_tonearest): Likewise.
12464 (cosh_test_towardzero): Likewise.
12465 (cosh_test_downward): Likewise.
12466 (cosh_test_upward): Likewise.
12467 (cpow_test): Use END_COMPLEX macro without arguments.
12468 (cproj_test): Likewise.
12469 (creal_test): Use END macro without arguments.
12470 (csin_test): Use END_COMPLEX macro without arguments.
12471 (csinh_test): Likewise.
12472 (csqrt_test): Likewise.
12473 (ctan_test): Likewise.
12474 (ctan_test_tonearest): Likewise.
12475 (ctan_test_towardzero): Likewise.
12476 (ctan_test_downward): Likewise.
12477 (ctan_test_upward): Likewise.
12478 (ctanh_test): Likewise.
12479 (ctanh_test_tonearest): Likewise.
12480 (ctanh_test_towardzero): Likewise.
12481 (ctanh_test_downward): Likewise.
12482 (ctanh_test_upward): Likewise.
12483 (erf_test): Use END macro without arguments.
12484 (erfc_test): Likewise.
12485 (exp_test): Likewise.
12486 (exp_test_tonearest): Likewise.
12487 (exp_test_towardzero): Likewise.
12488 (exp_test_downward): Likewise.
12489 (exp_test_upward): Likewise.
12490 (exp10_test): Likewise.
12491 (exp2_test): Likewise.
12492 (expm1_test): Likewise.
12493 (fabs_test): Likewise.
12494 (fdim_test): Likewise.
12495 (finite_test): Likewise.
12496 (floor_test): Likewise.
12497 (fma_test): Likewise.
12498 (fma_test_towardzero): Likewise.
12499 (fma_test_downward): Likewise.
12500 (fma_test_upward): Likewise.
12501 (fmax_test): Likewise.
12502 (fmin_test): Likewise.
12503 (fmod_test): Likewise.
12504 (fpclassify_test): Likewise.
12505 (frexp_test): Likewise.
12506 (gamma_test): Likewise.
12507 (hypot_test): Likewise.
12508 (ilogb_test): Likewise.
12509 (isfinite_test): Likewise.
12510 (isgreater_test): Likewise.
12511 (isgreaterequal_test): Likewise.
12512 (isinf_test): Likewise.
12513 (isless_test): Likewise.
12514 (islessequal_test): Likewise.
12515 (islessgreater_test): Likewise.
12516 (isnan_test): Likewise.
12517 (isnormal_test): Likewise.
12518 (issignaling_test): Likewise.
12519 (isunordered_test): Likewise.
12520 (j0_test): Likewise.
12521 (j1_test): Likewise.
12522 (jn_test): Likewise.
12523 (ldexp_test): Likewise.
12524 (lgamma_test): Likewise.
12525 (lrint_test): Likewise.
12526 (lrint_test_tonearest): Likewise.
12527 (lrint_test_towardzero): Likewise.
12528 (lrint_test_downward): Likewise.
12529 (lrint_test_upward): Likewise.
12530 (llrint_test): Likewise.
12531 (llrint_test_tonearest): Likewise.
12532 (llrint_test_towardzero): Likewise.
12533 (llrint_test_downward): Likewise.
12534 (llrint_test_upward): Likewise.
12535 (log_test): Likewise.
12536 (log10_test): Likewise.
12537 (log1p_test): Likewise.
12538 (log2_test): Likewise.
12539 (logb_test): Likewise.
12540 (logb_test_downward): Likewise.
12541 (lround_test): Likewise.
12542 (llround_test): Likewise.
12543 (modf_test): Likewise.
12544 (nearbyint_test): Likewise.
12545 (nextafter_test): Likewise.
12546 (nexttoward_test): Likewise.
12547 (pow_test): Likewise.
12548 (pow_test_tonearest): Likewise.
12549 (pow_test_towardzero): Likewise.
12550 (pow_test_downward): Likewise.
12551 (pow_test_upward): Likewise.
12552 (remainder_test): Likewise.
12553 (remainder_test_tonearest): Likewise.
12554 (remainder_test_towardzero): Likewise.
12555 (remainder_test_downward): Likewise.
12556 (remainder_test_upward): Likewise.
12557 (remquo_test): Likewise.
12558 (rint_test): Likewise.
12559 (rint_test_tonearest): Likewise.
12560 (rint_test_towardzero): Likewise.
12561 (rint_test_downward): Likewise.
12562 (rint_test_upward): Likewise.
12563 (round_test): Likewise.
12564 (scalb_test): Likewise.
12565 (scalbn_test): Likewise.
12566 (scalbln_test): Likewise.
12567 (signbit_test): Likewise.
12568 (sin_test): Likewise.
12569 (sin_test_tonearest): Likewise.
12570 (sin_test_towardzero): Likewise.
12571 (sin_test_downward): Likewise.
12572 (sin_test_upward): Likewise.
12573 (sincos_test): Likewise.
12574 (sinh_test): Likewise.
12575 (sinh_test_tonearest): Likewise.
12576 (sinh_test_towardzero): Likewise.
12577 (sinh_test_downward): Likewise.
12578 (sinh_test_upward): Likewise.
12579 (sqrt_test): Likewise.
12580 (tan_test): Likewise.
12581 (tan_test_tonearest): Likewise.
12582 (tan_test_towardzero): Likewise.
12583 (tan_test_downward): Likewise.
12584 (tan_test_upward): Likewise.
12585 (tanh_test): Likewise.
12586 (tgamma_test): Likewise.
12587 (trunc_test): Likewise.
12588 (y0_test): Likewise.
12589 (y1_test): Likewise.
12590 (yn_test): Likewise.
12591 (significand_test): Likewise.
12593 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
12596 * libio/genops.c (_IO_no_init): Initialize wide struct info.
12598 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
12601 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
12602 __ppc_mdoio and __ppc_mdoom.
12603 * manual/platform.texi: Document new functions __ppc_yield,
12604 __ppc_mdoio and __ppc_mdoom.
12606 2013-05-22 Carlos O'Donell <carlos@redhat.com>
12608 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
12609 (main): Mention "tls" pseudo-hwcap is legacy.
12610 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
12612 2013-05-22 Joseph Myers <joseph@codesourcery.com>
12614 * math/gen-libm-test.pl (parse_args): Output only string of
12615 arguments as text for test name, not full call or descriptions of
12616 tests for extra outputs.
12617 (generate_testfile): Do not pass function name to parse_args.
12618 Generate this_func variable from START.
12619 * math/libm-test.inc (struct test_f_f_data): Rename test_name
12621 (struct test_ff_f_data): Likewise.
12622 (test_ff_f_data_nexttoward): Likewise.
12623 (struct test_fi_f_data): Likewise.
12624 (struct test_fl_f_data): Likewise.
12625 (struct test_if_f_data): Likewise.
12626 (struct test_fff_f_data): Likewise.
12627 (struct test_c_f_data): Likewise.
12628 (struct test_f_f1_data): Likewise. Remove field extra_name.
12629 (struct test_fF_f1_data): Likewise.
12630 (struct test_ffI_f1_data): Likewise.
12631 (struct test_c_c_data): Rename test_name field to arg_str.
12632 (struct test_cc_c_data): Likewise.
12633 (struct test_f_i_data): Likewise.
12634 (struct test_ff_i_data): Likewise.
12635 (struct test_f_l_data): Likewise.
12636 (struct test_f_L_data): Likewise.
12637 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
12639 (COMMON_TEST_SETUP): New macro.
12640 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
12641 (COMMON_TEST_CLEANUP): Likewise.
12642 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
12643 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
12645 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
12646 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
12648 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
12649 (RUN_TEST_fff_f): Take argument string. Call new setup and
12651 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
12652 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
12654 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
12655 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
12657 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
12658 (RUN_TEST_fF_f1): Take argument string. Call new setup and
12660 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
12661 (RUN_TEST_fI_f1): Take argument string. Call new setup and
12663 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
12664 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
12666 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
12667 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
12669 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
12670 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
12672 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
12673 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
12675 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
12676 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
12678 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
12679 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
12681 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
12682 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
12684 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
12685 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
12687 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
12688 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
12690 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
12691 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
12693 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
12694 (RUN_TEST_fFF_11): Take argument string. Call new setup and
12696 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
12698 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12700 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
12701 to _sifields.sigfault.
12702 (si_addr_lsb): Define new macro.
12703 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
12704 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12705 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
12707 2013-05-03 Carlos O'Donell <carlos at redhat.com>
12710 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
12712 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
12714 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
12715 loading the domain.
12717 2013-05-22 Joseph Myers <joseph@codesourcery.com>
12719 * math/gen-libm-test.pl (parse_args): Do not include expected
12720 result in test name.
12721 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
12722 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12723 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12724 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12725 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12728 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12730 * benchtests/Makefile: Sort function entries.
12732 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
12733 tanh, asinh, acosh, atanh.
12734 * benchtests/acos-inputs: New file.
12735 * benchtests/acosh-inputs: New file.
12736 * benchtests/asin-inputs: New file.
12737 * benchtests/asinh-inputs: New file.
12738 * benchtests/atanh-inputs: New file.
12739 * benchtests/cosh-inputs: New file.
12740 * benchtests/log-inputs: New file.
12741 * benchtests/sinh-inputs: New file.
12742 * benchtests/tanh-inputs: New file.
12744 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
12747 * posix/tst-getaddrinfo4.c: New test.
12748 * posix/Makefile (tests): Add it.
12750 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12753 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
12754 when no services were used.
12755 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
12756 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
12758 2013-05-21 Andreas Schwab <schwab@suse.de>
12761 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
12762 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
12764 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
12765 redundant variable declarations and reallocation of buffer when
12766 parsing as IPv6 address. Always set NSS status when called from
12767 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
12768 buffer too small. Correct computation of needed size.
12769 * nss/Makefile (tests): Add test-digits-dots.
12770 * nss/test-digits-dots.c: New test.
12772 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12774 * benchtests/Makefile: Remove instructions for adding
12776 * benchtests/README: New file to explain how to execute and
12777 enhance the benchmark tests.
12779 2013-05-21 Andreas Schwab <schwab@suse.de>
12782 * setjmp/Makefile (tests): Add tst-sigsetjmp.
12783 * setjmp/tst-sigsetjmp.c: New test.
12785 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
12787 * sysdeps/x86_64/memset.S (memset): New implementation.
12788 (__bzero): Likewise.
12789 (__memset_tail): New function.
12791 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
12793 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
12794 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
12795 __memcpy_sse2_unaligned ifunc selection.
12796 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12797 Add memcpy-sse2-unaligned.S.
12798 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12799 Add: __memcpy_sse2_unaligned.
12801 2013-05-19 Joseph Myers <joseph@codesourcery.com>
12804 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
12805 math_force_eval before restoring floating-point envrionment.
12806 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
12807 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
12809 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
12811 (__nearbyintl): Use math_force_eval before restoring
12812 floating-point environment.
12813 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
12815 * math/gen-libm-test.pl (special_functions): Remove.
12816 (parse_args): Don't handle TEST_extra. Handle functions with no
12818 * math/libm-test.inc (struct test_sincos_data): Replace with
12819 struct test_fFF_11_data.
12820 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
12821 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
12822 (sincos_test_data): Change element type to struct
12823 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
12824 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
12825 RUN_TEST_LOOP_sincos.
12826 * math/README.libm-test: Don't mention special handling of
12827 individual functions.
12828 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
12829 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12830 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12831 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12832 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12835 * math/gen-libm-test.pl (get_variable): Remove function.
12836 (parse_args): Don't show pointer parameters to call in test
12837 names. Use "extra output N" in test names for extra outputs
12838 rather than naming variables.
12840 2013-05-18 Joseph Myers <joseph@codesourcery.com>
12843 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
12844 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
12845 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
12847 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
12849 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
12852 * math/gen-libm-test.pl (@tests): Remove variable.
12853 ($count): Likewise.
12854 (new_test): Remove function.
12855 (show_exceptions): New function.
12856 (special_functions): Use show_exceptions instead of new_test.
12857 (parse_args): Likewise.
12858 (generate_testfile): Pass only function name in generated call to
12859 print_max_error or print_complex_max_error.
12860 (get_ulps): Do not handle complex tests specially.
12861 (output_test): Rename to ...
12862 (get_all_ulps_for_test): ... this. Return a string rather than
12863 printing to a file. Require ulps to be present.
12864 (output_ulps): Generate arrays rather than #defines.
12865 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
12866 (struct ulp_data): New type.
12867 (BUILD_COMPLEX_ULP): Remove macro.
12868 (compare_ulp_data): New function.
12869 (find_ulps): Likewise.
12870 (find_test_ulps): Likewise.
12871 (find_function_ulps): Likewise.
12872 (find_complex_function_ulps): Likewise.
12873 (print_max_error): Determine allowed ulps using
12874 find_function_ulps.
12875 (print_complex_max_error): Determine allowed ulps using
12876 find_complex_function_ulps.
12877 (check_float_internal): Determine max ulps using find_test_ulps.
12878 (check_float): Do not take max_ulp parameter. Update call to
12879 check_float_internal.
12880 (check_complex): Likewise.
12881 (check_int): Do not take max_ulp parameter.
12882 (check_long): Likewise.
12883 (check_bool): Likewise.
12884 (check_longlong): Likewise.
12885 (struct test_f_f_data): Remove max_ulp field.
12886 (struct test_ff_f_data): Likewise.
12887 (struct test_ff_f_data_nexttoward): Likewise.
12888 (struct test_fi_f_data): Likewise.
12889 (struct test_fl_f_data): Likewise.
12890 (struct test_if_f_data): Likewise.
12891 (struct test_fff_f_data): Likewise.
12892 (struct test_c_f_data): Likewise.
12893 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
12894 (struct test_fF_f1_data): Likewise.
12895 (struct test_ffI_f1_data): Likewise.
12896 (struct test_c_c_data): Remove max_ulp field.
12897 (struct test_cc_c_data): Likewise.
12898 (struct test_f_i_data): Likewise.
12899 (struct test_ff_i_data): Likewise.
12900 (struct test_f_l_data): Likewise.
12901 (struct test_f_L_data): Likewise.
12902 (struct test_sincos_data): Likewise.
12903 (RUN_TEST_f_f): Do not handle ulps.
12904 (RUN_TEST_LOOP_f_f): Likewise.
12905 (RUN_TEST_2_f): Likewise.
12906 (RUN_TEST_LOOP_2_f): Likewise.
12907 (RUN_TEST_fff_f): Likewise.
12908 (RUN_TEST_LOOP_fff_f): Likewise.
12909 (RUN_TEST_c_f): Likewise.
12910 (RUN_TEST_LOOP_c_f): Likewise.
12911 (RUN_TEST_f_f1): Likewise.
12912 (RUN_TEST_LOOP_f_f1): Likewise.
12913 (RUN_TEST_fF_f1): Likewise.
12914 (RUN_TEST_LOOP_fF_f1): Likewise.
12915 (RUN_TEST_fI_f1): Likewise.
12916 (RUN_TEST_LOOP_fI_f1): Likewise.
12917 (RUN_TEST_ffI_f1): Likewise.
12918 (RUN_TEST_LOOP_ffI_f1): Likewise.
12919 (RUN_TEST_c_c): Likewise.
12920 (RUN_TEST_LOOP_c_c): Likewise.
12921 (RUN_TEST_cc_c): Likewise.
12922 (RUN_TEST_LOOP_cc_c): Likewise.
12923 (RUN_TEST_f_i): Likewise.
12924 (RUN_TEST_LOOP_f_i): Likewise.
12925 (RUN_TEST_f_i_tg): Likewise.
12926 (RUN_TEST_LOOP_f_i_tg): Likewise.
12927 (RUN_TEST_ff_i_tg): Likewise.
12928 (RUN_TEST_LOOP_ff_i_tg): Likewise.
12929 (RUN_TEST_f_b): Likewise.
12930 (RUN_TEST_LOOP_f_b): Likewise.
12931 (RUN_TEST_f_b_tg): Likewise.
12932 (RUN_TEST_LOOP_f_b_tg): Likewise.
12933 (RUN_TEST_f_l): Likewise.
12934 (RUN_TEST_LOOP_f_l): Likewise.
12935 (RUN_TEST_f_L): Likewise.
12936 (RUN_TEST_LOOP_f_L): Likewise.
12937 (RUN_TEST_sincos): Likewise.
12938 (RUN_TEST_LOOP_sincos): Likewise.
12940 2013-05-17 Joseph Myers <joseph@codesourcery.com>
12944 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
12945 main case of finite arguments, set rounding mode to FE_TONEAREST
12946 and discard exceptions.
12947 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
12949 (remainder_tonearest_test_data): New variable.
12950 (remainder_test_tonearest): New function.
12951 (remainder_towardzero_test_data): New variable.
12952 (remainder_test_towardzero): New function.
12953 (remainder_downward_test_data): New variable.
12954 (remainder_test_downward): New function.
12955 (remainder_upward_test_data): New variable.
12956 (remainder_test_upward): New function.
12957 (main): Call the new test functions.
12959 * math/libm-test.inc (struct test_f_f1_data): Remove field
12961 (struct test_fF_f1_data): Likewise.
12962 (struct test_ffI_f1_data): Likewise.
12963 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
12964 based on value of EXTRA_EXPECTED.
12965 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
12966 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
12967 EXTRA_VAR based on value of EXTRA_EXPECTED.
12968 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
12969 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
12970 EXTRA_VAR based on value of EXTRA_EXPECTED.
12971 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
12972 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
12973 EXTRA_VAR based on value of EXTRA_EXPECTED.
12974 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
12975 * math/gen-libm-test.pl (parse_args): Don't output initializers
12976 for extra output values.
12978 * math/libm-test.inc (check_int): Expect result to be exactly
12979 equal to expected value and do not handle ulps.
12980 (check_long): Likewise.
12981 (check_longlong): Likewise.
12983 * math/libm-test.inc (ceil_test_data): Test for "inexact"
12985 (cimag_test_data): Likewise.
12986 (conj_test_data): Likewise.
12987 (copysign_test_data): Likewise.
12988 (cproj_test_data): Likewise.
12989 (creal_test_data): Likewise.
12990 (fabs_test_data): Likewise.
12991 (fdim_test_data): Likewise.
12992 (finite_test_data): Likewise.
12993 (floor_test_data): Likewise.
12994 (fmax_test_data): Likewise.
12995 (fmin_test_data): Likewise.
12996 (fmod_test_data): Likewise.
12997 (fpclassify_test_data): Likewise.
12998 (frexp_test_data): Likewise.
12999 (ilogb_test_data): Likewise.
13000 (isfinite_test_data): Likewise.
13001 (isgreater_test_data): Likewise.
13002 (isgreaterequal_test_data): Likewise.
13003 (isinf_test_data): Likewise.
13004 (isless_test_data): Likewise.
13005 (islessequal_test_data): Likewise.
13006 (islessgreater_test_data): Likewise.
13007 (isnan_test_data): Likewise.
13008 (isnormal_test_data): Likewise.
13009 (issignaling_test_data): Likewise.
13010 (isunordered_test_data): Likewise.
13011 (ldexp_test_data): Likewise.
13012 (lrint_test_data): Likewise.
13013 (lrint_test_data) [TEST_FLOAT]: Disable one test.
13014 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
13015 (lrint_tonearest_test_data): Test for "inexact" exceptions.
13016 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13017 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
13018 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13020 (lrint_towardzero_test_data): Test for "inexact" exceptions.
13021 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13022 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
13023 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
13025 (lrint_downward_test_data): Test for "inexact" exceptions.
13026 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13027 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
13028 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13030 (lrint_upward_test_data): Test for "inexact" exceptions.
13031 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
13033 (llrint_test_data): Test for "inexact" exceptions.
13034 (llrint_test_data) [TEST_FLOAT]: Disable one test.
13035 (llrint_tonearest_test_data): Test for "inexact" exceptions.
13036 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13037 (llrint_towardzero_test_data): Test for "inexact" exceptions.
13038 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13039 (llrint_downward_test_data): Test for "inexact" exceptions.
13040 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13041 (llrint_upward_test_data): Test for "inexact" exceptions.
13042 (logb_test_data): Likewise.
13043 (logb_downward_test_data): Likewise.
13044 (nextafter_test_data): Likewise.
13045 (nexttoward_test_data): Likewise.
13046 (remainder_test_data): Likewise.
13047 (remquo_test_data): Likewise.
13048 (scalbn_test_data): Likewise.
13049 (scalbln_test_data): Likewise.
13050 (signbit_test_data): Likewise.
13051 (sqrt_test_data): Likewise.
13052 (significand_test_data): Likewise.
13054 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13057 * benchtests/bench-modf.c (struct args): Mark arg0 as
13059 * scripts/bench.pl: Mark members of struct args as volatile.
13061 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13064 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
13065 negative infinity on POWER6 or lower.
13066 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
13068 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13071 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
13072 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
13073 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
13074 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
13075 (_FP_SETQNAN): New macro.
13076 (_FP_SETQNAN_SEMIRAW): Likewise.
13077 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
13078 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
13079 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
13080 (FP_EXTEND): Use _FP_FRAC_SNANP.
13081 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
13082 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
13084 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13086 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13089 2013-05-16 Joseph Myers <joseph@codesourcery.com>
13091 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
13092 with DIVIDE_BY_ZERO_EXCEPTION.
13093 (gamma_test_data): Likewise.
13094 (lgamma_test_data): Likewise.
13095 (log_test_data): Likewise.
13096 (log10_test_data): Likewise.
13097 (log2_test_data): Likewise.
13098 (tgamma_test_data): Likewise.
13100 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
13101 (acos_test_tonearest): Likewise.
13102 (acos_test_towardzero): Likewise.
13103 (acos_test_downward): Likewise.
13104 (acos_test_upward): Likewise.
13105 (acosh_test): Likewise.
13106 (asin_test): Likewise.
13107 (asin_test_tonearest): Likewise.
13108 (asin_test_towardzero): Likewise.
13109 (asin_test_downward): Likewise.
13110 (asin_test_upward): Likewise.
13111 (asinh_test): Likewise.
13112 (atan_test): Likewise.
13113 (atanh_test): Likewise.
13114 (atan2_test): Likewise.
13115 (cabs_test): Likewise.
13116 (cacos_test): Likewise.
13117 (cacosh_test): Likewise.
13118 (casin_test): Likewise.
13119 (casinh_test): Likewise.
13120 (catan_test): Likewise.
13121 (catanh_test): Likewise.
13122 (cbrt_test): Likewise.
13123 (ccos_test): Likewise.
13124 (ccosh_test): Likewise.
13125 (cexp_test): Likewise.
13126 (clog_test): Likewise.
13127 (clog10_test): Likewise.
13128 (cos_test): Likewise.
13129 (cos_test_tonearest): Likewise.
13130 (cos_test_towardzero): Likewise.
13131 (cos_test_downward): Likewise.
13132 (cos_test_upward): Likewise.
13133 (cosh_test): Likewise.
13134 (cosh_test_tonearest): Likewise.
13135 (cosh_test_towardzero): Likewise.
13136 (cosh_test_downward): Likewise.
13137 (cosh_test_upward): Likewise.
13138 (cpow_test): Likewise.
13139 (csin_test): Likewise.
13140 (csinh_test): Likewise.
13141 (csqrt_test): Likewise.
13142 (ctan_test): Likewise.
13143 (ctan_test_tonearest): Likewise.
13144 (ctan_test_towardzero): Likewise.
13145 (ctan_test_downward): Likewise.
13146 (ctan_test_upward): Likewise.
13147 (ctanh_test): Likewise.
13148 (ctanh_test_tonearest): Likewise.
13149 (ctanh_test_towardzero): Likewise.
13150 (ctanh_test_downward): Likewise.
13151 (ctanh_test_upward): Likewise.
13152 (erf_test): Likewise.
13153 (erfc_test): Likewise.
13154 (exp_test): Likewise.
13155 (exp_test_tonearest): Likewise.
13156 (exp_test_towardzero): Likewise.
13157 (exp_test_downward): Likewise.
13158 (exp_test_upward): Likewise.
13159 (exp10_test): Likewise.
13160 (exp2_test): Likewise.
13161 (expm1_test): Likewise.
13162 (fmod_test): Likewise.
13163 (gamma_test): Likewise.
13164 (hypot_test): Likewise.
13165 (j0_test): Likewise.
13166 (j1_test): Likewise.
13167 (jn_test): Likewise.
13168 (lgamma_test): Likewise.
13169 (log_test): Likewise.
13170 (log10_test): Likewise.
13171 (log1p_test): Likewise.
13172 (log2_test): Likewise.
13173 (logb_test_downward): Likewise.
13174 (pow_test): Likewise.
13175 (pow_test_tonearest): Likewise.
13176 (pow_test_towardzero): Likewise.
13177 (pow_test_downward): Likewise.
13178 (pow_test_upward): Likewise.
13179 (remainder_test): Likewise.
13180 (remquo_test): Likewise.
13181 (sin_test): Likewise.
13182 (sin_test_tonearest): Likewise.
13183 (sin_test_towardzero): Likewise.
13184 (sin_test_downward): Likewise.
13185 (sin_test_upward): Likewise.
13186 (sincos_test): Likewise.
13187 (sinh_test): Likewise.
13188 (sinh_test_tonearest): Likewise.
13189 (sinh_test_towardzero): Likewise.
13190 (sinh_test_downward): Likewise.
13191 (sinh_test_upward): Likewise.
13192 (sqrt_test): Likewise.
13193 (tan_test): Likewise.
13194 (tan_test_tonearest): Likewise.
13195 (tan_test_towardzero): Likewise.
13196 (tan_test_downward): Likewise.
13197 (tan_test_upward): Likewise.
13198 (tanh_test): Likewise.
13199 (tgamma_test): Likewise.
13200 (y0_test): Likewise.
13201 (y1_test): Likewise.
13202 (yn_test): Likewise.
13204 * math/gen-libm-test.pl (adjust_arg): Remove function.
13205 (special_function): Remove argument $in_func. Only handle
13206 generating output for tables of tests, not inside functions.
13207 (parse_args): Likewise.
13208 (generate_testfile): Remove variable $in_func. Update call to
13210 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
13211 (MINUS_ZERO_INIT): Rename macro to minus_zero.
13212 (PLUS_INFTY_INIT): Rename macro to plus_infty.
13213 (MINUS_INFTY_INIT): Rename macro to minus_infty.
13214 (QNAN_VALUE_INIT): Rename macro to qnan_value.
13215 (MAX_VALUE_INIT): Rename macro to max_value.
13216 (MIN_VALUE_INIT): Rename macro to min_value.
13217 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
13218 (plus_zero): Remove variable.
13219 (minus_zero): Likewise.
13220 (plus_infty): Likewise.
13221 (minus_infty): Likewise.
13222 (qnan_value): Likewise.
13223 (max_value): Likewise.
13224 (min_value): Likewise.
13225 (min_subnorm_value): Likewise.
13227 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13229 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
13230 uint64_t or uint32_t usage.
13231 * crypt/sha256-block.c: Likewise.
13232 * crypt/sha256-crypt.c: Likewise.
13233 * crypt/sha256.c: Likewise.
13234 * crypt/sha512-block.c: Likewise.
13235 * crypt/sha512-crypt.c: Likewise.
13236 * crypt/sha512.c: Likewise.
13237 * debug/backtrace-tst.c: Likewise.
13238 * debug/pcprofiledump.c: Likewise.
13239 * elf/cache.c: Likewise.
13240 * elf/dl-cache.c: Likewise.
13241 * elf/dl-misc.c: Likewise.
13242 * elf/dl-profile.c: Likewise.
13243 * elf/dl-support.c: Likewise.
13244 * elf/ldconfig.c: Likewise.
13245 * elf/sprof.c: Likewise.
13246 * iconv/dummy-repertoire.c: Likewise.
13247 * iconv/iconv_charmap.c: Likewise.
13248 * iconv/skeleton.c: Likewise.
13249 * iconvdata/8bit-generic.c: Likewise.
13250 * iconvdata/cp737.h: Likewise.
13251 * iconvdata/cp775.h: Likewise.
13252 * iconvdata/ibm1008.h: Likewise.
13253 * iconvdata/ibm1025.h: Likewise.
13254 * iconvdata/ibm1046.h: Likewise.
13255 * iconvdata/ibm1097.h: Likewise.
13256 * iconvdata/ibm1112.h: Likewise.
13257 * iconvdata/ibm1122.h: Likewise.
13258 * iconvdata/ibm1123.h: Likewise.
13259 * iconvdata/ibm1124.h: Likewise.
13260 * iconvdata/ibm1129.h: Likewise.
13261 * iconvdata/ibm1130.h: Likewise.
13262 * iconvdata/ibm1132.h: Likewise.
13263 * iconvdata/ibm1133.h: Likewise.
13264 * iconvdata/ibm1137.h: Likewise.
13265 * iconvdata/ibm1140.h: Likewise.
13266 * iconvdata/ibm1141.h: Likewise.
13267 * iconvdata/ibm1142.h: Likewise.
13268 * iconvdata/ibm1143.h: Likewise.
13269 * iconvdata/ibm1144.h: Likewise.
13270 * iconvdata/ibm1145.h: Likewise.
13271 * iconvdata/ibm1146.h: Likewise.
13272 * iconvdata/ibm1147.h: Likewise.
13273 * iconvdata/ibm1148.h: Likewise.
13274 * iconvdata/ibm1149.h: Likewise.
13275 * iconvdata/ibm1153.h: Likewise.
13276 * iconvdata/ibm1154.h: Likewise.
13277 * iconvdata/ibm1155.h: Likewise.
13278 * iconvdata/ibm1156.h: Likewise.
13279 * iconvdata/ibm1157.h: Likewise.
13280 * iconvdata/ibm1158.h: Likewise.
13281 * iconvdata/ibm1160.h: Likewise.
13282 * iconvdata/ibm1161.h: Likewise.
13283 * iconvdata/ibm1162.h: Likewise.
13284 * iconvdata/ibm1163.h: Likewise.
13285 * iconvdata/ibm1164.h: Likewise.
13286 * iconvdata/ibm1166.h: Likewise.
13287 * iconvdata/ibm1167.h: Likewise.
13288 * iconvdata/ibm12712.h: Likewise.
13289 * iconvdata/ibm1390.h: Likewise.
13290 * iconvdata/ibm1399.h: Likewise.
13291 * iconvdata/ibm16804.h: Likewise.
13292 * iconvdata/ibm4517.h: Likewise.
13293 * iconvdata/ibm4899.h: Likewise.
13294 * iconvdata/ibm4909.h: Likewise.
13295 * iconvdata/ibm4971.h: Likewise.
13296 * iconvdata/ibm5347.h: Likewise.
13297 * iconvdata/ibm803.h: Likewise.
13298 * iconvdata/ibm856.h: Likewise.
13299 * iconvdata/ibm901.h: Likewise.
13300 * iconvdata/ibm902.h: Likewise.
13301 * iconvdata/ibm9030.h: Likewise.
13302 * iconvdata/ibm9066.h: Likewise.
13303 * iconvdata/ibm921.h: Likewise.
13304 * iconvdata/ibm922.h: Likewise.
13305 * iconvdata/ibm9448.h: Likewise.
13306 * iconvdata/isiri-3342.h: Likewise.
13307 * iconvdata/jis0201.h: Likewise.
13308 * include/link.h: Likewise.
13309 * include/netdb.h: Likewise.
13310 * inet/check_native.c: Likewise.
13311 * inet/check_pf.c: Likewise.
13312 * inet/getipv4sourcefilter.c: Likewise.
13313 * inet/getnameinfo.c: Likewise.
13314 * inet/getsourcefilter.c: Likewise.
13315 * inet/htonl.c: Likewise.
13316 * inet/setipv4sourcefilter.c: Likewise.
13317 * inet/setsourcefilter.c: Likewise.
13318 * inet/test-inet6_opt.c: Likewise.
13319 * inet/tst-network.c: Likewise.
13320 * locale/C-collate.c: Likewise.
13321 * locale/C-ctype.c: Likewise.
13322 * locale/C-time.c: Likewise.
13323 * locale/C-translit.h: Likewise.
13324 * locale/loadarchive.c: Likewise.
13325 * locale/programs/3level.h: Likewise.
13326 * locale/programs/charmap.c: Likewise.
13327 * locale/programs/charmap.h: Likewise.
13328 * locale/programs/ld-address.c: Likewise.
13329 * locale/programs/ld-collate.c: Likewise.
13330 * locale/programs/ld-ctype.c: Likewise.
13331 * locale/programs/ld-identification.c: Likewise.
13332 * locale/programs/ld-measurement.c: Likewise.
13333 * locale/programs/ld-messages.c: Likewise.
13334 * locale/programs/ld-monetary.c: Likewise.
13335 * locale/programs/ld-name.c: Likewise.
13336 * locale/programs/ld-numeric.c: Likewise.
13337 * locale/programs/ld-paper.c: Likewise.
13338 * locale/programs/ld-telephone.c: Likewise.
13339 * locale/programs/ld-time.c: Likewise.
13340 * locale/programs/linereader.c: Likewise.
13341 * locale/programs/locale.c: Likewise.
13342 * locale/programs/locarchive.c: Likewise.
13343 * locale/programs/locfile.h: Likewise.
13344 * locale/programs/repertoire.c: Likewise.
13345 * locale/programs/simple-hash.c: Likewise.
13346 * locale/programs/simple-hash.h: Likewise.
13347 * malloc/memusage.c: Likewise.
13348 * malloc/memusagestat.c: Likewise.
13349 * nis/nis_defaults.c: Likewise.
13350 * nis/nis_hash.c: Likewise.
13351 * nis/nis_print.c: Likewise.
13352 * nis/nis_xdr.c: Likewise.
13353 * nscd/connections.c: Likewise.
13354 * nscd/hstcache.c: Likewise.
13355 * nscd/nscd_gethst_r.c: Likewise.
13356 * nscd/nscd_getserv_r.c: Likewise.
13357 * nscd/nscd_helper.c: Likewise.
13358 * nscd/servicescache.c: Likewise.
13359 * nss/makedb.c: Likewise.
13360 * nss/nss_db/db-XXX.c: Likewise.
13361 * nss/nss_db/db-initgroups.c: Likewise.
13362 * nss/nss_db/db-netgrp.c: Likewise.
13363 * nss/nss_files/files-network.c: Likewise.
13364 * nss/nss_files/files-parse.c: Likewise.
13365 * posix/bug-regex5.c: Likewise.
13366 * posix/fnmatch_loop.c: Likewise.
13367 * posix/regcomp.c: Likewise.
13368 * posix/regexec.c: Likewise.
13369 * posix/tst-rfc3484-2.c: Likewise.
13370 * posix/tst-rfc3484-3.c: Likewise.
13371 * posix/tst-rfc3484.c: Likewise.
13372 * resolv/nss_dns/dns-canon.c: Likewise.
13373 * resolv/nss_dns/dns-network.c: Likewise.
13374 * resolv/res_init.c: Likewise.
13375 * resolv/res_mkquery.c: Likewise.
13376 * resolv/tst-aton.c: Likewise.
13377 * stdlib/cxa_atexit.c: Likewise.
13378 * stdlib/cxa_finalize.c: Likewise.
13379 * stdlib/gen-fpioconst.c: Likewise.
13380 * stdlib/strtol_l.c: Likewise.
13381 * string/tst-endian.c: Likewise.
13382 * sunrpc/auth_des.c: Likewise.
13383 * sunrpc/clnt_udp.c: Likewise.
13384 * sunrpc/rtime.c: Likewise.
13385 * sunrpc/svcauth_des.c: Likewise.
13386 * sunrpc/xdr.c: Likewise.
13387 * sunrpc/xdr_intXX_t.c: Likewise.
13388 * sunrpc/xdr_rec.c: Likewise.
13389 * sysdeps/generic/ldconfig.h: Likewise.
13390 * sysdeps/generic/ldsodefs.h: Likewise.
13391 * sysdeps/generic/memusage.h: Likewise.
13392 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13393 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
13394 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
13395 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13396 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13397 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13398 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13399 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13400 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13401 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13402 * sysdeps/posix/getaddrinfo.c: Likewise.
13403 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13404 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13405 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13406 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13407 * sysdeps/powerpc/test-gettimebase.c: Likewise.
13408 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13409 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
13410 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
13411 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
13412 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
13413 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13414 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
13415 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
13416 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
13417 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
13418 * sysdeps/x86_64/dl-tls.h: Likewise.
13419 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
13420 * time/alt_digit.c: Likewise.
13421 * time/era.c: Likewise.
13422 * wcsmbs/tst-c16c32-1.c: Likewise.
13424 2013-05-16 Joseph Myers <joseph@codesourcery.com>
13426 * math/libm-test.inc (struct test_sincos_data): New type.
13427 (RUN_TEST_LOOP_sincos): New macro.
13428 (sincos_test_data): New variable.
13429 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
13431 2013-05-16 Richard Henderson <rth@redhat.com>
13433 * math/atest-exp2.c (LIMB64): New macro.
13434 (CONSTSZ): New macro.
13435 (mp_exp1, mp_exp_m1, mp_log2): New variables.
13437 (print_mpn_fp): ... to function scope.
13438 (read_mpn_hex): Remove.
13439 (get_log2): Remove.
13440 (exp2_mpn): Use mp_log2.
13441 (main): Use mp_exp1.
13443 2013-05-16 Joseph Myers <joseph@codesourcery.com>
13445 * math/libm-test.inc: Remove comment about not testing "inexact"
13447 (INEXACT_EXCEPTION): New macro.
13448 (NO_INEXACT_EXCEPTION): Likewise.
13449 (INVALID_EXCEPTION_OK): Update value.
13450 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13451 (OVERFLOW_EXCEPTION_OK): Likewise.
13452 (UNDERFLOW_EXCEPTION_OK): Likewise.
13453 (IGNORE_ZERO_INF_SIGN): Likewise.
13454 (ERRNO_UNCHANGED): Likewise.
13455 (ERRNO_EDOM): Likewise.
13456 (ERRNO_ERANGE): Likewise.
13457 (test_exceptions): Handle testing "inexact" exceptions.
13458 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
13459 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
13460 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
13461 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
13463 (rint_towardzero_test_data): Likewise.
13464 (rint_downward_test_data): Likewise.
13465 (rint_upward_test_data): Likewise.
13467 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
13468 with OVERFLOW_EXCEPTION.
13469 (exp10_test_data): Likewise.
13470 (exp2_test_data): Likewise.
13471 (expm1_test_data): Likewise.
13472 (lgamma_test_data): Likewise.
13473 (pow_test_data): Likewise.
13474 (tgamma_test_data): Likewise.
13475 (yn_test_data): Remove duplicate test of overflow.
13477 * math/libm-test.inc (struct test_cc_c_data): New type.
13478 (RUN_TEST_LOOP_cc_c): New macro.
13479 (cpow_test_data): New variable.
13480 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
13482 * math/libm-test.inc (struct test_f_L_data): New type.
13483 (RUN_TEST_LOOP_f_L): New macro.
13484 (llrint_test_data): New variable.
13485 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
13486 (llrint_tonearest_test_data): New variable.
13487 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
13488 (llrint_towardzero_test_data): New variable.
13489 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
13490 (llrint_downward_test_data): New variable.
13491 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
13492 (llrint_upward_test_data): New variable.
13493 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
13494 (llround_test_data): New variable.
13495 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
13497 2013-05-13 Peter Collingbourne <pcc@google.com>
13499 * math/atest-exp2.c (get_log2): Remove const attribute.
13501 2013-05-15 Joseph Myers <joseph@codesourcery.com>
13503 * math/libm-test.inc (struct test_f_l_data): New type.
13504 (RUN_TEST_LOOP_f_l): New macro.
13505 (lrint_test_data): New variable.
13506 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
13507 (lrint_tonearest_test_data): New variable.
13508 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
13509 (lrint_towardzero_test_data): New variable.
13510 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
13511 (lrint_downward_test_data): New variable.
13512 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
13513 (lrint_upward_test_data): New variable.
13514 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
13515 (lround_test_data): New variable.
13516 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
13518 2013-05-15 Peter Collingbourne <pcc@google.com>
13520 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
13521 (EXTRACT_WORDS64) Use where appropriate.
13522 (INSERT_WORDS64) Likewise.
13524 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
13525 constraints with x constraints.
13526 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
13528 * malloc/obstack.c (_obstack_compat): Add initializer.
13530 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
13532 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
13533 si_trapno and add si_addr_lsb to _sifields.sigfault.
13534 (si_trapno): Remove macro.
13535 (si_addr_lsb): Define new macro.
13536 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13538 2013-05-15 Joseph Myers <joseph@codesourcery.com>
13540 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
13541 instead of TEST_f_l.
13542 (llrint_test_tonearest): Likewise.
13543 (llrint_test_towardzero): Likewise.
13544 (llrint_test_downward): Likewise.
13545 (llrint_test_upward): Likewise.
13546 (llround_test): Likewise.
13548 * math/libm-test.inc (struct test_f_i_data): Add comment.
13549 (RUN_TEST_LOOP_f_b): New macro.
13550 (RUN_TEST_LOOP_f_b_tg): Likewise.
13551 (finite_test_data): New variable.
13552 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
13553 (isfinite_test_data): New variable.
13554 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13555 (isinf_test_data): New variable.
13556 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13557 (isnan_test_data): New variable.
13558 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13559 (isnormal_test_data): New variable.
13560 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13561 (issignaling_test_data): New variable.
13562 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13563 (signbit_test_data): New variable.
13564 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13566 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
13567 with INVALID_EXCEPTION.
13568 (acosh_test_data): Likewise.
13569 (asin_test_data): Likewise.
13570 (atanh_test_data): Likewise.
13571 (fmod_test_data): Likewise.
13572 (log_test_data): Likewise.
13573 (log10_test_data): Likewise.
13574 (log2_test_data): Likewise.
13575 (pow_test_data): Likewise.
13576 (sqrt_test_data): Likewise.
13577 (y0_test_data): Likewise.
13578 (y1_test_data): Likewise.
13579 (yn_test_data): Likewise.
13581 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
13584 * math/libm-test.inc (struct test_ff_i_data): New type.
13585 (RUN_TEST_LOOP_ff_i_tg): New macro.
13586 (isgreater_test_data): New variable.
13587 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13588 (isgreaterequal_test_data): New variable.
13589 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13590 (isless_test_data): New variable.
13591 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13592 (islessequal_test_data): New variable.
13593 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13594 (islessgreater_test_data): New variable.
13595 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13596 (isunordered_test_data): New variable.
13597 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13599 2013-05-14 David S. Miller <davem@davemloft.net>
13601 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13603 2013-05-14 Joseph Myers <joseph@codesourcery.com>
13605 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
13607 * math/libm-test.inc (struct test_fF_f1_data): Change type of
13609 (struct test_f_i_data): Change type of max_ulp to int.
13611 * math/libm-test.inc (test_ffI_f1_data): New type.
13612 (RUN_TEST_LOOP_ffI_f1): New macro.
13613 (remquo_test_data): New variable.
13614 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
13616 * setjmp/tst-setjmp-fp.c: New file.
13617 * setjmp/Makefile (tests): Add tst-setjmp-fp.
13618 (link-libm): New variable.
13619 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
13621 * math/libm-test.inc (struct test_f_i_data): New type.
13622 (RUN_TEST_LOOP_f_i): New macro.
13623 (RUN_TEST_LOOP_f_i_tg): Likewise.
13624 (fpclassify_test_data): New variable.
13625 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
13626 (ilogb_test_data): New variable.
13627 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
13629 * math/libm-test.inc (scalbln_test): Correct function name in END
13632 * math/libm-test.inc (struct test_f_f1_data): Add comment.
13633 (RUN_TEST_LOOP_fI_f1): New macro.
13634 (frexp_test_data): New variable.
13635 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
13637 * math/libm-test.inc (struct test_fF_f1_data): New type.
13638 (RUN_TEST_LOOP_fF_f1): New macro.
13639 (modf_test_data): New variable.
13640 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
13642 * math/libm-test.inc (struct test_f_f1_data): New type.
13643 (RUN_TEST_LOOP_f_f1): New macro.
13644 (gamma_test_data): New variable.
13645 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
13646 (lgamma_test_data): New variable.
13647 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
13649 2013-05-13 Carlos O'Donell <carlos@redhat.com>
13651 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
13652 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
13653 (main): Comment "tls" pseudo-hwcap.
13655 2013-05-13 Joseph Myers <joseph@codesourcery.com>
13657 * math/libm-test.inc (struct test_fl_f_data): New type.
13658 (RUN_TEST_LOOP_fl_f): New variable.
13659 (scalbln_test_data): New variable.
13660 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
13662 * math/libm-test.inc (struct test_fi_f_data): New type.
13663 (RUN_TEST_LOOP_fi_f): New macro.
13664 (ldexp_test_data): New variable.
13665 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
13666 (scalbn_test_data): New variable.
13667 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
13669 * math/libm-test.inc (struct test_c_f_data): New type.
13670 (RUN_TEST_LOOP_c_f): New macro.
13671 (cabs_test_data): New variable.
13672 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
13673 (carg_test_data): New variable.
13674 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
13675 (cimag_test_data): New variable.
13676 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
13677 (creal_test_data): New variable.
13678 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
13680 * math/libm-test.inc (struct test_if_f_data): New type.
13681 (RUN_TEST_LOOP_if_f): New macro.
13682 (jn_test_data): New variable.
13683 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
13684 (yn_test_data): New variable.
13685 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
13687 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
13689 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13691 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
13692 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
13694 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13696 * benchtests/Makefile (CPPFLAGS-nonlib): Add
13697 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
13698 (bench-deps): Add bench-timing.h.
13699 * benchtests-bench-skeleton.c: Include bench-timing.h.
13700 (main): Use TIMING_* macros instead of clock_gettime.
13701 * benchtests/bench-timing.h: New file.
13704 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
13705 Renamed from _LIB_VERSION.
13706 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
13708 2013-05-12 Joseph Myers <joseph@codesourcery.com>
13710 * math/libm-test.inc (struct test_fff_f_data): New type.
13711 (RUN_TEST_LOOP_fff_f): New macro.
13712 (fma_test_data): New variable.
13713 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
13714 (fma_towardzero_test_data): New variable.
13715 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
13716 (fma_downward_test_data): New variable.
13717 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
13718 (fma_upward_test_data): New variable.
13719 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
13721 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
13722 (struct test_c_c_data): New type.
13723 (RUN_TEST_LOOP_c_c): New macro.
13724 (cacos_test_data): New variable.
13725 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
13726 (cacosh_test_data): New variable.
13727 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
13728 (casin_test_data): New variable.
13729 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
13730 (casinh_test_data): New variable.
13731 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
13732 (catan_test_data): New variable.
13733 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
13734 (catanh_test_data): New variable.
13735 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
13736 (ccos_test_data): New variable.
13737 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
13738 (ccosh_test_data): New variable.
13739 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
13740 (cexp_test_data): New variable.
13741 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
13742 (clog_test_data): New variable.
13743 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
13744 (clog10_test_data): New variable.
13745 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
13746 (conj_test_data): New variable.
13747 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
13748 (cproj_test_data): New variable.
13749 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
13750 (csin_test_data): New variable.
13751 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
13752 (csinh_test_data): New variable.
13753 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
13754 (csqrt_test_data): New variable.
13755 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
13756 (ctan_test_data): New variable.
13757 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
13758 (ctan_tonearest_test_data): New variable.
13759 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
13760 (ctan_towardzero_test_data): New variable.
13761 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
13762 (ctan_downward_test_data): New variable.
13763 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
13764 (ctan_upward_test_data): New variable.
13765 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
13766 (ctanh_test_data): New variable.
13767 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
13768 (ctanh_tonearest_test_data): New variable.
13769 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
13770 (ctanh_towardzero_test_data): New variable.
13771 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
13772 (ctanh_downward_test_data): New variable.
13773 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
13774 (ctanh_upward_test_data): New variable.
13775 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
13776 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
13779 * math/libm-test.inc (struct test_ff_f_data): New type.
13780 (struct test_ff_f_data_nexttoward): Likewise.
13781 (RUN_TEST_LOOP_2_f): New macro.
13782 (RUN_TEST_LOOP_ff_f): Likewise.
13783 (atan2_test_data): New variable.
13784 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
13785 (copysign_test_data): New variable.
13786 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
13787 (fdim_test_data): New variable.
13788 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
13789 (fmax_test_data): New variable.
13790 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
13791 (fmin_test_data): New variable.
13792 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
13793 (fmod_test_data): New variable.
13794 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
13795 (hypot_test_data): New variable.
13796 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
13797 (nextafter_test_data): New variable.
13798 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
13799 (nexttoward_test_data): New variable.
13800 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
13801 (pow_test_data): New variable.
13802 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
13803 (pow_tonearest_test_data): New variable.
13804 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
13805 (pow_towardzero_test_data): New variable.
13806 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
13807 (pow_downward_test_data): New variable.
13808 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
13809 (pow_upward_test_data): New variable.
13810 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
13811 (remainder_test_data): New variable.
13812 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
13813 (scalb_test_data): New variable.
13814 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
13815 * sysdeps/i386/fpu/libm-test-ulps: Update.
13817 2013-05-11 Joseph Myers <joseph@codesourcery.com>
13819 * math/libm-test.inc (fma_test): Use max_value instead of local
13821 (nextafter_test): Likewise.
13823 * math/libm-test.inc (acos_towardzero_test_data): New variable.
13824 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13825 (acos_downward_test_data): New variable.
13826 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13827 (acos_upward_test_data): New variable.
13828 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13829 (acosh_test_data): New variable.
13830 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
13831 (asin_test_data): New variable.
13832 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
13833 (asin_tonearest_test_data): New variable.
13834 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13835 (asin_towardzero_test_data): New variable.
13836 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13837 (asin_downward_test_data): New variable.
13838 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13839 (asin_upward_test_data): New variable.
13840 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13841 (asinh_test_data): New variable.
13842 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
13843 (atan_test_data): New variable.
13844 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
13845 (atanh_test_data): New variable.
13846 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
13847 (cbrt_test_data): New variable.
13848 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
13849 (ceil_test_data): New variable.
13850 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
13851 (cos_test_data): New variable.
13852 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
13853 (cos_tonearest_test_data): New variable.
13854 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13855 (cos_towardzero_test_data): New variable.
13856 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13857 (cos_downward_test_data): New variable.
13858 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13859 (cos_upward_test_data): New variable.
13860 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13861 (cosh_test_data): New variable.
13862 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
13863 (cosh_tonearest_test_data): New variable.
13864 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13865 (cosh_towardzero_test_data): New variable.
13866 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13867 (cosh_downward_test_data): New variable.
13868 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13869 (cosh_upward_test_data): New variable.
13870 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13871 (erf_test_data): New variable.
13872 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
13873 (erfc_test_data): New variable.
13874 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
13875 (exp_test_data): New variable.
13876 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
13877 (exp_tonearest_test_data): New variable.
13878 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13879 (exp_towardzero_test_data): New variable.
13880 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13881 (exp_downward_test_data): New variable.
13882 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13883 (exp_upward_test_data): New variable.
13884 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13885 (exp10_test_data): New variable.
13886 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
13887 (exp2_test_data): New variable.
13888 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
13889 (expm1_test_data): New variable.
13890 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
13891 (fabs_test_data): New variable.
13892 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
13893 (floor_test_data): New variable.
13894 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
13895 (j0_test_data): New variable.
13896 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
13897 (j1_test_data): New variable.
13898 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
13899 (log_test_data): New variable.
13900 (log_test): Run tests with RUN_TEST_LOOP_f_f.
13901 (log10_test_data): New variable.
13902 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
13903 (log1p_test_data): New variable.
13904 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
13905 (log2_test_data): New variable.
13906 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
13907 (logb_test_data): New variable.
13908 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
13909 (logb_downward_test_data): New variable.
13910 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13911 (nearbyint_test_data): New variable.
13912 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
13913 (rint_test_data): New variable.
13914 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
13915 (rint_tonearest_test_data): New variable.
13916 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13917 (rint_towardzero_test_data): New variable.
13918 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13919 (rint_downward_test_data): New variable.
13920 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13921 (rint_upward_test_data): New variable.
13922 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13923 (round_test_data): New variable.
13924 (round_test): Run tests with RUN_TEST_LOOP_f_f.
13925 (sin_test_data): New variable.
13926 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
13927 (sin_tonearest_test_data): New variable.
13928 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13929 (sin_towardzero_test_data): New variable.
13930 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13931 (sin_downward_test_data): New variable.
13932 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13933 (sin_upward_test_data): New variable.
13934 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13935 (sinh_test_data): New variable.
13936 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
13937 (sinh_tonearest_test_data): New variable.
13938 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13939 (sinh_towardzero_test_data): New variable.
13940 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13941 (sinh_downward_test_data): New variable.
13942 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13943 (sinh_upward_test_data): New variable.
13944 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13945 (sqrt_test_data): New variable.
13946 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
13947 (tan_test_data): New variable.
13948 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
13949 (tan_tonearest_test_data): New variable.
13950 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13951 (tan_towardzero_test_data): New variable.
13952 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13953 (tan_downward_test_data): New variable.
13954 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13955 (tan_upward_test_data): New variable.
13956 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13957 (tanh_test_data): New variable.
13958 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
13959 (tgamma_test_data): New variable.
13960 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
13961 (trunc_test_data): New variable.
13962 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
13963 (y0_test_data): New variable.
13964 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
13965 (y1_test_data): New variable.
13966 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
13967 (significand_test_data): New variable.
13968 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
13970 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
13973 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
13975 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
13977 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
13979 2013-05-10 Andreas Jaeger <aj@suse.de>
13982 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
13983 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
13985 2013-05-10 Joseph Myers <joseph@codesourcery.com>
13987 * math/gen-libm-test.pl (adjust_arg): New function.
13988 (special_functions): Handle generating output in both functions
13990 (parse_args): Likewise.
13991 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
13992 $in_func argument to parse_args.
13993 * math/libm-test.inc (struct test_f_f_data): New type.
13994 (IF_ROUND_INIT_): New macro.
13995 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
13996 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
13997 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13998 (IF_ROUND_INIT_FE_UPWARD): Likewise.
13999 (ROUND_RESTORE_): Likewise.
14000 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
14001 (ROUND_RESTORE_FE_TONEAREST): Likewise.
14002 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
14003 (ROUND_RESTORE_FE_UPWARD): Likewise.
14004 (RUN_TEST_LOOP_f_f): New macro.
14005 (acos_test_data): New variable.
14006 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
14007 (acos_tonearest_test_data): New variable.
14008 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14010 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14012 * benchtests/bench-skeleton.c (startup): Fix coding style.
14014 2013-05-10 Joseph Myers <joseph@codesourcery.com>
14017 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
14018 negative infinity argument.
14019 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
14020 negative infinity argument.
14021 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
14022 negative infinity argument.
14023 * math/libm-test.inc (tgamma_test): Expect errno to be set for
14026 2013-05-10 Florian Weimer <fweimer@redhat.com>
14028 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
14029 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
14030 * iconv/iconv_prog.c (main): Likewise.
14031 * locale/programs/charmap-dir.c (charmap_readdir)
14032 (fopen_uncompressed): Likewise.
14033 * locale/programs/locfile.c (siblings_uncached)
14034 (write_locale_data): Use lstat64 instead of lstat.
14035 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
14038 2013-05-10 Andreas Jaeger <aj@suse.de>
14041 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
14043 Include <locale.h>.
14045 2013-05-09 Carlos O'Donell <carlos@redhat.com>
14047 * elf/dl-close.c (_dl_close_worker): Add comments.
14049 2013-05-09 Joseph Myers <joseph@codesourcery.com>
14052 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
14054 (__ieee754_rem_pio2l): Update comments.
14057 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
14059 (__ieee754_rem_pio2l): Update comments.
14061 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
14062 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
14064 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
14067 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
14068 (M_PI_34_LOG10El): Likewise.
14069 (M_PI2_LOG10El): Likewise.
14070 (M_PI4_LOG10El): Likewise.
14071 (M_PI_LOG10El): Likewise.
14073 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14075 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14077 2013-05-08 Joseph Myers <joseph@codesourcery.com>
14079 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
14080 (MINUS_ZERO_INIT): Likewise.
14081 (PLUS_INFTY_INIT): Likewise.
14082 (MINUS_INFTY_INIT): Likewise.
14083 (QNAN_VALUE_INIT): Likewise.
14084 (MAX_VALUE_INIT): Likewise.
14085 (MIN_VALUE_INIT): Likewise.
14086 (MIN_SUBNORM_VALUE_INIT): Likewise.
14087 (plus_zero): Initialize with PLUS_ZERO_INIT.
14088 (minus_zero): Initialize with MINUS_ZERO_INIT.
14089 (plus_infty): Initialize with PLUS_INFTY_INIT.
14090 (minus_infty): Initialize with MINUS_INFTY_INIT.
14091 (qnan_value): Initialize with QNAN_VALUE_INIT.
14092 (max_value): Initialize with MAX_VALUE_INIT.
14093 (min_value): Initialize with MIN_VALUE_INIT.
14094 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
14096 * math/libm-test.inc (RUN_TEST_if_f): New macro.
14097 (jn_test): Use TEST_if_f instead of TEST_ff_f.
14098 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
14099 (yn_test): Use TEST_if_f instead of TEST_ff_f.
14101 * math/libm-test.inc (RUN_TEST_f_f): New macro.
14102 (RUN_TEST_2_f): Likewise.
14103 (RUN_TEST_ff_f): Likewise.
14104 (RUN_TEST_fi_f): Likewise.
14105 (RUN_TEST_fl_f): Likewise.
14106 (RUN_TEST_fff_f): Likewise.
14107 (RUN_TEST_c_f): Likewise.
14108 (RUN_TEST_f_f1): Likewise.
14109 (RUN_TEST_fF_f1): Likewise.
14110 (RUN_TEST_fI_f1): Likewise.
14111 (RUN_TEST_ffI_f1): Likewise.
14112 (RUN_TEST_c_c): Likewise.
14113 (RUN_TEST_cc_c): Likewise.
14114 (RUN_TEST_f_i): Likewise.
14115 (RUN_TEST_f_i_tg): Likewise.
14116 (RUN_TEST_ff_i_tg): Likewise.
14117 (RUN_TEST_f_b): Likewise.
14118 (RUN_TEST_f_b_tg): Likewise.
14119 (RUN_TEST_f_l): Likewise.
14120 (RUN_TEST_f_L): Likewise.
14121 (RUN_TEST_sincos): Likewise.
14122 * math/gen-libm-test.pl (new_test): Take new argument to indicate
14123 whether to show exceptions. Do not include ");\n" in return
14125 (special_functions): Output call to RUN_TEST_sincos instead of
14126 check_float calls. Update calls to new_test.
14127 (parse_args): Output call to single RUN_TEST_* macro instead of
14128 check_* calls and other assignments. Update calls to new_test.
14134 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
14135 input to result for tgamma overflow.
14136 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
14137 (gamma_coeff): New variable.
14138 (NCOEFF): New macro.
14139 (gamma_positive): New function.
14140 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
14141 underflow here. Use gamma_positive instead of exp (lgamma) for
14143 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
14144 (gamma_coeff): New variable.
14145 (NCOEFF): New macro.
14146 (gammaf_positive): New function.
14147 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
14148 underflow here. Use gamma_positive instead of exp (lgamma) for
14150 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
14151 (gamma_coeff): New variable.
14152 (NCOEFF): New macro.
14153 (gammal_positive): New function.
14154 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
14155 underflow here. Use gamma_positive instead of exp (lgamma) for
14157 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
14158 (gamma_coeff): New variable.
14159 (NCOEFF): New macro.
14160 (gammal_positive): New function.
14161 (__ieee754_gammal_r): Handle positive infinity, overflow and
14162 underflow here. Handle NaN the same as positive infinity. Remove
14163 check x < 0xffffffff for negative integers. Use gamma_positive
14164 instead of exp (lgamma) for other arguments.
14165 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
14166 (gamma_coeff): New variable.
14167 (NCOEFF): New macro.
14168 (gammal_positive): New function.
14169 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
14170 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14171 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
14172 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
14173 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14174 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
14175 * sysdeps/generic/math_private.h (__gamma_productf): New
14177 (__gamma_product): Likewise.
14178 (__gamma_productl): Likewise.
14179 * math/Makefile (libm-calls): Add gamma_product.
14180 * math/libm-test.inc (tgamma_test): Add more tests.
14181 * sysdeps/i386/fpu/libm-test-ulps: Update.
14182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14184 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
14186 * benchtests/bench-skeleton.c (main): Preheat CPU.
14188 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
14190 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
14192 2013-05-07 Roland McGrath <roland@hack.frob.com>
14194 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
14195 and _dl_skip_args_internal.
14197 2013-05-07 Carlos O'Donell <carlos@redhat.com>
14199 * manual/message.texi (Message Translation): Talk about users.
14200 Message to key mapping impacts design.
14202 2013-05-06 Roland McGrath <roland@hack.frob.com>
14204 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
14206 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
14208 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
14209 * sysdeps/wordsize-64/glob64.c: ... here.
14211 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
14212 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
14215 * debug/getlogin_r_chk.c: Moved to ...
14216 * login/getlogin_r_chk.c: ... here.
14217 * debug/Makefile (routines): Move getlogin_r_chk to ...
14218 * login/Makefile (routines): ... here.
14219 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
14220 * login/Versions (libc: GLIBC_2.4): ... here.
14222 * io/poll.c (__poll): Renamed from poll.
14223 Add libc_hidden_def.
14224 (poll): Define as weak alias.
14226 * debug/ptsname_r_chk.c: Moved to ...
14227 * login/ptsname_r_chk.c: ... here.
14228 * debug/Makefile (routines): Move ptsname_r_chk to ...
14229 * login/Makefile (routines): ... here.
14230 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
14231 * login/Versions (libc: GLIBC_2.4): ... here.
14233 * posix/getlogin.c: Moved to ...
14234 * login/getlogin.c: ... here.
14235 * posix/getlogin_r.c: Moved to ...
14236 * login/getlogin_r.c: ... here.
14237 * posix/getlogin_r.c: Moved to ...
14238 * login/getlogin_r.c: ... here.
14239 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
14240 * login/Makefile (routines): ... here.
14241 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
14242 * login/Versions (libc: GLIBC_2.0): ... here.
14244 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
14245 (setrlimit): Define as weak alias.
14247 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
14248 Call __ names for open, ftruncate, and close.
14249 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
14250 (truncate): Define as weak alias.
14252 2013-05-06 Joseph Myers <joseph@codesourcery.com>
14254 * math/gen-libm-test.pl (parse_args): Initialize x before each
14255 test of frexp, modf and remquo.
14257 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
14258 test signgam value.
14260 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14264 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
14266 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14268 2013-05-06 Roland McGrath <roland@hack.frob.com>
14270 * elf/dl-writev.h: New file.
14271 * elf/dl-misc.c: Include it.
14272 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
14273 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
14275 2013-05-04 Joseph Myers <joseph@codesourcery.com>
14277 * math/libm-test.inc (noXFails): Remove variable.
14278 (noXPasses): Likewise.
14279 (BUILD_COMPLEX_INT): Remove macro.
14280 (print_screen): Remove xfail argument.
14281 (print_screen_max_error): Likewise.
14282 (update_stats): Likewise.
14283 (print_max_error): Likewise. Update calls to other affected
14285 (print_complex_max_error): Likewise.
14286 (test_single_exception): Update calls to print_screen.
14287 (test_single_errno): Likewise.
14288 (check_float_internal): Remove xfail argument. Update calls to
14289 other affected functions.
14290 (check_float): Likewise.
14291 (check_complex): Likewise.
14292 (check_int): Likewise.
14293 (check_long): Likewise.
14294 (check_bool): Likewise.
14295 (check_longlong): Likewise.
14296 (main): Don't print noXFails and noXPasses.
14297 * math/gen-libm-test.pl (top level): Don't mention expected
14298 failure handling in comment.
14299 (new_test): Don't handle expected failures.
14300 (parse_args): Don't mention expected failure handling in comment.
14301 (generate_testfile): Don't handle expected failures.
14302 (parse_ulps): Likewise.
14303 (print_ulps_file): Likewise.
14304 (get_failure): Remove function.
14305 (output_test): Don't handle expected failures.
14306 * make/README.libm-test: Don't mention expected failure handling.
14308 * math/libm-test.inc (plus_zero): Make const. Add initializer.
14309 (minus_zero): Likewise.
14310 (plus_infty): Likewise.
14311 (minus_infty): Likewise.
14312 (qnan_value): Likewise.
14313 (max_value): Likewise.
14314 (min_value): Likewise.
14315 (min_subnorm_value): Likewise.
14316 (initialize): Do not initialize those variables dynamically.
14318 2013-05-03 Roland McGrath <roland@hack.frob.com>
14320 * io/open.c (__open_2): Moved to ...
14321 * io/open_2.c: ... this new file.
14322 * io/open64.c (__open64_2): Moved to ...
14323 * io/open64_2.c: ... this new file.
14324 * io/openat.c (__openat_2): Moved to ...
14325 * io/openat_2.c: ... this new file.
14326 * io/openat64.c (__openat64_2): Moved to ...
14327 * io/openat64_2.c: ... this new file.
14328 * io/Makefile (routines): Add them.
14329 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
14330 * sysdeps/unix/sysv/linux/open_2.c: File removed.
14331 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
14332 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
14333 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
14334 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
14335 (__openat64): Add hidden_ver.
14336 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
14337 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
14339 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
14340 Separately conditionalize setting of GLRO(dl_sysinfo) so
14341 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
14342 as well, but the actual setting is only under [NEED_DL_SYSINFO].
14344 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14346 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
14347 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
14349 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
14350 * sysdeps/unix/sysv/linux/powerpc/init-first.c
14351 (_libc_vdso_platform_setup): Add __vdso_time initialization.
14352 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
14353 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
14355 2013-05-03 Joseph Myers <joseph@codesourcery.com>
14357 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
14358 test signgam value.
14360 * math/libm-test.inc (hypot_test): Do not use
14361 IGNORE_ZERO_INF_SIGN.
14363 2013-05-03 Andreas Jaeger <aj@suse.de>
14365 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
14367 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
14368 (PF_MAX): Adjust for VSOCK change.
14370 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14372 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14374 2013-05-02 Carlos O'Donell <carlos@redhat.com>
14377 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
14378 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
14379 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
14381 2013-05-02 David S. Miller <davem@davemloft.net>
14383 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14385 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
14387 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
14389 2013-05-01 Roland McGrath <roland@hack.frob.com>
14391 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
14393 2013-05-01 Richard Smith <richard@metafoo.co.uk>
14396 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
14397 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14398 Use __attribute__ ((__gnu_inline__)).
14399 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14400 Don't use __attribute__ ((__gnu_inline__)).
14402 2013-05-01 Joseph Myers <joseph@codesourcery.com>
14405 * math/s_catan.c (__catan): Handle small real or imaginary part of
14406 input specially to avoid spurious underflow.
14407 * math/s_catanf.c (__catanf): Likewise.
14408 * math/s_catanh.c (__catanh): Likewise.
14409 * math/s_catanhf.c (__catanhf): Likewise.
14410 * math/s_catanhl.c (__catanhl): Likewise.
14411 * math/s_catanl.c (__catanl): Likewise.
14412 * math/libm-test.inc (catan_test): Add more tests.
14413 (catanh_test): Likewise.
14414 * sysdeps/i386/fpu/libm-test-ulps: Update.
14415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14417 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14419 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14421 2013-04-30 Joseph Myers <joseph@codesourcery.com>
14424 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
14425 accurately for denominator in atan2.
14426 * math/s_catanf.c (__catanf): Likewise.
14427 * math/s_catanh.c (__catanh): Likewise.
14428 * math/s_catanhf.c (__catanhf): Likewise.
14429 * math/s_catanhl.c (__catanhl): Likewise.
14430 * math/s_catanl.c (__catanl): Likewise.
14431 * math/libm-test.inc (catan_test): Add more tests.
14432 (catanh_test): Likewise.
14433 * sysdeps/i386/fpu/libm-test-ulps: Update.
14434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14436 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14438 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
14440 * benchtests/Makefile (bench): Remove slow benchmarks.
14441 * benchtests/atan-inputs: Add slow benchmark inputs.
14442 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
14443 (BENCH_FUNC): Accept variant offset.
14445 * benchtests/bench-skeleton.c (main): Run benchmark for each
14447 * benchtests/cos-inputs: Add slow benchmark inputs.
14448 * benchtests/exp-inputs: Likewise.
14449 * benchtests/pow-inputs: Likewise.
14450 * benchtests/sin-inputs: Likewise.
14451 * benchtests/slowatan-inputs: Remove.
14452 * benchtests/slowatan.c: Remove.
14453 * benchtests/slowcos-inputs: Remove.
14454 * benchtests/slowcos.c: Remove.
14455 * benchtests/slowexp-inputs: Remove.
14456 * benchtests/slowexp.c: Remove.
14457 * benchtests/slowpow-inputs: Remove.
14458 * benchtests/slowpow.c: Remove.
14459 * benchtests/slowsin-inputs: Remove.
14460 * benchtests/slowsin.c: Remove.
14461 * benchtests/slowtan-inputs: Remove.
14462 * benchtests/slowtan.c: Remove.
14463 * benchtests/tan-inputs: Add slow benchmark inputs.
14464 * scripts/bench.pl: Parse comments and directives.
14466 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
14468 ($(objpfx)bench-%.c): Remove *-ITER.
14469 * benchtests/bench-modf.c: Remove definition of ITER.
14470 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
14471 (main): Loop for DURATION seconds instead of fixed number of
14473 * scripts/bench.pl: Don't expect iterations in parameters.
14475 2013-04-29 Roland McGrath <roland@hack.frob.com>
14477 * io/fchdir.c (__fchdir): Renamed from fchdir.
14478 (fchdir): Define as weak alias.
14480 2013-04-29 Joseph Myers <joseph@codesourcery.com>
14482 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
14483 (ERRNO_EDOM): Likewise.
14484 (ERRNO_ERANGE): Likewise.
14485 (noErrnoTests): New variable.
14486 (init_max_error): Set errno to 0.
14487 (test_single_errno): New function.
14488 (test_errno): Likewise.
14489 (check_float_internal): Call test_errno. Set errno to 0.
14490 (check_complex): Refer to errno tests in comment.
14491 (check_int): Call test_errno. Set errno to 0.
14492 (check_long): Likewise.
14493 (check_bool): Likewise.
14494 (check_longlong): Likewise.
14495 (cos_test): Use ERRNO_* flags for errno tests instead of
14497 (expm1_test): Likewise.
14498 (fmod_test): Likewise.
14499 (ilogb_test): Likewise.
14500 (lgamma_test): Likewise.
14501 (pow_test): Likewise.
14502 (remainder_test): Likewise.
14503 (sin_test): Likewise.
14504 (tan_test): Likewise.
14505 (yn_test): Likewise.
14506 (initialize): Set errno to 0.
14507 (main): Print number of errno tests.
14508 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
14510 2013-04-29 Andreas Jaeger <aj@suse.de>
14513 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
14517 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
14518 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
14522 * stdlib/random.c (__initstate): Return NULL if
14526 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
14527 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
14530 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14532 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14534 2013-04-29 Joseph Myers <joseph@codesourcery.com>
14536 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
14537 of individual tests.
14538 (casin_test): Likewise.
14539 (casinh_test): Likewise.
14541 2013-04-27 Joseph Myers <joseph@codesourcery.com>
14544 * math/s_catan.c (__catan): Handle arguments with large real or
14545 imaginary part separately without squaring.
14546 * math/s_catanf.c (__catanf): Likewise.
14547 * math/s_catanh.c (__catanh): Likewise.
14548 * math/s_catanhf.c (__catanhf): Likewise.
14549 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14551 (__catanhl): Handle arguments with large real or imaginary part
14552 separately without squaring.
14553 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14555 (__catanl): Handle arguments with large real or imaginary part
14556 separately without squaring.
14557 * math/libm-test.inc (catan_test): Add more tests.
14558 (catanh_test): Likewise.
14559 * sysdeps/i386/fpu/libm-test-ulps: Update.
14560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14562 2013-04-27 Andreas Jaeger <aj@suse.de>
14565 * stdlib/stdlib.h: Update guards for qecvt.
14566 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
14569 2013-04-27 Allan McRae <allan@archlinux.org>
14571 * sysdeps/i386/fpu/libm-test-ulps: Update.
14573 2013-04-26 Joseph Myers <joseph@codesourcery.com>
14576 * math/s_catan.c: Include <float.h>.
14577 (__catan): Ensure underflow exception occurs for underflowed
14579 * math/s_catanf.c: Include <float.h>.
14580 (__catanf): Ensure underflow exception occurs for underflowed
14582 * math/s_catanh.c: Include <float.h>.
14583 (__catanh): Ensure underflow exception occurs for underflowed
14585 * math/s_catanhf.c: Include <float.h>.
14586 (__catanhf): Ensure underflow exception occurs for underflowed
14588 * math/s_catanhl.c: Include <float.h>.
14589 (__catanhl): Ensure underflow exception occurs for underflowed
14591 * math/s_catanl.c: Include <float.h>.
14592 (__catanl): Ensure underflow exception occurs for underflowed
14594 * math/libm-test.inc (catan_test): Add more tests.
14595 (catanh_test): Likewise.
14598 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
14599 underflowed result.
14600 * math/s_ccoshf.c (__ccoshf): Likewise.
14601 * math/s_ccoshl.c (__ccoshl): Likewise.
14602 * math/s_csin.c (__csin): Likewise.
14603 * math/s_csinf.c (__csinf): Likewise.
14604 * math/s_csinh.c (__csinh): Likewise.
14605 * math/s_csinhf.c (__csinhf): Likewise.
14606 * math/s_csinhl.c (__csinhl): Likewise.
14607 * math/s_csinl.c (__csinl): Likewise.
14608 * math/libm-test.inc (ccos_test): Add more tests.
14609 (ccosh_test): Likewise.
14610 (csin_test): Likewise.
14611 (csinh_test): Likewise.
14613 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14615 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
14616 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
14617 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
14618 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
14619 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
14620 powerpc/power5+/fpu folders.
14621 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
14624 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
14626 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14628 2013-04-25 Joseph Myers <joseph@codesourcery.com>
14630 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
14631 additions to variable.
14632 [$(config-machine) = x86_64] (modules-names): Likewise.
14633 ($(objpfx)tst-audit3): Remove dependency.
14634 ($(objpfx)tst-audit3.out): Likewise.
14635 ($(objpfx)tst-audit4): Likewise.
14636 ($(objpfx)tst-audit4.out): Likewise.
14637 ($(objpfx)tst-audit5): Likewise.
14638 ($(objpfx)tst-audit5.out): Likewise.
14639 ($(objpfx)tst-audit6): Likewise.
14640 ($(objpfx)tst-audit6.out): Likewise.
14641 ($(objpfx)tst-audit7): Likewise.
14642 ($(objpfx)tst-audit7.out): Likewise.
14643 (tst-audit3-ENV): Remove variable.
14644 (tst-audit4-ENV): Likewise.
14645 (tst-audit5-ENV): Likewise.
14646 (tst-audit6-ENV): Likewise.
14647 (tst-audit7-ENV): Likewise.
14648 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
14649 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
14650 addition to variable.
14651 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
14652 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
14653 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
14654 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
14655 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
14656 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
14657 tst-audit3, tst-audit4 and tst-audit5.
14658 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
14659 tst-audit6 and tst-audit7.
14660 [$(subdir) = elf] (modules-names): Add audit modules for those
14662 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
14663 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
14664 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
14665 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
14666 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
14667 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
14668 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
14669 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
14670 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
14671 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
14672 [$(subdir) = elf] (tst-audit3-ENV): New variable.
14673 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
14674 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
14675 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
14676 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
14677 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
14679 [$(subdir) = elf && $(config-cflags-avx) = yes]
14680 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
14681 [$(subdir) = elf && $(config-cflags-avx) = yes]
14682 (CFLAGS-tst-auditmod4a.c): Likewise.
14683 [$(subdir) = elf && $(config-cflags-avx) = yes]
14684 (CFLAGS-tst-auditmod4b.c): Likewise.
14685 [$(subdir) = elf && $(config-cflags-avx) = yes]
14686 (CFLAGS-tst-auditmod6b.c): Likewise.
14687 [$(subdir) = elf && $(config-cflags-avx) = yes]
14688 (CFLAGS-tst-auditmod6c.c): Likewise.
14689 [$(subdir) = elf && $(config-cflags-avx) = yes]
14690 (CFLAGS-tst-auditmod7b.c): Likewise.
14691 * elf/tst-audit3.c: Move to ...
14692 * sysdeps/x86_64/tst-audit3.c: ... here.
14693 * elf/tst-audit4.c: Move to ...
14694 * sysdeps/x86_64/tst-audit4.c: ... here.
14695 * elf/tst-audit5.c: Move to ...
14696 * sysdeps/x86_64/tst-audit5.c: ... here.
14697 * elf/tst-audit6.c: Move to ...
14698 * sysdeps/x86_64/tst-audit6.c: ... here.
14699 * elf/tst-audit7.c: Move to ...
14700 * sysdeps/x86_64/tst-audit7.c: ... here.
14701 * elf/tst-auditmod3a.c: Move to ...
14702 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
14703 * elf/tst-auditmod3b.c: Move to ...
14704 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
14705 * elf/tst-auditmod4a.c: Move to ...
14706 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
14707 * elf/tst-auditmod4b.c: Move to ...
14708 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
14709 * elf/tst-auditmod5a.c: Move to ...
14710 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
14711 * elf/tst-auditmod5b.c: Move to ...
14712 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
14713 * elf/tst-auditmod6a.c: Move to ...
14714 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
14715 * elf/tst-auditmod6b.c: Move to ...
14716 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
14717 * elf/tst-auditmod6c.c: Move to ...
14718 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
14719 * elf/tst-auditmod7a.c: Move to ...
14720 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
14721 * elf/tst-auditmod7b.c: Move to ...
14722 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
14724 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
14727 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
14728 define unconditionally.
14729 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
14730 define unconditionally.
14731 (INT8_C, INT16_C, etc.): Likewise.
14733 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
14735 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
14736 __ehdr_start with hidden visibility.
14738 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
14740 2013-04-24 Carlos O'Donell <carlos@redhat.com>
14742 * math/libm-test.inc (cos_test): Use accurate hex constants.
14743 (sincost_test): Likewise.
14745 2013-04-24 Joseph Myers <joseph@codesourcery.com>
14747 * math/libm-test.inc (catan_test): Add more tests.
14748 (catanh_test): Likewise.
14750 * math/s_catanf.c (__catanf): Use suffixed floating-point
14752 * math/s_catanhf.c (__catanhf): Likewise.
14753 * math/s_catanhl.c (__catanhl): Likewise.
14754 * math/s_catanl.c (__catanl): Likewise.
14757 * math/s_catan.c (__catan): Calculate imaginary part of result
14758 with log1p not log unless computing log of number close to 0.
14759 * math/s_catanf.c (__catanf): Likewise.
14760 * math/s_catanl.c (__catanl): Likewise.
14761 * math/s_catanh.c (__catanh): Calculate real part of result with
14762 log1p not log unless computing log of number close to 0.
14763 * math/s_catanhf.c (__catanhf): Likewise.
14764 * math/s_catanhl.c (__catanhl): Likewise.
14765 * math/libm-test.inc (catan_test): Add more tests.
14766 (catanh_test): Likewise.
14767 * sysdeps/i386/fpu/libm-test-ulps: Update.
14768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14770 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14772 * benchtests/Makefile: Mention files in which fast and slow
14773 paths of math functions are implemented.
14775 2013-04-23 Roland McGrath <roland@hack.frob.com>
14777 * sysdeps/posix/timespec_get.c: New file.
14779 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14781 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
14783 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
14785 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
14786 powerpc/power5/fpu folders.
14787 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
14788 * benchtests/Makefile: Add modf testcase.
14789 * benchtests/bench-modf.c: New file: Benchmark test for mo
14791 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14794 * time/Makefile (tests): Add tst-strptime-whitespace.
14795 * time/strptime_l.c (get_number): Use ISSPACE.
14796 (__strptime_internal): Likewise.
14797 * time/tst-strptime-whitespace.c: New test case.
14799 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
14801 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
14803 (_nss_files_init): Set it here.
14805 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
14807 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
14808 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
14811 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
14813 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
14815 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14817 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
14820 2013-04-21 David S. Miller <davem@davemloft.net>
14822 * po/ru.po: Update Russion translation from translation project.
14824 2013-04-17 Adam Conrad <adconrad@0c3.net>
14826 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
14829 2013-04-17 Carlos O'Donell <carlos@redhat.com>
14831 * configure.in: Remove i386 configure warning. Remove i386 case.
14832 * configure: Regenerate.
14833 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
14834 Add example to error message.
14835 * sysdeps/i386/configure: Regenerate.
14837 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14839 * benchtests/Makefile (bench): Add cos, tan, slowcos and
14841 * benchtests/cos-inputs: New file.
14842 * benchtests/slowcos-inputs: New file.
14843 * benchtests/slowcos.c: New file.
14844 * benchtests/slowtan-inputs: New file.
14845 * benchtests/slowtan.c: New file.
14846 * benchtests/tan-inputs: New file.
14848 2013-04-16 Roland McGrath <roland@hack.frob.com>
14850 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
14853 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14855 * benchtests/Makefile: Include cppflags-iterator.mk to add
14856 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
14858 * Makefile.in (bench-clean): New target.
14859 * benchtests/Makefile (bench-clean): Likewise.
14861 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
14863 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
14865 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
14867 * stdio-common/tstdiomisc.c: Fix coding-style violation.
14869 2013-04-15 Andreas Schwab <schwab@suse.de>
14871 * nscd/grpcache.c (cache_addgr): Properly check for short write.
14872 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14873 * nscd/pwdcache.c (cache_addpw): Likewise.
14874 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
14877 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14879 * benchtests/Makefile (bench): Write all output to
14880 bench-out.tmp together.
14882 2013-04-15 Andreas Schwab <schwab@suse.de>
14884 * nscd/nscd.c (main): Don't fork again after closing files.
14886 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14888 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
14890 * benchtests/Rules (bench-deps): Collect dependencies into a
14891 single variable. Add Makefile to dependencies.
14892 ($(objpfx)bench-%.c): Depend on bench-deps.
14894 2013-04-12 Roland McGrath <roland@hack.frob.com>
14895 Xavier Roche <roche+kml2@exalead.com>
14898 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
14899 just that it's a file descriptor.
14900 * manual/llio.texi (Synchronizing AIO Operations): Update description
14901 for EBADF error from aio_fsync.
14903 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14905 * Rules (bench): Move target definition...
14906 * benchtests/Makefile: ... here.
14908 2013-04-11 Carlos O'Donell <carlos@redhat.com>
14910 * math/libm-test.inc (cos_test): Fix PI/2 test.
14911 (sincos_test): Likewise.
14912 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
14913 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
14915 2013-04-11 Andreas Schwab <schwab@suse.de>
14918 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
14919 accept exponent character only when digits were seen.
14920 * stdio-common/Makefile (tests): Add bug26.
14921 * stdio-common/bug26.c: New file.
14924 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
14927 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14929 * Makeconfig (rtld-prefix): Define built linker prefix.
14930 * Rules (run-bench): Use it.
14931 * math/Makefile (run-regen-ulps): Likewise.
14933 * Rules (bench): Remove eval.
14935 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14936 Roland McGrath <roland@hack.frob.com>
14937 Ondrej Bilka <neleai@seznam.cz>
14940 * time/getdate.c: Include ctype.h and alloca.h.
14941 (__getdate_r): Trim leading and trailing spaces of input.
14942 * time/tst-getdate.c (tests): Add tests with leading and
14945 2013-04-08 Roland McGrath <roland@hack.frob.com>
14948 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
14949 when computing value.
14951 2013-04-06 Carlos O'Donell <carlos@redhat.com>
14953 * math/README.libm-test (How can I generate "libm-test-ulps"?):
14954 Use testrun.sh to run libm tests.
14957 * elf/dl-open.c (dl_open_worker): memset all of seen array.
14959 2013-04-06 Marko Myllynen <myllynen@redhat.com>
14962 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
14964 2013-04-06 Carlos O'Donell <carlos@redhat.com>
14966 * Makefile.in (regen-ulps): New target.
14967 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
14968 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
14969 [ifneq (no,$(PERL)] (regen-ulps): New target.
14970 [ifeq (no,$(PERL)] (regen-ulps): New target.
14971 * math/libm-test.inc (ulps_file_name): Define.
14972 (output_dir): New variable.
14973 (options): Add "output-dir" option.
14974 (parse_opt): Handle 'o' case.
14975 (main): If output_dir is non-NULL use it as a prefix
14977 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
14979 2013-04-06 Carlos O'Donell <carlos@redhat.com>
14981 [BZ #10060, #10062]
14982 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
14983 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
14984 fail configure if __sync_val_compare_and_swap is not inlined.
14985 * sysdeps/i386/configure: Regenerate.
14986 * configure.in: Build for i686 when configured for i386.
14987 * configure: Regenerate.
14988 * README: Remove i386 reference.
14990 2013-04-06 Carlos O'Donell <carlos@redhat.com>
14992 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
14993 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14995 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
14997 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
14998 (lmsnanval): New variables.
14999 (F): Add conversion tests.
15000 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
15001 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
15003 * stdio-common/tstdiomisc.c (F): Properly collect individual
15006 [BZ #14686, #15336]
15007 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
15008 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15009 Instead, use input NaN values or generate a qNaN by arithmetic
15010 operation. Also fix bugs to comply with the standard.
15011 * math/libm-test.inc (remainder_test): Add more tests.
15013 [BZ #15335, #15342]
15014 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
15015 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
15016 input NaN values or generate a qNaN by arithmetic operation.
15018 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
15021 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
15024 2013-04-03 Joseph Myers <joseph@codesourcery.com>
15027 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
15028 underflowed result.
15029 * math/s_cexpf.c (__cexpf): Likewise.
15030 * math/s_cexpl.c (__cexpl): Likewise.
15031 * math/libm-test.inc (cexp_test): Add more tests.
15033 2013-04-03 Andreas Schwab <schwab@suse.de>
15036 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
15037 order arrays from heap if bigger than alloca cutoff.
15039 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
15041 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
15042 (SNAN_TESTS_double): Refer to GCC PR56831.
15043 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
15046 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15048 * Rules (bench): Move bench.out after the run is complete.
15050 * Rules (bench): Echo currently running benchmark.
15052 * benchtests/Makefile (bench): Add atan and slowatan.
15053 * benchtests/atan-inputs: New file.
15054 * benchtests/slowatan-inputs: New file.
15055 * benchtests/slowatan.c: New file.
15057 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
15058 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
15062 * sysdeps/unix/sysv/linux/kernel-features.h
15063 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
15064 __ASSUME_XFS_RESTRICTED_CHOWN.
15065 * sysdeps/unix/sysv/linux/pathconf.c
15066 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15067 Save and restore errno.
15069 2013-04-02 Joseph Myers <joseph@codesourcery.com>
15072 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
15073 arguments using __kernel_casinh.
15074 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
15075 arguments using __kernel_casinhf.
15076 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
15077 arguments using __kernel_casinhl.
15078 * math/libm-test.inc (cacosh_test): Add more tests.
15079 * sysdeps/i386/fpu/libm-test-ulps: Update.
15080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15082 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15084 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
15085 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
15087 * bench/Makefile (bench): Add sin and slowsin.
15088 * benchtests/sin-inputs: New file.
15089 * benchtests/slowsin-inputs: New file.
15090 * benchtests/slowsin.c: New file.
15092 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
15093 (bench): Add slowexp and slowpow.
15094 (exp-ITER): Increase iterations.
15095 (pow-ITER): Likewise.
15096 * benchtests/exp-inputs: Change input.
15097 * benchtests/pow-inputs: Likewise.
15098 * benchtests/slowexp-inputs: New file.
15099 * benchtests/slowexp.c: New file.
15100 * benchtests/slowpow-inputs: New file.
15101 * benchtests/slowpow.c: New file.
15103 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15105 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
15107 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15108 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
15109 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15110 * benchtests/Makefile: Add rint benchtest.
15111 * benchtests/rint-inputs: Input for rint benchtest.
15113 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
15115 * Versions.def (libm): Add GLIBC_2.18.
15116 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
15117 hidden libm prototypes.
15118 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
15119 * math/Makefile (libm-calls): Add s_issignaling.
15120 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
15121 __issignalingf, __issignalingl. Adjust all libm.abilist files.
15122 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
15124 * math/math.h [__USE_GNU] (issignaling): New macro.
15125 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
15126 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
15127 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
15128 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
15129 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
15130 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
15131 * manual/arith.texi (issignaling): New section.
15132 * manual/libm-err-tab.pl (@all_functions): Update comment.
15133 * math/gen-libm-test.pl (parse_args): Apply special handling for
15135 * math/libm-test.inc (print_float, issignaling_test): New
15137 (check_float_internal): Add issignaling checks.
15138 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
15139 default definition.
15140 * sysdeps/powerpc/math-tests.h: New file.
15141 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
15143 * math/test-snan.c (TEST_FUNC): Likewise.
15145 2013-03-30 David S. Miller <davem@davemloft.net>
15147 * po/de.po: Update from translation team.
15149 2013-03-30 Joseph Myers <joseph@codesourcery.com>
15152 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15153 imaginary part less than 1.0 and real part less than 0.5
15155 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15156 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15157 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
15158 (cacos_test): Add more tests.
15159 (casin_test): Likewise.
15160 (casinh_test): Likewise.
15161 * sysdeps/i386/fpu/libm-test-ulps: Update.
15162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15164 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15166 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
15167 ONE with its value.
15169 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
15170 (__pow_mp): Replace ONE and MONE with their values.
15171 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15172 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
15173 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15174 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
15175 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15176 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15178 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
15180 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
15181 (__pow_mp): Replace ZERO and MZERO with their values.
15182 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15183 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15184 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15185 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15186 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15187 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
15190 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
15192 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
15194 2013-03-28 Roland McGrath <roland@hack.frob.com>
15196 * include/stdlib.h [!SHARED] (__call_tls_dtors):
15197 Declare with __attribute__ ((weak)).
15198 * stdlib/exit.c (__libc_atexit) [!SHARED]:
15199 Call __call_tls_dtors only if it's not NULL.
15201 2013-03-28 Roland McGrath <roland@hack.frob.com>
15203 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
15204 didn't do it already, then set _dl_phdr and _dl_phnum based on the
15205 magic __ehdr_start linker symbol if it's defined.
15206 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
15207 them up here if it was already done.
15209 * elf/dl-support.c (_dl_phdr): Make pointer to const.
15210 (_dl_aux_init): Use const in cast when setting it.
15211 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
15212 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
15213 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
15215 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
15217 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
15218 * csu/libc-tls.c: Nor here.
15219 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
15221 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
15222 (__libc_message): Never call vsyslog.
15224 2013-03-28 Alan Modra <amodra@gmail.com>
15226 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
15228 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
15231 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15234 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
15236 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15238 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15241 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15242 Don't add gid passed as argument.
15244 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
15246 2013-03-27 Joseph Myers <joseph@codesourcery.com>
15249 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15250 imaginary part between 1.0 and 1.5 and real part less than 0.5
15252 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15253 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15254 * math/libm-test.inc (cacos_test): Add more tests.
15255 (casin_test): Likewise.
15256 (casinh_test): Likewise.
15257 * sysdeps/i386/fpu/libm-test-ulps: Update.
15258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15260 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15262 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
15265 (denorm): Likewise.
15266 (__dbl_mp): Likewise.
15267 (add_magnitudes): Likewise.
15268 (sub_magnitudes): Likewise.
15276 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
15278 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
15279 (__dubcos): Likewise.
15280 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
15281 (__ieee754_acos): Likewise.
15282 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15283 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
15284 (__exp1): Likewise.
15285 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15286 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15288 (my_log2): Likewise.
15289 (checkint): Likewise.
15290 * sysdeps/ieee754/dbl-64/e_remainder.c
15291 (__ieee754_remainder): Likewise.
15292 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15293 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
15294 (bsloww): Likewise.
15295 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15297 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15298 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
15299 MANTISSA_STORE_T to store computations on mantissa. Use
15300 macros for rounding and division.
15301 (denorm): Likewise.
15302 (__dbl_mp): Likewise.
15303 (add_magnitudes): Likewise.
15304 (sub_magnitudes): Likewise.
15307 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
15308 powers of two in terms of TWOPOW macro.
15309 (mp_no): Make type of mantissa as MANTISSA_T.
15310 [!RADIXI]: Define RADIXI.
15311 [!TWO52]: Define TWO52.
15312 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15314 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15316 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
15317 llroundl symbol when building for PPC32.
15319 2013-03-24 Mark H Weaver <mhw@netris.org>
15321 * manual/arith.texi (Normalization Functions): Fix prototypes for
15322 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
15324 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15327 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
15328 high value to check if expl overflow.
15329 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
15330 to check for underflow and overflow.
15331 * math/libm-test.inc: Add exp test.
15333 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
15336 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
15339 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15341 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
15344 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
15346 * math/gen-libm-test.pl (parse_args, special_functions): Properly
15347 wrap blocks consisting of several statements.
15349 * sysdeps/generic/math-tests.h: New file.
15350 * sysdeps/i386/fpu/math-tests.h: Likewise.
15351 * math/test-snan.c: Include it.
15352 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
15354 2013-03-21 Joseph Myers <joseph@codesourcery.com>
15357 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
15358 (__ieee754_j0l): Do not improve calculations using cos of twice
15359 input for inputs above LDBL_MAX / 2.0L.
15360 (__ieee754_y0l): Likewise.
15361 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
15362 (__ieee754_j1l): Do not improve calculations using cos of twice
15363 input for inputs above LDBL_MAX / 2.0L.
15364 (__ieee754_y1l): Likewise.
15365 * math/libm-test.inc (j0_test): Add another test.
15366 (j1_test): Likewise.
15367 (y0_test): Likewise.
15368 (y1_test): Likewise.
15369 * sysdeps/i386/fpu/libm-test-ulps: Update.
15371 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15373 * Rules ($(objpfx)bench-%.c): Include code from a C source
15376 2013-03-21 Joseph Myers <joseph@codesourcery.com>
15379 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15380 imaginary part 1.0 and real part less than 0.5 specially.
15381 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15382 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15383 * math/libm-test.inc (cacos_test): Add more tests.
15384 (casin_test): Likewise.
15385 (casinh_test): Likewise.
15386 * sysdeps/i386/fpu/libm-test-ulps: Update.
15387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15389 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15391 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
15392 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
15394 2013-03-20 Joseph Myers <joseph@codesourcery.com>
15396 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
15397 * config.make.in (config-cflags-sse4): Remove variable.
15398 (config-cflags-avx): Likewise.
15399 (config-cflags-sse2avx): Likewise.
15400 (config-cflags-novzeroupper): Likewise.
15401 (config-asflags-i686): Likewise.
15402 (have-mfma4): Likewise.
15403 (have-as-vis3): Likewise.
15405 * configure.in (MIG): Do not AC_SUBST.
15406 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
15407 (libc_cv_cc_sse4): Do not AC_SUBST.
15408 (libc_cv_cc_avx): Likewise.
15409 (libc_cv_cc_sse2avx): Likewise.
15410 (libc_cv_cc_novzeroupper): Likewise.
15411 (libc_cv_cc_fma4): Likewise.
15412 (libc_cv_as_i686): Likewise.
15413 (libc_cv_sparc_as_vis3): Likewise.
15414 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
15416 (config-asflags-i686): Likewise.
15417 (config-cflags-avx): Likewise.
15418 (config-cflags-sse2avx): Likewise.
15419 (have-mfma4): Likewise.
15420 (config-cflags-novzeroupper): Likewise.
15421 * sysdeps/mach/configure.in (MIG): Likewise.
15422 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
15423 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
15425 (config-cflags-avx): Likewise.
15426 (config-cflags-sse2avx): Likewise.
15427 (have-mfma4): Likewise.
15428 (config-cflags-novzeroupper): Likewise.
15429 * configure: Regenerated.
15430 * sysdeps/i386/configure: Likewise.
15431 * sysdeps/mach/configure: Likewise.
15432 * sysdeps/sparc/configure: Likewise.
15433 * sysdeps/x86_64/configure: Likewise.
15435 2013-03-20 Roland McGrath <roland@hack.frob.com>
15438 * locale/programs/localedef.c (options): Put N_ translation marker
15439 on argument names, not just descriptions.
15441 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15443 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
15445 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
15448 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
15450 2013-03-19 Roland McGrath <roland@hack.frob.com>
15452 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
15453 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
15454 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
15455 [!BEFORE_ABORT] (before_abort): New function.
15456 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
15457 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
15458 (writev_for_fatal): New function.
15459 (WRITEV_FOR_FATAL): New macro; call that.
15460 (backtrace_and_maps): New function.
15461 (BEFORE_ABORT): New macro; call that.
15462 (struct str_list): Type removed.
15463 (__libc_message, __libc_fatal): Functions removed.
15464 Include <sysdeps/posix/libc_fatal.c> instead.
15466 2013-03-19 Joseph Myers <joseph@codesourcery.com>
15468 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
15470 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
15473 2013-03-19 Andreas Schwab <schwab@suse.de>
15475 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
15476 * sysdeps/gnu/configure: Regenerate.
15478 * configure.in: Substitute libc_cv_rtlddir.
15479 * configure: Regenerate.
15480 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
15481 * Makeconfig (rtlddir, inst_rtlddir): New variables.
15482 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
15483 * elf/Makefile (install-others, CFLAGS-interp.c)
15484 (ldso_install, common-ldd-rewrite): Likewise.
15485 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
15486 $(inst_slibdir)/$(rtld-installed-name).
15487 * scripts/rellns-sh: Add -p option.
15488 * Makerules (make-shlib-link): Use rellns-sh to get relative name
15491 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15493 * manual/nptl.texi: Renamed to ...
15494 * manual/threads.texi: ... this.
15495 * manual/Makefile (chapters): Update.
15497 2013-03-18 Roland McGrath <roland@hack.frob.com>
15500 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
15501 on argument names, not just descriptions.
15502 * malloc/memusagestat.c (options): Likewise.
15503 * nss/getent.c (options): Likewise.
15505 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
15508 * iconv/iconv_prog.c (options): Put N_ translation marker
15509 on argument names, not just descriptions.
15510 * iconv/iconvconfig.c (options): Likewise.
15512 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
15514 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
15515 implementation which is faster on all x86_64 architectures.
15516 Tested on AMD, Intel Nehalem, SNB, IVB.
15517 * sysdeps/x86_64/strnlen.S: Likewise.
15519 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15520 Remove all multiarch strlen and strnlen versions.
15521 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
15522 Remove strlen and strnlen related parts.
15524 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
15525 Inline strlen part.
15526 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
15528 * sysdeps/x86_64/multiarch/strlen.S: Remove.
15529 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
15530 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
15531 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
15532 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
15533 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
15535 2013-03-17 Carlos O'Donell <carlos@redhat.com>
15537 * manual/memory.texi (Malloc Tunable Parameters):
15538 Sort parameters alphabetically. Add comments for missing entries.
15540 2013-03-17 David S. Miller <davem@davemloft.net>
15542 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15544 2013-03-16 Joseph Myers <joseph@codesourcery.com>
15547 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
15548 for arguments at most half maximum finite value.
15549 * math/libm-test.inc (j0_test): Add more tests.
15550 (j1_test): Likewise.
15551 (y0_test): Likewise.
15552 (y1_test): Likewise.
15553 * sysdeps/i386/fpu/libm-test-ulps: Update.
15554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15557 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
15558 1 / x and functions P and Q for arguments above 0x1p256L.
15559 (__ieee754_y0l): Likewise.
15560 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
15561 (__ieee754_y1l): Likewise.
15562 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
15563 (j1_test): Likewise.
15564 (y0_test): Likewise.
15565 (y1_test): Likewise.
15567 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
15569 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
15572 2013-03-15 Roland McGrath <roland@hack.frob.com>
15574 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
15575 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
15576 zero since it's initialized to EXEC_PAGESIZE.
15578 * sysdeps/unix/sysv/linux/ldsodefs.h
15579 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
15580 * sysdeps/generic/ldsodefs.h: ... here.
15582 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
15584 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
15586 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
15588 * math/test-snan.c: Renamed from
15589 sysdeps/powerpc/fpu/test-powerpc-snan.c.
15590 * math/Makefile (tests): Add test-snan.
15591 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
15594 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
15595 SUFFIX. Initialize qNaN_var with __builtin_nan family of
15597 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
15598 __builtin_nan family of functions.
15599 * math/libm-test.inc (initialize): Initialize qnan_value with
15600 __builtin_nan family of functions.
15601 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
15603 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
15605 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
15606 storage class. Initialize qNaN_var and sNaN_var with
15607 __builtin_nan and __builtin_nans families of functions,
15610 * math/libm-test.inc (acosh_test): Also test with qNaN input.
15611 (sqrt_test): Remove duplicate test with qNaN input.
15612 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
15613 (round_test, signbit_test, significand_test): Note missing +/-Inf
15614 as well as qNaN tests.
15616 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
15617 qNaN_var. Fix a few strings, too.
15618 * math/libm-test.inc (nan_value): Rename to qnan_value.
15619 * math/gen-libm-test.pl (%beautify): Adjust to that.
15620 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
15621 * math/test-misc.c (main): Likewise.
15622 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
15623 to __qnan_bytes, and __qnan_union, respectively.
15624 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
15626 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
15627 and lqnanval, respectively.
15628 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
15629 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
15630 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
15631 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
15633 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
15634 * math/test-misc.c (main) [__x86_64__]: Enable test for long
15637 * math/test-misc.c (main): Fix copy'n'pastos.
15638 * misc/tst-efgcvt.c (special): Likewise.
15640 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
15641 Remove declarations.
15643 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15645 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
15646 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
15647 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
15648 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
15650 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15652 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
15653 macro to return vdso values correctly in IFUNC implementations.
15654 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15655 Optimization by using IFUNC.
15657 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15658 Richard Henderson <rth@redhat.com>
15659 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15661 * Makefile.in (bench): New target.
15662 * NEWS: Mention the benchmark framework.
15663 * Rules (bench): Likewise.
15664 (binaries-bench): Generate binaries for functions to
15666 * benchtests/Makefile: New makefile for benchmark tests.
15667 * benchtests/bench-skeleton.c: New skeleton file for benchmark
15669 * benchtests/exp-inputs: New input file for EXP function.
15670 * benchtests/pow-inputs: New input file for POW function.
15671 * scripts/bench.pl: New script to generate source files for
15672 benchmark programs.
15674 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15676 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15677 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
15678 computations on mantissa. Use macros for rounding and
15680 (denorm): Likewise.
15681 (__dbl_mp): Likewise.
15682 (add_magnitudes): Likewise.
15683 (sub_magnitudes): Likewise.
15686 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
15687 powers of two in terms of TWOPOW macro.
15688 (mp_no): Make type of mantissa as MANTISSA_T.
15689 [!RADIXI]: Define RADIXI.
15690 [!TWO52]: Define TWO52.
15691 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15693 * manual/nptl.texi (cindex): Modify threads to pthreads.
15695 2013-03-15 Joseph Myers <joseph@codesourcery.com>
15697 * sysdeps/x86_64/preconfigure: Regenerated.
15699 2013-03-14 Joseph Myers <joseph@codesourcery.com>
15702 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
15704 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
15705 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
15707 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
15708 * math/libm-test.inc (j0_test): Do not allow one spurious
15709 underflow exception.
15710 (y1_test): Likewise.
15712 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15714 * manual/Makefile (chapters): Add nptl.
15715 * manual/debug.texi (Debugging Support): Add link to Threads
15717 * manual/nptl.texi: New file.
15719 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
15721 2013-03-14 Petr Baudis <pasky@ucw.cz>
15723 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
15724 for non-NULL pointer before the memory validity test. Pointed
15725 out by Holger Brunck <holger.brunck@keymile.com>.
15727 2013-03-13 Andreas Schwab <schwab@suse.de>
15729 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
15732 2013-03-13 Joseph Myers <joseph@codesourcery.com>
15734 * timezone/zic.c: Update from tzcode 2013b.
15736 2013-03-12 Carlos O'Donell <carlos@redhat.com>
15738 * manual/install.texi (Configuring and compiling):
15739 Mention i686 and i586.
15740 * INSTALL: Regenerate.
15742 2013-03-12 Roland McGrath <roland@hack.frob.com>
15744 * sysdeps/init_array/elf-init.c: New file.
15746 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
15747 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
15749 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
15750 __gmon_start__ as global, but as static with a .preinit_array pointer.
15751 * sysdeps/init_array/gmon-start.c: New file. Use that.
15752 * sysdeps/init_array/crti.S: New file, empty except for comments.
15753 * sysdeps/init_array/crtn.S: Likewise.
15755 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
15757 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
15759 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15760 Remove Prefer_SSE_for_memop.
15761 * sysdeps/x86_64/multiarch/init-arch.h: Remove
15762 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
15763 HAS_PREFER_SSE_FOR_MEMOP.
15764 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
15766 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15767 Remove bzero, memset ifunc support.
15768 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
15769 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
15770 * sysdeps/x86_64/multiarch/memset.S: Likewise.
15771 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15773 2013-03-11 Andreas Schwab <schwab@suse.de>
15776 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
15778 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
15779 (GLIBC_2.16): Remove pthread_atfork.
15781 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
15783 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
15784 (ptestcases.h): Likewise.
15786 2013-03-08 Roland McGrath <roland@hack.frob.com>
15788 * Makeconfig ($(common-objpfx)config.status): Depend on
15789 sysdeps/*/preconfigure{,.in} too.
15791 2013-03-08 Joseph Myers <joseph@codesourcery.com>
15793 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
15794 (__free_hook): Use void * instead of __malloc_ptr_t.
15795 (__malloc_hook): Likewise.
15796 (__realloc_hook): Likewise.
15797 (__memalign_hook): Likewise.
15798 (__after_morecore_hook): Likewise.
15799 * malloc/arena.c (save_malloc_hook): Likewise.
15800 (save_free_hook): Likewise.
15801 * malloc/hooks.c (malloc_hook_ini): Likewise.
15802 (realloc_hook_ini): Likewise.
15803 (memalign_hook_ini): Likewise.
15804 * malloc/malloc.c (malloc_hook_ini): Likewise.
15805 (realloc_hook_ini): Likewise.
15806 (memalign_hook_ini): Likewise.
15807 (__free_hook): Likewise.
15808 (__malloc_hook): Likewise.
15809 (__realloc_hook): Likewise.
15810 (__memalign_hook): Likewise.
15811 (__libc_malloc): Likewise.
15812 (__libc_free): Likewise.
15813 (__libc_realloc): Likewise.
15814 (__libc_memalign): Likewise.
15815 (__libc_valloc): Likewise.
15816 (__libc_pvalloc): Likewise.
15817 (__libc_calloc): Likewise.
15818 (__posix_memalign): Likewise.
15819 * malloc/morecore.c (__sbrk): Likewise.
15820 (__default_morecore): Likewise.
15822 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
15824 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
15825 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
15826 __malloc_ptrdiff_t.
15828 * malloc/malloc.h (__malloc_size_t): Remove macro.
15829 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
15831 (old_memalign_hook): Likewise.
15832 (old_realloc_hook): Likewise.
15833 (struct hdr): Likewise.
15835 (mallochook): Likewise.
15836 (memalignhook): Likewise.
15837 (reallochook): Likewise.
15838 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
15839 (tr_old_realloc_hook): Likewise.
15840 (tr_old_memalign_hook): Likewise.
15841 (tr_mallochook): Likewise.
15842 (tr_reallochook): Likewise.
15843 (tr_memalignhook): Likewise.
15845 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15847 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
15848 default_ldbl_pack and using as default implementation.
15849 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
15851 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
15852 redundant definition.
15853 (ldbl_insert_mantissa): Likewise.
15854 (ldbl_canonicalize): Likewise.
15855 (ldbl_nearbyint): Likewise.
15856 (ldbl_pack): Rename to ldbl_pack_ppc.
15857 (ldbl_unpack): Rename to ldbl_unpack_ppc.
15858 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
15859 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
15861 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15863 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
15864 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
15865 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
15866 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
15867 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
15868 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
15869 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
15870 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
15872 2013-03-07 Andreas Jaeger <aj@suse.de>
15874 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15877 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15879 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
15880 Include mpa.h and declare __MPEXP.
15881 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
15882 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
15883 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
15884 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
15885 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15886 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
15887 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
15889 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
15890 (__slowpow): Use long double EXPL and LOGL functions to
15892 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
15893 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
15894 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
15895 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15896 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
15897 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
15899 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
15900 intermediate variable to calculate exponent.
15902 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
15906 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
15907 [!NO__SQR]: Define __sqr.
15908 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
15909 and NO__SQR. Remove all code except __mul and __sqr. Include
15910 sysdeps/ieee754/dbl-64/mpa.c.
15911 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15914 * posix/Makefile (tests): Add tst-pathconf.
15915 * posix/tst-pathconf.c: New test case.
15916 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
15918 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
15920 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
15922 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
15924 2013-03-06 Andreas Jaeger <aj@suse.de>
15926 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
15927 definition via __MAP_ANONYMOUS.
15929 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
15930 it's not part of Linux headers.
15932 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
15933 (MAP_HUGE_MASK): Define.
15935 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15937 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15938 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15940 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15941 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15943 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15944 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
15946 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15948 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
15949 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
15950 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
15951 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
15952 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
15953 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
15955 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15958 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15959 Handle f2fs and efivarfs.
15961 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
15964 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
15965 (EFIVARFS_MAGIC): Add.
15966 (F2FS_LINK_MAX): Add.
15968 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15970 * stdio-common/vfprintf.c: Replace __builtin_expect with
15973 2013-03-06 Joseph Myers <joseph@codesourcery.com>
15976 * sysdeps/generic/bp-sym.h: Remove file.
15977 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
15978 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
15979 <bp-sym.h> and <bp-asm.h>.
15980 (__longjmp): Don't use BP_SYM.
15981 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
15983 (memcpy): Don't use BP_SYM.
15984 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
15985 <bp-sym.h> and <bp-asm.h>.
15986 (memcpy): Don't use BP_SYM.
15987 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
15989 (memcpy): Don't use BP_SYM.
15990 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
15992 (memset): Don't use BP_SYM.
15993 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15994 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15995 (__bzero): Don't use BP_SYM.
15996 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15997 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15998 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
15999 <bp-sym.h> and <bp-asm.h>.
16000 (memcmp): Don't use BP_SYM. Remove comment about bounded
16002 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
16003 <bp-sym.h> and <bp-asm.h>.
16004 (memcpy): Don't use BP_SYM.
16005 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
16006 <bp-sym.h> and <bp-asm.h>.
16007 (memset): Don't use BP_SYM.
16008 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16009 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16010 (__bzero): Don't use BP_SYM.
16011 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16012 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16013 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
16014 <bp-sym.h> and <bp-asm.h>.
16015 (strncmp): Don't use BP_SYM. Remove comment about bounded
16017 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
16018 <bp-sym.h> and <bp-asm.h>.
16019 (memcpy): Don't use BP_SYM.
16020 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
16021 <bp-sym.h> and <bp-asm.h>.
16022 (memset): Don't use BP_SYM.
16023 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16024 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16025 (__bzero): Don't use BP_SYM.
16026 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16027 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16028 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
16029 <bp-sym.h> and <bp-asm.h>.
16030 (__memchr): Don't use BP_SYM.
16031 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
16032 <bp-sym.h> and <bp-asm.h>.
16033 (memcmp): Don't use BP_SYM. Remove comment about bounded
16035 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
16036 <bp-sym.h> and <bp-asm.h>.
16037 (memcpy): Don't use BP_SYM.
16038 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
16039 <bp-sym.h> and <bp-asm.h>.
16040 (__mempcpy): Don't use BP_SYM.
16041 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
16042 <bp-sym.h> and <bp-asm.h>.
16043 (__memrchr): Don't use BP_SYM.
16044 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
16045 <bp-sym.h> and <bp-asm.h>.
16046 (memset): Don't use BP_SYM.
16047 (__bzero): Likewise.
16048 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
16049 <bp-sym.h> and <bp-asm.h>.
16050 (__rawmemchr): Don't use BP_SYM.
16051 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
16052 <bp-sym.h> and <bp-asm.h>.
16053 (__STRCMP): Don't use BP_SYM.
16054 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
16055 <bp-sym.h> and <bp-asm.h>.
16056 (strchr): Don't use BP_SYM.
16057 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
16058 <bp-sym.h> and <bp-asm.h>.
16059 (__strchrnul): Don't use BP_SYM.
16060 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
16061 <bp-sym.h> and <bp-asm.h>.
16062 (strlen): Don't use BP_SYM.
16063 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
16064 <bp-sym.h> and <bp-asm.h>.
16065 (strncmp): Don't use BP_SYM. Remove comment about bounded
16067 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
16068 <bp-sym.h> and <bp-asm.h>.
16069 (__strnlen): Don't use BP_SYM.
16070 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
16071 <bp-sym.h> and <bp-asm.h>.
16072 (__GI__setjmp): Don't use BP_SYM.
16073 (_setjmp): Likewise.
16074 (__sigsetjmp): Likewise.
16075 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
16076 (L(start_addresses)): Don't use BP_SYM.
16077 (_start): Likewise.
16078 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
16080 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
16081 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
16082 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16083 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16084 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
16086 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
16087 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
16088 about bounded pointers.
16089 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16090 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16091 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
16093 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16094 about bounded pointers. Remove GKM FIXME comments.
16095 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16096 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
16098 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
16099 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
16100 Remove GKM FIXME comments.
16101 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16102 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16103 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
16105 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16106 about bounded pointers. Remove GKM FIXME comment.
16107 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
16109 (strncmp): Don't use BP_SYM. Remove comment about bounded
16111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
16112 <bp-sym.h> and <bp-asm.h>.
16113 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
16115 <bp-sym.h> and <bp-asm.h>.
16116 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16119 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16121 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
16124 2013-03-05 David S. Miller <davem@davemloft.net>
16126 * po/es.po: Update from translation team.
16128 2013-03-05 Andreas Jaeger <aj@suse.de>
16130 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
16131 <bits/mman-linux.h>.
16132 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16134 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
16135 <bits/mman-linux.h> to end of file.
16136 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16138 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
16139 <bits/mman-linux.h> to end of file.
16140 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16142 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
16143 <bits/mman-linux.h> to end of file.
16145 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
16146 (MCL_CURRENT, MCL_FUTURE): Define here.
16148 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16151 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
16153 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16155 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16157 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
16158 fourth parameter needed for rt_sigprocmask syscall.
16159 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16160 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16161 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16162 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16163 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16164 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
16166 2013-03-04 Joseph Myers <joseph@codesourcery.com>
16169 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
16170 comment about bounded pointers.
16171 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
16172 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
16174 2013-03-04 Andreas Jaeger <aj@suse.de>
16176 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
16177 common definitions.
16179 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
16180 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
16181 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
16182 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16183 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16184 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16186 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16189 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16190 __ieee754_sqrl instead of __sqrl.
16192 2013-03-01 Joseph Myers <joseph@codesourcery.com>
16194 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
16195 * sysdeps/powerpc/fpu_control.h: ... here.
16196 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
16197 * sysdeps/powerpc/bits/fenvinline.h: ... here.
16198 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
16199 * sysdeps/powerpc/bits/mathinline.h: ... here.
16201 2013-03-01 Roland McGrath <roland@hack.frob.com>
16203 * elf/dl-hwcaps.c (_dl_important_hwcaps):
16204 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
16205 to just [NEED_DL_SYSINFO_DSO].
16206 * elf/dl-support.c: Likewise.
16207 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
16208 * elf/rtld.c (dl_main): Likewise.
16209 * elf/setup-vdso.h (setup_vdso): Likewise.
16210 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
16211 * sysdeps/unix/sysv/linux/dl-sysdep.c
16212 (_dl_discover_osversion): Likewise.
16214 2013-03-01 Carlos O'Donell <carlos@redhat.com>
16216 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
16217 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16219 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16221 * NEWS: Mention libm performance improvements and non-x86 PI
16224 * csu/libc-start.c (__pthread_initialize_minimal): Change
16225 function arguments.
16226 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16228 2013-02-28 Joseph Myers <joseph@codesourcery.com>
16231 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
16232 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
16233 <bp-sym.h> and <bp-asm.h>.
16234 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16235 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
16237 (memcpy): Don't use BP_SYM.
16238 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
16240 (__mpn_add_n): Don't use BP_SYM.
16241 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
16242 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
16244 (__mpn_addmul_1): Don't use BP_SYM.
16245 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16246 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
16248 (_setjmp): Don't use BP_SYM.
16249 (__novmx_setjmp): Likewise.
16250 (__GI__setjmp): Likewise.
16251 (__vmx_setjmp): Likewise.
16252 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
16254 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
16255 (__bzero): Don't use BP_SYM.
16256 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16257 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16258 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
16259 <bp-sym.h> and <bp-asm.h>.
16260 (memcpy): Don't use BP_SYM.
16261 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
16262 <bp-sym.h> and <bp-asm.h>.
16263 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16264 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
16265 <bp-sym.h> and <bp-asm.h>.
16266 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16267 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
16269 (__mpn_lshift): Don't use BP_SYM.
16270 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16271 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
16273 (memset): Don't use BP_SYM.
16274 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16275 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16276 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
16278 (__mpn_mul_1): Don't use BP_SYM.
16279 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16280 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
16281 <bp-sym.h> and <bp-asm.h>.
16282 (memcmp): Don't use BP_SYM.
16283 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
16284 <bp-sym.h> and <bp-asm.h>.
16285 (memcpy): Don't use BP_SYM.
16286 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
16287 <bp-sym.h> and <bp-asm.h>.
16288 (memset): Don't use BP_SYM.
16289 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
16290 <bp-sym.h> and <bp-asm.h>.
16291 (strncmp): Don't use BP_SYM.
16292 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
16293 <bp-sym.h> and <bp-asm.h>.
16294 (memcpy): Don't use BP_SYM.
16295 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
16296 <bp-sym.h> and <bp-asm.h>.
16297 (memset): Don't use BP_SYM.
16298 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
16299 <bp-sym.h> and <bp-asm.h>.
16300 (__memchr): Don't use BP_SYM.
16301 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
16302 <bp-sym.h> and <bp-asm.h>.
16303 (memcmp): Don't use BP_SYM.
16304 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
16305 <bp-sym.h> and <bp-asm.h>.
16306 (memcpy): Don't use BP_SYM.
16307 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
16308 <bp-sym.h> and <bp-asm.h>.
16309 (__mempcpy): Don't use BP_SYM.
16310 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
16311 <bp-sym.h> and <bp-asm.h>.
16312 (__memrchr): Don't use BP_SYM.
16313 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
16314 <bp-sym.h> and <bp-asm.h>.
16315 (memset): Don't use BP_SYM.
16316 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
16317 <bp-sym.h> and <bp-asm.h>.
16318 (__rawmemchr): Don't use BP_SYM.
16319 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
16320 <bp-sym.h> and <bp-asm.h>.
16321 (__STRCMP): Don't use BP_SYM.
16322 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
16323 <bp-sym.h> and <bp-asm.h>.
16324 (strchr): Don't use BP_SYM.
16325 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
16326 <bp-sym.h> and <bp-asm.h>.
16327 (__strchrnul): Don't use BP_SYM.
16328 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
16329 <bp-sym.h> and <bp-asm.h>.
16330 (strlen): Don't use BP_SYM.
16331 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
16332 <bp-sym.h> and <bp-asm.h>.
16333 (strncmp): Don't use BP_SYM.
16334 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
16335 <bp-sym.h> and <bp-asm.h>.
16336 (__strnlen): Don't use BP_SYM.
16337 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
16339 (__mpn_rshift): Don't use BP_SYM.
16340 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16341 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
16342 <bp-sym.h> and <bp-asm.h>.
16343 (__sigsetjmp): Don't use BP_SYM.
16344 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
16345 (L(start_addresses)): Don't use BP_SYM.
16346 (_start): Likewise.
16347 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
16349 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
16350 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16351 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16352 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
16354 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
16355 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16356 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16357 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
16359 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16361 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16362 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
16364 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
16366 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16367 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16368 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
16370 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16372 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
16374 (strncmp): Don't use BP_SYM,
16375 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
16377 (__mpn_sub_n): Don't use BP_SYM.
16378 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16379 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
16381 (__mpn_submul_1): Don't use BP_SYM.
16382 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
16384 <bp-sym.h> and <bp-asm.h>.
16385 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
16387 <bp-sym.h> and <bp-asm.h>.
16388 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16391 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16393 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
16394 Use ZK to minimize writes to Z.
16395 (sub_magnitudes): Simplify code a bit.
16396 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
16397 Use ZK to minimize writes to Z.
16398 (sub_magnitudes): Simplify code a bit.
16400 2013-02-27 Roland McGrath <roland@hack.frob.com>
16402 * csu/gmon-start.c: Add special exception to license text.
16404 2013-02-27 Richard Henderson <rth@redhat.com>
16406 * scripts/config.guess: Update from config.git.
16407 * scripts/config.sub: Likewise.
16409 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16411 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
16413 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
16415 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
16417 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
16419 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
16421 2013-02-26 Roland McGrath <roland@hack.frob.com>
16423 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
16424 [$(build-shared = yes].
16426 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16428 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
16429 (__mul): Reduce iterations for calculating mantissa.
16431 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
16433 (__mpranred): Likewise.
16436 * malloc/memusagestat.c (main): Draw graphs for heap and stack
16437 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
16439 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
16441 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
16442 Define __attribute__.
16444 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16446 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
16448 * posix/regex_internal.h (__attribute): Remove.
16449 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
16450 (re_string_context_at): Likewise.
16451 (bitset_not): Use __attribute__ and mark function as possibly
16453 (bitset_merge): Likewise.
16454 (bitset_mask): Likewise.
16455 (re_string_char_size_at): Likewise.
16456 (re_string_wchar_at): Likewise.
16457 (re_string_elem_size_at): Likewise.
16459 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16461 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
16465 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
16469 (denorm): Likewise.
16470 (__dbl_mp): Likewise.
16471 (add_magnitudes): Likewise.
16472 (sub_magnitudes): Likewise.
16476 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
16479 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
16482 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
16485 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
16486 up changes with default code.
16487 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
16490 2013-02-24 Allan McRae <allan@archlinux.org>
16492 * manual/socket.texi (The Internet Namespace): Order menu items
16493 to match that in the file.
16495 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
16496 node listing of the info page menu.
16498 2013-02-21 Joseph Myers <joseph@codesourcery.com>
16501 * sysdeps/i386/bp-asm.h: Remove file.
16502 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
16503 (PARMS): Do not use macros from bp-asm.h.
16507 (__mpn_add_n): Do not use BP_SYM
16508 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
16510 (PARMS): Do not use macros from bp-asm.h.
16513 (__mpn_addmul_1): Do not use BP_SYM
16514 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
16516 (PARMS): Do not use macros from bp-asm.h.
16517 (SIGMSK): Likewise.
16518 (_setjmp): Likewise. Do not use BP_SYM.
16519 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
16521 (PARMS): Do not use macros from bp-asm.h.
16522 (SIGMSK): Likewise.
16523 (setjmp): Likewise. Do not use BP_SYM.
16524 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
16526 (PARMS): Do not use macros from bp-asm.h.
16527 (__frexp): Do not use BP_SYM.
16529 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
16531 (PARMS): Do not use macros from bp-asm.h.
16532 (__frexpf): Do not use BP_SYM.
16533 (frexpf): Likewise.
16534 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
16536 (PARMS): Do not use macros from bp-asm.h.
16537 (__frexpl): Do not use BP_SYM.
16538 (frexpl): Likewise.
16539 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
16541 (PARMS): Do not use macros from bp-asm.h.
16542 (__remquo): Do not use BP_SYM.
16543 (remquo): Likewise.
16544 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
16546 (PARMS): Do not use macros from bp-asm.h.
16547 (__remquof): Do not use BP_SYM.
16548 (remquof): Likewise.
16549 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
16551 (PARMS): Do not use macros from bp-asm.h.
16552 (__remquol): Do not use BP_SYM.
16553 (remquol): Likewise.
16554 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
16556 (PARMS): Do not use macros from bp-asm.h.
16559 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
16560 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
16562 (PARMS): Do not use macros from bp-asm.h.
16563 (strlen): Do not use BP_SYM.
16564 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
16566 (PARMS): Do not use macros from bp-asm.h.
16570 (__mpn_add_n): Do not use BP_SYM.
16571 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
16573 (PARMS): Do not use macros from bp-asm.h.
16576 (__mpn_addmul_1): Do not use BP_SYM.
16577 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
16580 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
16582 (PARMS): Do not use macros from bp-asm.h.
16585 (__mpn_lshift): Do not use BP_SYM.
16586 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
16588 (PARMS): Do not use macros from bp-asm.h.
16592 (memcpy): Likewise. Do not use BP_SYM.
16593 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
16594 libc_hidden_def and weak_alias.
16595 (mempcpy): Do not use BP_SYM in weak_alias.
16596 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
16598 (PARMS): Do not use macros from bp-asm.h.
16601 [!BZERO_P] (CHR): Likewise.
16602 (memset): Likewise. Do not use BP_SYM.
16603 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
16605 (PARMS): Do not use macros from bp-asm.h.
16608 (__mpn_mul_1): Do not use BP_SYM.
16609 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
16611 (PARMS): Do not use macros from bp-asm.h.
16614 (__mpn_rshift): Do not use BP_SYM.
16615 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
16617 (PARMS): Do not use macros from bp-asm.h.
16620 (strchr): Likewise. Do not use BP_SYM.
16621 (index): Do not use BP_SYM in weak_alias.
16622 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
16624 (PARMS): Do not use macros from bp-asm.h.
16627 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
16628 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
16630 (PARMS): Do not use macros from bp-asm.h.
16631 (strlen): Do not use BP_SYM.
16632 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
16634 (PARMS): Do not use macros from bp-asm.h.
16638 (__mpn_sub_n): Do not use BP_SYM.
16639 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
16641 (PARMS): Do not use macros from bp-asm.h.
16644 (__mpn_submul_1): Do not use BP_SYM.
16645 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
16647 (PARMS): Do not use macros from bp-asm.h.
16651 (__mpn_add_n): Do not use BP_SYM.
16652 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
16655 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
16657 (PARMS): Do not use macros from bp-asm.h.
16660 (memcmp): Do not use BP_SYM.
16661 (bcmp): Do not use BP_SYM in weak_alias.
16662 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
16664 (PARMS): Do not use macros from bp-asm.h.
16668 (memcpy): Likewise. Do not use BP_SYM.
16669 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
16671 (PARMS): Do not use macros from bp-asm.h.
16675 (memmove): Likewise. Do not use BP_SYM.
16676 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
16678 (PARMS): Do not use macros from bp-asm.h.
16682 (__mempcpy): Likewise. Do not use BP_SYM.
16683 (mempcpy): Do not use BP_SYM in weak_alias.
16684 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
16686 (PARMS): Do not use macros from bp-asm.h.
16689 [!BZERO_P] (CHR): Likewise.
16690 (memset): Likewise. Do not use BP_SYM.
16691 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
16693 (PARMS): Do not use macros from bp-asm.h.
16695 (strcmp): Do not use BP_SYM.
16696 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
16698 (PARMS): Do not use macros from bp-asm.h.
16701 [USE_AS_STRTOK_R] (SAVE): Likewise.
16702 (FUNCTION): Likewise. Do not use BP_SYM.
16703 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
16705 (strtok_r): Likewise.
16706 (__GI___strtok_r): Likewise.
16707 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
16708 (PARMS): Do not use macros from bp-asm.h.
16711 (__mpn_lshift): Do not use BP_SYM.
16712 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
16713 (PARMS): Do not use macros from bp-asm.h.
16716 (__memchr): Do not use BP_SYM.
16717 (memchr): Do not use BP_SYM in weak_alias.
16718 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
16719 (PARMS): Do not use macros from bp-asm.h.
16722 (memcmp): Do not use BP_SYM.
16723 (bcmp): Do not use BP_SYM in weak_alias.
16724 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
16725 (PARMS): Do not use macros from bp-asm.h.
16728 (__mpn_mul_1): Do not use BP_SYM.
16729 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
16731 (PARMS): Do not use macros from bp-asm.h.
16734 (__rawmemchr): Do not use BP_SYM.
16735 (rawmemchr): Do not use BP_SYM in weak_alias.
16736 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
16737 (PARMS): Do not use macros from bp-asm.h.
16740 (__mpn_rshift): Do not use BP_SYM.
16741 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
16742 (PARMS): Do not use macros from bp-asm.h.
16743 (SIGMSK): Likewise.
16744 (__sigsetjmp): Likewise. Do not use BP_SYM.
16745 * sysdeps/i386/start.S: Do not include "bp-sym.h".
16746 (_start): Do not use BP_SYM.
16747 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
16748 (PARMS): Do not use macros from bp-asm.h.
16751 (__stpcpy): Likewise. Do not use BP_SYM.
16752 (stpcpy): Do not use BP_SYM in weak_alias.
16753 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
16755 (PARMS): Do not use macros from bp-asm.h.
16759 (__stpncpy): Likewise. Do not use BP_SYM.
16760 (stpncpy): Do not use BP_SYM in weak_alias.
16761 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
16762 (PARMS): Do not use macros from bp-asm.h.
16765 (strchr): Likewise. Do not use BP_SYM.
16766 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
16768 (PARMS): Do not use macros from bp-asm.h.
16771 (__strchrnul): Likewise. Do not use BP_SYM.
16772 (strchrnul): Do not use BP_SYM in weak_alias.
16773 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
16775 (PARMS): Do not use macros from bp-asm.h.
16777 (strcspn): Do not use BP_SYM.
16778 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
16780 (PARMS): Do not use macros from bp-asm.h.
16783 (strpbrk): Likewise. Do not use BP_SYM.
16784 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
16786 (PARMS): Do not use macros from bp-asm.h.
16789 (strrchr): Likewise. Do not use BP_SYM.
16790 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
16791 (PARMS): Do not use macros from bp-asm.h.
16793 (strspn): Do not use BP_SYM.
16794 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
16795 (PARMS): Do not use macros from bp-asm.h.
16799 (FUNCTION): Likewise. Do not use BP_SYM.
16800 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
16802 (strtok_r): Likewise.
16803 (__GI___strtok_r): Likewise.
16804 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
16805 (PARMS): Do not use macros from bp-asm.h.
16809 (__mpn_sub_n): Do not use BP_SYM.
16810 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
16812 (PARMS): Do not use macros from bp-asm.h.
16815 (__mpn_submul_1): Do not use BP_SYM.
16816 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
16818 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
16820 (PARMS): Do not use macros from bp-asm.h.
16825 (__clone): Do not use BP_SYM.
16826 (clone): Do not use BP_SYM in weak_alias.
16827 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
16829 (PARMS): Do not use macros from bp-asm.h.
16831 (__mmap64): Do not use BP_SYM.
16832 (mmap64): Do not use BP_SYM in weak_alias.
16833 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16834 <bp-sym.h> and <bp-asm.h>.
16835 (PARMS): Do not use macros from bp-asm.h.
16836 (__posix_fadvise64_l64): Do not use BP_SYM.
16837 * sysdeps/unix/sysv/linux/i386/semtimedop.S
16838 (PARMS): Do not use macros from bp-asm.h.
16840 (semtimedop): Do not use BP_SYM.
16841 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
16844 2013-02-21 Allan McRae <allan@archlinux.org>
16846 * manual/message.texi (Charset conversion in gettext):
16847 Move @end statement to beginning of line.
16849 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16851 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
16853 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
16856 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
16857 (denorm): Likewise.
16858 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
16859 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
16861 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16863 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
16864 tail-call to the resolved function if pltexit isn't needed.
16866 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16868 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
16869 or Y being zero as being unlikely.
16870 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16873 2013-02-20 Carlos O'Donell <carlos@redhat.com>
16875 * manual/nss.texi (System Databases and Name Service Switch):
16876 Remove frobnicate @pxref.
16878 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
16880 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
16881 __attribute__ ((unused)) to __attribute__ ((__unused__)).
16883 2013-02-20 Petr Machata <pmachata@redhat.com>
16885 * elf/elf.h (R_ARM_TARGET1): New macro.
16886 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
16887 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
16888 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
16889 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
16890 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
16891 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
16892 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
16893 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
16894 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
16895 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
16896 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
16897 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
16898 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
16899 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
16900 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
16901 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
16902 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
16903 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
16904 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
16905 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
16906 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
16907 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
16908 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
16909 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
16910 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
16911 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
16912 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
16913 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
16914 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
16915 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
16916 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
16917 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
16918 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
16919 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
16920 (R_ARM_THM_GOT_BREL12): Likewise.
16921 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
16922 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
16923 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
16924 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
16925 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
16926 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
16927 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
16928 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
16929 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
16931 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
16933 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
16934 __attribute_used__ to __attribute__ ((unused)).
16936 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16938 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
16940 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
16941 comment formatting.
16942 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
16944 2013-02-19 Joseph Myers <joseph@codesourcery.com>
16947 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
16949 (ENTER): Remove both macro definitions.
16951 (CHECK_BOUNDS_LOW): Likewise.
16952 (CHECK_BOUNDS_HIGH): Likewise.
16953 (CHECK_BOUNDS_BOTH): Likewise.
16954 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
16955 (RETURN_BOUNDED_POINTER): Likewise.
16956 (RETURN_NULL_BOUNDED_POINTER): Likewise.
16957 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
16958 (POP_ERRNO_LOCATION_RETURN): Likewise.
16959 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
16960 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16961 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
16963 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16964 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
16965 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
16966 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
16967 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
16968 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
16969 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
16970 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
16971 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
16972 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
16973 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
16974 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
16975 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16976 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
16978 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16979 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
16981 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16982 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
16983 * sysdeps/i386/i586/memset.S (memset): Likewise.
16984 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
16985 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16986 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
16988 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16989 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
16990 Change uses of L(2) to L(out).
16991 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
16992 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
16993 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
16994 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16995 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
16997 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16998 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
17000 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17001 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
17002 (RETURN): Do not use macro LEAVE.
17003 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
17004 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
17005 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
17006 * sysdeps/i386/i686/memset.S (memset): Likewise.
17007 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
17008 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
17009 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17010 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
17012 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17013 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
17014 L(1_2) and L(1_3) into L(1).
17015 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17016 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
17017 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17018 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
17019 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17020 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
17021 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
17022 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17023 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
17025 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
17026 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17027 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
17028 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
17029 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
17030 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17031 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
17032 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
17033 * sysdeps/i386/strcspn.S (strcspn): Likewise.
17034 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
17035 * sysdeps/i386/strrchr.S (strrchr): Likewise.
17036 * sysdeps/i386/strspn.S (strspn): Likewise.
17037 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
17039 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17040 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
17041 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17042 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
17043 L(1_3) into L(1_1).
17044 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
17045 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17046 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
17048 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17050 2013-02-19 Jakub Jelinek <jakub@redhat.com>
17052 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
17055 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17057 * math/atest-exp.c (exp_mpn): Remove ROUND.
17058 * math/atest-exp2.c (exp_mpn): Likewise.
17059 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
17061 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
17062 * stdlib/tst-tls-atexit-lib.c: Likewise.
17063 * stdlib/tst-tls-atexit.c: Likewise.
17065 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17067 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
17068 and __attribute_alloc_size__.
17070 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17072 * include/programs/xmalloc.h: Change __attribute_alloc_size to
17073 __attribute_alloc_size__.
17074 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
17075 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
17077 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17079 * include/programs/xmalloc.h: New file.
17080 * catgets/gencat.c: Include it.
17081 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
17082 * elf/pldd.c: Likewise.
17083 * iconv/iconv_charmap.c: Likewise.
17084 * iconv/iconvconfig.c: Likewise.
17085 * iconv/strtab.c: Likewise.
17086 * locale/programs/locale.c: Likewise.
17087 * locale/programs/localedef.h: Likewise.
17088 * locale/programs/simple-hash.c: Likewise.
17089 * nscd/nscd.h: Likewise.
17090 * nss/makedb.c: Likewise.
17091 * sysdeps/generic/ldconfig.h: Likewise.
17093 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17095 * Versions.def: Add GLIBC_2.18.
17096 * include/link.h (struct link_map): New member l_tls_dtor_count.
17097 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
17098 (__call_tls_dtors): Likewise.
17099 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
17100 __cxa_thread_atexit_impl.
17101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17105 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17107 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17109 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17110 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
17112 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
17114 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17115 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17117 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
17118 (tests): Add test case tst-tls-atexit.
17119 (modules-names): Add shared library for tst-tls-atexit.
17120 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
17121 (GLIBC_PRIVATE): Add __call_tls_dtors.
17122 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
17124 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
17125 * stdlib/tst-tls-atexit.c: New test case.
17126 * stdlib/tst-tls-atexit-lib.c: New test case.
17128 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
17130 * elf/Versions (ld): Add _dl_find_dso_for_object.
17131 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
17132 * elf/dl-open.c (_dl_find_dso_for_object): New function.
17133 (dl_open_worker): Use _dl_find_dso_for_object.
17134 * elf/dl-sym.c (do_sym): Likewise.
17135 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
17137 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17139 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
17140 Syntactic changes only.
17141 (_dl_runtime_profile): Do a tail-call to the resolved function.
17143 2013-02-17 Joseph Myers <joseph@codesourcery.com>
17146 * sysdeps/x86_64/bp-asm.h: Remove file.
17147 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
17148 <bp-sym.h> and <bp-asm.h>.
17149 (__clone): Do not use BP_SYM.
17150 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
17151 <bp-sym.h> and <bp-asm.h>.
17152 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17153 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
17155 (_setjmp): Do not use BP_SYM.
17156 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
17158 (setjmp): Do not use BP_SYM.
17159 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
17161 (mempcpy): Do not use BP_SYM in weak_alias.
17162 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
17164 (strchr): Do not use BP_SYM.
17165 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
17167 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
17168 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
17169 (_start): Do not use BP_SYM.
17170 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
17172 (strcat): Do not use BP_SYM.
17173 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
17175 (STRCMP): Do not use BP_SYM.
17176 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
17178 (STRCPY): Do not use BP_SYM.
17179 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
17181 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
17183 (FUNCTION): Do not use BP_SYM.
17184 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
17186 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
17188 2013-02-17 Andreas Jaeger <aj@suse.de>
17190 * time/Versions: Sort entries.
17191 * string/Versions: Likewise.
17192 * resolv/Versions: Likewise.
17193 * posix/Versions: Likewise.
17194 * iconv/Versions: Likewise.
17195 * elf/Versions: Likewise.
17196 * wcsmbs/Versions: Likewise.
17198 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17200 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
17201 loop termination condition.
17203 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
17204 variable to calculate EZ.
17207 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
17208 the lower precision input.
17210 2013-02-15 Joseph Myers <joseph@codesourcery.com>
17213 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
17214 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
17215 (run-via-rtld-prefix): Do not handle %-bp tests.
17216 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
17217 (all-object-suffixes): Remove .ob.
17218 (bppfx): Remove variable.
17219 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
17220 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
17221 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
17222 [$(build-bounded) = yes] (libtype.ob): Likewise.
17223 * Makerules (elide-routines.ob): Remove variable.
17224 (do-tests-clean): Do not handle *-bp.out.
17225 (common-mostlyclean): Do not handle *-bp and *-bp.out.
17226 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
17227 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
17228 (tests): Do not include $(tests-bp.out).
17229 (xtests): Do not include $(xtests-bp.out).
17230 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
17231 [$(build-bounded) = yes] ($(addprefix
17232 $(objpfx),$(binaries-bounded))): Remove rule.
17233 ($(objpfx)%-bp.out): Remove rule.
17234 * config.make.in (build-bounded): Remove variable.
17235 * crypt/Makefile [$(build-bounded) = yes]
17236 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
17237 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
17238 append to variable.
17239 [$(build-bounded) = yes] (install-lib): Likewise.
17240 [$(build-bounded) = yes] (generated): Likewise.
17241 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
17243 * intl/Makefile [$(build-bounded) = yes]
17244 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
17245 * math/Makefile [$(build-bounded) = yes]
17246 ($(tests:%=$(objpfx)%-bp): Likewise.
17247 * misc/Makefile [$(build-bounded) = yes]
17248 ($(objpfx)tst-tsearch-bp): Likewise.
17249 * nptl/Makeconfig (bounded-thread-library): Remove variable.
17250 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
17252 * string/Makefile (o-objects.ob): Remove variable.
17253 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
17254 (CFLAGS-.ob): Remove variable.
17255 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
17256 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
17257 both definitions of variable.
17258 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
17259 (ASFLAGS-.ob): Remove variable.
17261 2013-02-14 Joseph Myers <joseph@codesourcery.com>
17264 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
17265 Remove __BOUNDED_POINTERS__ from condition.
17266 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
17267 * string/bits/string2.h [!__NO_STRING_INLINES &&
17268 !__BOUNDED_POINTERS__]: Likewise.
17269 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
17271 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
17272 Remove conditional code.
17273 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
17274 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
17275 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
17279 * csu/libc-start.c: Do not include <bp-sym.h>.
17280 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
17281 * elf/dl-open.c: Do not include <bp-sym.h>.
17282 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
17283 * math/fegetenv.c: Do not include <bp-sym.h>.
17284 (fegetenv): Do not use BP_SYM in versioned symbols.
17285 * nptl/sysdeps/pthread/bits/libc-lockP.h
17286 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
17288 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17289 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
17290 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17291 (__pthread_mutex_destroy): Likewise.
17292 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17293 (__pthread_mutex_lock): Likewise.
17294 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17295 (__pthread_mutex_trylock): Likewise.
17296 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17297 (__pthread_mutex_unlock): Likewise.
17298 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17299 (__pthread_mutexattr_init): Likewise.
17300 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17301 (__pthread_mutexattr_destroy): Likewise.
17302 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17303 (__pthread_mutexattr_settype): Likewise.
17304 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17305 (__pthread_rwlock_init): Likewise.
17306 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17307 (__pthread_rwlock_destroy): Likewise.
17308 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17309 (__pthread_rwlock_rdlock): Likewise.
17310 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17311 (__pthread_rwlock_tryrdlock): Likewise.
17312 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17313 (__pthread_rwlock_wrlock): Likewise.
17314 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17315 (__pthread_rwlock_trywrlock): Likewise.
17316 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17317 (__pthread_rwlock_unlock): Likewise.
17318 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17319 (__pthread_key_create): Likewise.
17320 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17321 (__pthread_setspecific): Likewise.
17322 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17323 (__pthread_getspecific): Likewise.
17324 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
17326 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17327 (_pthread_cleanup_push_defer): Likewise.
17328 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17329 (_pthread_cleanup_pop_restore): Likewise.
17330 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17331 (pthread_setcancelstate): Likewise.
17332 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
17334 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
17335 (memchr): Do not use BP_SYM in weak_alias.
17336 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
17337 (fegetenv): Do not use BP_SYM in versioned symbols.
17338 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
17339 (fesetenv): Do not use BP_SYM in versioned symbols.
17340 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17341 (feupdateenv): Do not use BP_SYM in versioned symbols.
17342 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17343 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17344 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
17345 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
17346 (open64): Do not use BP_SYM in weak_alias.
17347 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
17348 (fegetenv): Do not use BP_SYM in versioned symbols.
17349 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
17350 (fesetenv): Do not use BP_SYM in versioned symbols.
17351 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17352 (feupdateenv): Do not use BP_SYM in versioned symbols.
17353 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
17354 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
17355 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
17356 (feraiseexcept): Do not use BP_SYM in versioned symbols.
17357 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17358 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17359 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
17361 (__libc_start_main): Do not use BP_SYM.
17363 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17365 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
17366 redundant return line.
17368 (denorm): Likewise.
17369 (dbl_mp): Likewise.
17370 (sub_magnitudes): Likewise.
17376 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
17378 (denorm): Likewise.
17379 (dbl_mp): Likewise.
17380 (sub_magnitudes): Likewise.
17387 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
17389 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17390 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
17393 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
17394 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
17395 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
17396 of __mul for squares.
17397 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
17399 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
17401 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
17402 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17404 2013-02-13 Joseph Myers <joseph@codesourcery.com>
17407 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
17409 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
17410 prototype or function definition. Rename ubp_* variables and
17411 parameters. Remove argv definitions conditional on
17412 [__BOUNDED_POINTERS__].
17413 * debug/backtrace.c (__backtrace): Do not use __unbounded.
17414 * elf/dl-runtime.c (_dl_fixup): Likewise.
17415 * include/set-hooks.h (RUN_HOOK): Likewise.
17416 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
17418 * string/strcpy.c (strcpy): Do not use __unbounded.
17419 * sysdeps/generic/frame.h (struct layout): Likewise.
17420 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
17421 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
17422 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
17423 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
17424 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
17425 (__backtrace): Likewise.
17426 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
17428 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
17429 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17430 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
17432 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
17433 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
17434 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17435 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17436 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
17437 Do not use __unbounded.
17438 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
17439 Rename __unboundedrlimits parameter to rlimits in prototype.
17440 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
17441 Do not use __unbounded.
17442 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
17443 not use __ptrvalue.
17444 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17445 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
17446 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17447 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
17448 __ptrvalue or __unbounded.
17449 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
17450 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
17452 (__new_msgctl): Do not use __ptrvalue.
17453 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
17455 (__libc_msgrcv): Do not use __ptrvalue.
17456 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
17457 startup_info): Do not use __unbounded.
17458 (__libc_start_main): Likewise. Rename ubp_* variables and
17459 parameters. Remove argv definitions conditional on
17460 [__BOUNDED_POINTERS__].
17461 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
17463 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
17465 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
17467 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
17469 (__new_shmctl): Do not use __ptrvalue.
17470 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
17471 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
17473 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
17474 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
17475 (__libc_sigaction): Likewise.
17476 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
17477 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
17479 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17481 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
17483 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
17485 * string/mempcpy.c: Implement by calling memcpy.
17487 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17489 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
17491 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
17494 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
17495 values in the mantissa.
17497 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
17498 minimize writes to Z.
17499 (sub_magnitudes): Simplify code a bit.
17501 2013-02-12 Roland McGrath <roland@hack.frob.com>
17503 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
17504 from the message. The linker prefixes all warnings with that already.
17506 2013-02-12 Andreas Schwab <schwab@suse.de>
17509 * posix/regexec.c (extend_buffers): Add parameter min_len.
17510 (check_matching): Pass minimum needed length.
17511 (clean_state_log_if_needed): Likewise.
17512 (get_subexp): Likewise.
17513 * posix/Makefile (tests): Add bug-regex34.
17514 (bug-regex34-ENV): Define.
17515 * posix/bug-regex34.c: New file.
17518 * posix/regcomp.c (parse_bracket_exp): When looking up collating
17519 elements compare against the byte sequence of it, not its name.
17520 * posix/Makefile (tests): Add bug-regex35.
17521 (bug-regex35-ENV): Define.
17522 * posix/bug-regex35.c: New file.
17524 2013-02-11 Tom de Vries <tom@codesourcery.com>
17526 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
17528 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
17529 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
17530 (CHECK_EOL): Add undef.
17532 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
17534 * bits/stdlib-bsearch.h: New file.
17535 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
17536 * stdlib/stdlib.h: Likewise.
17538 2013-02-11 Roland McGrath <roland@hack.frob.com>
17540 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
17541 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
17543 * manual/search.texi (Array Search Function): Add missing const in
17545 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
17546 declaration to use rlim_t.
17547 (Basic Scheduling Functions): Remove erroneous const from
17548 sched_getparam prototype. Remove erroneous * from
17549 sched_get_priority_max and sched_get_priority_min prototypes.
17550 (Resource Usage): Fix summary @comment on vtimes to refer to
17551 sys/vtimes.h rather than vtimes.h.
17552 Add missing *s in vtimes prototype.
17553 (Limits on Resources): Fix ulimit prototype to return long int.
17554 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
17555 prototypes to use long int rather than double.
17556 (BSD Random): Fix initstate and setstate to use char *, not void *.
17557 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
17558 prototype to make second argument 'struct aiocb64 *const[]'.
17559 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
17560 (Status of AIO Operations): Remove erroneous const in aio_return and
17561 aio_return64 prototypes.
17562 (Synchronizing I/O): Fix sync prototype to return void.
17563 * manual/startup.texi (Suboptions): Remove an erroneous const in
17564 getsubopt prototype.
17565 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
17566 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
17567 use size_t rather than int.
17568 (Scanning All Users): Likewise for getpwent_r.
17569 (Setting Groups): Add missing const to setgroups prototype.
17570 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
17571 * manual/socket.texi (Host Names): Fix gethostbyaddr and
17572 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
17573 'const void *' rather than 'const char *'.
17574 (Host Address Functions): Likewise for inet_ntop.
17575 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
17576 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
17577 ssize_t for return value.
17578 (Sending Data): Likewise for send, sendto, sendmsg.
17579 (Socket Option Functions): Add a missing const in setsockopt prototype.
17580 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
17581 use wchar_t for the argument.
17582 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
17583 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
17585 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
17586 double/float/long double for second argument.
17587 Fix return types of significand, significandf, significandl.
17588 * manual/filesys.texi (Setting Permissions): Use mode_t for second
17589 argument in fchmod prototype.
17590 (File Owner): Use uid_t and gid_t in fchown prototype.
17591 (File Times): Add const to utimes, futimes, and lutimes prototypes.
17592 (Making Special Files): Use mode_t and dev_t in mknod prototype.
17593 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
17594 use 'const struct dirent **' as argument types to CMP function pointer
17596 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
17597 (File Times): Fix summary magic @comment for struct utimbuf and utime
17598 to refer to utime.h, not time.h.
17599 * manual/string.texi (Argz Functions): Add missing const in
17600 argz_extract and argz_next prototypes.
17601 (Finding Tokens in a String): Likewise for basename.
17602 (String/Array Comparison): Fix typo in wcscasecmp prototype.
17603 (Copying and Concatenation): Fix typo in wmemmove prototype.
17604 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
17605 (Signal Stack): Remove erroneous const in sigstack prototype.
17606 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
17608 (Simple Calendar Time): Likewise for stime.
17609 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
17611 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
17612 say sys/sysctl.h instead.
17613 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
17614 and vsyslog prototypes.
17616 2013-02-11 Tom de Vries <tom@codesourcery.com>
17618 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
17621 2013-02-11 Roland McGrath <roland@hack.frob.com>
17623 * misc/sys/mman.h: Fix typo in mremap comment.
17625 2013-02-08 Roland McGrath <roland@hack.frob.com>
17627 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
17628 the '\0' terminator.
17630 2013-02-08 Joseph Myers <joseph@codesourcery.com>
17633 * debug/segfault.c: Don't include <bp-checks.h>.
17634 * sysdeps/generic/bp-checks.h: Remove file.
17635 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
17636 (__GETDENTS): Don't use CHECK_N.
17637 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
17638 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
17639 (__getgroups): Don't use CHECK_N.
17640 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
17641 (setgroups): Don't use CHECK_N.
17642 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
17643 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
17644 (__libc_msgrcv): Don't use CHECK_N.
17645 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
17646 (__libc_msgsnd): Don't use CHECK_N.
17647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
17649 (__libc_pread): Don't use CHECK_N.
17650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
17651 include <bp-checks.h>.
17652 (__libc_pread64): Don't use CHECK_N.
17653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
17654 include <bp-checks.h>.
17655 (__libc_pwrite): Don't use CHECK_N.
17656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
17657 include <bp-checks.h>.
17658 (__libc_pwrite64): Don't use CHECK_N.
17659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
17661 (__libc_pread): Don't use CHECK_N.
17662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
17663 include <bp-checks.h>.
17664 (__libc_pread64): Don't use CHECK_N.
17665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
17666 include <bp-checks.h>.
17667 (__libc_pwrite): Don't use CHECK_N.
17668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
17669 include <bp-checks.h>.
17670 (__libc_pwrite64): Don't use CHECK_N.
17671 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
17672 (do_pread): Don't use CHECK_N.
17673 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
17674 (do_pread64): Don't use CHECK_N.
17675 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
17676 (do_pwrite): Don't use CHECK_N.
17677 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
17678 (do_pwrite64): Don't use CHECK_N.
17679 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
17680 (__libc_readv): Don't use CHECK_N.
17681 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
17682 (semop): Don't use CHECK_N.
17683 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
17685 (semtimedop): Don't use CHECK_N.
17686 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
17687 (__libc_pread): Don't use CHECK_N.
17688 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
17690 (__libc_pread64): Don't use CHECK_N.
17691 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
17693 (__libc_pwrite): Don't use CHECK_N.
17694 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
17696 (__libc_pwrite64): Don't use CHECK_N.
17697 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
17699 (__libc_msgrcv): Don't use CHECK_N.
17700 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
17701 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
17702 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
17703 (__libc_writev): Don't use CHECK_N.
17705 2013-02-08 Roland McGrath <roland@hack.frob.com>
17707 * string/strcpy.c: Removed unused variable.
17709 * Makeconfig (+sysdep-includes): Define with := rather than =.
17710 Use an existing include/ subdir of each sysdeps dir before it.
17712 2013-02-08 Carlos O'Donell <carlos@redhat.com>
17714 * nscd/connection.c (register_traced_file): Comment function.
17715 [HAVE_INOTIFY] (union __inev): Define.
17716 [HAVE_INOTIFY] (inotify_check_files): New function.
17717 [HAVE_INOTIFY] (clear_db_cache): Likewise.
17718 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
17720 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
17722 2013-02-08 Carlos O'Donell <carlos@redhat.com>
17724 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
17725 loaded if not already and that a failure is permanent.
17727 2013-02-08 Carlos O'Donell <carlos@redhat.com>
17730 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
17731 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
17733 2013-02-08 Joseph Myers <joseph@codesourcery.com>
17736 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
17737 (CHECK_1_NULL_OK): Likewise.
17738 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
17739 (__fxstat): Do not use CHECK_1.
17740 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
17742 (___fxstat64): Do not use CHECK_1.
17743 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
17745 (__fxstatat): Do not use CHECK_1.
17746 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
17748 (__fxstatat64): Do not use CHECK_1.
17749 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
17751 (__fxstat): Do not use CHECK_1.
17752 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
17754 (__fxstatat): Do not use CHECK_1.
17755 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17757 (__getresgid): Do not use CHECK_1.
17758 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17760 (__getresuid): Do not use CHECK_1.
17761 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
17763 (__lxstat): Do not use CHECK_1.
17764 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17766 (__old_msgctl): Do not use CHECK_1.
17767 (__new_msgctl): Likewise.
17768 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
17770 (__new_setrlimit): Do not use CHECK_1.
17771 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17773 (__old_shmctl): Do not use CHECK_1.
17774 (__new_shmctl): Likewise.
17775 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
17777 (__xstat): Do not use CHECK_1.
17778 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
17779 (__lxstat): Do not use CHECK_1.
17780 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
17782 (___lxstat64): Do not use CHECK_1.
17783 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
17784 (__old_msgctl): Do not use CHECK_1.
17785 (__new_msgctl): Likewise.
17786 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
17788 (__gettimeofday): Do not use CHECK_1.
17789 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
17790 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
17791 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
17793 (__gettimeofday): Do not use CHECK_1.
17794 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
17795 (__old_shmctl): Do not use CHECK_1_NULL_OK.
17796 (__new_shmctl): Do not use CHECK_1.
17797 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
17799 (do_sigtimedwait): Do not use CHECK_1.
17800 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
17802 (do_sigwaitinfo): Do not use CHECK_1.
17803 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
17805 (msgctl): Do not use CHECK_1.
17806 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
17808 (shmctl): Do not use CHECK_1.
17809 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
17810 (ustat): Do not use CHECK_1.
17811 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
17813 (__fxstat): Do not use CHECK_1.
17814 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
17816 (__fxstatat): Do not use CHECK_1.
17817 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
17819 (__lxstat): Do not use CHECK_1.
17820 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
17822 (__xstat): Do not use CHECK_1.
17823 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
17824 (__xstat): Do not use CHECK_1.
17825 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
17826 (___xstat64): Do not use CHECK_1.
17829 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
17831 (CHECK_BOUNDS_HIGH): Likewise.
17832 * string/strcpy.c: Do not include <bp-checks.h>.
17833 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
17835 2013-02-07 Roland McGrath <roland@hack.frob.com>
17837 * nscd/nscd-client.h (__nscd_drop_map_ref):
17838 Add __attribute__ ((unused)).
17839 * nis/nss-nisplus.h (niserr2nss): Likewise.
17841 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
17842 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
17844 * csu/libc-tls.c (init_static_tls, init_slotinfo):
17845 Remove inline keyword.
17846 * include/rounding-mode.h (round_away): Likewise.
17847 * libio/wfileops.c (adjust_wide_data): Likewise.
17848 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
17849 (__m128i_strloadu_tolower): Likewise.
17850 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
17851 (__m128i_strloadu_tolower): Likewise.
17852 * time/mktime.c (ydhms_diff): Likewise.
17853 * locale/elem-hash.h (elem_hash): Likewise.
17854 * locale/setlocale.c (setdata): Likewise.
17855 * posix/regex_internal.h (re_string_char_size_at): Likewise.
17856 (re_string_wchar_at): Likewise.
17857 (bitset_not, bitset_merge, bitset_mask): Likewise.
17858 [!(__GNUC__ > 3)] (inline): Remove macro.
17859 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
17860 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
17861 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
17862 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
17863 * string/memcmp.c (memcmp_bytes): Likewise.
17864 * locale/programs/locarchive.c (compute_hashval): Likewise.
17865 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
17866 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
17867 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
17868 * nss/getent.c (print_rpc, print_protocols): Likewise.
17869 (print_passwd, print_group, print_aliases): Likewise.
17870 * nis/nss-nisplus.h (niserr2nss): Likewise.
17871 * nscd/connections.c (restart_p): Likewise.
17872 Change return type to bool.
17874 2013-02-05 Roland McGrath <roland@hack.frob.com>
17876 * Makeconfig (all-Depend-files): Add existing
17877 $(sorted-subdirs:=/Depend) files.
17878 (all-subdirs): Remove nss.
17879 * sysdeps/unix/inet/Subdirs: Add it here instead.
17880 * hesiod/Depend: New file.
17882 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
17883 instead of calling alloca.
17885 * io/lseek.c (__lseek): Rename to __libc_lseek.
17886 Define __lseek as an alias.
17888 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
17890 2013-02-04 Carlos O'Donell <carlos@redhat.com>
17892 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
17893 else clause and remove check for non-standard endianness.
17895 2013-02-04 David S. Miller <davem@davemloft.net>
17897 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17899 2013-02-04 Joseph Myers <joseph@codesourcery.com>
17902 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
17903 (__ubp_memchr): Remove prototype.
17904 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
17905 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
17906 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
17907 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
17908 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
17910 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
17911 (__ubp_memchr): Likewise.
17912 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
17913 (__ubp_memchr): Likewise.
17914 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
17915 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
17916 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
17917 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
17919 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17920 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
17921 (__getcwd): Do not use CHECK_STRING.
17922 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17924 (__real_chown): Do not use CHECK_STRING.
17925 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
17927 (fchownat): Do not use CHECK_STRING.
17928 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
17930 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17932 (__lchown): Do not use CHECK_STRING.
17933 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17934 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17935 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17936 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
17937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17938 include <bp-checks.h>.
17939 (truncate64): Do not use CHECK_STRING.
17940 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17942 (__real_chown): Do not use CHECK_STRING.
17943 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17945 (__lchown): Do not use CHECK_STRING.
17946 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17948 (__chown): Do not use CHECK_STRING.
17949 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
17951 (truncate64): Do not use CHECK_STRING.
17952 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
17954 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
17955 (__xmknod): Do not use CHECK_STRING.
17956 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
17958 (__xmknodat): Do not use CHECK_STRING.
17959 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17960 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
17962 2013-02-04 Andreas Schwab <schwab@suse.de>
17965 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
17966 * include/netdb.h: Likewise for h_errno.
17967 * elf/tst-stackguard1.c: Include <tls.h>.
17969 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
17971 * elf/link.h (struct link_map): Extend the l_addr comment.
17972 * include/link.h (struct link_map): Likewise.
17974 2013-02-01 Joseph Myers <joseph@codesourcery.com>
17977 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
17978 (BOUNDED_1): Remove macro.
17979 * debug/backtrace.c: Don't include <bp-checks.h>.
17980 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
17981 (__backtrace): Likewise.
17982 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
17984 (__backtrace): Don't use BOUNDED_1.
17985 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
17987 (__backtrace): Don't use BOUNDED_1.
17988 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
17989 (__backtrace): Don't use BOUNDED_1.
17990 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
17991 (shmat): Don't use BOUNDED_N.
17993 2013-01-31 Joseph Myers <joseph@codesourcery.com>
17996 * sysdeps/generic/bp-start.h: Remove file.
17997 * csu/libc-start.c: Don't include <bp-start.h>.
17998 (LIBC_START_MAIN): Set up __environ directly instead of using
17999 INIT_ARGV_and_ENVIRON.
18000 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
18004 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
18006 (CHECK_FCNTL): Likewise.
18007 (CHECK_N_PAGES): Likewise.
18010 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
18012 (CHECK_SIGSET_NULL_OK): Likewise.
18013 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
18015 (sigpending): Don't use CHECK_SIGSET.
18016 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
18018 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18019 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
18021 (do_sigsuspend): Don't use CHECK_SIGSET.
18022 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
18024 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
18025 (do_sigwait): Don't use CHECK_SIGSET.
18026 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
18028 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
18029 include <bp-checks.h>.
18030 (sigpending): Don't use CHECK_SIGSET.
18031 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
18032 include <bp-checks.h>.
18033 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18034 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
18036 (sigpending): Don't use CHECK_SIGSET.
18037 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
18039 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18042 * sysdeps/generic/bp-semctl.h: Remove file.
18043 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
18044 <bp-checks.h> and <bp-semctl.h>.
18045 (__old_semctl): Don't use CHECK_SEMCTL.
18046 (__new_semctl): Likewise.
18047 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
18049 (__old_semctl): Don't use CHECK_SEMCTL.
18050 (__new_semctl): Likewise.
18051 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
18052 <bp-checks.h> and <bp-semctl.h>.
18053 (__old_semctl): Don't use CHECK_SEMCTL.
18054 (__new_semctl): Likewise.
18055 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
18056 <bp-checks.h> and <bp-semctl.h>.
18057 (semctl): Don't use CHECK_SEMCTL.
18060 * Makerules (elide-bp-thunks): Remove variable.
18061 (elide-routines.oS): Don't use $(elide-bp-thunks).
18062 (elide-routines.os): Likewise.
18063 (elide-routines.o): Likewise.
18064 (elide-routines.op): Likewise.
18065 (elide-routines.og): Likewise.
18066 (objects): Don't use $(bp-thunks).
18067 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
18069 (common-generated): Do not add s-proto-bp.d.
18070 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
18073 Do not generate makefile rules for bounded-pointer thunks.
18074 * sysdeps/generic/bp-thunks.h: Remove file.
18075 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
18076 * sysdeps/unix/s-proto-bp.S: Likewise.
18079 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
18080 parts of result separately when argument is not close to line from
18081 -i to i and one part of argument is small.
18082 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18083 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18084 * math/libm-test.inc (cacos_test): Add more tests.
18085 (casin_test): Likewise.
18086 (casinh_test): Likewise.
18087 * sysdeps/i386/fpu/libm-test-ulps: Update.
18088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18090 2013-01-31 David S. Miller <davem@davemloft.net>
18092 * po/de.po: Update from translation team.
18094 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
18096 * time/tzfile.c: Include stdint.h for SIZE_MAX.
18098 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
18100 * configure.in (_AC_PROG_CC_C89): New definition.
18101 * configure: Regenerate.
18103 * configure.in (AC_PROG_CPP): New definition.
18104 * configure: Regenerate.
18106 2013-01-23 Joseph Myers <joseph@codesourcery.com>
18108 * debug/tst-backtrace.h: New file.
18109 * debug/tst-backtrace2.c: Include tst-backtrace.h.
18110 (ret): Remove variable.
18112 (FAIL): Remove macro.
18113 (NO_INLINE): Likewise.
18114 (fn1): Use match function instead of strstr.
18115 * debug/tst-backtrace3.c: Include tst-backtrace.h.
18116 (ret): Remove variable.
18118 (FAIL): Remove macro.
18119 (NO_INLINE): Likewise.
18120 (fn): Use match function instead of strstr.
18121 * debug/tst-backtrace4.c: Include tst-backtrace.h.
18122 (ret): Remove variable.
18124 (FAIL): Remove macro.
18125 (NO_INLINE): Likewise.
18126 (handle_signal): Use match function instead of strstr.
18127 * debug/tst-backtrace5.c: Include tst-backtrace.h.
18128 (ret): Remove variable.
18130 (FAIL): Remove macro.
18131 (NO_INLINE): Likewise.
18132 (handle_signal): Use match function instead of strstr.
18134 2013-01-23 Roland McGrath <roland@hack.frob.com>
18136 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
18138 2013-01-23 David S. Miller <davem@davemloft.net>
18140 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
18141 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
18142 argument of CAS if possible.
18143 * sysdeps/sparc/sparc64/bits/atomic.h
18144 (__arch_compare_and_exchange_val_32_acq): Likewise.
18145 (__arch_compare_and_exchange_val_64_acq): Likewise.
18147 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
18149 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
18150 * sysdeps/posix/ulimit.c: ... this.
18151 Include <limits.h>.
18152 * sysdeps/unix/bsd/ulimit.c: Remove file.
18154 2013-01-23 Adam Conrad <adconrad@0c3.net>
18156 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
18157 (LDFLAGS-tst-array5): Likewise.
18159 2013-01-23 Joseph Myers <joseph@codesourcery.com>
18162 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
18163 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
18164 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
18165 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
18167 2013-01-21 David S. Miller <davem@davemloft.net>
18169 * sysdeps/sparc/backtrace.c: New file.
18170 * sysdeps/sparc/sparc32/backtrace.h: New file.
18171 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
18172 * sysdeps/sparc/sparc64/backtrace.h: New file.
18173 * sysdeps/sparc/sparc64/backtrace.c: Delete.
18174 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
18177 2013-01-21 Andreas Schwab <schwab@suse.de>
18180 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
18183 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
18185 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
18187 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18189 2013-01-18 Joseph Myers <joseph@codesourcery.com>
18190 Mark Mitchell <mark@codesourcery.com>
18191 Tom de Vries <tom@codesourcery.com>
18192 Paul Pluzhnikov <ppluzhnikov@google.com>
18194 * debug/tst-backtrace2.c: New file.
18195 * debug/tst-backtrace3.c: Likewise.
18196 * debug/tst-backtrace4.c: Likewise.
18197 * debug/tst-backtrace5.c: Likewise.
18198 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
18199 (CFLAGS-tst-backtrace3.c): Likewise.
18200 (CFLAGS-tst-backtrace4.c): Likewise.
18201 (CFLAGS-tst-backtrace5.c): Likewise.
18202 (LDFLAGS-tst-backtrace2): Likewise.
18203 (LDFLAGS-tst-backtrace3): Likewise.
18204 (LDFLAGS-tst-backtrace4): Likewise.
18205 (LDFLAGS-tst-backtrace5): Likewise.
18206 (tests): Add new tests tst-backtrace2, tst-backtrace3,
18207 tst-backtrace4 and tst-backtrace5.
18209 2013-01-18 Anton Blanchard <anton@samba.org>
18210 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18212 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
18213 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
18214 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
18215 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
18216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18217 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
18218 "+r" and remove output regs list as redundant. Add explicit inline
18219 asm to specify register of return val to work around compiler codegen
18220 bug. Remove (int) cast on return value. Add return type parameter to
18221 use in macro so that this macro does not truncate return value for
18223 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
18224 pass to INTERNAL_VSYSCALL_NCS.
18225 (INLINE_VSYSCALL): Add 'long int' as return type to
18226 INTERNAL_VSYSCALL_NCS macro invocation.
18227 (INTERNAL_VSYSCALL): Add 'long int' as return type to
18228 INTERNAL_VSYSCALL_NCS macro invocation.
18229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18231 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18234 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
18235 Fix application of SIMD FP exception mask.
18237 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
18238 mp_no from a power of two.
18239 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
18240 __mpexp_twomm1. Use __pow_mp.
18242 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
18245 2013-01-17 David S. Miller <davem@davemloft.net>
18247 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18249 2013-01-17 Joseph Myers <joseph@codesourcery.com>
18252 * include/complex.h: Condition contents on [!_COMPLEX_H].
18253 (__kernel_casinhf): New prototype.
18254 (__kernel_casinh): Likewise.
18255 (__kernel_casinhl): Likewise.
18256 * math/Makefile (libm_calls): Add k_casinh.
18257 * math/k_casinh.c: New file.
18258 * math/k_casinhf.c: Likewise.
18259 * math/k_casinhl.c: Likewise.
18260 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
18261 finite nonzero arguments.
18262 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
18263 finite nonzero arguments.
18264 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
18265 finite nonzero arguments.
18266 * math/s_casinh.c: Do not include <float.h>.
18267 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
18268 * math/s_casinhf.c: Do not include <float.h>.
18269 (__casinhf): Move code for finite nonzero arguments to
18271 * math/s_casinhl.c: Do not include <float.h>.
18272 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
18274 (__casinhl): Move code for finite nonzero arguments to
18276 * math/libm-test.inc (cacos_test): Add more tests.
18277 * sysdeps/i386/fpu/libm-test-ulps: Update.
18278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18280 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
18282 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
18283 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
18284 [!HAVE_MREMAP]: Remove [defined linux] case.
18285 * malloc/arena.c: Do not include <malloc-sysdep.h>.
18287 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18289 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
18291 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
18293 * elf/elf.h (R_386_SIZE32): New relocation.
18294 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
18296 (elf_machine_rela): Likewise.
18297 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18298 R_X86_64_SIZE64 and R_X86_64_SIZE32.
18300 2013-01-17 Joseph Myers <joseph@codesourcery.com>
18302 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
18303 (FP_FAST_FMA): Do not define.
18304 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
18305 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
18306 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
18307 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
18308 !_SOFT_FLOAT]: Likewise.
18309 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
18310 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
18312 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
18313 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
18314 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
18315 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
18316 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
18317 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
18320 2013-01-16 Andreas Schwab <schwab@suse.de>
18323 * include/stdlib.h (__mktemp): Add declaration.
18324 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
18325 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
18327 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18329 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
18331 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
18332 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
18333 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
18335 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
18336 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
18338 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
18340 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
18341 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
18342 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
18344 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
18345 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
18347 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
18349 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
18351 2013-01-15 David S. Miller <davem@davemloft.net>
18353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18354 trunc{,f} to libm-sysdep_routes.
18355 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
18358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
18359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
18361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
18363 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
18364 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
18365 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
18366 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
18367 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
18368 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
18369 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
18370 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
18372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18373 nearbyint{,f} to libm-sysdep_routes.
18374 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
18377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
18379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
18381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
18383 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
18384 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
18385 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
18387 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
18388 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
18390 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
18391 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
18392 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
18394 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18395 libc_feholdexcept and libc_fesetenv.
18397 2013-01-15 Mike Frysinger <vapier@gentoo.org>
18399 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
18401 2013-01-14 David S. Miller <davem@davemloft.net>
18403 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
18404 (SPARC_ASM_VIS2_IFUNC): Likewise.
18405 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
18406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
18407 use of 'siam' instruction.
18408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
18410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
18412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
18414 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
18415 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18416 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
18417 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
18418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
18420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
18422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
18424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
18426 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
18427 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
18428 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
18429 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
18430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
18432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18436 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18437 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18438 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18439 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
18441 routines to libm-sysdep_routines.
18442 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18445 fdim/fdimf to libm-sysdep_routines.
18446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
18448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
18449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
18451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
18452 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
18453 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
18454 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
18455 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
18456 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
18457 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
18459 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18461 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
18462 to optimize copies.
18464 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
18465 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18466 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18468 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
18469 local variable MPTWO.
18470 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
18473 2013-01-13 Mike Frysinger <vapier@gentoo.org>
18475 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
18478 2013-01-13 Mike Frysinger <vapier@gentoo.org>
18480 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
18482 2013-01-13 Mike Frysinger <vapier@gentoo.org>
18484 * manual/pattern.texi (glob_t): Document gl_flags.
18485 (glob64_t): Likewise.
18487 2013-01-11 David S. Miller <davem@davemloft.net>
18489 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
18490 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
18491 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
18492 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
18493 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
18494 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
18495 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
18496 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
18497 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
18498 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
18499 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
18500 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
18501 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
18503 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
18504 sparc V9 rather than using V8 code.
18505 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18506 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18508 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18510 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
18513 2013-01-11 Roland McGrath <roland@hack.frob.com>
18515 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
18516 not in the main loop.
18517 * configure: Regenerated.
18519 2013-01-11 Joseph Myers <joseph@codesourcery.com>
18521 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
18522 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
18524 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
18525 [!__GLIBC_HAVE_LONG_LONG] case.
18526 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
18527 condition to just #else.
18528 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
18529 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
18530 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
18531 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
18533 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
18534 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
18535 #elif condition to just #else.
18536 * sysdeps/unix/sysv/linux/sys/sysmacros.h
18537 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
18538 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
18539 #elif condition to just #else.
18541 2013-01-11 Steve Ellcey <sellcey@mips.com>
18543 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
18544 (EF_MIPS_ARCH_64): Fix value.
18545 (EF_MIPS_ARCH_32R2): New.
18546 (EF_MIPS_ARCH_64R2): New.
18548 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
18550 * Makeconfig (+link-pie-before-libc): New.
18551 (+link-pie-after-libc): Likewise.
18552 (+link-pie-tests): Likewise.
18553 (+link-pie): Rewritten.
18554 (link-before-libc): Remove $(config-LDFLAGS).
18555 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
18556 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
18557 (config-LDFLAGS): Renamed to ...
18558 (rtld-LDFLAGS): This.
18559 (rtld-tests-LDFLAGS): New macro.
18560 (link-libc-rpath-link): Likewise.
18561 (link-libc-tests-rpath-link): Likewise.
18562 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
18563 (link-libc): Prepand $(link-libc-rpath-link).
18564 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
18565 (test-program-prefix): New macro.
18566 (test-via-rtld-prefix): Likewise.
18567 (test-program-cmd): Likewise.
18568 (host-test-program-cmd): Likewise.
18569 * Makefile ($(common-objpfx)testrun.sh): Replace
18570 $(run-program-prefix) with $(test-program-prefix).
18571 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
18573 ($(common-objpfx)shlib.lds): Likewise.
18574 (build-module-helper): Likewise.
18575 ($(common-objpfx)format.lds): Likewise.
18576 * Rules (binaries-pie-tests): New.
18577 (binaries-pie-notests): Likewise.
18578 (binaries-pie): Rewritten.
18579 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
18580 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
18581 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
18582 (make-test-out): Replace $(host-built-program-cmd) with
18583 $(host-test-program-cmd).
18584 * config.make.in (build-hardcoded-path-in-tests): New variable.
18585 * configure.in (--enable-hardcoded-path-in-tests): New configure
18587 (hardcoded_path_in_tests): New AC_SUBST.
18588 * configure: Regenerated.
18589 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
18590 $(built-program-cmd) with $(test-program-cmd).
18591 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
18592 (test_program_cmd): This.
18593 * elf/Makefile ($(objpfx)order.out): Run test with
18594 $(test-program-prefix).
18595 ($(objpfx)order2.out): Likewise.
18596 ($(objpfx)tst-initorder.out): Likewise.
18597 ($(objpfx)tst-initorder2.out): Likewise.
18598 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
18599 $(test-program-cmd).
18600 ($(objpfx)tst-array1-static.out): Likewise.
18601 ($(objpfx)tst-array2.out): Likewise.
18602 ($(objpfx)tst-array3.out): Likewise.
18603 ($(objpfx)tst-array4.out): Likewise.
18604 ($(objpfx)tst-array5.out): Likewise.
18605 ($(objpfx)tst-array5-static.out): Likewise.
18606 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
18607 $(test-program-cmd).
18608 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
18609 $(run-program-prefix) with $(test-program-prefix).
18610 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
18611 (test_program_prefix): This.
18612 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
18613 $(run-program-prefix) with $(test-program-prefix).
18614 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
18615 (test_program_prefix): This.
18616 * iconvdata/tst-tables.sh: Likewise.
18617 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
18618 $(run-program-prefix) with $(test-program-prefix).
18619 ($(objpfx)tst-translit.out): Likewise.
18620 ($(objpfx)tst-gettext2.out): Likewise.
18621 ($(objpfx)tst-gettext4.out): Likewise.
18622 ($(objpfx)tst-gettext6.out): Likewise.
18623 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
18624 (test_program_prefix): This.
18625 * intl/tst-gettext2.sh: Likewise.
18626 * intl/tst-gettext4.sh Likewise.
18627 * intl/tst-gettext6.sh: Likewise.
18628 * intl/tst-translit.sh: Likewise.
18629 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
18630 with $(test-program-cmd).
18631 * libio/Makefile ($(objpfx)test-freopen.out): Replace
18632 $(run-program-prefix) with $(test-program-prefix).
18633 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
18634 (test_program_prefix): This.
18635 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
18636 $(run-program-prefix) with $(test-program-prefix).
18637 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
18638 (test_program_prefix): This.
18639 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
18640 * posix/Makefile ($(objpfx)globtest.out): Replace
18641 $(run-via-rtld-prefix) and $(test-wrapper) with
18642 $(test-program-prefix) and $(test-via-rtld-prefix).
18643 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
18644 $(test-program-prefix).
18645 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
18646 $(host-test-program-cmd).
18647 (tst-spawn-ARGS): Likewise.
18648 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
18649 $(test-program-prefix).
18650 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
18651 (test_via_rtld_prefix): This.
18652 (test_wrapper): Renamed to ...
18653 (test_program_prefix): This.
18654 (run_program_prefix): Replaced by test_program_prefix.
18655 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
18656 (test_program_prefix): This.
18657 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
18658 with $(host-test-program-cmd).
18659 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
18660 $(run-program-prefix) with $(test-program-prefix).
18661 ($(objpfx)tst-printf.out): Likewise.
18662 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
18663 $(test-program-cmd).
18664 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
18665 (test_program_prefix): This.
18666 * stdio-common/tst-unbputc.sh: Likewise.
18667 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
18668 $(run-program-prefix) with $(test-program-prefix).
18669 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
18670 (test_program_prefix): This.
18671 * string/Makefile ($(objpfx)tst-svc.out): Replace
18672 $(built-program-cmd) with $(test-program-cmd).
18674 2013-01-11 Andreas Jaeger <aj@suse.de>
18677 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
18678 value. Sync with Linux 3.7.
18680 2013-01-10 David S. Miller <davem@davemloft.net>
18682 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
18683 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18684 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18686 2013-01-10 Roland McGrath <roland@hack.frob.com>
18688 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
18690 * configure: Regenerated.
18692 2013-01-10 David S. Miller <davem@davemloft.net>
18694 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
18695 sparc V9 rather than using V8 code.
18696 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18697 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18699 2013-01-10 Roland McGrath <roland@hack.frob.com>
18701 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
18702 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
18703 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
18704 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
18705 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
18706 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
18707 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
18708 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
18709 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
18710 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
18711 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
18712 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
18713 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
18714 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
18715 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
18716 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
18717 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
18718 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
18719 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
18720 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
18721 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
18722 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
18723 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
18724 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
18725 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
18726 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
18727 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
18729 2013-01-10 David S. Miller <davem@davemloft.net>
18731 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18733 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
18735 * posix/Makefile (tests-static): New variable.
18736 (tests): Add $(tests-static).
18737 (tst-exec-static-ARGS): New variable.
18738 (tst-spawn-static-ARGS): Likewise.
18739 * posix/tst-exec-static.c: New file.
18740 * posix/tst-spawn-static.c: Likewise.
18741 * posix/tst-exec.c: Support run directly.
18742 * posix/tst-spawn.c: Likewise.
18744 2013-01-10 Joseph Myers <joseph@codesourcery.com>
18746 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
18748 * math/bits/mathcalls.h (llrint): Likewise.
18749 (llround): Likewise.
18750 * stdlib/stdlib.h (struct drand48_data): Likewise.
18751 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
18752 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
18753 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
18755 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
18757 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
18758 (elf_greg_t): Likewise.
18759 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
18760 (__jmp_buf): Likewise.
18761 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
18763 (llrint): Likewise, for all definitions.
18764 (llrintl): Likewise.
18766 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
18767 Remove [__GNUC__] condition.
18768 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
18769 condition to just [__USE_ISOC99].
18770 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
18772 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
18775 * sysdeps/unix/sysv/linux/x86/bits/environments.h
18776 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
18778 (_POSIX_V6_ILP32_OFF32): Likewise.
18779 (_XBS5_ILP32_OFF32): Likewise.
18780 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
18781 (__ILP32_OFFBIG_LDFLAGS): Likewise.
18783 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18785 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
18787 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
18788 doubles __mpexp_twomm1. Adjust usage.
18789 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
18792 2013-01-10 Andreas Schwab <schwab@suse.de>
18795 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
18796 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
18798 2013-01-09 David S. Miller <davem@davemloft.net>
18801 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
18802 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
18803 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
18804 TCP_FASTOPEN): Define.
18805 (tcp_repair_opt): New structure.
18806 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
18808 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
18809 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
18810 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
18811 (tcp_cookie_transactions): New structure.
18813 2013-01-09 Anton Blanchard <anton@samba.org>
18815 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
18816 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
18817 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
18818 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
18820 2013-01-09 Joseph Myers <joseph@codesourcery.com>
18822 * include/features.h (__USE_ANSI): Remove.
18824 2013-01-09 Roland McGrath <roland@hack.frob.com>
18826 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
18828 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
18830 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
18832 * sysdeps/s390/fpu/libm-test-ulps: Update.
18834 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18836 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
18840 (denorm): Likewise.
18841 (__mp_dbl): Likewise.
18842 (__dbl_mp): Likewise.
18843 (add_magnitudes): Likewise.
18844 (sub_magnitudes): Likewise.
18850 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
18854 (denorm): Likewise.
18855 (__mp_dbl): Likewise.
18856 (__dbl_mp): Likewise.
18857 (add_magnitudes): Likewise.
18858 (sub_magnitudes): Likewise.
18864 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
18868 (denorm): Likewise.
18869 (__mp_dbl): Likewise.
18870 (__dbl_mp): Likewise.
18871 (add_magnitudes): Likewise.
18872 (sub_magnitudes): Likewise.
18879 2013-01-08 Joseph Myers <joseph@codesourcery.com>
18881 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
18882 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
18883 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
18884 2 && __USE_EXTERN_INLINES]: Likewise.
18886 2013-01-08 Andreas Jaeger <aj@suse.de>
18889 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
18891 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
18892 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
18894 2013-01-07 Anton Blanchard <anton@samba.org>
18896 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
18897 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18898 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
18899 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18900 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18901 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18902 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
18903 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
18904 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18905 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18906 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18907 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18908 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
18909 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18910 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18911 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18912 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18913 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18914 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18915 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18916 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18917 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
18918 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18919 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18920 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
18921 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18922 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18923 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18924 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
18925 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
18926 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18927 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18928 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18929 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18930 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18931 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18932 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18933 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
18934 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
18935 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
18936 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
18937 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18938 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18940 2013-01-07 Joseph Myers <joseph@codesourcery.com>
18942 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
18943 (__MALLOC_PMT): Likewise.
18944 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
18945 [__GNUC__], only on [_LIBC].
18946 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
18947 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
18948 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
18949 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
18950 forward declaration.
18951 (realloc_hook_ini): Likewise.
18952 (memalign_hook_ini): Likewise.
18953 (__libc_memalign): Do not use __MALLOC_PMT in variable
18955 (__libc_valloc): Likewise.
18956 (__libc_pvalloc): Likewise.
18957 (__libc_calloc): Likewise.
18958 (__posix_memalign): Likewise.
18961 * math/s_casinh.c: Include <float.h>.
18962 (__casinh): Do not do computation with squaring and square root
18963 for large arguments.
18964 * math/s_casinhf.c: Include <float.h>.
18965 (__casinhf): Do not do computation with squaring and square root
18966 for large arguments.
18967 * math/s_casinhl.c: Include <float.h>.
18968 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
18969 (__casinhl): Do not do computation with squaring and square root
18970 for large arguments.
18971 * math/libm-test.inc (casin_test): Add more tests.
18972 (casinh_test): Likewise.
18973 * sysdeps/i386/fpu/libm-test-ulps: Update.
18974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18976 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
18978 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
18979 (__x86_64_raw_data_cache_size): Likewise.
18980 (__x86_64_data_cache_size_half): Likewise.
18981 (__x86_64_raw_data_cache_size_half): Likewise.
18982 (__x86_64_shared_cache_size): Likewise.
18983 (__x86_64_raw_shared_cache_size): Likewise.
18984 (__x86_64_shared_cache_size_half): Likewise.
18985 (__x86_64_raw_shared_cache_size_half): Likewise.
18986 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
18988 (__x86_data_cache_size): This.
18989 (__x86_64_raw_data_cache_size): Renamed to ...
18990 (__x86_raw_data_cache_size): This.
18991 (__x86_64_data_cache_size_half): Renamed to ...
18992 (__x86_data_cache_size_half): This.
18993 (__x86_64_raw_data_cache_size_half): Renamed to ...
18994 (__x86_raw_data_cache_size_half): This.
18995 (__x86_64_shared_cache_size): Renamed to ...
18996 (__x86_shared_cache_size): This.
18997 (__x86_64_raw_shared_cache_size): Renamed to ...
18998 (__x86_raw_shared_cache_size): This.
18999 (__x86_64_shared_cache_size_half): Renamed to ...
19000 (__x86_shared_cache_size_half): This.
19001 (__x86_64_raw_shared_cache_size_half): Renamed to ...
19002 (__x86_raw_shared_cache_size_half): This.
19003 * sysdeps/x86_64/memcpy.S: Updated.
19004 * sysdeps/x86_64/memset.S: Likewise.
19005 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19006 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19007 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19009 2013-01-04 David S. Miller <davem@davemloft.net>
19011 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19013 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
19015 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
19016 1 to avoid redefinition warning.
19017 (__USE_GNU): Don't define.
19018 (init_signaling_nan): Protoize.
19020 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19022 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19024 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
19025 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
19026 (__cpymn): Likewise.
19027 (norm): Remove commented code.
19028 (denorm): Likewise.
19029 (__mp_dbl): Likewise.
19031 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
19032 (__cpymn): Likewise.
19033 (norm): Remove commented code.
19034 (denorm): Likewise.
19035 (__mp_dbl): Likewise.
19038 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
19039 mp_no value for 1.0 and 2.0.
19040 (norm): Use RADIXI instead of radixi.d.
19041 (denorm): Likewise.
19042 (__mul): Use 0.0 instead of zero.d.
19043 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
19044 mp_no value for 1.0 and 2.0.
19045 (norm): Use RADIXI instead of radixi.d.
19046 (denorm): Likewise.
19047 (__mul): Use 0.0 instead of zero.d.
19049 2013-01-04 Joseph Myers <joseph@codesourcery.com>
19052 * math/s_casinh.c (__casinh): Reduce finite argument to first
19053 quadrant then set signs of results at the end.
19054 * math/s_casinhf.c (__casinhf): Likewise.
19055 * math/s_casinhl.c (__casinhl): Likewise.
19056 * math/libm-test.inc (casin_test): Add more tests.
19057 (casinh_test): Likewise.
19058 * sysdeps/i386/fpu/libm-test-ulps: Update.
19059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19061 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19063 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
19065 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
19067 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
19069 (denorm): Likewise.
19070 (__mp_dbl): Likewise.
19073 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
19074 and adjust the header comment.
19076 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
19077 variable name from declaration.
19079 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
19081 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19082 Initialize COMMON_CPUID_INDEX_7 element.
19083 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
19084 (CPUID_RTM): Likewise.
19085 (HAS_RTM): Likewise.
19086 (COMMON_CPUID_INDEX_7): New enum.
19088 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
19091 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
19092 size is zero, record memory as freed.
19094 2013-01-03 Andreas Jaeger <aj@suse.de>
19096 * po/ia.po: Add new Interlingua translation.
19098 2012-01-03 Allan McRae <allan@archlinux.org>
19100 * locale/programs/localedef.c: Fix description of '--posix' flag.
19102 2013-01-02 Joseph Myers <joseph@codesourcery.com>
19104 * NEWS: Update dates in second copyright notice.
19105 * README: Update copyright dates in example.
19106 * manual/libc.texinfo: Update copyright dates.
19107 * scripts/test-installation.pl: Update copyright date in --version
19110 * hurd/ctty-input.c: Fix copyright notice formatting.
19111 * hurd/ctty-output.c: Likewise.
19112 * hurd/dtable.c: Likewise.
19113 * hurd/hurd-raise.c: Likewise.
19114 * hurd/hurdprio.c: Likewise.
19115 * hurd/msgportdemux.c: Likewise.
19116 * misc/sys/file.h: Likewise.
19117 * misc/sys/ioctl.h: Likewise.
19118 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19119 * sysdeps/mach/hurd/chdir.c: Likewise.
19120 * sysdeps/mach/hurd/fchdir.c: Likewise.
19121 * sysdeps/mach/hurd/rename.c: Likewise.
19122 * sysdeps/mach/hurd/rmdir.c: Likewise.
19123 * sysdeps/mach/hurd/seekdir.c: Likewise.
19124 * sysdeps/mach/hurd/setsid.c: Likewise.
19125 * sysdeps/posix/wait3.c: Likewise.
19127 * All files with FSF copyright notices: Update copyright dates
19128 using scripts/update-copyrights.
19129 * intl/plural.c: Regenerated.
19130 * locale/programs/charmap-kw.h: Likewise.
19131 * locale/programs/locfile-kw.h: Likewise.
19133 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19135 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
19138 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
19139 calculation loop and add branch prediction.
19141 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
19142 check access beyond bounds of m1np.
19144 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19146 (__inv): Remove local variable MPTWO to use the global
19148 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
19149 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19151 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
19152 MP3HALFS static const.
19154 2013-01-01 David S. Miller <davem@davemloft.net>
19156 * po/ca.po: Update from translation team.
19158 2013-01-01 Joseph Myers <joseph@codesourcery.com>
19160 * scripts/update-copyrights: New file.
19161 * Makeconfig: Reformat copyright notice.
19162 * ctype/ctype.h: Likewise.
19163 * debug/swprintf_chk.c: Likewise.
19164 * elf/dl-cache.c: Likewise.
19165 * elf/dl-debug.c: Likewise.
19166 * elf/dl-object.c: Likewise.
19167 * grp/initgroups.c: Likewise.
19168 * hurd/Makefile: Likewise.
19169 * hurd/hurd/signal.h: Likewise.
19170 * hurd/hurdfault.c: Likewise.
19171 * hurd/hurdioctl.c: Likewise.
19172 * hurd/hurdlookup.c: Likewise.
19173 * hurd/intr-msg.c: Likewise.
19174 * iconv/gconv_open.c: Likewise.
19175 * libio/swprintf.c: Likewise.
19176 * locale/lc-ctype.c: Likewise.
19177 * locale/nl_langinfo.c: Likewise.
19178 * mach/Machrules: Likewise.
19179 * mach/Makefile: Likewise.
19180 * malloc/obstack.h: Likewise.
19181 * manual/Makefile: Likewise.
19182 * manual/tsort.awk: Likewise.
19183 * misc/bits/stab.def: Likewise.
19184 * nis/nis_print_group_entry.c: Likewise.
19185 * nis/nis_table.c: Likewise.
19186 * nis/nss_compat/compat-pwd.c: Likewise.
19187 * nis/nss_compat/compat-spwd.c: Likewise.
19188 * po/Makefile: Likewise.
19189 * posix/fnmatch.c: Likewise.
19190 * posix/regex.h: Likewise.
19191 * resolv/Makefile: Likewise.
19192 * resolv/nss_dns/dns-network.c: Likewise.
19193 * resolv/res_hconf.c: Likewise.
19194 * scripts/gen-sorted.awk: Likewise.
19195 * soft-fp/soft-fp.h: Likewise.
19196 * stdio-common/printf.h: Likewise.
19197 * stdlib/monetary.h: Likewise.
19198 * stdlib/random.c: Likewise.
19199 * stdlib/random_r.c: Likewise.
19200 * sysdeps/generic/Makefile: Likewise.
19201 * sysdeps/gnu/Makefile: Likewise.
19202 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19203 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19204 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19205 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19206 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19207 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19208 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19209 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19210 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19211 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19212 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19213 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19214 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19215 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19216 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
19217 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19218 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19219 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19220 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19221 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19222 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19223 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19224 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19225 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19226 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
19227 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19228 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19229 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
19230 * sysdeps/mach/hurd/errnos.awk: Likewise.
19231 * sysdeps/mach/hurd/fork.c: Likewise.
19232 * sysdeps/mach/hurd/getcwd.c: Likewise.
19233 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
19234 * sysdeps/mach/hurd/mmap.c: Likewise.
19235 * sysdeps/mach/hurd/utimes.c: Likewise.
19236 * sysdeps/mach/hurd/xmknod.c: Likewise.
19237 * sysdeps/posix/profil.c: Likewise.
19238 * sysdeps/posix/readdir_r.c: Likewise.
19239 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19240 * sysdeps/powerpc/bits/setjmp.h: Likewise.
19241 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
19242 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19243 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19244 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19245 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19246 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19247 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19248 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19249 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19250 * sysdeps/pthread/lio_listio.c: Likewise.
19251 * sysdeps/sparc/dl-procinfo.h: Likewise.
19252 * sysdeps/unix/i386/sysdep.S: Likewise.
19253 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
19254 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
19255 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
19256 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
19257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19258 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
19259 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
19260 * sysdeps/unix/sysv/linux/speed.c: Likewise.
19261 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
19262 * sysdeps/wordsize-32/divdi3.c: Likewise.
19263 * time/sys/time.h: Likewise.
19264 * wcsmbs/Makefile: Likewise.
19266 2013-01-01 David S. Miller <davem@davemloft.net>
19268 * po/fr.po: Update from translation team.
19270 * catgets/gencat.c: Update copyright year.
19271 * csu/version.c: Likewise.
19272 * debug/catchsegv.sh: Likewise.
19273 * debug/pcprofiledump.c: Likewise.
19274 * debug/xtrace.sh: Likewise.
19275 * elf/ldconfig.c: Likewise.
19276 * elf/ldd.bash.in: Likewise.
19277 * elf/pldd.c: Likewise.
19278 * elf/sotruss.ksh: Likewise.
19279 * elf/sprof.c: Likewise.
19280 * iconv/iconv_prog.c: Likewise.
19281 * iconv/iconvconfig.c: Likewise.
19282 * locale/programs/locale.c: Likewise.
19283 * locale/programs/localedef.c: Likewise.
19284 * login/programs/pt_chown.c: Likewise.
19285 * malloc/memusage.sh: Likewise.
19286 * malloc/memusagestat.c: Likewise.
19287 * malloc/mtrace.pl: Likewise.
19288 * nscd/nscd.c: Likewise.
19289 * nss/getent.c: Likewise.
19290 * nss/makedb.c: Likewise.
19291 * posix/getconf.c: Likewise.
19293 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19295 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
19298 2012-12-30 Mike Frysinger <vapier@gentoo.org>
19300 * math/bits/mathcalls.h (modf): Use __nonnull.
19302 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19304 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
19305 (split): Use macro CN instead of the bare value.
19306 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
19308 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
19309 instead of the bare value.
19310 (power1): Likewise.
19312 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19314 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
19316 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19318 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
19320 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19321 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19322 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
19323 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19325 2012-12-28 Andreas Jaeger <aj@suse.de>
19327 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
19328 values are from Linux 3.7.
19330 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
19331 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
19333 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19335 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
19338 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
19340 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
19341 variables with preprocessor constants.
19342 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19343 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19344 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19346 2012-12-27 Bruno Haible <bruno@clisp.org>
19349 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
19352 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19354 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
19355 and use variable directly.
19356 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
19358 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19360 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
19361 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19363 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19364 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19365 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
19366 include directive. Remove local variable MPONE.
19367 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
19368 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
19369 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19371 2012-12-25 David S. Miller <davem@davemloft.net>
19373 * version.h (RELEASE): Set to "development".
19374 (VERSION): Set to "2.17.90".
19375 * NEWS: Add 2.18 section.
19377 2012-12-21 David S. Miller <davem@davemloft.net>
19379 * po/hr.po: Update from translation team.
19381 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19383 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
19385 2012-12-19 Steve Ellcey <sellcey@mips.com>
19387 * NEWS: Mention new memcpy for MIPS.
19389 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19391 * manual/contrib.texi (Contributors): Spelling correction.
19393 2012-12-15 David S. Miller <davem@davemloft.net>
19395 * po/ru.po: Update from translation team.
19397 2012-12-13 David S. Miller <davem@davemloft.net>
19399 * NEWS: Mention IFUNC testsuite enhancements.
19401 * po/pl.po: Update from translation team.
19402 * po/bg.po: Likewise.
19404 * manual/contrib.texi (Contributors): Update entries for Hongjiu
19405 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
19407 2012-12-11 David S. Miller <davem@davemloft.net>
19409 * po/sv.po: Update from translation team.
19411 * po/vi.po: Update from translation team.
19413 * po/cs.po: Update from translation team.
19415 * po/de.po: Update from translation team.
19416 * po/eo.po: Likewise.
19417 * po/nl.po: Likewise.
19419 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19422 * manual/argp.texi (Argp Helper Functions): Move node to follow
19423 Argp Parsing State.
19426 * manual/conf.texi (Limits on File System Capacity): Mention if
19427 terminating null is included in the max size.
19429 2012-12-10 Andreas Jaeger <aj@suse.de>
19431 * po/cs.po: Update from translation team.
19433 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19435 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
19436 void pointer and cast to uintptr_t.
19437 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
19439 * sysdeps/s390/s390-64/memcpy.S: Likewise.
19440 * sysdeps/s390/s390-64/memset.S: Likewise.
19442 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
19445 * menual/message.texi (Message Translation): Fix typos.
19446 (Helper programs for gettext): Likewise.
19448 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
19451 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
19454 2012-12-07 David S. Miller <davem@davemloft.net>
19456 * po/libc.pot: Update.
19458 2012-12-07 Richard Henderson <rth@redhat.com>
19461 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
19462 normal/normal case to before the switch.
19463 (_FP_DIV): Likewise.
19465 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
19466 Mike Frysinger <vapier@gentoo.org>
19468 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
19469 check for __NR_fadvise64_64.
19471 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
19473 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
19474 0, not just to plain "0" as a statement.
19475 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
19478 2012-12-06 Joseph Myers <joseph@codesourcery.com>
19480 * NEWS: Use sourceware.org in Bugzilla URL.
19482 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19485 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
19487 * stdio-common/tst-put-error.c (do_test): Add newline to the
19488 padded test to ensure flush.
19490 2012-12-05 Jeff Law <law@redhat.com>
19492 * sunrpc/etc.rpc (fedfs_admin): Add entry.
19494 2012-12-05 Joseph Myers <joseph@codesourcery.com>
19496 * README: Don't refer to ports add-on as distributed separately.
19497 Mention AArch64 in list of systems supported in the ports add-on.
19499 * LICENSES: Add more non-FSF copyright and license notices.
19501 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
19504 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
19506 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
19507 10000 as width of padded output.
19509 2012-12-04 Joseph Myers <joseph@codesourcery.com>
19511 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
19513 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
19514 variable LX with __attribute__ ((unused)).
19515 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
19517 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
19518 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19519 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
19520 with __attribute__ ((unused)).
19522 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
19524 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
19526 2012-12-04 Joseph Myers <joseph@codesourcery.com>
19528 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
19529 (CFLAGS-nldbl-acos.c): New variable.
19530 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
19531 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
19532 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
19533 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
19534 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
19535 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
19536 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
19537 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
19538 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
19539 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
19540 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
19541 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
19542 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
19543 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
19544 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
19545 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
19546 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
19547 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
19548 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
19549 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
19550 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
19551 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
19552 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
19553 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
19554 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
19555 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
19556 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
19557 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
19558 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
19559 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
19560 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
19561 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
19562 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
19563 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
19564 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
19565 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
19566 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
19567 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
19568 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
19569 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
19570 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
19571 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
19572 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
19573 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
19574 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
19575 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
19576 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
19577 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
19578 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
19579 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
19580 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
19581 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
19582 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
19583 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
19584 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
19585 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
19586 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
19587 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
19588 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
19589 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
19590 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
19591 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
19592 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
19593 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
19594 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
19595 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
19596 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
19597 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
19598 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
19599 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
19600 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
19601 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
19602 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
19603 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
19604 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
19605 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
19606 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
19607 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
19608 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
19609 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
19610 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
19611 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
19612 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
19613 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
19614 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
19615 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
19616 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
19617 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
19618 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
19619 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
19620 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
19621 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
19622 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
19623 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
19624 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
19625 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
19626 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
19628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19629 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
19632 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
19633 whole low double instead of just low 47 bits when splitting values
19636 2012-12-03 Allan McRae <allan@archlinux.org>
19638 * manual/stdio.texi (Predefined Printf Handlers): Remove
19639 @hsep and @vsep usage.
19641 2012-12-03 Mike Frysinger <vapier@gentoo.org>
19643 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
19644 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
19646 2012-12-03 Jeff Law <law@redhat.com>
19648 * time/sys/time.h (settimeofday): Do not mark TV argument
19651 2012-12-01 Mike Frysinger <vapier@gentoo.org>
19653 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
19654 when currently writing and seek to current position when not.
19655 * libio/Makefile (tests): Remove bug-fclose1.
19656 * libio/bug-fclose1.c: Delete.
19658 2012-12-01 Joseph Myers <joseph@codesourcery.com>
19660 * manual/arith.texi (feenableexcept): Fix typo.
19661 (fedisableexcept): Likewise.
19663 2012-11-30 Roland McGrath <roland@hack.frob.com>
19665 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
19666 second, differently-typed declaration, rather than a cast.
19668 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19670 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
19671 * include/rpc/svc.h: ... here.
19673 2012-11-30 Aurelien Jarno <aurel32@debian.org>
19676 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
19677 depending n and resplen2 to catch cases where answer
19680 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
19682 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
19683 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
19685 2012-11-29 Mike Frysinger <vapier@gentoo.org>
19687 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
19689 2012-11-29 Roland McGrath <roland@hack.frob.com>
19691 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
19693 2012-11-28 Jeff Law <law@redhat.com>
19696 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
19697 dataset_temporary. Track alloca usage into alloca_used.
19698 If dataset is large allocate and release it via malloc/free.
19700 2012-06-04 Florian Weimer <fweimer@redhat.com>
19703 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
19705 2012-11-28 David S. Miller <davem@davemloft.net>
19707 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19709 2012-11-28 Joseph Myers <joseph@codesourcery.com>
19712 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
19713 of pi/2 rounded to nearest to 64 bits.
19714 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
19715 nearest to 64 bits.
19716 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
19719 2012-11-28 Jeff Law <law@redhat.com>
19720 Martin Osvald <mosvald@redhat.com>
19723 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
19724 * sunrpc/svc.c: Include time.h.
19725 (__svc_accept_failed): New function.
19726 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
19727 any reason other than EINTR, call __svc_accept_failed.
19728 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
19729 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
19731 2012-11-28 Andreas Schwab <schwab@suse.de>
19733 * scripts/abilist.awk: Also handle indirect functions in .opd
19736 2012-11-28 Joseph Myers <joseph@codesourcery.com>
19739 * sysdeps/x86/fpu/powl_helper.c: New file.
19740 * sysdeps/x86/fpu/Makefile: Likewise.
19741 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
19743 (__ieee754_powl): Use __powl_helper for finite arguments except
19744 integer exponents below 8.
19745 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
19747 (__ieee754_powl): Use __powl_helper for finite arguments except
19748 integer exponents below 8.
19749 * math/libm-test.inc (pow_test): Add more tests and enable some
19750 previously disabled tests.
19751 * sysdeps/i386/fpu/libm-test-ulps: Update.
19752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19754 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19755 Carlos O'Donell <carlos_odonell@mentor.com>
19757 * nss/makedb.c (is_prime): Assert that input is odd and greater
19758 than 4. Note that fact in a comment too.
19759 (next_prime): Add 4 to input.
19761 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19764 * libio/Makefile (tests): Add test case tst-fwrite-error.
19765 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
19766 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
19767 * libio/tst-fwrite-error.c: New test case.
19769 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
19771 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
19772 before casting to void *.
19773 * include/libc-internal.h (__pointer_type): New macro.
19774 (__integer_if_pointer_type_sub): Likewise.
19775 (__integer_if_pointer_type): Likewise.
19776 (cast_to_integer): Likewise.
19777 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
19778 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
19779 before casting to atomic64_t.
19780 (atomic_exchange_acq): Likewise.
19781 (__arch_exchange_and_add_body): Likewise.
19782 (__arch_add_body): Likewise.
19783 (atomic_add_negative): Likewise.
19784 (atomic_add_zero): Likewise.
19786 2012-11-26 Joseph Myers <joseph@codesourcery.com>
19788 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
19789 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
19790 (add_fdes): Likewise.
19791 (linear_search_fdes): Likewise.
19792 (binary_search_unencoded_fdes): Likewise.
19794 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
19796 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
19798 2012-11-24 Adam Conrad <adconrad@0c3.net>
19800 * configure.in: Autodetect C++ header directories.
19801 * configure: Regenerated.
19803 2012-11-23 Mike Frysinger <vapier@gentoo.org>
19805 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
19807 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
19809 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19811 2012-11-22 Joseph Myers <joseph@codesourcery.com>
19813 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
19814 LDBL_MANT_DIG == 106]: Disable some tests.
19815 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
19817 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
19821 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
19822 input for small inputs. Return +/- pi/2 for large inputs.
19823 * math/libm-test.inc (atan_test): Add more tests.
19825 * sysdeps/generic/unwind-dw2-fde-glibc.c
19826 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
19827 __attribute__ ((unused)).
19830 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
19831 x * y if x and y are nonzero and z is zero.
19834 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
19835 nonzero exponents with absolute value below 0x1p-117 to +/-
19839 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
19840 up arguments below 2**-450, not just those below 2**-500.
19841 * math/libm-test.inc (hypot_test): Add another test.
19844 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
19845 Return a+b for ratio over 2**120, not 2**60.
19846 * math/libm-test.inc (hypot_test): Add another test.
19848 * math/libm-test.inc (clog_test): Use
19849 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
19850 (clog10_test): Likewise.
19853 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
19855 2012-11-22 Andreas Schwab <schwab@suse.de>
19857 * sysdeps/i386/fpu/libm-test-ulps: Update.
19859 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
19861 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
19862 printf output with newline.
19864 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
19867 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
19868 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
19869 -z nodlopen, -z initfirst and -z execstack support.
19870 * configure: Regenerated.
19872 * elf/elf.h (DF_1_NODIRECT): New macro.
19873 (DF_1_IGNMULDEF): Likewise.
19874 (DF_1_NOKSYMS): Likewise.
19875 (DF_1_NOHDR): Likewise.
19876 (DF_1_EDITED): Likewise.
19877 (DF_1_NORELOC): Likewise.
19878 (DF_1_SYMINTPOSE): Likewise.
19879 (DF_1_GLOBAUDIT): Likewise.
19880 (DF_1_SINGLETON): Likewise.
19881 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
19882 DT_1_SUPPORTED_MASK bits.
19883 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
19885 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
19887 * sysdeps/unix/make-syscalls.sh: Document prefixes.
19889 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
19891 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
19894 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
19895 (sendmmsg): Move declarations...
19896 * socket/sys/socket.h: ... here.
19897 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
19898 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
19900 * socket/recvmmsg.c: ... this new file.
19901 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
19902 (sendmmsg): Rename to __sendmmsg, create weak alias and make
19903 definition of __sendmmsg hidden.
19904 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
19905 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
19906 Move ENOSYS stub into and include it from...
19907 * socket/sendmmsg.c: ... this new file.
19908 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
19909 (sysdep_routines): Move recvmmsg and sendmmsg...
19910 * socket/Makefile (routines): ... here.
19911 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
19912 (GLIBC_PRIVATE): Add __sendmmsg.
19913 * include/sys/socket.h (__sendmmsg): Add declarations.
19914 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
19917 2012-11-20 Joseph Myers <joseph@codesourcery.com>
19919 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
19920 variable I1 with __attribute__ ((unused)).
19921 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19923 2012-11-19 Joseph Myers <joseph@codesourcery.com>
19925 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
19926 DUMMY variables with __attribute__ ((unused)).
19928 * bits/byteswap.h: Include <bits/types.h>.
19929 (__bswap_64): Use __uint64_t instead of unsigned long long int.
19931 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
19933 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
19934 string_t. Do not manually set errno.
19935 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
19936 length with __strnlen. Make sure to both set errno and return it on
19939 2012-11-19 David S. Miller <davem@davemloft.net>
19941 With help from Joseph Myers.
19942 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
19943 very large arguments properly.
19944 * math/libm-test.inc (atan_test): New tests.
19945 (atan2_test): New tests.
19946 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19947 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19949 2012-11-19 Joseph Myers <joseph@codesourcery.com>
19952 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
19955 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
19956 [POSIX] (EADDRNOTAVAIL): Likewise.
19957 [POSIX] (EAFNOSUPPORT): Likewise.
19958 [POSIX] (EALREADY): Likewise.
19959 [POSIX] (ECONNABORTED): Likewise.
19960 [POSIX] (ECONNREFUSED): Likewise.
19961 [POSIX] (ECONNRESET): Likewise.
19962 [POSIX] (EDESTADDRREQ): Likewise.
19963 [POSIX] (EDQUOT): Likewise.
19964 [POSIX] (EHOSTUNREACH): Likewise.
19965 [POSIX] (EIDRM): Likewise.
19966 [POSIX] (EISCONN): Likewise.
19967 [POSIX] (ELOOP): Likewise.
19968 [POSIX] (EMULTIHOP): Likewise.
19969 [POSIX] (ENETDOWN): Likewise.
19970 [POSIX] (ENETUNREACH): Likewise.
19971 [POSIX] (ENOBUFS): Likewise.
19972 [POSIX] (ENODATA): Likewise.
19973 [POSIX] (ENOLINK): Likewise.
19974 [POSIX] (ENOMSG): Likewise.
19975 [POSIX] (ENOPROTOOPT): Likewise.
19976 [POSIX] (ENOSR): Likewise.
19977 [POSIX] (ENOSTR): Likewise.
19978 [POSIX] (ENOTCONN): Likewise.
19979 [POSIX] (ENOTSOCK): Likewise.
19980 [POSIX] (EOPNOTSUPP): Likewise.
19981 [POSIX] (EOVERFLOW): Likewise.
19982 [POSIX] (EPROTO): Likewise.
19983 [POSIX] (EPROTONOSUPPORT): Likewise.
19984 [POSIX] (EPROTOTYPE): Likewise.
19985 [POSIX] (ESTALE): Likewise.
19986 [POSIX] (ETIME): Likewise.
19987 [POSIX] (ETXTBSY): Likewise.
19988 [POSIX] (EWOULDBLOCK): Likewise.
19989 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
19990 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
19991 [POSIX] (SEEK_CUR): Likewise.
19992 [POSIX] (SEEK_END): Likewise.
19993 [POSIX || UNIX98] (mode_t): Do not require.
19994 [POSIX] (off_t): Likewise.
19995 [POSIX] (pid_t): Likewise.
19996 [POSIX] (sys/stat.h): Do not allow header.
19997 [POSIX] (unistd.h): Likewise.
19998 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
19999 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
20000 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
20001 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
20003 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
20004 sigevent): Specify elements.
20005 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
20007 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
20008 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
20010 * conform/data/cpio.h-data [POSIX]: Disable whole file.
20011 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
20012 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
20013 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
20014 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
20015 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
20016 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
20017 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
20018 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
20019 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
20020 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
20021 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
20022 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
20023 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
20025 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
20027 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
20029 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
20031 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
20032 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
20033 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
20034 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
20035 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
20036 Specify lower bound on value.
20037 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
20038 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
20039 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
20040 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
20041 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
20042 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
20043 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
20044 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
20046 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
20048 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
20049 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
20050 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
20051 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
20052 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
20053 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
20054 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
20055 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
20056 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
20057 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
20058 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
20059 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
20060 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
20061 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
20062 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
20063 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
20065 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
20067 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
20068 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
20069 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
20070 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
20071 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
20072 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
20074 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
20075 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
20076 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
20077 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
20078 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
20079 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
20080 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
20082 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
20083 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
20084 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
20085 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
20086 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
20087 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
20088 specify as optional.
20089 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
20090 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
20091 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
20092 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
20093 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
20094 [XPG3] (NL_LANGMAX): Likewise.
20095 [POSIX || XPG3] (NL_MSGMAX): Likewise.
20096 [POSIX || XPG3] (NL_NMAX): Likewise.
20097 [POSIX || XPG3] (NL_SETMAX): Likewise.
20098 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
20099 [XPG3] (NZERO): Likewise.
20100 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
20101 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
20102 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
20103 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
20104 (REG_ERANGE): Expect.
20105 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
20107 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
20108 Use (void) in prototype.
20109 [POSIX] (*_t): Allow.
20110 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
20111 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
20112 (WRDE_BADVAL): Expect.
20114 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
20116 [XPG3 || XPG4] (O_RSYNC): Likewise.
20117 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
20119 [XPG3 || XPG4] (pthread_sigmask): Likewise.
20120 [XPG3 || XPG4] (sigqueue): Likewise.
20121 [XPG3 || XPG4] (sigtimedwait): Likewise.
20122 [XPG3 || XPG4] (sigwaitinfo): Likewise.
20123 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
20124 [XPG3 || XPG4] (vsnprintf): Likewise.
20125 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
20127 [XPG3 || XPG4] (blksize_t): Likewise.
20128 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
20130 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
20131 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20132 [XPG3 || XPG4] (struct itimerspec): Likewise.
20133 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
20134 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
20135 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
20136 [XPG3 || XPG4] (clockid_t): Likewise.
20137 [XPG3 || XPG4] (timer_t): Likewise.
20138 [XPG3 || XPG4] (clock_getres): Likewise.
20139 [XPG3 || XPG4] (clock_gettime): Likewise.
20140 [XPG3 || XPG4] (clock_settime): Likewise.
20141 [XPG3 || XPG4] (nanosleep): Likewise.
20142 [XPG3 || XPG4] (timer_create): Likewise.
20143 [XPG3 || XPG4] (timer_delete): Likewise.
20144 [XPG3 || XPG4] (timer_gettime): Likewise.
20145 [XPG3 || XPG4] (timer_getoverrun): Likewise.
20146 [XPG3 || XPG4] (timer_settime): Likewise.
20147 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
20148 [XPG3 || XPG4] (getlogin_r): Likewise.
20149 [XPG3 || XPG4] (pread): Likewise.
20150 [XPG3 || XPG4] (pthread_atfork): Likewise.
20151 [XPG3 || XPG4] (pwrite): Likewise.
20154 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
20157 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20159 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
20160 finalizing MALLSTREAM.
20162 * sysdeps/mach/hurd/syncfs.c: New file.
20164 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20167 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
20168 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
20169 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
20170 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
20171 (_nss_dns_gethostbyname4_r): Likewise.
20172 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
20173 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
20175 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
20178 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
20180 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
20182 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
20183 * elf/cache.c (print_entry): Print ",AArch64" for
20186 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
20187 * elf/cache.c (print_entry): Print ",hard-float" for
20190 2012-11-18 David S. Miller <davem@davemloft.net>
20192 With help from Joseph Myers.
20193 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
20195 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
20197 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
20198 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
20200 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
20201 * math/libm-test.inc (y0_test): New tests.
20202 (y1_test): New tests.
20203 * sysdeps/i386/fpu/libm-test-ulps: Update.
20204 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20205 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20207 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
20209 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
20211 * configure: Regenerated.
20213 2012-11-17 David S. Miller <davem@davemloft.net>
20216 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
20217 nonzero exponents with absolute value below 0x1p-128 to +/-
20220 2012-11-17 Joseph Myers <joseph@codesourcery.com>
20222 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
20224 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
20226 * posix/getconf-speclist.c: New file.
20227 * posix/posix-envs.def: Likewise.
20228 * posix/confstr.c (START_ENV_GROUP): New macro.
20229 (END_ENV_GROUP): Likewise.
20230 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20231 (KNOWN_PRESENT_ENV_STRING): Likewise.
20232 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20233 (UNKNOWN_ENVIRONMENT): Likewise.
20234 (confstr): Include posix-envs.def instead of handling
20235 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
20236 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
20237 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
20238 (END_ENV_GROUP): Likewise.
20239 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20240 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20241 (UNKNOWN_ENVIRONMENT): Likewise.
20242 (__sysconf): Include posix-envs.def instead of handling associated
20243 cases directly here.
20244 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
20245 preprocessing getconf-speclist.c rather than running getconf or
20246 generating empty file.
20248 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
20250 * scripts/check-local-headers.sh: Ignore 'mach' headers.
20252 2012-11-16 Andrej Lajovic <natrij@gmail.com>
20255 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
20257 2012-11-16 David S. Miller <davem@davemloft.net>
20259 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
20260 smaller than LDBL_EPSILON/2.0L, just return xm1.
20262 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
20264 * elf/tst-array1.c (init): Set constructor priority to 1000.
20265 (fini): Set destructor priority to 1000.
20266 * elf/tst-array2dep.c: Likewise.
20268 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20271 * libio/fileops.c (_IO_new_file_write): Correctly return error.
20272 (_IO_new_file_xsputn): Also return EOF if none of the input
20273 data was written when overflow failed.
20274 * libio/iopadn.c (_IO_padn): Likewise.
20275 * libio/iowpadn.c (_IO_wpadn): Likewise.
20276 * stdio-common/tst-put-error.c: Add copyright notice.
20277 (do_test): Add case for printing padded string.
20278 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
20279 _IO_padn returned error.
20280 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
20281 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
20284 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20286 * libio/libioP.h: Add comment note that the references to C++
20287 bits are now obsolete.
20289 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20291 * math/libm-test.inc (check_complex): Use asprintf.
20293 2012-11-14 Joseph Myers <joseph@codesourcery.com>
20295 * debug/pcprofiledump.c (print_version): Update copyright year.
20296 * malloc/memusagestat.c (print_version): Likewise.
20298 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
20301 * elf/Makefile (tests): Add tst-audit8.
20302 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
20303 ($(objpfx)tst-audit8.out): New target.
20304 (tst-audit8-ENV): New variable.
20305 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
20306 audit if l_reloc_result is NULL.
20307 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
20308 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
20309 * elf/tst-audit8.c: New file.
20311 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20313 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
20314 * misc/Makefile (CFLAGS-select.c): Define.
20315 * posix/Makefile (CFLAGS-pause.c): Define.
20317 2012-11-13 David S. Miller <davem@davemloft.net>
20319 * crypt/Makefile: Move test targets after toplevel Rules
20320 inclusion. Grab any necessary sysdep routines when linking.
20321 * crypt/md5.c (md5_process_block): Remove define, we will always
20322 name it __md5_process_block.
20323 (md5_finish_ctx): Update md5_process_block call.
20324 (md5_stream): Likewise.
20325 (md5_process_bytes): Likewise.
20326 (md5_process_block): Rename to __md5_process_block and move to ...
20327 * crypt/md5-block.c: ... here.
20328 * crypt/sha256.c (sha256_process_block): Move to ...
20329 * crypt/sha256-block.c: ... here.
20330 * crypt/sha512.c (sha512_process_block): Move to ...
20331 * crypt/sha512-block.c: ... here.
20332 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
20334 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
20335 * sysdeps/sparc/sparc64/multiarch/Makefile
20336 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
20338 (localedef-aux): Add md5 crypto assembler when in locale subdir.
20339 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
20341 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
20342 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
20343 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
20344 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
20345 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
20346 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
20347 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
20348 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
20349 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
20351 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
20352 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
20354 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
20356 2012-11-13 Joseph Myers <joseph@codesourcery.com>
20358 * timezone/tzselect.ksh: Update from tzcode git revision
20359 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
20360 * timezone/zdump.c: Likewise.
20361 * timezone/zic.c: Likewise.
20362 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
20363 in TZVERSION setting, not $(PKGVERSION).
20364 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
20365 REPORT_BUGS_TO settings.
20368 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
20371 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20373 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
20374 detection to immediately after _FP_ROUND().
20375 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
20378 2012-11-11 David S. Miller <davem@davemloft.net>
20380 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
20382 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
20383 __close rather than their public counterparts.
20385 2012-11-10 Joseph Myers <joseph@codesourcery.com>
20387 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
20389 [UNIX98] (sem_timedwait): Do not expect.
20390 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
20391 [XPG4 || UNIX98] (sockatmark): Do not expect.
20392 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
20393 (clock_getcpuclockid): Do not expect.
20394 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
20395 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
20397 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
20398 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
20399 [UNIX98] (vwscanf): Likewise.
20400 [UNIX98] (vswscanf): Likewise.
20402 2012-11-09 Joseph Myers <joseph@codesourcery.com>
20404 * timezone/version.h: Remove file.
20405 * timezone/README: Do not refer to version.h.
20406 * timezone/Makefile ($(objpfx)zic.o): New dependency on
20407 $(objpfx)version.h.
20408 ($(objpfx)zdump.o): Likewise.
20409 ($(objpfx)version.h): New target.
20411 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
20413 * timezone/README: Don't mention modification to tzselect.ksh.
20414 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
20415 work on unmodified tzselect.ksh. Substitute version numbers in
20418 * Makefile (format-me): Remove.
20419 (INSTALL): Adjust indentation. Use commands directly instead of
20420 using $(format-me).
20422 * aclocal.m4 (ACX_PKGVERSION): New macro.
20423 (ACX_BUGURL): Likewise.
20424 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
20425 (PKGVERSION): New AC_DEFINE_UNQUOTED.
20426 (REPORT_BUGS_TO): Likewise.
20427 * configure: Regenerated.
20428 * config.h.in (PKGVERSION): New macro.
20429 (REPORT_BUGS_TO): Likewise.
20430 * config.make.in (PKGVERSION): New variable.
20431 (PKGVERSION_TEXI): Likewise.
20432 (REPORT_BUGS_TO): Likewise.
20433 (REPORT_BUGS_TEXI): Likewise.
20434 * Makefile (format-me): Use -I$(common-objpfx)manual.
20435 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
20436 ($(common-objpfx)manual/%): New target.
20437 (manual/%): Remove target.
20438 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
20439 (print_version): Use PKGVERSION.
20440 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
20441 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
20442 and REPORT_BUGS_TO.
20443 ($(objpfx)xtrace): Likewise.
20444 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
20445 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
20446 (print_version): Use PKGVERSION.
20447 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
20448 (do_version): Use PKGVERSION.
20449 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
20451 (common-ldd-rewrite): Likewise.
20452 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
20453 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
20454 (print_version): Use PKGVERSION.
20455 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
20456 * elf/pldd.c (argp_program_bug_address): Remove variable.
20457 (more_help): New function.
20458 (argp): Use more_help.
20459 (print_version): Use PKGVERSION.
20460 * elf/sln.c (main): Use PKGVERSION.
20461 (usage): Use REPORT_BUGS_TO.
20462 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
20463 (top level): Use PKGVERSION.
20464 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
20465 (print_version): Use PKGVERSION.
20466 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
20467 (print_version): Use PKGVERSION.
20468 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
20469 (print_version): Use PKGVERSION.
20470 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
20471 (print_version): Use PKGVERSION.
20472 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
20473 (print_version): Use PKGVERSION.
20474 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
20475 (print_version): Use PKGVERSION.
20476 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
20478 ($(objpfx)memusage): Likewise.
20479 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
20480 (do_version): Use PKGVERSION.
20481 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
20482 (print_version): Use PKGVERSION.
20483 * malloc/mtrace.pl ($PACKAGE): Remove variable.
20484 ($PKGVERSION): New variable.
20485 ($REPORT_BUGS_TO): Likewise.
20486 (usage): Use $REPORT_BUGS_TO.
20487 (top level): Use $PKGVERSION.
20488 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
20489 ($(objpfx)pkgvers.texi): New rule.
20490 ($(objpfx)stamp-pkgvers): Likewise.
20491 * manual/install.texi: Include pkgvers.texi.
20492 (--with-pkgversion): Document new configure option.
20493 (--with-bugurl): Likewise.
20494 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
20495 than necessarily for this particular distribution. Use
20496 REPORT_BUGS_TO for where to report bugs.
20497 * INSTALL: Regenerated.
20498 * manual/libc.texinfo: Include pkgvers.texi.
20499 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
20500 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
20501 (print_version): Use PKGVERSION.
20502 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
20503 (print_version): Use PKGVERSION.
20504 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
20505 (print_version): Use PKGVERSION.
20506 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
20507 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
20509 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
20510 (print_version): Use PKGVERSION.
20511 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
20512 (print_version): Use PKGVERSION.
20513 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
20516 * timezone/checktab.awk: Update from tzcode 2012i.
20517 * timezone/ialloc.c: Likewise.
20518 * timezone/private.h: Likewise.
20519 * timezone/scheck.c: Likewise.
20520 * timezone/tzfile.h: Likewise.
20521 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
20522 (TZVERSION): Hardcode tzcode version number.
20523 * timezone/zdump.c: Update from tzcode 2012i.
20524 * timezone/zic.c: Likewise.
20525 * timezone/version.h: New file.
20526 * timezone/README: Describe version.h. Update upstream location.
20529 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
20530 (mktemp): Enable declaration.
20531 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
20532 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
20533 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
20534 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
20536 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
20538 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
20540 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
20542 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
20544 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
20548 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
20549 offset in buffer as u_int32_t not u_long. Consistently use memcpy
20550 for copies of such integer values.
20551 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
20552 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
20554 2012-11-09 Andreas Jaeger <aj@suse.de>
20556 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
20557 definitions and declarations that are provided by
20558 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
20560 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20562 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
20563 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
20564 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
20567 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20569 * elf/elf.h: Update comment before AArch64 relocations.
20571 2012-11-07 David S. Miller <davem@davemloft.net>
20573 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
20574 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
20575 (__start_context): Declare.
20576 (__makecontext_ret): Delete.
20577 (__makecontext): Hook up __start_context instead of
20579 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
20580 (sysdep_routines): Add __start_context when in stdlib.
20582 2012-11-07 Joseph Myers <joseph@codesourcery.com>
20584 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
20585 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
20586 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
20588 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
20589 (READELF): New variable. Use it instead of hardcoded "readelf".
20591 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
20593 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
20594 * sysdeps/x86/Makefile: Here.
20595 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
20596 * sysdeps/x86/tst-xmmymm.sh: This.
20598 2012-11-07 Joseph Myers <joseph@codesourcery.com>
20600 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
20602 [UNIX98] (pthread_barrier_t): Do not expect.
20603 [UNIX98] (pthread_barrierattr_t): Likewise.
20604 [UNIX98] (pthread_spinlock_t): Likewise.
20605 [UNIX98] (pthread_barrier_destroy): Likewise.
20606 [UNIX98] (pthread_barrier_init): Likewise.
20607 [UNIX98] (pthread_barrier_wait): Likewise.
20608 [UNIX98] (pthread_barrierattr_destroy): Likewise.
20609 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
20610 [UNIX98] (pthread_barrierattr_init): Likewise.
20611 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
20612 [UNIX98] (pthread_getcpuclockid): Likewise.
20613 [UNIX98] (pthread_mutex_timedlock): Likewise.
20614 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
20615 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
20616 [UNIX98] (pthread_sigmask): Likewise.
20617 [UNIX98] (pthread_spin_destroy): Likewise.
20618 [UNIX98] (pthread_spin_init): Likewise.
20619 [UNIX98] (pthread_spin_lock): Likewise.
20620 [UNIX98] (pthread_spin_trylock): Likewise.
20621 [UNIX98] (pthread_spin_unlock): Likewise.
20622 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
20624 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
20625 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
20626 [XPG3 || XPG4] (pthread_cond_t): Likewise.
20627 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
20628 [XPG3 || XPG4] (pthread_key_t): Likewise.
20629 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
20630 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
20631 [XPG3 || XPG4] (pthread_once_t): Likewise.
20632 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
20633 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
20634 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
20635 [XPG3 || XPG4] (pthread_t): Likewise.
20637 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
20639 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
20641 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
20642 Change function return type to int.
20644 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
20645 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
20646 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
20647 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
20648 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
20649 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
20650 [!POSIX] (posix_madvise): Likewise.
20651 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
20653 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
20654 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
20655 (mode_t): Likewise.
20656 (posix_mem_offset): Likewise.
20657 (posix_typed_mem_get_info): Likewise.
20658 (posix_typed_mem_open): Likewise.
20660 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
20661 Change condition to [XOPEN2K8].
20663 * conform/conformtest.pl: Preprocess allow-header data with -x c
20664 instead of from stdin.
20665 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
20666 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
20667 [C99-based standards] (cerfc): Likewise.
20668 [C99-based standards] (cexp2): Likewise.
20669 [C99-based standards] (cexpm1): Likewise.
20670 [C99-based standards] (clog10): Likewise.
20671 [C99-based standards] (clog1p): Likewise.
20672 [C99-based standards] (clog2): Likewise.
20673 [C99-based standards] (clgamma): Likewise.
20674 [C99-based standards] (ctgamma): Likewise.
20675 [C99-based standards] (cerff): Likewise.
20676 [C99-based standards] (cerfcf): Likewise.
20677 [C99-based standards] (cexp2f): Likewise.
20678 [C99-based standards] (cexpm1f): Likewise.
20679 [C99-based standards] (clog10f): Likewise.
20680 [C99-based standards] (clog1pf): Likewise.
20681 [C99-based standards] (clog2f): Likewise.
20682 [C99-based standards] (clgammaf): Likewise.
20683 [C99-based standards] (ctgammaf): Likewise.
20684 [C99-based standards] (cerfl): Likewise.
20685 [C99-based standards] (cerfcl): Likewise.
20686 [C99-based standards] (cexp2l): Likewise.
20687 [C99-based standards] (cexpm1l): Likewise.
20688 [C99-based standards] (clog10l): Likewise.
20689 [C99-based standards] (clog1pl): Likewise.
20690 [C99-based standards] (clog2l): Likewise.
20691 [C99-based standards] (clgammal): Likewise.
20692 [C99-based standards] (ctgammal): Likewise.
20693 * conform/data/inttypes.h-data [C99-based standards]: Include
20694 stdint.h-data. Remove all expectations for stdint.h contents.
20695 [C99-based standards] (PRI*): Do not allow.
20696 [C99-based standards] (SCN*): Likewise.
20697 [C99-based standards] (*_t): Likewise.
20698 [C99-based-standards] (PRId8): Expect macro.
20699 [C99-based-standards] (PRIi8): Likewise.
20700 [C99-based-standards] (PRIo8): Likewise.
20701 [C99-based-standards] (PRIu8): Likewise.
20702 [C99-based-standards] (PRIx8): Likewise.
20703 [C99-based-standards] (PRIX8): Likewise.
20704 [C99-based-standards] (SCNd8): Likewise.
20705 [C99-based-standards] (SCNi8): Likewise.
20706 [C99-based-standards] (SCNo8): Likewise.
20707 [C99-based-standards] (SCNu8): Likewise.
20708 [C99-based-standards] (SCNx8): Likewise.
20709 [C99-based-standards] (PRIdLEAST8): Likewise.
20710 [C99-based-standards] (PRIiLEAST8): Likewise.
20711 [C99-based-standards] (PRIoLEAST8): Likewise.
20712 [C99-based-standards] (PRIuLEAST8): Likewise.
20713 [C99-based-standards] (PRIxLEAST8): Likewise.
20714 [C99-based-standards] (PRIXLEAST8): Likewise.
20715 [C99-based-standards] (SCNdLEAST8): Likewise.
20716 [C99-based-standards] (SCNiLEAST8): Likewise.
20717 [C99-based-standards] (SCNoLEAST8): Likewise.
20718 [C99-based-standards] (SCNuLEAST8): Likewise.
20719 [C99-based-standards] (SCNxLEAST8): Likewise.
20720 [C99-based-standards] (PRIdFAST8): Likewise.
20721 [C99-based-standards] (PRIiFAST8): Likewise.
20722 [C99-based-standards] (PRIoFAST8): Likewise.
20723 [C99-based-standards] (PRIuFAST8): Likewise.
20724 [C99-based-standards] (PRIxFAST8): Likewise.
20725 [C99-based-standards] (PRIXFAST8): Likewise.
20726 [C99-based-standards] (SCNdFAST8): Likewise.
20727 [C99-based-standards] (SCNiFAST8): Likewise.
20728 [C99-based-standards] (SCNoFAST8): Likewise.
20729 [C99-based-standards] (SCNuFAST8): Likewise.
20730 [C99-based-standards] (SCNxFAST8): Likewise.
20731 [C99-based-standards] (PRId16): Likewise.
20732 [C99-based-standards] (PRIi16): Likewise.
20733 [C99-based-standards] (PRIo16): Likewise.
20734 [C99-based-standards] (PRIu16): Likewise.
20735 [C99-based-standards] (PRIx16): Likewise.
20736 [C99-based-standards] (PRIX16): Likewise.
20737 [C99-based-standards] (SCNd16): Likewise.
20738 [C99-based-standards] (SCNi16): Likewise.
20739 [C99-based-standards] (SCNo16): Likewise.
20740 [C99-based-standards] (SCNu16): Likewise.
20741 [C99-based-standards] (SCNx16): Likewise.
20742 [C99-based-standards] (PRIdLEAST16): Likewise.
20743 [C99-based-standards] (PRIiLEAST16): Likewise.
20744 [C99-based-standards] (PRIoLEAST16): Likewise.
20745 [C99-based-standards] (PRIuLEAST16): Likewise.
20746 [C99-based-standards] (PRIxLEAST16): Likewise.
20747 [C99-based-standards] (PRIXLEAST16): Likewise.
20748 [C99-based-standards] (SCNdLEAST16): Likewise.
20749 [C99-based-standards] (SCNiLEAST16): Likewise.
20750 [C99-based-standards] (SCNoLEAST16): Likewise.
20751 [C99-based-standards] (SCNuLEAST16): Likewise.
20752 [C99-based-standards] (SCNxLEAST16): Likewise.
20753 [C99-based-standards] (PRIdFAST16): Likewise.
20754 [C99-based-standards] (PRIiFAST16): Likewise.
20755 [C99-based-standards] (PRIoFAST16): Likewise.
20756 [C99-based-standards] (PRIuFAST16): Likewise.
20757 [C99-based-standards] (PRIxFAST16): Likewise.
20758 [C99-based-standards] (PRIXFAST16): Likewise.
20759 [C99-based-standards] (SCNdFAST16): Likewise.
20760 [C99-based-standards] (SCNiFAST16): Likewise.
20761 [C99-based-standards] (SCNoFAST16): Likewise.
20762 [C99-based-standards] (SCNuFAST16): Likewise.
20763 [C99-based-standards] (SCNxFAST16): Likewise.
20764 [C99-based-standards] (PRId32): Likewise.
20765 [C99-based-standards] (PRIi32): Likewise.
20766 [C99-based-standards] (PRIo32): Likewise.
20767 [C99-based-standards] (PRIu32): Likewise.
20768 [C99-based-standards] (PRIx32): Likewise.
20769 [C99-based-standards] (PRIX32): Likewise.
20770 [C99-based-standards] (SCNd32): Likewise.
20771 [C99-based-standards] (SCNi32): Likewise.
20772 [C99-based-standards] (SCNo32): Likewise.
20773 [C99-based-standards] (SCNu32): Likewise.
20774 [C99-based-standards] (SCNx32): Likewise.
20775 [C99-based-standards] (PRIdLEAST32): Likewise.
20776 [C99-based-standards] (PRIiLEAST32): Likewise.
20777 [C99-based-standards] (PRIoLEAST32): Likewise.
20778 [C99-based-standards] (PRIuLEAST32): Likewise.
20779 [C99-based-standards] (PRIxLEAST32): Likewise.
20780 [C99-based-standards] (PRIXLEAST32): Likewise.
20781 [C99-based-standards] (SCNdLEAST32): Likewise.
20782 [C99-based-standards] (SCNiLEAST32): Likewise.
20783 [C99-based-standards] (SCNoLEAST32): Likewise.
20784 [C99-based-standards] (SCNuLEAST32): Likewise.
20785 [C99-based-standards] (SCNxLEAST32): Likewise.
20786 [C99-based-standards] (PRIdFAST32): Likewise.
20787 [C99-based-standards] (PRIiFAST32): Likewise.
20788 [C99-based-standards] (PRIoFAST32): Likewise.
20789 [C99-based-standards] (PRIuFAST32): Likewise.
20790 [C99-based-standards] (PRIxFAST32): Likewise.
20791 [C99-based-standards] (PRIXFAST32): Likewise.
20792 [C99-based-standards] (SCNdFAST32): Likewise.
20793 [C99-based-standards] (SCNiFAST32): Likewise.
20794 [C99-based-standards] (SCNoFAST32): Likewise.
20795 [C99-based-standards] (SCNuFAST32): Likewise.
20796 [C99-based-standards] (SCNxFAST32): Likewise.
20797 [C99-based-standards] (PRId64): Likewise.
20798 [C99-based-standards] (PRIi64): Likewise.
20799 [C99-based-standards] (PRIo64): Likewise.
20800 [C99-based-standards] (PRIu64): Likewise.
20801 [C99-based-standards] (PRIx64): Likewise.
20802 [C99-based-standards] (PRIX64): Likewise.
20803 [C99-based-standards] (SCNd64): Likewise.
20804 [C99-based-standards] (SCNi64): Likewise.
20805 [C99-based-standards] (SCNo64): Likewise.
20806 [C99-based-standards] (SCNu64): Likewise.
20807 [C99-based-standards] (SCNx64): Likewise.
20808 [C99-based-standards] (PRIdLEAST64): Likewise.
20809 [C99-based-standards] (PRIiLEAST64): Likewise.
20810 [C99-based-standards] (PRIoLEAST64): Likewise.
20811 [C99-based-standards] (PRIuLEAST64): Likewise.
20812 [C99-based-standards] (PRIxLEAST64): Likewise.
20813 [C99-based-standards] (PRIXLEAST64): Likewise.
20814 [C99-based-standards] (SCNdLEAST64): Likewise.
20815 [C99-based-standards] (SCNiLEAST64): Likewise.
20816 [C99-based-standards] (SCNoLEAST64): Likewise.
20817 [C99-based-standards] (SCNuLEAST64): Likewise.
20818 [C99-based-standards] (SCNxLEAST64): Likewise.
20819 [C99-based-standards] (PRIdFAST64): Likewise.
20820 [C99-based-standards] (PRIiFAST64): Likewise.
20821 [C99-based-standards] (PRIoFAST64): Likewise.
20822 [C99-based-standards] (PRIuFAST64): Likewise.
20823 [C99-based-standards] (PRIxFAST64): Likewise.
20824 [C99-based-standards] (PRIXFAST64): Likewise.
20825 [C99-based-standards] (SCNdFAST64): Likewise.
20826 [C99-based-standards] (SCNiFAST64): Likewise.
20827 [C99-based-standards] (SCNoFAST64): Likewise.
20828 [C99-based-standards] (SCNuFAST64): Likewise.
20829 [C99-based-standards] (SCNxFAST64): Likewise.
20830 [C99-based-standards] (PRIdMAX): Likewise.
20831 [C99-based-standards] (PRIiMAX): Likewise.
20832 [C99-based-standards] (PRIoMAX): Likewise.
20833 [C99-based-standards] (PRIuMAX): Likewise.
20834 [C99-based-standards] (PRIxMAX): Likewise.
20835 [C99-based-standards] (PRIXMAX): Likewise.
20836 [C99-based-standards] (SCNdMAX): Likewise.
20837 [C99-based-standards] (SCNiMAX): Likewise.
20838 [C99-based-standards] (SCNoMAX): Likewise.
20839 [C99-based-standards] (SCNuMAX): Likewise.
20840 [C99-based-standards] (SCNxMAX): Likewise.
20841 [C99-based-standards] (PRIdPTR): Likewise.
20842 [C99-based-standards] (PRIiPTR): Likewise.
20843 [C99-based-standards] (PRIoPTR): Likewise.
20844 [C99-based-standards] (PRIuPTR): Likewise.
20845 [C99-based-standards] (PRIxPTR): Likewise.
20846 [C99-based-standards] (PRIXPTR): Likewise.
20847 [C99-based-standards] (SCNdPTR): Likewise.
20848 [C99-based-standards] (SCNiPTR): Likewise.
20849 [C99-based-standards] (SCNoPTR): Likewise.
20850 [C99-based-standards] (SCNuPTR): Likewise.
20851 [C99-based-standards] (SCNxPTR): Likewise.
20852 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
20854 * conform/data/stdint.h-data: Update comments to clarify
20856 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
20858 [C99-based standards] (INT8_MAX): Likewise.
20859 [C99-based standards] (INT16_MIN): Likewise.
20860 [C99-based standards] (INT16_MAX): Likewise.
20861 [C99-based standards] (INT32_MIN): Likewise.
20862 [C99-based standards] (INT32_MAX): Likewise.
20863 [C99-based standards] (INT64_MIN): Likewise.
20864 [C99-based standards] (INT64_MAX): Likewise.
20865 [C99-based standards] (UINT8_MAX): Likewise.
20866 [C99-based standards] (UINT16_MAX): Likewise.
20867 [C99-based standards] (UINT32_MAX): Likewise.
20868 [C99-based standards] (UINT64_MAX): Likewise.
20869 [C99-based standards] (INT_LEAST8_MIN): Likewise.
20870 [C99-based standards] (INT_LEAST8_MAX): Likewise.
20871 [C99-based standards] (INT_LEAST16_MIN): Likewise.
20872 [C99-based standards] (INT_LEAST16_MAX): Likewise.
20873 [C99-based standards] (INT_LEAST32_MIN): Likewise.
20874 [C99-based standards] (INT_LEAST32_MAX): Likewise.
20875 [C99-based standards] (INT_LEAST64_MIN): Likewise.
20876 [C99-based standards] (INT_LEAST64_MAX): Likewise.
20877 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
20878 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
20879 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
20880 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
20881 [C99-based standards] (INT_FAST8_MIN): Likewise.
20882 [C99-based standards] (INT_FAST8_MAX): Likewise.
20883 [C99-based standards] (INT_FAST16_MIN): Likewise.
20884 [C99-based standards] (INT_FAST16_MAX): Likewise.
20885 [C99-based standards] (INT_FAST32_MIN): Likewise.
20886 [C99-based standards] (INT_FAST32_MAX): Likewise.
20887 [C99-based standards] (INT_FAST64_MIN): Likewise.
20888 [C99-based standards] (INT_FAST64_MAX): Likewise.
20889 [C99-based standards] (UINT_FAST8_MAX): Likewise.
20890 [C99-based standards] (UINT_FAST16_MAX): Likewise.
20891 [C99-based standards] (UINT_FAST32_MAX): Likewise.
20892 [C99-based standards] (UINT_FAST64_MAX): Likewise.
20893 [C99-based standards] (INTPTR_MIN): Likewise.
20894 [C99-based standards] (INTPTR_MAX): Likewise.
20895 [C99-based standards] (UINTPTR_MAX): Likewise.
20896 [C99-based standards] (INTMAX_MIN): Likewise.
20897 [C99-based standards] (INTMAX_MAX): Likewise.
20898 [C99-based standards] (UINTMAX_MAX): Likewise.
20899 [C99-based standards] (PTRDIFF_MIN): Likewise.
20900 [C99-based standards] (PTRDIFF_MAX): Likewise.
20901 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
20902 [C99-based standards] (SIZE_MAX): Likewise.
20903 [C99-based standards] (WCHAR_MAX): Likewise.
20904 [C99-based standards] (WINT_MAX): Likewise.
20905 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
20906 constraint on value.
20907 [C99-based standards] (WCHAR_MIN): Likewise.
20908 [C99-based standards] (WINT_MIN): Likewise.
20909 [C99-based standards] (*_t): Allow.
20910 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
20911 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
20912 Include math.h-data and complex.h-data. Remove all expectations
20913 of math.h and complex.h contents.
20914 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
20916 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
20917 (struct tm): Expect tag.
20918 [C99-based-standards] (wcstof): Expect function.
20919 [C99-based-standards] (wcstold): Likewise.
20920 [C99-based-standards] (wcstoll): Likewise.
20921 [C99-based-standards] (wcstoull): Likewise.
20922 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
20923 macro-int-constant. Specify type.
20924 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
20925 constraint on value.
20926 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
20928 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
20930 [ISO C standards]: Do not allow headers.
20931 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
20932 wcs[abcdefghijklmnopqrstuvwxyz]*.
20933 [ISO C standards] (*_t): Do not allow.
20934 * conform/data/wctype.h-data [C99-based standards] (iswblank):
20936 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
20937 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
20939 [ISO C standards]: Do not allow headers.
20940 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
20941 is[abcdefghijklmnopqrstuvwxyz]*.
20942 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
20943 to[abcdefghijklmnopqrstuvwxyz]*.
20944 [ISO C standards] (*_t): Do not allow.
20945 * conform/data/stdalign.h-data: New file.
20946 * conform/data/stdbool.h-data: Likewise.
20947 * conform/data/stdnoreturn.h-data: Likewise.
20949 2012-11-07 Roland McGrath <roland@hack.frob.com>
20952 * manual/filesys.texi (Directory Entries): Typo fix.
20953 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
20955 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20957 * elf/elf.h (EM_AARCH64): New macro.
20958 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
20959 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
20960 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
20961 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
20962 (R_AARCH64_TLSDESC): Likewise.
20963 (NT_ARM_TLS): Likewise.
20964 (NT_ARM_HW_BREAK): Likewise.
20965 (NT_ARM_HW_WATCH): Likewise.
20967 2012-11-07 Joseph Myers <joseph@codesourcery.com>
20970 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
20971 (__ieee754_powl): Saturate nonzero exponents with absolute value
20972 below 0x1p-79 to +/- 0x1p-79.
20973 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
20974 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
20975 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
20976 nonzero exponents with absolute value below 0x1p-32 to +/-
20978 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
20979 (__ieee754_powl): Saturate nonzero exponents with absolute value
20980 below 0x1p-79 to +/- 0x1p-79.
20981 * math/libm-test.inc (pow_test): Add more tests.
20983 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20985 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
20986 _dl_s390_cap_flags with kernel. Increase string length.
20987 (_dl_s390_platforms): Add z196 and zEC12.
20989 2012-11-07 Joseph Myers <joseph@codesourcery.com>
20991 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
20992 Change XOPEN21K to XOPEN2K.
20994 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
20996 * string/memmove.c: Use memcpy when possible.
20998 2012-11-06 Andreas Jaeger <aj@suse.de>
21000 * po/eo.po: Update from translation team.
21002 2012-11-06 Joseph Myers <joseph@codesourcery.com>
21005 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
21006 exponent and small x and y exponents, scale x or y up. Increase
21007 by 2 the exponent used in scaling up.
21008 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21009 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21010 * math/libm-test.inc (fma_test): Add more tests.
21011 (fma_test_towardzero): Likewise.
21012 (fma_test_downward): Likewise.
21013 (fma_test_upward): Likewise.
21015 2012-11-05 Joseph Myers <joseph@codesourcery.com>
21018 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
21022 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
21023 namespace for names of struct fields.
21024 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
21026 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21027 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
21029 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21032 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
21034 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21036 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
21040 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
21043 2012-11-04 Joseph Myers <joseph@codesourcery.com>
21046 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
21047 definitely overflow as x * y not x * y + z.
21048 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21049 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21050 * math/libm-test.inc (fma_test): Add more tests.
21051 (fma_test_towardzero): Likewise.
21052 (fma_test_downward): Likewise.
21053 (fma_test_upward): Likewise.
21055 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21059 * include/stub-tag.h: Remove file.
21060 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
21062 * manual/maint.texi (Porting): Don't reference it.
21063 * Makerules ($(objpfx)stubs): Likewise.
21064 * dirent/closedir.c: Don't include <stub-tag.h>.
21065 * dirent/dirfd.c: Likewise.
21066 * dirent/fdopendir.c: Likewise.
21067 * dirent/getdents.c: Likewise.
21068 * dirent/getdents64.c: Likewise.
21069 * dirent/opendir.c: Likewise.
21070 * dirent/readdir.c: Likewise.
21071 * dirent/readdir64.c: Likewise.
21072 * dirent/readdir64_r.c: Likewise.
21073 * dirent/readdir_r.c: Likewise.
21074 * dirent/rewinddir.c: Likewise.
21075 * dirent/seekdir.c: Likewise.
21076 * dirent/telldir.c: Likewise.
21077 * gmon/profil.c: Likewise.
21078 * grp/setgroups.c: Likewise.
21079 * inet/if_index.c: Likewise.
21080 * io/access.c: Likewise.
21081 * io/chdir.c: Likewise.
21082 * io/chmod.c: Likewise.
21083 * io/chown.c: Likewise.
21084 * io/close.c: Likewise.
21085 * io/dup.c: Likewise.
21086 * io/dup2.c: Likewise.
21087 * io/dup3.c: Likewise.
21088 * io/euidaccess.c: Likewise.
21089 * io/faccessat.c: Likewise.
21090 * io/fchdir.c: Likewise.
21091 * io/fchmod.c: Likewise.
21092 * io/fchmodat.c: Likewise.
21093 * io/fchown.c: Likewise.
21094 * io/fchownat.c: Likewise.
21095 * io/fcntl.c: Likewise.
21096 * io/flock.c: Likewise.
21097 * io/fstatfs.c: Likewise.
21098 * io/fstatfs64.c: Likewise.
21099 * io/fstatvfs.c: Likewise.
21100 * io/fstatvfs64.c: Likewise.
21101 * io/futimens.c: Likewise.
21102 * io/fxstat.c: Likewise.
21103 * io/fxstat64.c: Likewise.
21104 * io/fxstatat.c: Likewise.
21105 * io/fxstatat64.c: Likewise.
21106 * io/getcwd.c: Likewise.
21107 * io/isatty.c: Likewise.
21108 * io/lchmod.c: Likewise.
21109 * io/lchown.c: Likewise.
21110 * io/link.c: Likewise.
21111 * io/linkat.c: Likewise.
21112 * io/lseek.c: Likewise.
21113 * io/lseek64.c: Likewise.
21114 * io/lxstat64.c: Likewise.
21115 * io/mkdir.c: Likewise.
21116 * io/mkdirat.c: Likewise.
21117 * io/mkfifo.c: Likewise.
21118 * io/mkfifoat.c: Likewise.
21119 * io/open.c: Likewise.
21120 * io/open64.c: Likewise.
21121 * io/openat.c: Likewise.
21122 * io/openat64.c: Likewise.
21123 * io/pipe.c: Likewise.
21124 * io/pipe2.c: Likewise.
21125 * io/poll.c: Likewise.
21126 * io/posix_fadvise.c: Likewise.
21127 * io/posix_fadvise64.c: Likewise.
21128 * io/posix_fallocate.c: Likewise.
21129 * io/posix_fallocate64.c: Likewise.
21130 * io/read.c: Likewise.
21131 * io/readlink.c: Likewise.
21132 * io/readlinkat.c: Likewise.
21133 * io/rmdir.c: Likewise.
21134 * io/sendfile.c: Likewise.
21135 * io/sendfile64.c: Likewise.
21136 * io/statfs.c: Likewise.
21137 * io/statfs64.c: Likewise.
21138 * io/statvfs.c: Likewise.
21139 * io/statvfs64.c: Likewise.
21140 * io/symlink.c: Likewise.
21141 * io/symlinkat.c: Likewise.
21142 * io/ttyname.c: Likewise.
21143 * io/ttyname_r.c: Likewise.
21144 * io/umask.c: Likewise.
21145 * io/unlink.c: Likewise.
21146 * io/unlinkat.c: Likewise.
21147 * io/utime.c: Likewise.
21148 * io/utimensat.c: Likewise.
21149 * io/write.c: Likewise.
21150 * io/xmknod.c: Likewise.
21151 * io/xmknodat.c: Likewise.
21152 * io/xstat.c: Likewise.
21153 * io/xstat64.c: Likewise.
21154 * login/getpt.c: Likewise.
21155 * login/grantpt.c: Likewise.
21156 * login/unlockpt.c: Likewise.
21157 * math/e_acoshl.c: Likewise.
21158 * math/e_acosl.c: Likewise.
21159 * math/e_asinl.c: Likewise.
21160 * math/e_atan2l.c: Likewise.
21161 * math/e_atanhl.c: Likewise.
21162 * math/e_coshl.c: Likewise.
21163 * math/e_expl.c: Likewise.
21164 * math/e_fmodl.c: Likewise.
21165 * math/e_gammal_r.c: Likewise.
21166 * math/e_hypotl.c: Likewise.
21167 * math/e_j0l.c: Likewise.
21168 * math/e_j1l.c: Likewise.
21169 * math/e_jnl.c: Likewise.
21170 * math/e_lgammal_r.c: Likewise.
21171 * math/e_log10l.c: Likewise.
21172 * math/e_log2l.c: Likewise.
21173 * math/e_logl.c: Likewise.
21174 * math/e_powl.c: Likewise.
21175 * math/e_rem_pio2l.c: Likewise.
21176 * math/e_sinhl.c: Likewise.
21177 * math/e_sqrtl.c: Likewise.
21178 * math/fclrexcpt.c: Likewise.
21179 * math/fedisblxcpt.c: Likewise.
21180 * math/feenablxcpt.c: Likewise.
21181 * math/fegetenv.c: Likewise.
21182 * math/fegetexcept.c: Likewise.
21183 * math/fegetround.c: Likewise.
21184 * math/feholdexcpt.c: Likewise.
21185 * math/fesetenv.c: Likewise.
21186 * math/fesetround.c: Likewise.
21187 * math/feupdateenv.c: Likewise.
21188 * math/fgetexcptflg.c: Likewise.
21189 * math/fraiseexcpt.c: Likewise.
21190 * math/fsetexcptflg.c: Likewise.
21191 * math/ftestexcept.c: Likewise.
21192 * math/k_cosl.c: Likewise.
21193 * math/k_rem_pio2l.c: Likewise.
21194 * math/k_sinl.c: Likewise.
21195 * math/k_tanl.c: Likewise.
21196 * math/s_asinhl.c: Likewise.
21197 * math/s_atanl.c: Likewise.
21198 * math/s_cbrtl.c: Likewise.
21199 * math/s_erfl.c: Likewise.
21200 * math/s_expm1l.c: Likewise.
21201 * math/s_log1pl.c: Likewise.
21202 * math/s_tanhl.c: Likewise.
21203 * misc/acct.c: Likewise.
21204 * misc/brk.c: Likewise.
21205 * misc/chflags.c: Likewise.
21206 * misc/chroot.c: Likewise.
21207 * misc/fchflags.c: Likewise.
21208 * misc/fgetxattr.c: Likewise.
21209 * misc/flistxattr.c: Likewise.
21210 * misc/fremovexattr.c: Likewise.
21211 * misc/fsetxattr.c: Likewise.
21212 * misc/fsync.c: Likewise.
21213 * misc/ftruncate.c: Likewise.
21214 * misc/futimes.c: Likewise.
21215 * misc/futimesat.c: Likewise.
21216 * misc/getdomain.c: Likewise.
21217 * misc/getdtsz.c: Likewise.
21218 * misc/gethostid.c: Likewise.
21219 * misc/gethostname.c: Likewise.
21220 * misc/getloadavg.c: Likewise.
21221 * misc/getpagesize.c: Likewise.
21222 * misc/getsysstats.c: Likewise.
21223 * misc/getxattr.c: Likewise.
21224 * misc/gtty.c: Likewise.
21225 * misc/ioctl.c: Likewise.
21226 * misc/lgetxattr.c: Likewise.
21227 * misc/listxattr.c: Likewise.
21228 * misc/llistxattr.c: Likewise.
21229 * misc/lremovexattr.c: Likewise.
21230 * misc/lsetxattr.c: Likewise.
21231 * misc/lutimes.c: Likewise.
21232 * misc/madvise.c: Likewise.
21233 * misc/mincore.c: Likewise.
21234 * misc/mlock.c: Likewise.
21235 * misc/mlockall.c: Likewise.
21236 * misc/mmap.c: Likewise.
21237 * misc/mprotect.c: Likewise.
21238 * misc/msync.c: Likewise.
21239 * misc/munlock.c: Likewise.
21240 * misc/munlockall.c: Likewise.
21241 * misc/munmap.c: Likewise.
21242 * misc/preadv.c: Likewise.
21243 * misc/preadv64.c: Likewise.
21244 * misc/ptrace.c: Likewise.
21245 * misc/pwritev.c: Likewise.
21246 * misc/pwritev64.c: Likewise.
21247 * misc/readv.c: Likewise.
21248 * misc/reboot.c: Likewise.
21249 * misc/remap_file_pages.c: Likewise.
21250 * misc/removexattr.c: Likewise.
21251 * misc/revoke.c: Likewise.
21252 * misc/select.c: Likewise.
21253 * misc/setdomain.c: Likewise.
21254 * misc/setegid.c: Likewise.
21255 * misc/seteuid.c: Likewise.
21256 * misc/sethostid.c: Likewise.
21257 * misc/sethostname.c: Likewise.
21258 * misc/setregid.c: Likewise.
21259 * misc/setreuid.c: Likewise.
21260 * misc/setxattr.c: Likewise.
21261 * misc/sstk.c: Likewise.
21262 * misc/stty.c: Likewise.
21263 * misc/swapoff.c: Likewise.
21264 * misc/swapon.c: Likewise.
21265 * misc/sync.c: Likewise.
21266 * misc/syncfs.c: Likewise.
21267 * misc/syscall.c: Likewise.
21268 * misc/truncate.c: Likewise.
21269 * misc/ualarm.c: Likewise.
21270 * misc/usleep.c: Likewise.
21271 * misc/ustat.c: Likewise.
21272 * misc/utimes.c: Likewise.
21273 * misc/vhangup.c: Likewise.
21274 * misc/writev.c: Likewise.
21275 * posix/_exit.c: Likewise.
21276 * posix/alarm.c: Likewise.
21277 * posix/execve.c: Likewise.
21278 * posix/fexecve.c: Likewise.
21279 * posix/fork.c: Likewise.
21280 * posix/fpathconf.c: Likewise.
21281 * posix/getaddrinfo.c: Likewise.
21282 * posix/getegid.c: Likewise.
21283 * posix/geteuid.c: Likewise.
21284 * posix/getgid.c: Likewise.
21285 * posix/getgroups.c: Likewise.
21286 * posix/getlogin.c: Likewise.
21287 * posix/getlogin_r.c: Likewise.
21288 * posix/getpgid.c: Likewise.
21289 * posix/getpid.c: Likewise.
21290 * posix/getppid.c: Likewise.
21291 * posix/getresgid.c: Likewise.
21292 * posix/getresuid.c: Likewise.
21293 * posix/getsid.c: Likewise.
21294 * posix/getuid.c: Likewise.
21295 * posix/glob64.c: Likewise.
21296 * posix/nanosleep.c: Likewise.
21297 * posix/pathconf.c: Likewise.
21298 * posix/pause.c: Likewise.
21299 * posix/posix_madvise.c: Likewise.
21300 * posix/pread.c: Likewise.
21301 * posix/pread64.c: Likewise.
21302 * posix/pwrite.c: Likewise.
21303 * posix/pwrite64.c: Likewise.
21304 * posix/sched_getaffinity.c: Likewise.
21305 * posix/sched_getp.c: Likewise.
21306 * posix/sched_gets.c: Likewise.
21307 * posix/sched_primax.c: Likewise.
21308 * posix/sched_primin.c: Likewise.
21309 * posix/sched_rr_gi.c: Likewise.
21310 * posix/sched_setaffinity.c: Likewise.
21311 * posix/sched_setp.c: Likewise.
21312 * posix/sched_sets.c: Likewise.
21313 * posix/sched_yield.c: Likewise.
21314 * posix/setgid.c: Likewise.
21315 * posix/setlogin.c: Likewise.
21316 * posix/setpgid.c: Likewise.
21317 * posix/setresgid.c: Likewise.
21318 * posix/setresuid.c: Likewise.
21319 * posix/setsid.c: Likewise.
21320 * posix/setuid.c: Likewise.
21321 * posix/sleep.c: Likewise.
21322 * posix/spawni.c: Likewise.
21323 * posix/sysconf.c: Likewise.
21324 * posix/times.c: Likewise.
21325 * posix/wait.c: Likewise.
21326 * posix/wait3.c: Likewise.
21327 * posix/wait4.c: Likewise.
21328 * posix/waitpid.c: Likewise.
21329 * resolv/gai_sigqueue.c: Likewise.
21330 * resource/getpriority.c: Likewise.
21331 * resource/getrlimit.c: Likewise.
21332 * resource/getrusage.c: Likewise.
21333 * resource/nice.c: Likewise.
21334 * resource/setpriority.c: Likewise.
21335 * resource/setrlimit.c: Likewise.
21336 * resource/ulimit.c: Likewise.
21337 * rt/aio_cancel.c: Likewise.
21338 * rt/aio_fsync.c: Likewise.
21339 * rt/aio_read.c: Likewise.
21340 * rt/aio_sigqueue.c: Likewise.
21341 * rt/aio_suspend.c: Likewise.
21342 * rt/aio_write.c: Likewise.
21343 * rt/clock_getres.c: Likewise.
21344 * rt/clock_gettime.c: Likewise.
21345 * rt/clock_nanosleep.c: Likewise.
21346 * rt/clock_settime.c: Likewise.
21347 * rt/lio_listio.c: Likewise.
21348 * rt/mq_close.c: Likewise.
21349 * rt/mq_getattr.c: Likewise.
21350 * rt/mq_notify.c: Likewise.
21351 * rt/mq_open.c: Likewise.
21352 * rt/mq_receive.c: Likewise.
21353 * rt/mq_send.c: Likewise.
21354 * rt/mq_setattr.c: Likewise.
21355 * rt/mq_timedreceive.c: Likewise.
21356 * rt/mq_timedsend.c: Likewise.
21357 * rt/mq_unlink.c: Likewise.
21358 * rt/shm_open.c: Likewise.
21359 * rt/shm_unlink.c: Likewise.
21360 * rt/timer_create.c: Likewise.
21361 * rt/timer_delete.c: Likewise.
21362 * rt/timer_getoverr.c: Likewise.
21363 * rt/timer_gettime.c: Likewise.
21364 * rt/timer_settime.c: Likewise.
21365 * setjmp/__longjmp.c: Likewise.
21366 * setjmp/setjmp.c: Likewise.
21367 * signal/kill.c: Likewise.
21368 * signal/killpg.c: Likewise.
21369 * signal/raise.c: Likewise.
21370 * signal/sigaction.c: Likewise.
21371 * signal/sigaltstack.c: Likewise.
21372 * signal/sigblock.c: Likewise.
21373 * signal/sigignore.c: Likewise.
21374 * signal/sigintr.c: Likewise.
21375 * signal/signal.c: Likewise.
21376 * signal/sigpause.c: Likewise.
21377 * signal/sigpending.c: Likewise.
21378 * signal/sigqueue.c: Likewise.
21379 * signal/sigreturn.c: Likewise.
21380 * signal/sigset.c: Likewise.
21381 * signal/sigsetmask.c: Likewise.
21382 * signal/sigstack.c: Likewise.
21383 * signal/sigsuspend.c: Likewise.
21384 * signal/sigtimedwait.c: Likewise.
21385 * signal/sigvec.c: Likewise.
21386 * signal/sigwait.c: Likewise.
21387 * signal/sigwaitinfo.c: Likewise.
21388 * signal/sysv_signal.c: Likewise.
21389 * socket/accept.c: Likewise.
21390 * socket/accept4.c: Likewise.
21391 * socket/bind.c: Likewise.
21392 * socket/connect.c: Likewise.
21393 * socket/getpeername.c: Likewise.
21394 * socket/getsockname.c: Likewise.
21395 * socket/getsockopt.c: Likewise.
21396 * socket/isfdtype.c: Likewise.
21397 * socket/listen.c: Likewise.
21398 * socket/recv.c: Likewise.
21399 * socket/recvfrom.c: Likewise.
21400 * socket/recvmsg.c: Likewise.
21401 * socket/send.c: Likewise.
21402 * socket/sendmsg.c: Likewise.
21403 * socket/sendto.c: Likewise.
21404 * socket/setsockopt.c: Likewise.
21405 * socket/shutdown.c: Likewise.
21406 * socket/sockatmark.c: Likewise.
21407 * socket/socket.c: Likewise.
21408 * socket/socketpair.c: Likewise.
21409 * stdio-common/ctermid.c: Likewise.
21410 * stdio-common/cuserid.c: Likewise.
21411 * stdio-common/remove.c: Likewise.
21412 * stdio-common/rename.c: Likewise.
21413 * stdio-common/renameat.c: Likewise.
21414 * stdio-common/tempname.c: Likewise.
21415 * stdlib/getcontext.c: Likewise.
21416 * stdlib/makecontext.c: Likewise.
21417 * stdlib/setcontext.c: Likewise.
21418 * stdlib/swapcontext.c: Likewise.
21419 * stdlib/system.c: Likewise.
21420 * streams/fattach.c: Likewise.
21421 * streams/fdetach.c: Likewise.
21422 * streams/getmsg.c: Likewise.
21423 * streams/getpmsg.c: Likewise.
21424 * streams/putmsg.c: Likewise.
21425 * streams/putpmsg.c: Likewise.
21426 * sysdeps/unix/bsd/getpt.c: Likewise.
21427 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
21428 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
21429 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21432 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
21433 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21434 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
21435 * sysvipc/msgctl.c: Likewise.
21436 * sysvipc/msgget.c: Likewise.
21437 * sysvipc/msgrcv.c: Likewise.
21438 * sysvipc/msgsnd.c: Likewise.
21439 * sysvipc/semctl.c: Likewise.
21440 * sysvipc/semget.c: Likewise.
21441 * sysvipc/semop.c: Likewise.
21442 * sysvipc/semtimedop.c: Likewise.
21443 * sysvipc/shmat.c: Likewise.
21444 * sysvipc/shmctl.c: Likewise.
21445 * sysvipc/shmdt.c: Likewise.
21446 * sysvipc/shmget.c: Likewise.
21447 * termios/tcdrain.c: Likewise.
21448 * termios/tcflow.c: Likewise.
21449 * termios/tcflush.c: Likewise.
21450 * termios/tcgetattr.c: Likewise.
21451 * termios/tcgetpgrp.c: Likewise.
21452 * termios/tcsendbrk.c: Likewise.
21453 * termios/tcsetattr.c: Likewise.
21454 * termios/tcsetpgrp.c: Likewise.
21455 * time/adjtime.c: Likewise.
21456 * time/clock.c: Likewise.
21457 * time/getitimer.c: Likewise.
21458 * time/gettimeofday.c: Likewise.
21459 * time/setitimer.c: Likewise.
21460 * time/settimeofday.c: Likewise.
21461 * time/stime.c: Likewise.
21462 * time/time.c: Likewise.
21464 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
21466 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
21469 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
21471 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
21473 2012-11-03 Joseph Myers <joseph@codesourcery.com>
21476 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
21477 FE_TONEAREST before applying Dekker multiplication and Knuth
21478 addition. Clear inexact exceptions and check for exact zero
21479 results afterwards.
21480 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21481 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21482 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21483 * math/libm-test.inc (fma_test): Add more tests.
21484 (fma_test_towardzero): Likewise.
21485 (fma_test_downward): Likewise.
21486 (fma_test_upward): Likewise.
21487 * sysdeps/generic/math_private.h (default_libc_fesetround): New
21489 (libc_fesetround): New macro.
21490 (libc_fesetroundf): Likewise.
21491 (libc_fesetroundl): Likewise.
21492 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
21494 (libc_fesetround_387): Likewise.
21495 (libc_fesetroundf): New macro.
21496 (libc_fesetround): Likewise.
21497 (libc_fesetroundl): Likewise.
21498 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
21500 (libc_fesetroundf): New macro.
21501 (libc_fesetround): Likewise.
21502 (libc_fesetroundl): Likewise.
21503 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
21504 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
21505 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
21507 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
21508 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
21510 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
21511 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
21513 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
21517 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
21518 integer constant usable in #if and use that to give value to enum
21520 (FE_DIVBYZERO): Likewise.
21521 (FE_UNDERFLOW): Likewise.
21522 (FE_OVERFLOW): Likewise.
21523 (FE_INVALID): Likewise.
21524 (FE_INVALID_SNAN): Likewise.
21525 (FE_INVALID_ISI): Likewise.
21526 (FE_INVALID_IDI): Likewise.
21527 (FE_INVALID_ZDZ): Likewise.
21528 (FE_INVALID_IMZ): Likewise.
21529 (FE_INVALID_COMPARE): Likewise.
21530 (FE_INVALID_SOFTWARE): Likewise.
21531 (FE_INVALID_SQRT): Likewise.
21532 (FE_INVALID_INTEGER_CONVERSION): Likewise.
21533 (FE_TONEAREST): Likewise.
21534 (FE_TOWARDZERO): Likewise.
21535 (FE_UPWARD): Likewise.
21536 (FE_DOWNWARD): Likewise.
21537 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
21538 (FE_DIVBYZERO): Likewise.
21539 (FE_OVERFLOW): Likewise.
21540 (FE_UNDERFLOW): Likewise.
21541 (FE_INEXACT): Likewise.
21542 (FE_TONEAREST): Likewise.
21543 (FE_DOWNWARD): Likewise.
21544 (FE_UPWARD): Likewise.
21545 (FE_TOWARDZERO): Likewise.
21546 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
21547 (FE_UNDERFLOW): Likewise.
21548 (FE_OVERFLOW): Likewise.
21549 (FE_DIVBYZERO): Likewise.
21550 (FE_INVALID): Likewise.
21551 (FE_TONEAREST): Likewise.
21552 (FE_TOWARDZERO): Likewise.
21553 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
21554 (FE_OVERFLOW): Likewise.
21555 (FE_UNDERFLOW): Likewise.
21556 (FE_DIVBYZERO): Likewise.
21557 (FE_INEXACT): Likewise.
21558 (FE_TONEAREST): Likewise.
21559 (FE_TOWARDZERO): Likewise.
21560 (FE_UPWARD): Likewise.
21561 (FE_DOWNWARD): Likewise.
21562 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
21563 (FE_DIVBYZERO): Likewise.
21564 (FE_OVERFLOW): Likewise.
21565 (FE_UNDERFLOW): Likewise.
21566 (FE_INEXACT): Likewise.
21567 (FE_TONEAREST): Likewise.
21568 (FE_DOWNWARD): Likewise.
21569 (FE_UPWARD): Likewise.
21570 (FE_TOWARDZERO): Likewise.
21572 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
21574 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
21576 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
21578 * scripts/cross-test-ssh.sh (command): Use newlines to separate
21579 commands. Quote $PWD.
21580 (blacklist_exports): Don't use remove_newlines. Replace "declare
21582 (remove_newlines): Remove.
21584 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
21586 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
21587 * stdlib/stdlib.h (atof): Moved to ...
21588 * include/bits/stdlib-float.h: Here. New file.
21589 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
21590 * stdlib/bits/stdlib-float.h: New file.
21591 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
21593 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
21596 2012-11-02 Joseph Myers <joseph@codesourcery.com>
21598 * conform/conformtest.pl (@headers): Add fenv.h.
21599 * conform/data/fenv.h-data: New file.
21600 * include/fenv.h [_ISOMAC]: Disable all contents of file except
21601 include of <math/fenv.h>.
21603 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
21604 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
21605 && !UNIX98]. Enables tests for XOPEN2K8.
21606 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
21607 POSIX2008]: Likewise.
21609 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
21610 (struct rusage): Do not expect type or its members.
21613 * math/math.h (FP_NAN): Define macro to integer constant usable in
21614 #if and use that to give value to enum constant.
21615 (FP_INFINITE): Likewise.
21616 (FP_ZERO): Likewise.
21617 (FP_SUBNORMAL): Likewise.
21618 (FP_NORMAL): Likewise.
21620 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
21622 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
21623 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
21626 2012-11-02 Roland McGrath <roland@hack.frob.com>
21628 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
21629 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
21630 autoconf-time if not.
21631 * configure.in: Remove AC_PREREQ.
21633 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21635 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
21636 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
21637 of the internal implementation.
21639 2012-11-02 Joseph Myers <joseph@codesourcery.com>
21641 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
21642 except include of <misc/sys/syslog.h>.
21644 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
21646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
21647 function returns with a NULL context exit with zero.
21649 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21651 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
21653 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
21655 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
21656 (run_program_cmd): This.
21657 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
21658 (tst_langinfo): New variable. Use it.
21660 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
21662 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
21663 floating point opcodes.
21665 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21667 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
21670 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
21672 * sysdeps/mach/hurd/powerpc: Remove directory.
21673 * sysdeps/mach/powerpc: Likewise.
21675 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
21677 * scripts/check-local-headers.sh: Ignore c++ headers.
21679 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21681 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
21682 __libc_cleanup_region_start argument.
21684 2012-11-01 Joseph Myers <joseph@codesourcery.com>
21688 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
21689 x * y using scaling, not as x * y + z.
21690 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21691 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21692 * math/libm-test.inc (fma_test): Add more tests.
21693 (fma_test_towardzero): Likewise.
21694 (fma_test_downward): Likewise.
21695 (fma_test_upward): Likewise.
21697 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21699 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
21701 2012-10-31 Joseph Myers <joseph@codesourcery.com>
21703 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
21706 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
21708 * rt/tst-shm.c (worker): Correct checking for mmap failure.
21710 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
21712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21717 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21720 Fix the order of the list for glibc 2.17.
21721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21724 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
21726 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21728 2012-10-31 Joseph Myers <joseph@codesourcery.com>
21731 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
21732 for low part of x being zero before using __atanl (y).
21733 * math/libm-test.inc (atan2_test): Add another test.
21735 * manual/install.texi (Configuring and compiling): Document
21736 general use of test-wrapper and test-wrapper-env.
21737 * INSTALL: Regenerated.
21739 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
21740 (__fma): Do not extract and scale down low bits on after-rounding
21741 systems when result rounded to normal precision would have normal
21743 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
21744 (__fmal): Do not extract and scale down low bits on after-rounding
21745 systems when result rounded to normal precision would have normal
21747 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
21748 (__fmal): Do not extract and scale down low bits on after-rounding
21749 systems when result rounded to normal precision would have normal
21751 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
21753 (fma_test): Add more tests.
21754 (fma_test_towardzero): Likewise.
21755 (fma_test_downward): Likewise.
21756 (fma_test_upward): Likewise.
21758 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
21760 * sysdeps/i386/tininess.h: Renamed to ...
21761 * sysdeps/x86/tininess.h: This.
21762 * sysdeps/x86_64/tininess.h: Removed.
21764 2012-10-30 Joseph Myers <joseph@codesourcery.com>
21766 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
21767 input. Use $(build-program-cmd).
21768 ($(objpfx)tst-array1-static.out): Likewise.
21769 ($(objpfx)tst-array2.out): Likewise.
21770 ($(objpfx)tst-array3.out): Likewise.
21771 ($(objpfx)tst-array4.out): Likewise.
21772 ($(objpfx)tst-array5.out): Likewise.
21773 ($(objpfx)tst-array5-static.out): Likewise.
21775 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
21777 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
21780 * nss/nsswitch.h (nss_interface_function): Provide new
21781 macro for use with NSS functions.
21782 * grp/initgroups.c: Use new macro.
21783 * nss/getXXbyYY.c: Likewise.
21784 * nss/getXXbyYY_r.c: Likewise.
21785 * nss/getXXent.c: Likewise.
21786 * nss/getXXent_r.c: Likewise.
21787 * sysdeps/posix/getaddrinfo.c: Likewise.
21789 2012-10-30 Andreas Jaeger <aj@suse.de>
21791 * po/ru.po: Update Russion translation from translation project.
21793 2012-10-30 Joseph Myers <joseph@codesourcery.com>
21797 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
21798 result and shift together with sticky bit instead of replicating
21799 round-to-nearest rounding.
21800 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21801 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21802 * math/libm-test.inc (fma_test): Add more tests. Do not permit
21803 missing underflow exceptions.
21804 (fma_test_towardzero): Add more tests.
21805 (fma_test_downward): Likewise.
21806 (fma_test_upward): Likewise.
21809 * sysdeps/generic/tininess.h: New file.
21810 * sysdeps/i386/tininess.h: Likewise.
21811 * sysdeps/sh/tininess.h: Likewise.
21812 * sysdeps/x86_64/tininess.h: Likewise.
21813 * stdlib/tst-strtod-underflow.c: Likewise.
21814 * stdlib/tst-tininess.c: Likewise.
21815 * stdlib/strtod_l.c: Include <tininess.h>.
21816 (round_and_return): Do not set errno for exact underflow cases.
21817 Force an underflow exception when setting errno for underflow.
21818 Determine underflow based on rounding to normal precision if
21819 TININESS_AFTER_ROUNDING.
21820 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
21821 ERANGE for exact underflow cases.
21822 * stdlib/Makefile (tests): Add tst-tininess and
21823 tst-strtod-underflow.
21824 ($(objpfx)tst-tininess): Use $(link-libm).
21825 ($(objpfx)tst-strtod-underflow): Likewise.
21827 2012-10-30 Andreas Jaeger <aj@suse.de>
21830 * elf/Makefile (tests): Remove conditional for have-initfini-array
21831 since this is now always required and the variable does not exist
21833 (tests-static): Likewise.
21834 (modules-names): Likewise.
21836 * po/eo.po: Add Esperanto translation from translation project.
21838 * elf/tst-array1.c (fini_array): Make writeable so that it can be
21839 merged with constructor/destructor.
21840 (init_array): Likewise.
21841 * elf/tst-array2dep.c (fini_array): Likewise.
21842 (init_array): Likewise.
21844 2012-10-29 Mike Frysinger <vapier@gentoo.org>
21846 * manual/message.texi: Delete @cartouche tags.
21848 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
21850 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
21852 * sysdeps/mach/hurd/fsync.c: Likewise.
21854 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
21855 [_POSIX_REALTIME_SIGNALS]: Change condition to
21856 [_POSIX_REALTIME_SIGNALS > 0].
21858 2012-10-27 Andreas Jaeger <aj@suse.de>
21860 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
21861 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
21862 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
21863 [__WORDSIZE != 64]: Likewise.
21865 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
21867 * iconvdata/tst-table.sh: Remove ${SHELL}.
21868 * iconvdata/tst-tables.sh: Likewise.
21870 2012-10-25 David S. Miller <davem@davemloft.net>
21872 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21873 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
21876 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
21878 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21879 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
21880 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
21883 2012-10-25 Roland McGrath <roland@hack.frob.com>
21885 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21886 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
21889 2012-10-25 Joseph Myers <joseph@codesourcery.com>
21890 Jim Blandy <jimb@codesourcery.com>
21892 * scripts/cross-test-ssh.sh: New file.
21893 * manual/install.texi (Configuring and compiling): Document use of
21895 * INSTALL: Regenerated.
21897 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
21899 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
21902 2012-10-25 Joseph Myers <joseph@codesourcery.com>
21904 * Makeconfig (run-program-prefix): Fix comment.
21906 2012-10-24 Joseph Myers <joseph@codesourcery.com>
21907 Jim Blandy <jimb@codesourcery.com>
21909 * Makeconfig (test-wrapper): New variable,
21910 (test-wrapper-env): Likewise.
21911 [$(cross-compiling) = yes && $(test-wrapper) != ""]
21912 (run-built-tests): Define to yes.
21913 (run-program-prefix): Use $(test-wrapper).
21914 (built-program-cmd): Likewise.
21915 * Rules (make-test-out): Use $(test-wrapper-env) and
21916 $(host-built-program-cmd).
21917 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
21918 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
21920 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
21921 $(test-wrapper-env) to tst-rtld-load-self.sh.
21922 ($(objpfx)order2.out): Use $(test-wrapper).
21923 ($(objpfx)tst-initorder.out): Likewise.
21924 ($(objpfx)tst-initorder2.out): Likewise.
21925 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
21926 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
21927 (test_wrapper_env): New variable. Use it to run ld.so.
21928 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
21929 Use it to run ld.so.
21930 (test_wrapper_env): Likewise.
21931 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
21932 $(test-wrapper) to run-iconv-test.sh.
21933 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
21934 (ICONV): Use $test_wrapper.
21935 * posix/Makefile ($(objpfx)globtest.out): Pass
21936 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
21937 globtest.sh, not $(run-program-prefix).
21938 * posix/globtest.sh (run_via_rtld_prefix): New variable.
21939 (test_wrapper): Likewise.
21940 (test_wrapper_env): Likewise. Use it to run globtest with HOME
21941 set together with run_via_rtld_prefix.
21942 (run_program_prefix): Define in terms of test_wrapper and
21943 run_via_rtld_prefix.
21945 2012-10-24 Roland McGrath <roland@hack.frob.com>
21947 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
21948 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
21952 * include/time.h: Remove librt_hidden_proto (clock_gettime).
21953 Declare __clock_getres, __clock_gettime, __clock_settime,
21954 __clock_nanosleep, and __clock_getcpuclockid.
21955 * rt/clock_gettime.c: Define __clock_gettime as an alias.
21956 Remove librt_hidden_def (clock_gettime).
21957 * sysdeps/unix/clock_gettime.c: Likewise.
21958 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
21959 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
21960 * rt/clock_getres.c: Define __clock_getres as an alias.
21961 * sysdeps/posix/clock_getres.c: Likewise.
21962 * rt/clock_settime.c: Define __clock_settime as an alias.
21963 * sysdeps/unix/clock_settime.c: Likewise.
21964 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
21965 * sysdeps/unix/clock_nanosleep.c: Likewise.
21966 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
21967 * rt/clock-compat.c: New file.
21968 * rt/Makefile (librt-routines): Add clock-compat and move
21969 $(clock-routines) to ...
21970 (routines): ... here, new variable.
21971 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
21972 Don't add get_clockfreq here.
21973 * rt/Versions (libc: GLIBC_2.17): New version set.
21974 Add clock_* symbols here.
21975 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
21976 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
21977 (GLIBC_2.17): Add clock_* symbols.
21978 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21979 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21980 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21985 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21986 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
21987 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21988 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21989 * NEWS: Mention the move.
21991 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
21992 Use __open, __read, __close rather than their public counterparts.
21993 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21994 (__get_clockfreq_via_cpuinfo): Likewise.
21995 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
21996 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
21998 * config.h.in (HAVE_IFUNC): New #undef.
21999 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
22001 * configure: Regenerated.
22003 2012-10-24 Mike Frysinger <vapier@gentoo.org>
22005 * configure.in: Move READELF check to start of file.
22006 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
22007 libc_cv_asm_gnu_indirect_function in the process.
22008 * configure: Regenerated.
22010 2012-10-24 Mike Frysinger <vapier@gentoo.org>
22012 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
22013 send the output to /dev/null.
22014 (libc_cv_cc_with_libunwind): Likewise.
22015 (libc_cv_as_noexecstack): Likewise.
22016 * configure: Regenerate.
22018 2012-10-24 Joseph Myers <joseph@codesourcery.com>
22020 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
22022 * posix/globtest.sh (TMPDIR): Do not set.
22023 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
22024 (testout): Likewise.
22026 2012-10-24 Andreas Jaeger <aj@suse.de>
22028 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
22029 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
22030 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
22031 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
22032 posix_fadvise64, posix_fallocate64.
22034 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
22035 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
22036 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
22038 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
22040 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
22042 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
22043 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
22044 <bits/fcntl-linux.h>.
22045 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
22047 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
22048 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
22049 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
22050 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
22051 [__WORDSIZE != 64]: Likewise.
22053 2012-10-23 Joseph Myers <joseph@codesourcery.com>
22055 * Makeconfig (run-built-tests): New variable.
22056 * Rules [$(cross-compiling) = yes]: Change condition to
22057 [$(run-built-tests) = no].
22058 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
22059 to [$(run-built-tests) = yes].
22060 * elf/Makefile [$(cross-compiling) = no]: Likewise
22061 * grp/Makefile [$(cross-compiling) = no]: Likewise.
22062 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
22063 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
22064 * intl/Makefile [$(cross-compiling) = no]: Likewise.
22065 * io/Makefile [$(cross-compiling) = no]: Likewise.
22066 * libio/Makefile [$(cross-compiling) = no]: Likewise.
22067 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
22068 * misc/Makefile [$(cross-compiling) = no]: Likewise.
22069 * posix/Makefile [$(cross-compiling) = no]: Likewise.
22070 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
22071 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
22072 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
22073 * string/Makefile [$(cross-compiling) = no]: Likewise.
22075 * posix/Makefile ($(objpfx)globtest.out): Pass
22076 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
22077 $(rtld-installed-name).
22078 * posix/globtest.sh (elf_objpfx): Remove variable.
22079 (rtld_installed_name): Likewise.
22080 (library_path): Likewise.
22081 (run_program_prefix): New variable. Use for running globtest
22084 2012-10-23 Jim Blandy <jimb@codesourcery.com>
22085 Joseph Myers <joseph@codesourcery.com>
22087 * Makeconfig (host-built-program-cmd): New variable.
22088 * elf/Makefile (tst-stackguard1-ARGS): Use
22089 $(host-built-program-cmd).
22090 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
22091 (tst-spawn-ARGS): Likewise.
22092 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
22094 2012-10-23 Joseph Myers <joseph@codesourcery.com>
22095 Jim Blandy <jimb@codesourcery.com>
22097 * Makeconfig (run-via-rtld-prefix): New variable.
22098 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
22099 (built-program-cmd): Likewise.
22101 2012-10-22 Andreas Jaeger <aj@suse.de>
22103 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
22104 __O_RSYNC if it exists, otherwise to O_SYNC.
22106 2012-10-22 Jim Blandy <jimb@codesourcery.com>
22107 Joseph Myers <joseph@codesourcery.com>
22109 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
22111 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
22113 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
22116 2012-10-22 Andreas Jaeger <aj@suse.de>
22118 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
22120 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
22122 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22123 bits/fcntl-linux.h.
22125 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
22126 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
22128 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
22130 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
22133 2012-10-21 Jim Blandy <jimb@codesourcery.com>
22134 Joseph Myers <joseph@codesourcery.com>
22136 * config.make.in (NM): New variable.
22138 2012-10-21 Andreas Jaeger <aj@suse.de>
22140 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
22141 definitions and declarations that are provided by
22142 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22144 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22147 * elf/Makefile (tests-static): Add tst-leaks1-static.
22148 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
22149 ($(objpfx)tst-leaks1-static): New rule.
22150 ($(objpfx)tst-leaks1-static-mem): Likewise.
22151 (tst-leaks1-static-ENV): New macro.
22152 * elf/dl-open.c (dl_open_worker): Check the main application
22153 only if SHARED is defined.
22154 * elf/tst-leaks1-static.c: New file.
22156 2012-10-20 Andreas Jaeger <aj@suse.de>
22158 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
22159 generic values for Linux.
22160 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
22161 and declarations that are provided by <bits/fcntl-linux.h> and
22162 include <bits/fcntl-linux.h>.
22163 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22164 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22166 2012-10-20 Roland McGrath <roland@hack.frob.com>
22168 * io/fcntl.h: Move include of <bits/types.h> to the top and
22169 include it unconditionally.
22171 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22173 * wcsmbs/Makefile (tests-ifunc): New variable.
22174 (tests): Add $(tests-ifunc).
22175 * wcsmbs/test-wcschr-ifunc.c: New file.
22176 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22177 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22178 * wcsmbs/test-wcslen-ifunc.c: Likewise.
22179 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22180 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22182 * string/Makefile (tests-ifunc): New variable.
22183 (tests): Add $(tests-ifunc).
22184 * string/test-memccpy.c (TEST_NAME): New macro.
22185 * string/test-memchr.c (TEST_NAME): Likewise.
22186 * string/test-memcmp.c (TEST_NAME): Likewise.
22187 * string/test-memcpy.c (TEST_NAME): Likewise.
22188 * string/test-memmem.c (TEST_NAME): Likewise.
22189 * string/test-memmove.c (TEST_NAME): Likewise.
22190 * string/test-memset.c (TEST_NAME): Likewise.
22191 * string/test-rawmemchr.c (TEST_NAME): Likewise.
22192 * string/test-stpcpy.c (TEST_NAME): Likewise.
22193 * string/test-stpncpy.c (TEST_NAME): Likewise.
22194 * string/test-strcasecmp.c (TEST_NAME): Likewise.
22195 * string/test-strcasestr.c (TEST_NAME): Likewise.
22196 * string/test-strcat.c (TEST_NAME): Likewise.
22197 * string/test-strchr.c (TEST_NAME): Likewise.
22198 * string/test-strcmp.c(TEST_NAME): Likewise.
22199 * string/test-strcpy.c (TEST_NAME): Likewise.
22200 * string/test-strcspn.c (TEST_NAME): Likewise.
22201 * string/test-strlen.c (TEST_NAME): Likewise.
22202 * string/test-strncasecmp.c (TEST_NAME): Likewise.
22203 * string/test-strncmp.c (TEST_NAME): Likewise.
22204 * string/test-strncpy.c (TEST_NAME): Likewise.
22205 * string/test-strnlen.c (TEST_NAME): Likewise.
22206 * string/test-strpbrk.c (TEST_NAME): Likewise.
22207 * string/test-strrchr.c (TEST_NAME): Likewise.
22208 * string/test-strspn.c (TEST_NAME): Likewise.
22209 * string/test-strstr.c (TEST_NAME): Likewise.
22210 * string/test-bcopy-ifunc.c: New file.
22211 * string/test-bzero-ifunc.c: Likewise.
22212 * string/test-memccpy-ifunc.c: Likewise.
22213 * string/test-memchr-ifunc.c: Likewise.
22214 * string/test-memcmp-ifunc.c: Likewise.
22215 * string/test-memcpy-ifunc.c: Likewise.
22216 * string/test-memmem-ifunc.c: Likewise.
22217 * string/test-memmove-ifunc.c: Likewise.
22218 * string/test-mempcpy-ifunc.c: Likewise.
22219 * string/test-memset-ifunc.c: Likewise.
22220 * string/test-rawmemchr-ifunc.c: Likewise.
22221 * string/test-stpcpy-ifunc.c: Likewise.
22222 * string/test-stpncpy-ifunc.c: Likewise.
22223 * string/test-strcasecmp-ifunc.c: Likewise.
22224 * string/test-strcasestr-ifunc.c: Likewise.
22225 * string/test-strcat-ifunc.c: Likewise.
22226 * string/test-strchr-ifunc.c: Likewise.
22227 * string/test-strchrnul-ifunc.c: Likewise.
22228 * string/test-strcmp-ifunc.c: Likewise.
22229 * string/test-strcpy-ifunc.c: Likewise.
22230 * string/test-strcspn-ifunc.c: Likewise.
22231 * string/test-strlen-ifunc.c: Likewise.
22232 * string/test-strncasecmp-ifunc.c: Likewise.
22233 * string/test-strncat-ifunc.c: Likewise.
22234 * string/test-strncmp-ifunc.c: Likewise.
22235 * string/test-strncpy-ifunc.c: Likewise.
22236 * string/test-strnlen-ifunc.c: Likewise.
22237 * string/test-strpbrk-ifunc.c: Likewise.
22238 * string/test-strrchr-ifunc.c: Likewise.
22239 * string/test-strspn-ifunc.c: Likewise.
22240 * string/test-strstr-ifunc.c: Likewise.
22242 * debug/Makefile (tests-ifunc): New variable.
22243 (tests): Add $(tests-ifunc).
22244 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
22245 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
22246 * debug/test-stpcpy_chk-ifunc.c: New file.
22247 * debug/test-strcpy_chk-ifunc.c: Likewise.
22249 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22252 * elf/dl-load.c (open_verify): Retry read if the entire ELF
22253 header is not read in.
22255 2012-10-19 Joseph Myers <joseph@codesourcery.com>
22257 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
22258 script to $(SHELL) as $<. Pass $(common-objpfx) to script
22259 directly. Pass built executable to script as
22260 $(built-program-cmd).
22261 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
22262 $testprogram without using LD_LIBRARY_PATH and $ldso.
22264 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
22265 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
22266 $(rtld-installed-name).
22267 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
22268 (rtld_installed_name): Likewise.
22269 (library_path): Likewise.
22270 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
22271 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
22272 $(run-program-prefix) to tst-tables.sh.
22273 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
22274 it to run tst-table-from and tst-table-to.
22275 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
22276 Pass it to tst-table.sh.
22277 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
22278 $(run-program-prefix) to tst-gettext.sh.
22279 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
22281 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
22283 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
22284 to run tst-gettext.
22285 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
22286 to run tst-gettext2.
22287 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
22288 to run tst-translit.
22289 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
22290 $(run-program-prefix) to tst-mtrace.sh.
22291 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
22293 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
22294 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
22295 $(rtld-installed-name).
22296 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
22297 (rtld_installed_name): Likewise.
22298 (run_program_prefix): New variable. Use it to run wordexp-test.
22300 * Makeconfig (ARCH): Remove all definitions.
22301 (machine): Likewise.
22302 [ARCH]: Remove conditional code.
22303 [!objdir]: Give error.
22304 [!objdir] (objpfx): Remove.
22305 [!objdir] (common-objpfx): Likewise.
22306 [!objdir] (common-objdir): Likewise.
22307 * configure.in (config_makefile): Remove. Hardcode Makefile in
22308 AC_CONFIG_FILES call.
22309 * configure: Regenerated.
22312 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
22314 (testout): Likewise.
22316 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
22317 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
22318 $(rtld-installed-name).
22319 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
22320 (rtld_installed_name): Likwise.
22321 (runit): Remove function.
22322 (run_getconf): New variable, Use it for running getconf binary.
22324 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
22327 * string/test-memmem.c (check_result): New function.
22328 (do_one_test): Use it.
22329 (check1): New function.
22330 (test_main): Use it.
22332 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
22334 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
22336 2012-10-18 Joseph Myers <joseph@codesourcery.com>
22338 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
22339 (_G_LSEEK64): Likewise.
22340 (_G_MMAP64): Likewise.
22341 (_G_FSTAT64): Likewise.
22342 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
22343 (_G_LSEEK64): Likewise.
22344 (_G_MMAP64): Likewise.
22345 (_G_FSTAT64): Likewise.
22346 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
22347 unconditional. Call __mmap64 directly.
22348 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
22349 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
22350 __lseek64 directly.
22351 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
22352 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
22354 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
22355 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
22356 __lseek64 directly.
22357 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
22358 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
22359 __lseek64 directly.
22360 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
22361 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
22362 __lseek64 directly.
22363 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
22364 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
22365 __fxstat64 directly.
22366 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
22367 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
22369 (freopen64) [!_G_OPEN64]: Remove conditional code.
22370 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
22372 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
22373 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
22375 (ftello64) [!_G_LSEEK64]: Remove conditional code.
22376 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
22378 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22379 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
22381 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
22382 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
22384 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22385 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
22387 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22388 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
22390 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22392 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22395 * manual/memory.texi (Malloc Tunable Parameters): Add note
22396 about free list pointers overwriting some perturb bytes.
22397 Wording suggested by Roland McGrath.
22399 2012-10-17 Joseph Myers <joseph@codesourcery.com>
22401 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
22402 (lgamma_test): Likewise.
22403 (tgamma_test): Likewise.
22405 2012-10-16 Florian Weimer <fweimer@redhat.com>
22408 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
22409 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
22411 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
22413 * NEWS: Mention BZ #14716.
22414 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
22415 when removing AVAILABLE1_USES_J macro.
22417 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
22419 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
22420 (__bswap_64): __uint64_t for unsigned 64-bit int.
22422 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
22424 * include/string.h (memmem): Declare libc hidden alias.
22425 * string/memmem.c (memmem): Define libc hidden alias.
22426 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
22427 __read, __close instead of open, read, close.
22429 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
22431 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
22432 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
22434 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
22435 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
22436 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
22438 (__rawmemchr_sse2): Likewise.
22439 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
22440 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
22441 (__strchr_sse2): Likewise.
22442 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
22443 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
22444 (__strcasecmp_sse2): Likewise.
22445 (__strncasecmp_sse2): Likewise.
22446 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
22447 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
22448 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
22449 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
22450 (__strrchr_sse2): Likewise.
22451 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
22453 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
22454 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
22455 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
22456 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22457 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
22458 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
22459 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22460 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22461 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
22462 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
22463 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
22464 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
22465 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
22466 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
22467 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
22468 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22469 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
22470 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
22471 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
22472 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
22473 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
22474 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
22475 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
22476 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22477 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
22478 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22479 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22480 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
22481 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
22482 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
22484 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
22486 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
22487 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
22488 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
22489 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
22491 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
22493 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
22494 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
22495 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
22496 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
22498 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22499 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22500 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22501 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22502 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22503 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22504 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22505 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22506 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22507 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22508 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22509 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22510 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22511 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
22512 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
22513 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22514 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
22515 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
22516 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22517 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22518 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22519 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22520 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22521 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22522 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22523 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
22524 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
22525 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
22526 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
22527 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22528 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
22529 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22530 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22531 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
22532 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22533 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22534 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22535 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22536 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22537 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22538 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
22540 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
22541 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
22542 * include/ifunc-impl-list.h: New file.
22543 * misc/ifunc-impl-list.c: Likewise.
22544 * misc/Makefile (routines): Add ifunc-impl-list.
22545 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
22546 * string/test-string.h: Include <ifunc-impl-list.h>.
22547 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
22548 impl_array): New variables.
22549 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
22551 (test_init): Call __libc_ifunc_impl_list to initialize
22552 func_list if TEST_IFUNC and TEST_NAME are defined.
22554 * string/Makefile (strop-tests): Add bcopy and bzero.
22555 * string/test-bcopy.c: New file.
22556 * string/test-bzero.c: Likewise.
22557 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
22559 * string/test-memset.c: Support bzero test if TEST_BZERO is
22561 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
22563 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
22565 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
22568 2012-10-10 Joseph Myers <joseph@codesourcery.com>
22570 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
22571 * configure: Regenerated.
22573 * Makeconfig (+link-static-before-libc): Don't include
22574 $(link-static-libc).
22576 * libio/libio.h (_IO_pos_t): Remove.
22578 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
22580 * NEWS: Add note about FIPS mode. Wording suggested by Roland
22583 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
22585 * crypt/crypt-entry.c: Include fips-private.h.
22586 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
22587 * crypt/md5c-test.c (main): Tolerate disabled MD5.
22588 * sysdeps/unix/sysv/linux/fips-private.h: New file.
22589 * sysdeps/generic/fips-private.h: New file, dummy fallback.
22591 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
22593 * crypt/crypt-private.h: Include stdbool.h.
22594 (_ufc_setup_salt_r): Return bool.
22595 * crypt/crypt-entry.c: Include errno.h.
22596 (__crypt_r): Return NULL with EINVAL for bad salt.
22597 * crypt/crypt_util.c (bad_for_salt): New.
22598 (_ufc_setup_salt_r): Check that salt is long enough and within
22599 the specified alphabet.
22600 * crypt/badsalttest.c: New file.
22601 * crypt/Makefile (tests): Add it.
22602 ($(objpfx)badsalttest): New.
22604 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
22606 * NEWS: Add entry for BZ #14602.
22608 2012-10-09 Joseph Myers <joseph@codesourcery.com>
22610 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
22612 * math/libm-test.inc: Update comment listing what functions and
22614 (isgreater_test): New function.
22615 (isgreaterequal_test): Likewise.
22616 (isless_test): Likewise.
22617 (islessequal_test): Likewise.
22618 (islessgreater_test): Likewise.
22619 (isunordered_test): Likewise.
22620 (main): Call the new functions.
22622 2012-10-09 Roland McGrath <roland@hack.frob.com>
22624 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
22625 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
22626 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
22627 * sysdeps/i386/configure: Regenerated.
22628 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
22629 * sysdeps/mach/configure: Regenerated.
22630 * sysdeps/mach/hurd/configure: Regenerated.
22631 * sysdeps/powerpc/configure: Regenerated.
22632 * sysdeps/powerpc/powerpc32/configure: Regenerated.
22633 * sysdeps/powerpc/powerpc64/configure: Regenerated.
22634 * sysdeps/s390/s390-32/configure: Regenerated.
22635 * sysdeps/s390/s390-64/configure: Regenerated.
22636 * sysdeps/sh/configure: Regenerated.
22637 * sysdeps/sparc/configure: Regenerated.
22638 * sysdeps/unix/sysv/linux/configure: Regenerated.
22639 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
22640 * sysdeps/x86_64/configure: Regenerated.
22642 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
22643 defined. Don't check if MAP is NULL.
22645 2012-10-09 Joseph Myers <joseph@codesourcery.com>
22647 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
22648 (_G_stat64): Likewise.
22649 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
22650 (_G_stat64): Likewise.
22651 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
22652 instead of struct _G_stat64.
22653 * libio/fileops.c (mmap_remap_check): Likewise.
22654 (decide_maybe_mmap): Likewise.
22655 (_IO_new_file_seekoff): Likewise.
22656 (_IO_file_stat): Likewise.
22657 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
22659 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
22660 instead of struct _G_stat64.
22661 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
22663 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
22666 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22668 (CHECK_EOL): New macro.
22669 (two_way_short_needle): Check beginning of haystack for EOL. Use
22671 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22672 Replace with CHECK_EOL.
22673 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22674 Replace with CHECK_EOL.
22676 2012-10-08 Joseph Myers <joseph@codesourcery.com>
22678 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
22680 * math/libm-test.inc: Update comment listing what functions and
22682 (finite_test): New function.
22683 (isinf_test): Likewise.
22684 (isnan_test): Likewise.
22685 (fpclassify_test): Test subnormal input.
22686 (isfinite_test): Likewise.
22687 (isnormal_test): Likewise.
22688 (main): Call the new functions.
22690 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
22693 * Makerules (%.dynsym): Force C locale when running
22694 $(OBJDUMP) --dynamic-syms.
22696 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
22698 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
22701 2012-10-06 David S. Miller <davem@davemloft.net>
22703 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
22704 upper 32-bits of the length value in %o2 since we use branch-on-register
22705 tests which consider the entire 64-bit register.
22707 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
22709 * string/test-strstr.c (check2): Add a test for page boundary.
22711 2012-10-05 David S. Miller <davem@davemloft.net>
22713 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
22714 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
22716 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
22718 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
22719 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
22720 and bzero when HWCAP_SPARC_CRYPTO is present.
22722 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
22725 * string/test-strstr.c (check2): New function.
22726 (test_main): Call check2.
22728 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
22730 * string/bug-strcasestr1.c (do_test): Moved to ...
22731 * string/test-strcasestr.c (check1): Here. New function.
22732 (do_one_test): Break out result checking code into ...
22733 (check_result): This. New function.
22734 (do_one_test): Call check_result.
22735 (test_main): Call check1.
22736 * string/bug-strchr1.c (do_test): Moved to ...
22737 * string/test-strchr.c (check1): Here. New function.
22738 (do_one_test): Break out result checking code into ...
22739 (check_result): This. New function.
22740 (do_one_test): Call check_result.
22741 (test_main): Call check1.
22742 * string/bug-strstr1.c (main): Moved to ...
22743 * string/test-strstr.c (check1): Here. New function.
22744 (do_one_test): Break out result checking code into ...
22745 (check_result): This. New function.
22746 (do_one_test): Call check_result.
22747 (test_main): Call check1.
22748 * string/bug-strcasestr1.c: Removed.
22749 * string/bug-strchr1.c: Likewise.
22750 * string/bug-strstr1.c: Likewise.
22752 * elf/Makefile (dl-routines): Add hwcaps.
22753 * elf/dl-support.c (_dl_important_hwcaps): Removed.
22754 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
22755 (_dl_important_hwcaps): Moved to ...
22756 * elf/dl-hwcaps.c: Here. New file.
22757 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
22760 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
22761 if IS_IN_rtld isn't defined.
22763 * elf/dl-support.c (_dl_sysinfo_map): New.
22764 Include "get-dynamic-info.h" and "setup-vdso.h".
22765 (_dl_non_dynamic_init): Call setup_vdso.
22766 * elf/dynamic-link.h: Don't include <assert.h>.
22767 (elf_get_dynamic_info): Moved to ...
22768 * elf/get-dynamic-info.h: Here. New file.
22769 * elf/dynamic-link.h: Include "get-dynamic-info.h".
22770 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
22771 * elf/setup-vdso.h: Here. New file.
22772 * elf/rtld.c: Include "setup-vdso.h".
22773 (dl_main): Call setup_vdso.
22775 2012-10-05 Joseph Myers <joseph@codesourcery.com>
22777 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
22778 creal in comment listing functions tested. List finite, isinf,
22779 isnan, isless, islessequal, isgreater, isgreaterequal,
22780 islessgreater, isunordered, lgamma_r and pow10 as functions and
22781 macros not tested. Mention which functions not tested are aliases
22782 for other functions. Fix typo. Note that signs of NaNs are not
22785 * scripts/config.guess: Update from config.git.
22786 * scripts/config.sub: Likewise.
22788 2012-10-04 Roland McGrath <roland@hack.frob.com>
22790 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
22791 * misc/madvise.c (madvise): Renamed to __madvise.
22792 Make madvise a weak alias.
22793 * include/sys/mman.h: Declare __madvise.
22794 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
22795 * sysdeps/unix/syscalls.list
22796 (madvise): Make __madvise the strong name, and madvise a weak alias.
22797 * sysdeps/unix/sysv/linux/syscalls.list
22798 (madvise, mmap): Remove redundant entries.
22799 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
22800 * malloc/malloc.c (mtrim): Likewise.
22801 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
22803 2012-10-03 Roland McGrath <roland@hack.frob.com>
22805 * sysdeps/mach/hurd/dl-cache.c: File removed.
22806 * config.h.in (USE_LDCONFIG): New #undef.
22807 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
22808 * configure: Regenerated.
22809 * elf/Makefile (dl-routines): Add dl-cache only under
22810 [$(use-ldconfig) = yes].
22811 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
22812 cache on [USE_LDCONFIG].
22813 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
22815 * elf/rtld.c (dl_main): Likewise.
22817 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
22819 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
22820 _SC_LEVEL4_CACHE_LINESIZE.
22822 2012-10-03 Roland McGrath <roland@hack.frob.com>
22824 * sysdeps/unix/bsd/confstr.h: File removed.
22826 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
22828 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
22831 2012-10-02 Roland McGrath <roland@hack.frob.com>
22833 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
22834 Make 'mapoff' field ElfW(Off) rather than off_t.
22836 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
22838 * nscd/Makefile: Remove nscd-cflags and all its users.
22839 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
22840 (CFLAGS-nonlib): Add compiler flags for nscd modules.
22843 * malloc.c (malloc_printerr): Clarify error message.
22845 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
22848 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22849 Set bit_FMA_Usable if FMA is supported.
22850 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
22852 (bit_FMA4_Usable): Updated.
22853 (index_FMA_Usable): New macro.
22854 (CPUID_FMA): Likewise
22855 (HAS_FMA): Defined with bit_FMA_Usable.
22857 2012-10-01 Roland McGrath <roland@hack.frob.com>
22859 * bits/types.h (__swblk_t): Type removed.
22860 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
22861 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
22862 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22863 (__SWBLK_T_TYPE): Likewise.
22864 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22865 (__SWBLK_T_TYPE): Likewise.
22866 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22867 (__SWBLK_T_TYPE): Likewise.
22868 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22869 (__SWBLK_T_TYPE): Likewise.
22871 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
22872 Honza Horak <hhorak@redhat.com>
22874 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
22875 (xdr_mapname): Use YPMAXMAP as maxsize.
22876 (xdr_peername): Use YPMAXPEER as maxsize.
22877 (xdr_keydat): Use YPAXRECORD as maxsize.
22878 (xdr_valdat): Use YPMAXRECORD as maxsize.
22880 2012-10-01 Roland McGrath <roland@hack.frob.com>
22882 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
22884 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
22885 * csu/init-first.c: ... here.
22886 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
22887 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
22888 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
22889 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
22890 * sysdeps/i386/init-first.c: File removed.
22891 * sysdeps/sh/init-first.c: File removed.
22893 2012-10-01 Joseph Myers <joseph@codesourcery.com>
22896 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
22897 if x * y might underflow to zero and z is zero.
22898 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22899 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22900 * math/libm-test.inc (min_subnorm_value): New variable.
22901 (fma_test): Add more tests.
22902 (fma_test_towardzero): Likewise.
22903 (fma_test_downward): Likewise
22904 (fma_test_upward): Likewise.
22905 (initialize): Set min_subnorm_value.
22907 2012-09-29 Joseph Myers <joseph@codesourcery.com>
22910 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
22912 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
22913 mode for addition resulting in exact zero.
22914 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
22915 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
22917 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22918 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22919 * math/libm-test.inc (fma_test): Add more tests.
22920 (fma_test_towardzero): New function.
22921 (fma_test_downward): Likewise.
22922 (fma_test_upward): Likewise.
22923 (main): Call the new functions.
22925 2012-09-28 David S. Miller <davem@davemloft.net>
22927 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
22929 2012-09-28 Roland McGrath <roland@hack.frob.com>
22931 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
22932 instead of SIGALRM.
22934 * sysdeps/gnu/_G_config.h: Moved to ...
22935 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
22936 * sysdeps/mach/hurd/_G_config.h: Moved to ...
22937 * sysdeps/generic/_G_config.h: ... here.
22939 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
22941 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
22943 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
22944 Conditionalize target on [libnss_test1.so-version].
22946 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
22948 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
22949 (elfobjdir): Move out of conditionals.
22951 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
22952 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
22953 (__nss_lookup_function): Conditionalize label remove_from_tree on
22954 [!DO_STATIC_NSS || SHARED], matching its only use.
22956 2012-09-28 David S. Miller <davem@davemloft.net>
22958 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
22959 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
22961 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
22963 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
22964 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
22965 when HWCAP_SPARC_CRYPTO is present.
22967 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
22969 * io/tst-mknodat.c: Create a FIFO instead of a socket.
22971 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
22974 * stdio-common/vfprintf.c (process_string_arg): Revert
22977 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
22979 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
22981 * stdio-common/tst-sprintf.c: Include <locale.h>
22982 (main): Test sprintf's handling of incomplete multibyte
22985 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
22987 * elf/dl-runtime.c (VERSYMIDX): Removed.
22988 * elf/dl-version.c (VERSYMIDX): Likewise.
22989 * elf/do-rel.h (VERSYMIDX): Likewise.
22990 (VALIDX): Likewise.
22991 * elf/dynamic-link.h (VERSYMIDX): Likewise.
22992 * elf/rtld.c (VALIDX): Likewise.
22993 (ADDRIDX): Likewise.
22994 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
22995 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
22996 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
22997 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
22998 (VALIDX): Likewise.
22999 (ADDRIDX): Likewise.
23001 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23003 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
23005 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
23008 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
23010 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
23011 addresses are in the same scope as 192.0.2/24.
23012 * posix/gai.conf: Document new scope table defaults.
23014 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23017 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
23018 for ftell. Compute offsets from write pointers instead.
23019 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23021 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23024 * libio/Makefile (tests): New test case tst-fseek.
23025 * libio/tst-fseek.c: New test case to verify that fseek/ftell
23026 combination works in wide mode.
23027 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
23028 state when the external buffer state changes.
23030 2012-09-27 David S. Miller <davem@davemloft.net>
23033 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
23034 pass reloc->r_addend in as the 'high' argument to
23035 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
23037 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23039 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23041 * rt/tst-aio2.c: Include <pthread.h>.
23042 * rt/tst-aio3.c: Likewise.
23044 2012-09-27 Steve Ellcey <sellcey@mips.com>
23046 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
23048 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
23050 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
23051 contents on [SHARED].
23053 2012-09-26 Marek Polacek <polacek@redhat.com>
23057 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
23058 for C++ and GCC <4.3 as well as for non GCC compilers.
23060 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23062 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23064 2012-09-25 Roland McGrath <roland@hack.frob.com>
23066 * Makefile.in (all, install): Declare with .PHONY.
23067 Reported by Michael Hope <michael.hope@linaro.org>.
23069 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23071 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
23072 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
23074 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
23076 (sydep_routines): Add the new and the internal functions.
23077 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
23078 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
23079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
23080 (GLIBC_2.17): Add the new function.
23081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23082 (GLIBC_2.17): Likewise.
23083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
23084 (GLIBC_2.17): Likewise.
23085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
23086 (GLIBC_2.17): Likewise.
23087 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
23089 2012-09-25 Alan Modra <amodra@gmail.com>
23091 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
23092 Add release barrier before setting once_control to say
23093 initialisation is done. Add hints on lwarx. Use macro in
23095 (clear_once_control): Add release barrier.
23097 2012-09-25 Joseph Myers <joseph@codesourcery.com>
23100 * math/s_clog.c (__clog): Handle more values close to |z| = 1
23102 * math/s_clog10.c (__clog10): Likewise.
23103 * math/s_clog10f.c (__clog10f): Likewise.
23104 * math/s_clog10l.c (__clog10l): Likewise.
23105 * math/s_clogf.c (__clogf): Likewise.
23106 * math/s_clogl.c (__clogl): Likewise.
23107 * math/Makefile (libm-calls): Add x2y2m1.
23108 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
23109 (__x2y2m1): Likewise.
23110 (__x2y2m1l): Likewise.
23111 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
23112 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
23113 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
23114 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23115 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
23116 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
23117 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
23118 * sysdeps/i386/fpu/libm-test-ulps: Update.
23119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23122 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
23123 int as type of variable DEPTH.
23124 (glob): Use size_t instead of int as type of variables NEWCOUNT
23127 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23129 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23130 Add s_sincosf-sse2.
23131 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
23132 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
23133 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
23134 macros for using routine as __sincosf_ia32.
23135 Use macro for function declaration and weak_alias.
23136 * sysdeps/i386/fpu/libm-test-ulps: Update.
23138 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
23139 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23141 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
23142 subnormal argument.
23143 * math/s_cexpf.c (__cexpf): Likewise.
23144 * math/s_csinf.c (__csinf): Likewise.
23145 * math/s_csinhf.c (__csinhf): Likewise.
23146 * math/s_ctanf.c (__ctanf): Likewise.
23147 * math/s_ctanhf.c (__ctanhf): Likewise.
23148 * math/s_ccosh.c (__ccoshf): Likewise.
23149 * math/s_cexp.c (__cexpl): Likewise.
23150 * math/s_csin.c (__csin): Likewise.
23151 * math/s_csinh.c (__csinh): Likewise.
23152 * math/s_ctan.c (__ctan): Likewise.
23153 * math/s_ctanh.c (ctanh): Likewise.
23154 * math/s_ccoshl.c (__ccoshl): Likewise.
23155 * math/s_cexpl.c (__cexpl): Likewise.
23156 * math/s_csinl.c (__csinl): Likewise.
23157 * math/s_csinhl.c (__csinhl): Likewise.
23158 * math/s_ctanl.c (__ctanl): Likewise.
23159 * math/s_ctanhl.c (__ctanhl): Likewise.
23161 2012-09-25 Joseph Myers <joseph@codesourcery.com>
23163 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
23164 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
23165 (_IO_off_t): Define to __off_t, not _G_off_t.
23166 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
23167 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
23168 (_IO_wint_t): Define to wint_t, not _G_wint_t.
23169 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
23170 type of __dummy and __dummy2 fields.
23171 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
23172 (_G_ssize_t): Likewise.
23173 (_G_off_t): Likewise.
23174 (_G_pid_t): Likewise.
23175 (_G_uid_t): Likewise.
23176 (_G_wchar_t): Likewise.
23177 (_G_wint_t): Likewise.
23178 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
23179 (_G_ssize_t): Likewise.
23180 (_G_off_t): Likewise.
23181 (_G_pid_t): Likewise.
23182 (_G_uid_t): Likewise.
23183 (_G_wchar_t): Likewise.
23184 (_G_wint_t): Likewise.
23185 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
23186 (_G_ssize_t): Likewise.
23187 (_G_off_t): Likewise.
23188 (_G_pid_t): Likewise.
23189 (_G_uid_t): Likewise.
23190 (_G_wchar_t): Likewise.
23191 (_G_wint_t): Likewise.
23193 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23195 * malloc/arena.c: Include malloc-sysdep.h.
23196 (shrink_heap): Use check_may_shrink_heap to decide if madvise
23197 is sufficient to shrink the heap or an unmap is needed.
23198 * sysdeps/generic/malloc-sysdep.h: New file. Define
23199 new function check_may_shrink_heap.
23200 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
23201 new function check_may_shrink_heap.
23203 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23205 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
23208 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
23210 * catgets/test-gencat.sh: Add "set -e".
23211 * elf/tst-pathopt.sh: Likewise.
23212 * grp/tst_fgetgrent.sh: Likewise.
23213 * iconvdata/run-iconv-test.sh: Likewise.
23214 * intl/tst-gettext.sh: Likewise.
23215 * intl/tst-gettext2.sh: Likewise.
23216 * intl/tst-gettext4.sh: Likewise.
23217 * intl/tst-gettext6.sh: Likewise.
23218 * intl/tst-translit.sh: Likewise.
23219 * io/ftwtest-sh: Likewise.
23220 * libio/test-freopen.sh: Likewise.
23221 * malloc/tst-mtrace.sh: Likewise.
23222 * posix/globtest.sh: Likewise.
23223 * posix/tst-getconf.sh: Likewise.
23224 * posix/wordexp-tst.sh: Likewise.
23225 * stdio-common/tst-printf.sh: Likewise.
23226 * stdio-common/tst-unbputc.sh: Likewise.
23227 * stdlib/tst-fmtmsg.sh: Likewise.
23228 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23229 * catgets/Makefile: Do not specify -e option when running
23230 testsuite shell scripts.
23231 * elf/Makefile: Likewise.
23232 * grp/Makefile: Likewise.
23233 * iconvdata/Makefile: Likewise.
23234 * intl/Makefile: Likewise.
23235 * io/Makefile: Likewise.
23236 * libio/Makefile: Likewise.
23237 * malloc/Makefile: Likewise.
23238 * posix/Makefile: Likewise.
23239 * stdio-common/Makefile: Likewise.
23240 * stdlib/Makefile: Likewise.
23241 * sysdeps/x86_64/Makefile: Likewise.
23243 * io/ftwtest-sh: Add copyright header.
23244 * posix/globtest.sh: Likewise.
23245 * posix/tst-getconf.sh: Likewise.
23246 * posix/wordexp-tst.sh: Likewise.
23247 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23249 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
23252 * Makeconfig (+link): Defined as $(+link-static) if
23253 $(build-shared) isn't yes.
23254 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
23256 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
23258 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
23261 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
23262 new chunk size with MALLOC_ALIGN_MASK.
23264 2012-09-24 Joseph Myers <joseph@codesourcery.com>
23267 * stdio-common/printf_fphex.c: Include <stdbool.h> and
23269 (__printf_fphex): Determine rounding using get_rounding_mode and
23271 * stdio-common/tst-printf-round.c (struct hex_test): New
23273 (hex_tests): New variable.
23274 (test_hex_in_one_mode): New function.
23275 (do_test): Also run tests for hex float output.
23277 2012-09-21 Joseph Myers <joseph@codesourcery.com>
23279 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23280 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23281 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
23282 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23283 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23284 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
23285 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23286 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23288 2012-09-20 Joseph Myers <joseph@codesourcery.com>
23290 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
23291 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
23292 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
23293 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
23295 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
23298 * elf/rtld.c (dl_main): Limit the check for self loading to normal
23300 * elf/tst-rtld-load-self.sh: New test.
23301 * elf/Makefile: Run it.
23303 2012-09-18 Joseph Myers <joseph@codesourcery.com>
23305 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
23306 (tst-writev-ENV): Remove.
23307 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
23309 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
23311 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
23313 2012-09-17 Joseph Myers <joseph@codesourcery.com>
23315 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
23317 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
23319 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
23320 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
23321 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
23324 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
23327 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
23328 * config.make.in (have-cpp-asm-debuginfo): Removed.
23329 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
23330 * configure: Regenerated.
23332 2012-09-14 Joseph Myers <joseph@codesourcery.com>
23335 * stdio-common/printf_fp.c: Include <stdbool.h> and
23337 (___printf_fp): Determine rounding using get_rounding_mode and
23339 * stdio-common/tst-printf-round.c: New file.
23340 * stdio-common/Makefile (tests): Add tst-printf-round.
23341 (link-libm): New variable.
23342 ($(objpfx)tst-printf-round): Depend in $(link-libm).
23344 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
23347 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
23348 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
23350 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
23353 2012-09-13 Joseph Myers <joseph@codesourcery.com>
23355 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
23356 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23357 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23358 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23360 2012-09-12 Joseph Myers <joseph@codesourcery.com>
23363 * include/rounding-mode.h: New file.
23364 * sysdeps/generic/get-rounding-mode.h: Likewise.
23365 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
23366 * stdlib/strtod_l.c: Include <rounding-mode.h>.
23367 (MAX_VALUE): New macro.
23368 (MIN_VALUE): Likewise.
23369 (overflow_value): New function.
23370 (underflow_value): Likewise.
23371 (round_and_return): Use overflow_value and underflow_value to
23372 determine return values in overflow and underflow cases. Use
23373 round_away to determine rounding depending on rounding mode.
23374 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
23375 determine return values in overflow and underflow cases.
23376 * stdlib/tst-strtod-round.c: Include <fenv.h>.
23377 (struct test_results): New structure.
23378 (struct test): Use struct test_results to store expected results
23379 for all rounding modes.
23380 (TEST): Include expected results for all rounding modes.
23381 (test_in_one_mode): New function.
23382 (do_test): Use test_in_one_mode to compute and check results.
23383 Check results for all rounding modes.
23384 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
23387 2012-12-09 Allan McRae <allan@archlinux.org>
23389 * sysdeps/i386/fpu/libm-test-ulps: Update
23391 2012-09-11 Joseph Myers <joseph@codesourcery.com>
23393 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
23394 (_G_int32_t): Likewise.
23395 (_G_uint16_t): Likewise.
23396 (_G_uint32_t): Likewise.
23397 (_G_HAVE_BOOL): Likewise.
23398 (_G_HAVE_ATEXIT): Likewise.
23399 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23400 (_G_HAVE_IO_FILE_OPEN): Likewise.
23401 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
23402 (_G_int32_t): Likewise.
23403 (_G_uint16_t): Likewise.
23404 (_G_uint32_t): Likewise.
23405 (_G_HAVE_BOOL): Likewise.
23406 (_G_HAVE_ATEXIT): Likewise.
23407 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23408 (_G_HAVE_IO_FILE_OPEN): Likewise.
23409 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
23410 (_G_int32_t): Likewise.
23411 (_G_uint16_t): Likewise.
23412 (_G_uint32_t): Likewise.
23413 (_G_HAVE_BOOL): Likewise.
23414 (_G_HAVE_ATEXIT): Likewise.
23415 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23416 (_G_HAVE_IO_FILE_OPEN): Likewise.
23418 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
23420 * csu/libc-tls.c: Update copyright years.
23422 2012-09-10 Joseph Myers <joseph@codesourcery.com>
23424 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
23425 [!_G_USING_THUNKS]: Remove conditional code.
23426 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
23427 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
23429 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
23430 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
23431 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23432 (_G_VTABLE_LABEL_PREFIX): Likewise.
23433 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23434 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23435 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23436 (_G_VTABLE_LABEL_PREFIX): Likewise.
23437 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23438 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23439 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23440 (_G_VTABLE_LABEL_PREFIX): Likewise.
23441 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23443 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
23445 * libio/Makefile: Include ../Makeconfig before tests.
23446 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
23447 only if $(build-shared) is yes.
23449 * iconv/gconv_db.c: Update copyright years.
23451 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23453 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
23454 unwind info if defined PIC. Fix special cases description.
23455 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
23457 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
23459 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
23461 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
23463 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
23465 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
23468 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
23469 (LDLIBS-tst-chk4): This.
23470 (LDFLAGS-tst-chk5): Renamed to ...
23471 (LDLIBS-tst-chk5): This.
23472 (LDFLAGS-tst-chk6): Renamed to ...
23473 (LDLIBS-tst-chk6): This.
23474 (LDFLAGS-tst-lfschk4): Renamed to ...
23475 (LDLIBS-tst-lfschk4): This.
23476 (LDFLAGS-tst-lfschk5): Renamed to ...
23477 (LDLIBS-tst-lfschk5): This.
23478 (LDFLAGS-tst-lfschk6): Renamed to ...
23479 (LDLIBS-tst-lfschk6): This.
23481 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
23482 on $(common-objpfx)soversions.mk.
23484 2012-09-07 Joseph Myers <joseph@codesourcery.com>
23487 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
23490 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23492 * malloc/arena.c (arena_get_retry): New function that gets
23493 another arena for the caller to try its request on.
23494 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
23495 current arena cannot fulfill the request.
23496 (__libc_memalign): Likewise.
23497 (__libc_memalign): Likewise.
23498 (__libc_pvalloc): Likewise.
23499 (__libc_calloc): Likewise.
23501 2012-09-05 John Tobey <john.tobey@gmail.com>
23504 * manual/arith.texi (Operations on Complex): Fix description
23505 of carg branch cut.
23507 2012-09-06 Joseph Myers <joseph@codesourcery.com>
23510 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
23514 * manual/memory.texi (Memory): Make order of menu items match
23517 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23519 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
23520 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
23521 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
23523 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23525 * csu/libc-tls.c (static_dtv): Renamed to ...
23526 (_dl_static_dtv): This. Make it global.
23527 (_dl_initial_dtv): Removed.
23528 (__libc_setup_tls): Updated.
23529 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
23530 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
23533 2012-09-06 Petr Machata <pmachata@redhat.com>
23535 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
23536 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
23537 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
23538 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
23540 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23543 * csu/libc-tls.c (_dl_initial_dtv): New variable.
23544 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
23547 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23550 * Makeconfig (link-static-before-libc): Replace $(+prector)
23552 (link-static-after-libc): Replace $(+postctor) with
23554 (link-bounded): Replace $(+prector)/$(+postctor) with
23555 $(+prectorT)/$(+postctorT).
23556 (+prectorT): New macro.
23557 (+postctorT): Likewise.
23559 2012-09-06 Joseph Myers <joseph@codesourcery.com>
23561 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
23562 (round_str): Handle values above the maximum for IBM long double
23564 * stdlib/tst-strtod-round.c (tests): Regenerated.
23566 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23568 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
23570 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
23571 zarch_nohighgprs around the zarch optimized routines.
23572 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
23573 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
23574 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
23577 2012-09-05 David S. Miller <davem@davemloft.net>
23579 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23581 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
23582 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
23583 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
23584 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23587 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
23589 * malloc/arena.c: Fold copyright years.
23590 * malloc/mcheck.c, malloc/memusage.c: Likewise.
23592 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
23594 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
23596 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
23598 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
23600 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
23602 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
23603 change internal state upon failure.
23605 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
23607 * malloc/mcheck.c (mcheck_check_all): Fix typo.
23608 * malloc/memusage.c (mmap): Likewise.
23609 (mmap64, mremap): Likewise. Adjust name in comment.
23611 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23613 * libio/fileops.c: Fix typos in comments.
23614 * libio/oldfileops.c: Likewise.
23615 * libio/wfileops.c: Likewise.
23617 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23620 * malloc/Makefile (tests): Add tst-malloc-usable test case.
23621 (tst-malloc-usable-ENV): Set environment for test case.
23622 * malloc/hooks.c (malloc_check_get_size): New function to get
23624 * malloc/malloc.c (musable): Use malloc_check_get_size.
23625 * malloc/tst-malloc-usable.c: New test case.
23627 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
23629 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
23631 2012-09-05 Allan McRae <allan@archlinux.org>
23634 * configure.in (CXX_SYSINCLUDES): Use compiler output to
23635 determine header location.
23636 * configure: Regenerated.
23638 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
23640 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
23642 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
23643 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
23645 (test): Regenerate.
23647 2012-09-04 David S. Miller <davem@davemloft.net>
23649 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
23650 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
23651 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
23653 2012-09-04 Florian Weimer <fweimer@redhat.com>
23655 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
23658 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
23660 2012-09-04 Joseph Myers <joseph@codesourcery.com>
23663 * libio/iogetdelim.c: Include <limits.h>.
23664 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
23665 + len + 1 would overflow.
23667 2012-09-03 Andreas Jaeger <aj@suse.de>
23669 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23670 * sysdeps/i386/fpu/libm-test-ulps: Update.
23672 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23674 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23675 Add s_sinf-sse2, s_conf-sse2.
23677 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
23678 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
23679 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
23680 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
23682 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
23683 for using routine as __sinf_ia32.
23684 Use macro for function declaration and weak_alias.
23685 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
23686 for using routine as __cosf_ia32.
23687 Use macro for function declaration and weak_alias.
23689 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
23690 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
23692 * sysdeps/x86_64/fpu/s_sinf.S: New file.
23693 * sysdeps/x86_64/fpu/s_cosf.S: New file.
23694 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23696 * math/libm-test.inc (cos_test): Add more test cases.
23697 (sin_test): Likewise.
23698 (sincos_test): Likewise.
23700 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23702 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
23703 (IFUNC_RESOLVE): Make pointers to the specialized implementations
23705 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23707 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
23710 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
23711 first element of the GOT.
23712 (elf_machine_load_address): Return the difference between
23713 the runtime address of _DYNAMIC and elf_machine_dynamic ().
23715 2012-09-01 Allan McRae <allan@archlinux.org>
23718 * configure.in (AWK): Require gawk version 3.0 or later.
23719 * configure: Regenerated.
23721 2012-09-01 Joseph Myers <joseph@codesourcery.com>
23723 * sysdeps/unix/sysv/linux/kernel-features.h
23724 (__ASSUME_POSIX_CPU_TIMERS): Remove.
23725 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23726 [__NR_clock_getres]: Make code unconditional.
23727 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
23728 (clock_getcpuclockid): Remove code left unreachable by removal of
23730 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
23731 code unconditional.
23732 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23733 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23734 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
23735 Make code unconditional.
23736 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23737 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23738 * sysdeps/unix/sysv/linux/clock_settime.c
23739 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
23741 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
23742 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23744 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
23747 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
23748 scripts/test-installation.pl.
23750 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
23751 and $ld_so_version if it is set.
23753 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23756 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
23757 failure if reading from procfs failed.
23758 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
23760 2012-08-27 Joseph Myers <joseph@codesourcery.com>
23762 * sysdeps/unix/sysv/linux/kernel-features.h
23763 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
23764 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
23765 Remove conditional code.
23766 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23767 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
23768 Remove conditional code.
23769 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23770 * sysdeps/unix/sysv/linux/i386/fxstat.c
23771 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23772 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23773 * sysdeps/unix/sysv/linux/i386/fxstatat.c
23774 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23775 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23776 * sysdeps/unix/sysv/linux/i386/lxstat.c
23777 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23778 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23779 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
23780 Remove conditional code.
23781 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23782 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
23783 Remove conditional code.
23784 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23785 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
23786 <kernel-features.h>.
23787 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
23789 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
23790 Remove conditional code.
23791 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23792 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
23793 Remove conditional.
23795 2012-08-27 Mike Frysinger <vapier@gentoo.org>
23798 * NEWS: Add fixed bug number.
23800 2012-08-27 Joseph Myers <joseph@codesourcery.com>
23803 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
23804 underflowing exponent in case of negative sign.
23805 * stdlib/tst-strtod-round-data: Add more tests.
23806 * stdlib/tst-strtod-round.c (tests): Regenerated.
23809 * stdlib/strtod_l.c (NDIG): Remove.
23810 (HEXNDIG): Likewise.
23811 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
23812 smallest representable value.
23813 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
23814 lie within an exact representation of 1/2 ulp of the result.
23815 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
23817 (TENS_P9_IDX): Define unconditionally.
23818 (TENS_P9_SIZE): Likewise.
23819 (TENS_P10_IDX): Likewise.
23820 (TENS_P10_SIZE): Likewise.
23821 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
23822 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
23823 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
23824 entries for 10^2^13 and 10^2^14.
23825 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
23826 (TENS_P13_IDX): Define.
23827 (TENS_P13_SIZE): Likewise.
23828 (TENS_P14_IDX): Likewise.
23829 (TENS_P14_SIZE): Likewise.
23830 (_fpioconst_pow10): Change array size to
23831 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
23833 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
23834 1024]: Add entries for 10^2^13 and 10^2^14.
23835 [LAST_POW10 > _LAST_POW10]: Remove #error.
23836 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
23837 (_fpioconst_pow10): Change array size to
23838 FPIOCONST_POW10_ARRAY_SIZE.
23839 * stdlib/gen-fpioconst.c: New file.
23840 * stdlib/gen-tst-strtod-round.c: Likewise.
23841 * stdlib/tst-strtod-round-data: Likewise.
23842 * stdlib/tst-strtod-round.c: Likewise.
23843 * stdlib/Makefile (tests): Add tst-strtod-round.
23846 * stdlib/strtod_l.c: Include <stdint.h>.
23847 (NDEBUG): Do not define.
23848 (round_and_return): Change EXPONENT parameter to type intmax_t.
23849 Rearrange calculations to avoid internal overflow possibilities.
23850 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
23851 Rearrange calculations to avoid internal overflow possibilities.
23852 Assert that number fits inside MPNSIZE limbs.
23853 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
23854 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
23855 calculations and add assertions to avoid internal overflow
23856 possibilities. Add casts to avoid signed/unsigned operations.
23857 * stdlib/tst-strtod-overflow.c: New file.
23858 * stdlib/Makefile (tests): Add tst-strtod-overflow.
23860 2012-08-25 Marek Polacek <polacek@redhat.com>
23862 * time/time.h: Fix some typos in comments.
23864 2012-08-23 Roland McGrath <roland@hack.frob.com>
23866 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
23867 * posix/tst-rfc3484-2.c: Likewise.
23868 * posix/tst-rfc3484-3.c: Likewise.
23870 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
23872 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
23873 (EF_ARM_ABI_FLOAT_HARD): Likewise.
23875 2012-08-23 Joseph Myers <joseph@codesourcery.com>
23877 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
23878 #include of fxstatat64.c.
23880 2012-08-22 Roland McGrath <roland@hack.frob.com>
23882 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
23883 * shadow/getspent_r.c: Likewise.
23884 * shadow/getspnam.c: Likewise.
23885 * shadow/getspnam_r.c: Likewise.
23886 * gshadow/getsgent.c: Likewise.
23887 * gshadow/getsgent_r.c: Likewise.
23888 * gshadow/getsgnam.c: Likewise.
23889 * gshadow/getsgnam_r.c: Likewise.
23890 * inet/getnetbyad.c: Likewise.
23891 * inet/getnetbyad_r.c: Likewise.
23892 * inet/getnetbynm.c: Likewise.
23893 * inet/getnetbynm_r.c: Likewise.
23894 * inet/getnetent.c: Likewise.
23895 * inet/getnetent_r.c: Likewise.
23896 * inet/getproto.c: Likewise.
23897 * inet/getproto_r.c: Likewise.
23898 * inet/getprtent.c: Likewise.
23899 * inet/getprtent_r.c: Likewise.
23900 * inet/getprtname.c: Likewise.
23901 * inet/getprtname_r.c: Likewise.
23902 * inet/getrpcbyname.c: Likewise.
23903 * inet/getrpcbyname_r.c: Likewise.
23904 * inet/getrpcbynumber.c: Likewise.
23905 * inet/getrpcbynumber_r.c: Likewise.
23906 * inet/getrpcent.c: Likewise.
23907 * inet/getrpcent_r.c: Likewise.
23908 * inet/getaliasent.c: Likewise.
23909 * inet/getaliasent_r.c: Likewise.
23910 * inet/getaliasname.c: Likewise.
23911 * inet/getaliasname_r.c: Likewise.
23912 * nscd/getgrgid_r.c: Likewise.
23913 * nscd/getgrnam_r.c: Likewise.
23914 * nscd/gethstbyad_r.c: Likewise.
23915 * nscd/gethstbynm3_r.c: Likewise.
23916 * nscd/getpwnam_r.c: Likewise.
23917 * nscd/getpwuid_r.c: Likewise.
23918 * nscd/getsrvbynm_r.c: Likewise.
23919 * nscd/getsrvbypt_r.c: Likewise.
23920 * nscd/gai.c: Likewise.
23922 * configure.in (build_nscd): New substituted variable, set
23923 by --disable-build-nscd and defaults to $use_nscd.
23924 * configure: Regenerated.
23925 * config.make.in (build-nscd): New substituted variable.
23926 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
23927 Change conditional to require [$(build-nscd) = yes] as well.
23928 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
23931 * configure.in (use_nscd): New substituted variable, set by
23932 --disable-nscd. If enabled, define USE_NSCD.
23933 * configure: Regenerated.
23934 * config.h.in: Add USE_NSCD.
23935 * config.make.in (use-nscd): New substituted variable.
23936 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
23937 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
23938 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
23939 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
23940 (CFLAGS-getgrnam_r.c): Likewise.
23941 (CFLAGS-initgroups.c): Likewise.
23942 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
23943 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
23945 * inet/getnetgrent_r.c
23946 (nscd_setnetgrent): New function, broken out of ...
23947 (setnetgrent): ... here. Call it.
23948 (innetgr): Conditionalize nscd bits on [USE_NSCD].
23949 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
23950 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
23951 * nscd/Makefile (routines, aux): Move definitions after include of
23952 Makeconfig. Conditionalize on [$(use-nscd) != no].
23953 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
23954 Conditionalize on [USE_NSCD].
23955 (is_nscd, nscd_init_cb): Likewise.
23956 (nss_load_library): Conditionalize init callback on [USE_NSCD].
23957 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
23958 * nss/nss_db/db-init.c: Likewise.
23959 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
23961 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
23962 (make_request): Use it.
23963 (cache_valid_p): New function.
23964 (__check_pf): Use it.
23965 * NEWS: Add item for --disable-nscd.
23967 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
23969 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
23970 to support sed >= 4.2.1-20-ga9bf076.
23971 * configure: Regenerated.
23973 2012-08-22 Roland McGrath <roland@hack.frob.com>
23975 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
23976 Conditionalize whole body on [IREL].
23978 2012-08-22 Jeff Law <law@redhat.com>
23981 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
23982 if the family is PF_UNSPEC.
23984 2012-08-22 Mike Frysinger <vapier@gentoo.org>
23986 * Makerules (lib-version): Rename from V.
23987 (install-lib-nosubdir): Change V to lib-version.
23989 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
23992 * powerpc32/power6/wcschr.c: New file.
23993 * powerpc32/power6/wcscpy.c: New file.
23994 * powerpc32/power6/wcsrchr.c: New file.
23995 * powerpc64/power6/wcschr.c: New file.
23996 * powerpc64/power6/wcscpy.c: New file.
23997 * powerpc64/power6/wcsrchr.c: New file.
23999 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24001 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
24002 (two_way_short_needle): Use it.
24003 * string/strstr.c (AVAILABLE1_USES_J): Define.
24004 * string/strcasestr.c: Likewise.
24006 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
24008 * string/strcasestr.c (TOLOWER): Make side-effect safe.
24011 * NEWS: Add an entry.
24012 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
24013 define their defaults.
24014 (two_way_short_needle): Detect end-of-string on-the-fly.
24015 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
24016 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
24017 * string/bug-strcasestr1.c: New test.
24018 * string/Makefile: Run it.
24020 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24023 * string/str-two-way.h (two_way_short_needle): Optimize matching of
24024 the first character.
24026 2012-08-21 Roland McGrath <roland@hack.frob.com>
24028 * csu/elf-init.c (__libc_csu_irel): Function removed.
24029 * csu/libc-start.c (apply_irel): New function.
24030 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
24032 2012-08-21 Joseph Myers <joseph@codesourcery.com>
24034 * sysdeps/unix/sysv/linux/kernel-features.h
24035 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
24036 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24037 <kernel-features.h>.
24038 [__NR_fadvise64_64]: Make code unconditional.
24039 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
24040 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24041 !__NR_fadvise64_64)]: Likewise.
24042 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24043 !__NR_fadvise64_64))]: Likewise.
24044 [__NR_fadvise64]: Make code unconditional.
24045 [!__NR_fadvise64]: Remove conditional code.
24046 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
24047 <kernel-features.h>.
24048 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24050 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
24053 not include <kernel-features.h>.
24054 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24056 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24058 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
24059 include <kernel-features.h>.
24060 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24062 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24065 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24067 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
24068 slight instruction rearrangements per scrollpipe analysis.
24069 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24071 2012-08-20 Roland McGrath <roland@hack.frob.com>
24073 * manual/syslog.texi (syslog; vsyslog, closelog):
24074 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
24075 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
24077 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
24078 DSOCAPS to match condition on defining it.
24080 2012-08-20 Joseph Myers <joseph@codesourcery.com>
24082 * sysdeps/unix/sysv/linux/kernel-features.h
24083 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
24084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
24085 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24086 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
24088 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24089 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
24091 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24092 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24094 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
24095 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
24097 * sysdeps/unix/sysv/linux/kernel-features.h
24098 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
24099 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
24101 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24102 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
24103 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24104 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24105 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
24106 Make code unconditional.
24107 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24108 (__mmap64) [!__NR_mmap2]: Likewise.
24109 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
24110 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24111 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24112 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
24113 [__NR_mmap2]: Make code unconditional.
24114 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24115 (__mmap64) [!__NR_mmap2]: Likewise.
24117 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24119 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
24121 2012-08-18 Andreas Jaeger <aj@suse.de>
24123 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
24125 2012-08-18 Mike Frysinger <vapier@gentoo.org>
24127 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
24128 * include/unistd.h (__have_sock_cloexec): Likewise.
24129 (__have_pipe2): Likewise.
24130 (__have_dup3): Likewise.
24132 2012-08-18 Mike Frysinger <vapier@gentoo.org>
24135 * include/unistd.h (__have_pipe2): Change define into an extern int.
24136 (__have_dup3): Likewise.
24137 * socket/have_sock_cloexec.c: Include fcntl.h.
24138 (__have_pipe2): New variable.
24139 (__have_dup3): Likewise.
24141 2012-08-17 Mike Frysinger <vapier@gentoo.org>
24143 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
24145 2012-08-17 Marek Polacek <polacek@redhat.com>
24147 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
24148 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
24150 2012-08-17 Roland McGrath <roland@hack.frob.com>
24152 * configure.in: Add AC_SUBST for sysheaders.
24153 * configure: Regenerated.
24154 * config.make.in (sysheaders): New substituted variable.
24156 * sysdeps/unix/mkfifo.c: Moved ...
24157 * sysdeps/posix/mkfifo.c: ... here.
24158 * sysdeps/unix/mkfifoat.c: Moved ...
24159 * sysdeps/posix/mkfifoat.c: ... here.
24161 * sysdeps/unix/utime.c: Moved ...
24162 * sysdeps/posix/utime.c: ... here.
24164 * sysdeps/unix/time.c: Moved ...
24165 * sysdeps/posix/time.c: ... here.
24166 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
24167 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
24169 * sysdeps/unix/nice.c: Moved ...
24170 * sysdeps/posix/nice.c: ... here.
24172 * sysdeps/unix/alarm.c: Moved ...
24173 * sysdeps/posix/alarm.c: ... here.
24175 * intl/Makefile ($(codeset_mo)): Depend on the input file.
24177 2012-08-17 Jeff Law <law@redhat.com>
24179 * intl/Makefile (codeset_mo): New variable.
24180 ($(codeset_mo)): New target.
24181 (tst-codeset.out): Depend on that. Remove explicit rule.
24182 (tst-gettext3.out, tst-gettext5.out): Likewise.
24183 (LOCPATH-ENV, tst-codeset-ENV): New variables.
24184 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
24185 * intl/tst-codeset.sh: Remove.
24186 * intl/tst-gettext3.sh: Likewise.
24187 * intl/tst-gettext5.sh: Likewise.
24189 2012-08-17 Roland McGrath <roland@hack.frob.com>
24191 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
24192 * sysdeps/unix/syscalls.list: ... here.
24194 * sysdeps/posix/getaddrinfo.c
24195 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
24196 (gaiconf_init, gaiconf_reload): Use them.
24197 [!_STATBUF_ST_NSEC]
24198 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
24199 Define using time_t rather than struct timespec.
24201 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
24202 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
24204 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
24206 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
24207 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
24210 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
24211 __libc_cleanup_push argument.
24213 * bits/param.h: New file.
24214 * misc/sys/param.h: New file.
24215 * include/sys/param.h: New file.
24216 * misc/Makefile (headers): Add bits/param.h.
24217 * sysdeps/generic/sys/param.h: File removed.
24218 * sysdeps/unix/sysv/linux/bits/param.h: New file.
24219 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
24220 * sysdeps/mach/hurd/bits/param.h: New file.
24221 * sysdeps/mach/hurd/sys/param.h: File removed.
24223 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
24226 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
24228 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
24229 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
24232 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
24233 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
24234 rather than -D_IO_MTSAFE_IO conditionally.
24235 * stdio-common/Makefile (CPPFLAGS): Likewise.
24236 * wcsmbs/Makefile (CPPFLAGS): Likewise.
24237 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
24238 Use $(libio-mtsafe).
24239 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
24240 of -D_IO_MTSAFE_IO.
24241 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
24242 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
24243 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
24244 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
24245 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
24246 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
24247 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
24248 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
24249 (CFLAGS-fread_u_chk.c): Likewise.
24250 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
24251 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
24252 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
24253 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
24254 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
24255 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
24256 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
24257 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
24258 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
24260 * libio/Makefile: Test [$(libc-reentrant) = yes]
24261 instead of [$(filter %REENTRANT, $(defines)) nonempty].
24264 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
24265 * sysdeps/pthread/configure: File removed.
24266 * sysdeps/pthread/Makeconfig: New file.
24267 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
24268 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
24270 2012-08-16 Gary Benson <gbenson@redhat.com>
24272 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
24273 unmapping the first object in a namespace.
24275 2012-08-16 Roland McGrath <roland@hack.frob.com>
24277 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
24278 (__internal_setnetgrent): ... this. Add internal_function to
24279 definition. Add libc_hidden_def.
24280 (setnetgrent): Update caller.
24281 (internal_endnetgrent): Renamed to ...
24282 (__internal_endnetgrent): ... this. Add internal_function to
24283 definition. Add libc_hidden_def.
24284 (endnetgrent): Update caller.
24285 (internal_getnetgrent_r): Renamed to ...
24286 (__internal_getnetgrent_r): ... this. Add internal_function to
24287 definition. Add libc_hidden_def.
24288 (__getnetgrent_r): Update caller.
24289 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
24291 2012-08-16 Joseph Myers <joseph@codesourcery.com>
24293 * stdlib/longlong.h: Update from GCC.
24295 2012-08-16 Roland McGrath <roland@hack.frob.com>
24297 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
24298 on _QL, which is set by umul_ppmm but never used.
24299 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
24300 variables, which are set by GMP macros but never used.
24301 * stdio-common/_itowa.c (_itowa): Likewise.
24302 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
24303 * stdlib/mod_1.c (mpn_mod_1): Likewise.
24305 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
24307 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
24308 struct La_sh_regs is not constant.
24309 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
24310 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
24311 and struct La_sparc64_regs are not constant.
24313 2012-08-16 Joseph Myers <joseph@codesourcery.com>
24315 * sysdeps/unix/sysv/linux/kernel-features.h
24316 (__ASSUME_POSIX_TIMERS): Remove.
24317 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24318 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24319 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
24320 Make code unconditional.
24321 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24322 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
24323 Make code unconditional.
24324 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24325 * sysdeps/unix/sysv/linux/clock_nanosleep.c
24326 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
24327 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24328 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
24329 Make code unconditional.
24330 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24331 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
24332 (__libc_missing_posix_timers): Remove.
24334 2012-08-15 Roland McGrath <roland@hack.frob.com>
24336 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
24337 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
24339 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
24341 * elf/dl-sym.c: Include <stdlib.h>.
24343 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
24344 constants, which avoids warnings in 32-bit builds.
24346 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
24347 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
24349 * misc/lseek.c: File moved to ...
24350 * io/lseek.c: ... here.
24352 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
24354 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
24355 shifting LEN more than 31 bits at once.
24357 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24360 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
24361 segmentation fault for a case of two empty input strings.
24362 * string/test-strncasecmp.c (check1): Renamed to...
24363 (bz12205): ...this.
24364 (bz14195): Add new testcase for two empty input strings and N > 0.
24365 (test_main): Call new testcase, adapt for renamed function.
24367 2012-08-15 Andreas Jaeger <aj@suse.de>
24370 * crypt/md5test2.c: New test, based on test supplied by Serge
24371 Belyshev <belyshev@depni.sinp.msu.ru>.
24372 * crypt/Makefile (xtests): Add md5test-giant..
24373 * crypt/Makefile ($(objpfx)md5test-giant): Add.
24375 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
24378 * crypt/md5.c (md5_process_block): Don't assume the buffer
24379 length is less than 2**32.
24380 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
24381 length is less than 2**64.
24383 2012-08-15 Roland McGrath <roland@hack.frob.com>
24385 * string/str-two-way.h: Include <sys/param.h>.
24386 (MAX): Macro removed.
24388 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
24389 Move #define and #undef of memmove to just before and after
24390 including <string.h>.
24392 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
24393 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
24394 and after including <string.h>. Move declarations of
24395 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
24396 to before #include "string/memmove.c".
24398 * include/dirent.h: Declare __getdirentries.
24400 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
24401 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
24403 2012-08-14 Mike Frysinger <vapier@gentoo.org>
24405 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
24406 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
24407 * sysdeps/i386/configure: Regenerated.
24408 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
24409 STABS_CURRENT_FILE, and STABS_FUN.
24410 (END): Remove call to STABS_FUN_END.
24411 (STABS_CURRENT_FILE1): Delete.
24412 (STABS_CURRENT_FILE): Likewise.
24413 (STABS_FUN): Likewise.
24414 (STABS_FUN_END): Likewise.
24415 (STABS_FUN2): Likewise.
24416 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
24417 * sysdeps/x86_64/configure: Regenerated.
24419 2012-08-14 Roland McGrath <roland@hack.frob.com>
24421 * elf/dl-open.c: Include <atomic.h>.
24422 * elf/dl-lookup.c: Likewise.
24424 2012-08-14 Joseph Myers <joseph@codesourcery.com>
24426 * sysdeps/unix/sysv/linux/kernel-features.h
24427 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
24428 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
24430 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
24432 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
24433 condition on __ASSUME_CLONE_THREAD_FLAGS.
24435 2012-08-14 Andreas Jaeger <aj@suse.de>
24437 * sysdeps/i386/fpu/libm-test-ulps: Update.
24439 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
24441 * include/atomic.h (atomic_exchange_and_add): Split into ...
24442 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
24445 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
24447 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24449 2012-08-13 Jeff Law <law@redhat.com>
24451 * manual/stdio.texi (snprintf): Clarify handling of the trailing
24452 null byte in the output string.
24454 2012-08-10 Joseph Myers <joseph@codesourcery.com>
24456 * sysdeps/unix/sysv/linux/kernel-features.h
24457 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
24458 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
24459 (__ASSUME_ARG_MAX_STACK_BASED): Define.
24460 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
24461 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
24462 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
24463 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
24465 2012-08-09 Jeff Law <law@redhat.com>
24468 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
24469 When avoid_arena is set, don't retry in the that arena. Pick the
24470 next one, whatever it might be.
24471 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
24472 (arena_lock): Pass in new parameter to arena_get2.
24473 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
24475 (__libc_malloc): Unify retrying after main arena failure with
24476 __libc_memalign version.
24477 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
24479 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
24482 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
24483 to __redirect_strstr.
24484 (__strstr_sse42): Use typeof __redirect_strstr.
24485 (__strstr_ia32): Likewise.
24486 (__libc_strstr): New prototype.
24487 (strstr): Renamed to ...
24488 (__libc_strstr): This.
24489 (strstr): New strong alias of __libc_strstr.
24490 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24491 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
24494 (__libc_time): New prototype.
24495 (time_ifunc): Replace time with __libc_time.
24496 (time): New strong alias and hidden definition of __libc_time.
24497 (__GI_time): Remove strong alias.
24498 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
24499 Include <stddef.h>.
24500 (memmove): Redefined to __redirect_memmove.
24501 (__memmove_sse2): Use typeof __redirect_memmove.
24502 (__memmove_ssse3): Likewise.
24503 (__memmove_ssse3_back): Likewise.
24504 (__libc_memmove): New prototype.
24505 (memmove): Renamed to ...
24506 (__libc_memmove): This.
24507 (memmove): New strong alias of __libc_memmove.
24509 2012-08-08 Mark Salter <msalter@redhat.com>
24512 (R_MN10300_TLS_GD): Define.
24513 (R_MN10300_TLS_LD): Likewise.
24514 (R_MN10300_TLS_LDO): Likewise.
24515 (R_MN10300_TLS_GOTIE): Likewise.
24516 (R_MN10300_TLS_IE): Likewise.
24517 (R_MN10300_TLS_LE): Likewise.
24518 (R_MN10300_TLS_DTPMOD): Likewise.
24519 (R_MN10300_TLS_DTPOFF): Likewise.
24520 (R_MN10300_TLS_TPOFF): Likewise.
24521 (R_MN10300_SYM_DIFF): Likewise.
24522 (R_MN10300_ALIGN): Likewise.
24523 (R_MN10300_NUM): Update.
24525 2012-08-08 Joseph Myers <joseph@codesourcery.com>
24527 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
24530 2012-08-08 Roland McGrath <roland@hack.frob.com>
24532 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
24534 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
24535 sysdeps/unix -> sysdeps/posix move.
24536 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24538 2012-08-07 Allan McRae <allan@archlinux.org>
24541 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
24542 (SUNOS_CPP): Likewise.
24543 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
24545 (open_input): Call CPP using execvp.
24547 2012-08-07 Joseph Myers <joseph@codesourcery.com>
24549 * sysdeps/unix/sysv/linux/kernel-features.h
24550 (__ASSUME_PROT_GROWSUPDOWN): Remove.
24551 (__ASSUME_NO_CLONE_DETACHED): Likewise.
24552 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
24553 (__ASSUME_WAITID_SYSCALL): Likewise.
24554 * sysdeps/unix/sysv/linux/dl-execstack.c
24555 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
24556 code unconditional.
24557 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
24559 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
24560 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
24561 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
24563 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
24565 [__ASSUME_WAITID_SYSCALL]: Likewise.
24566 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
24568 2012-08-07 Roland McGrath <roland@hack.frob.com>
24570 * sysdeps/unix/closedir.c: Renamed to ...
24571 * sysdeps/posix/closedir.c: ... here.
24572 * sysdeps/unix/dirfd.c: Renamed to ...
24573 * sysdeps/posix/dirfd.c: ... here.
24574 * sysdeps/unix/dirstream.h: Renamed to ...
24575 * sysdeps/posix/dirstream.h: ... here.
24576 * sysdeps/unix/fdopendir.c: Renamed to ...
24577 * sysdeps/posix/fdopendir.c: ... here.
24578 * sysdeps/unix/opendir.c: Renamed to ...
24579 * sysdeps/posix/opendir.c: ... here.
24580 * sysdeps/unix/readdir.c: Renamed to ...
24581 * sysdeps/posix/readdir.c: ... here.
24582 * sysdeps/unix/readdir_r.c: Renamed to ...
24583 * sysdeps/posix/readdir_r.c: ... here.
24584 * sysdeps/unix/rewinddir.c: Renamed to ...
24585 * sysdeps/posix/rewinddir.c: ... here.
24586 * sysdeps/unix/seekdir.c: Renamed to ...
24587 * sysdeps/posix/seekdir.c: ... here.
24588 * sysdeps/unix/telldir.c: Renamed to ...
24589 * sysdeps/posix/telldir.c: ... here.
24590 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
24591 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
24592 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
24593 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
24595 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
24596 * bits/fcntl.h: ... here.
24598 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
24600 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
24601 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
24602 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
24603 (struct flock): Move l_start, l_len to the beginning.
24604 Use __pid_t for l_pid.
24605 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
24606 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
24607 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
24608 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
24609 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
24610 [__USE_LARGEFILE64] (struct flock64): New type.
24611 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
24613 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
24614 * bits/dirent.h: ... here.
24616 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
24617 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
24619 2012-08-07 Joseph Myers <joseph@codesourcery.com>
24621 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24622 Change from 2.6.0 to 2.6.16.
24623 * sysdeps/unix/sysv/linux/configure: Regenerated.
24624 * sysdeps/unix/sysv/linux/kernel-features.h
24625 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
24626 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
24628 (__ASSUME_UTIMES): Likewise.
24629 (__ASSUME_CLONE_STOPPED): Remove.
24630 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
24631 architectures, not kernel version.
24632 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
24633 (__ASSUME_NO_CLONE_DETACHED): Likewise.
24634 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
24635 (__ASSUME_WAITID_SYSCALL): Likewise.
24636 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
24637 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
24638 * README: State 2.6.16 as minimum Linux kernel version. Do not
24639 refer to older versions.
24641 2012-08-06 Roland McGrath <roland@hack.frob.com>
24643 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
24644 Define alphasort64 as an alias.
24645 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
24646 Define versionsort64 as an alias.
24647 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
24648 Define scandir64 as an alias.
24649 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
24650 Define scandirat64 as an alias.
24651 * dirent/alphasort64.c (alphasort64):
24652 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
24653 * dirent/versionsort64.c: Likewise.
24654 * dirent/scandir64.c: Likewise.
24655 * dirent/scandirat64.c: Likewise.
24656 * sysdeps/wordsize-64/alphasort.c: File removed.
24657 * sysdeps/wordsize-64/alphasort64.c: File removed.
24658 * sysdeps/wordsize-64/scandir.c: File removed.
24659 * sysdeps/wordsize-64/scandir64.c: File removed.
24660 * sysdeps/wordsize-64/scandirat.c: File removed.
24661 * sysdeps/wordsize-64/scandirat64.c: File removed.
24662 * sysdeps/wordsize-64/versionsort.c: File removed.
24663 * sysdeps/wordsize-64/versionsort64.c: File removed.
24664 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
24665 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
24666 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
24667 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
24668 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
24669 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
24670 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
24671 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
24673 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
24674 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
24675 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
24676 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24677 [defined __arch64__ || defined __sparcv9]
24678 (__INO_T_MATCHES_INO64_T): New macro.
24679 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24680 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
24681 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
24682 * sysdeps/unix/sysv/linux/bits/dirent.h
24683 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
24684 (_DIRENT_MATCHES_DIRENT64): New macro.
24686 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
24687 Define lockf64 as an alias.
24688 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
24689 Define fseeko64 as an alias.
24690 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
24691 Define ftello64 as an alias.
24692 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
24693 Define _IO_fgetpos64 and fgetpos64 as aliases.
24694 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
24695 Define _IO_fsetpos64 and fsetpos64 as aliases.
24696 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
24697 Conditionalize body on this.
24698 * libio/fseeko64.c: Likewise.
24699 * libio/ftello64.c: Likewise.
24700 * libio/iofgetpos64.c: Likewise.
24701 * libio/iofsetpos64.c: Likewise.
24702 * sysdeps/wordsize-64/lockf.c: File removed.
24703 * sysdeps/wordsize-64/lockf64.c: File removed.
24704 * sysdeps/wordsize-64/fseeko.c: File removed.
24705 * sysdeps/wordsize-64/fseeko64.c: File removed.
24706 * sysdeps/wordsize-64/ftello.c: File removed.
24707 * sysdeps/wordsize-64/ftello64.c: File removed.
24708 * sysdeps/wordsize-64/iofgetpos.c: File removed.
24709 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
24710 * sysdeps/wordsize-64/iofsetpos.c: File removed.
24711 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
24712 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
24713 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
24714 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
24715 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
24716 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
24717 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
24718 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
24719 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
24720 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
24721 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
24723 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
24724 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
24725 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
24726 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24727 [defined __arch64__ || defined __sparcv9]
24728 (__OFF_T_MATCHES_OFF64_T): New macro.
24729 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24730 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
24731 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24732 (__OFF_T_MATCHES_OFF64_T): New macro.
24734 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
24736 * stdlib/secure-getenv.c (__secure_getenv): Replace
24737 GLIBC_2_16 with GLIBC_2_17.
24739 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
24741 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
24742 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24744 2012-08-03 David S. Miller <davem@davemloft.net>
24746 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24748 2012-08-03 Joseph Myers <joseph@codesourcery.com>
24750 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
24752 (__ASSUME_CORRECT_SI_PID): Likewise.
24753 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
24754 (__ASSUME_TMPFS_NAME): Likewise.
24755 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
24756 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
24757 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
24758 (HAVE_AUX_SECURE): Make definition unconditional.
24759 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
24760 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
24762 2012-08-03 Roland McGrath <roland@hack.frob.com>
24764 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
24765 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
24766 * sysdeps/mach/hurd/eloop-threshold.h: New file.
24767 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24768 __eloop_threshold instead of SYMLOOP_MAX.
24770 * sysdeps/generic/eloop-threshold.h: New file.
24771 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
24773 * elf/chroot_canon.c (chroot_canon): Likewise.
24775 2012-08-03 Joseph Myers <joseph@codesourcery.com>
24778 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24779 Change to 2.6.0 everywhere.
24780 * sysdeps/unix/sysv/linux/configure: Regenerated.
24781 * sysdeps/unix/sysv/linux/kernel-features.h
24782 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
24783 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
24785 (__ASSUME_POSIX_TIMERS): Define unconditionally.
24786 (__ASSUME_FUTEX_REQUEUE): Remove.
24787 (__ASSUME_STATFS64): Define unconditionally.
24788 (__ASSUME_AT_SECURE): Likewise.
24789 (__ASSUME_CORRECT_SI_PID): Likewise.
24790 (__ASSUME_TGKILL): Define without depending on kernel version for
24792 (__ASSUME_UTIMES): Likewise.
24793 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
24795 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
24796 (__ASSUME_TMPFS_NAME): Likewise.
24797 * README: Update reference to Linux kernel versions.
24799 2012-08-02 Marek Polacek <polacek@redhat.com>
24802 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
24803 libc_cv_asm_type_prefix with %.
24804 * configure: Regenerated.
24805 * include/libc-symbols.h: Remove comment about
24806 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
24807 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
24808 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
24809 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
24810 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
24811 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
24812 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
24813 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
24814 * elf/tst-unique2mod1.c: Likewise.
24815 * elf/tst-unique1mod2.c: Likewise.
24816 * elf/tst-unique1mod1.c: Likewise.
24817 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
24818 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
24819 Replace ASM_TYPE_DIRECTIVE with .type.
24820 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24821 * sysdeps/i386/sysdep.h: Likewise.
24822 * sysdeps/x86_64/sysdep.h: Likewise.
24823 * sysdeps/sh/sysdep.h: Likewise.
24824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
24825 Do not define ASM_TYPE_DIRECTIVE.
24826 * sysdeps/powerpc/sysdep.h: Likewise.
24827 * sysdeps/powerpc/powerpc32/sysdep.h:
24828 Replace ASM_TYPE_DIRECTIVE with .type.
24829 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
24830 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24831 * sysdeps/i386/fpu/e_powf.S: Likewise.
24832 * sysdeps/i386/fpu/e_expl.S: Likewise.
24833 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24834 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24835 * sysdeps/i386/fpu/e_pow.S: Likewise.
24836 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24837 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24838 * sysdeps/i386/fpu/s_expm1.S: Likewise.
24839 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24840 * sysdeps/i386/fpu/e_log2.S: Likewise.
24841 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24842 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24843 * sysdeps/i386/fpu/e_powl.S: Likewise.
24844 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24845 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24846 * sysdeps/i386/fpu/e_logl.S: Likewise.
24847 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24848 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24849 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24850 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24851 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24852 * sysdeps/i386/fpu/e_log.S: Likewise.
24853 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24854 * sysdeps/i386/fpu/e_logf.S: Likewise.
24855 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24856 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24857 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24858 * sysdeps/i386/fpu/e_log10.S: Likewise.
24859 * sysdeps/i386/fpu/s_frexp.S: Likewise.
24860 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24861 * sysdeps/i386/fpu/s_asinh.S: Likewise.
24862 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24863 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24864 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
24865 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24866 * sysdeps/i386/i686/strtok.S: Likewise.
24867 * sysdeps/i386/i386-mcount.S: Likewise.
24868 * sysdeps/i386/strtok.S: Likewise.
24869 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
24870 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24871 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24872 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24873 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
24874 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24875 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24876 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24877 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24878 * sysdeps/x86_64/_mcount.S: Likewise.
24879 * sysdeps/x86_64/strtok.S: Likewise.
24880 * sysdeps/sh/_mcount.S: Likewise.
24882 2012-08-01 Roland McGrath <roland@hack.frob.com>
24884 * libio/iofopen.c: Include <fcntl.h>.
24885 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
24886 (_IO_fopen64, fopen64): Define as aliases.
24887 * libio/iofopen64.c: Include <fcntl.h>.
24888 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
24889 Conditionalize body on this.
24890 * sysdeps/wordsize-64/iofopen.c: File removed.
24891 * sysdeps/wordsize-64/iofopen64.c: File removed.
24893 2012-08-01 Marek Polacek <polacek@redhat.com>
24895 * libc/Makeconfig: Use elf in place of binfmt-subdir.
24896 Use dlfcn directly instead of a variable.
24897 (binfmt-subdir): Do not define.
24900 2012-08-01 Joseph Myers <joseph@codesourcery.com>
24902 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
24903 Remove all definitions.
24904 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
24905 <kernel-features.h>.
24906 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
24907 (miss_F_GETOWN_EX): Remove all definitions.
24908 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
24910 [!__ASSUME_FCNTL64]: Remove conditional code.
24911 [__ASSUME_FCNTL64]: Make code unconditional.
24912 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
24913 <kernel-features.h>.
24914 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
24915 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
24916 (lockf64) [__NR_fcntl64]: Make code unconditional.
24917 (lockf64) [__ASSUME_FCNTL64]: Likewise.
24919 * sysdeps/unix/sysv/linux/kernel-features.h
24920 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
24921 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
24922 Make code unconditional.
24923 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24924 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
24926 [__NR_vfork]: Make code unconditional.
24927 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24928 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
24930 [__NR_vfork]: Make code unconditional.
24931 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24932 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24934 2012-08-01 Roland McGrath <roland@hack.frob.com>
24936 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
24937 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
24939 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24940 Define mkstemp64 as an alias.
24941 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24942 Define mkstemps64 as an alias.
24943 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24944 Define mkostemp64 as an alias.
24945 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24946 Define mkostemps64 as an alias.
24947 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
24948 Conditionalize body on this.
24949 * misc/mkostemp64.c: Likewise.
24950 * misc/mkostemps64.c: Likewise.
24951 * misc/mkstemps64.c: Likewise.
24952 * sysdeps/wordsize-64/mkstemp64.c: File removed.
24953 * sysdeps/wordsize-64/mkostemp64.c: File removed.
24954 * sysdeps/wordsize-64/mkostemp.c: File removed.
24955 * sysdeps/wordsize-64/mkstemp.c: File removed.
24956 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
24957 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
24958 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
24959 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
24962 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
24963 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
24964 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
24965 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
24967 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
24968 compat_symbol macros from <shlib-compat.h> rather than the underlying
24969 default_symbol_version and symbol_version macros, so that DEFAULT
24970 lines in shlib-versions are respected.
24971 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
24973 2012-08-01 Florian Weimer <fweimer@redhat.com>
24975 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
24976 Declare with warn_unused_result.
24977 (setgid, setregid, setegid, setresgid): Likewise.
24978 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
24980 * WUR-REPORT: Remove set*id functions.
24982 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
24984 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
24986 2012-07-31 Roland McGrath <roland@hack.frob.com>
24989 * include/sys/socket.h (__libc_accept, __libc_accept4):
24990 Add attribute_hidden.
24991 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
24993 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
24995 * inet/getnetgrent_r.c (setup): Likewise.
24997 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
24999 2012-07-31 David S. Miller <davem@davemloft.net>
25001 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25003 2012-07-31 Joseph Myers <joseph@codesourcery.com>
25006 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
25007 value between 1.0 and 2.0 and smaller part has absolute value less
25009 * math/s_clog10.c (__clog10): Likewise.
25010 * math/s_clog10f.c (__clog10f): Likewise.
25011 * math/s_clog10l.c (__clog10l): Likewise.
25012 * math/s_clogf.c (__clogf): Likewise.
25013 * math/s_clogl.c (__clogl): Likewise.
25014 * math/libm-test.inc (clog_test): Add more tests.
25015 (clog10_test): Likewise.
25016 * sysdeps/i386/fpu/libm-test-ulps: Update.
25017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25019 2012-07-31 Florian Weimer <fweimer@redhat.com>
25021 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
25022 Exit with zero in case no suitable GID is found, and write a
25023 message to standard error.
25025 2012-07-30 Roland McGrath <roland@hack.frob.com>
25027 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
25029 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
25030 (MAXPATHLEN): Removed.
25031 (NOGROUP, NODEV): New macros.
25032 (setbit, clrbit, isset, isclr): New macros.
25033 (howmany, roundup, powerof2): New macros.
25034 (DEV_BSIZE): New macro.
25036 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
25037 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
25039 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
25040 definition on [!__NO_LONG_DOUBLE_MATH].
25042 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
25043 PTR_MANGLE and PTR_DEMANGLE.
25045 * socket/accept4.c (accept4): Rename to __libc_accept4.
25046 Define accept4 as a weak alias.
25048 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
25049 on [_DIRENT_HAVE_D_TYPE].
25050 * io/ftw.c (ftw_dir): Likewise.
25052 * io/xmknod.c (__xmknod): Don't check PATH for being null.
25054 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
25056 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
25057 Use the BSD numbers rather than the arbitrary ones we had.
25058 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
25059 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
25060 (SIGXCPU, SIGXFSZ): New macros.
25063 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
25064 initializer on [_LIBC_REENTRANT].
25066 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
25067 definitions inside [_POSIX_MAPPED_FILES].
25069 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
25071 * dirent/opendir.c: Include <fcntl.h>.
25073 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
25074 (__libc_getspecific): Likewise.
25075 (__libc_key_create): Likewise.
25077 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
25078 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
25079 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
25080 (tmpfile64): Define as alias.
25081 * sysdeps/wordsize-64/tmpfile.c: File removed.
25082 * sysdeps/wordsize-64/tmpfile64.c: File removed.
25083 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
25084 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
25086 * stdio-common/vfscanf.c: Include <stdbool.h>.
25087 * nss/makedb.c: Likewise.
25088 * stdio-common/_i18n_number.h: Likewise.
25089 * argp/argp-help.c: Likewise.
25090 * posix/wordexp.c: Likewise.
25091 * sysdeps/posix/spawni.c: Likewise.
25092 * nss/nss_files/files-initgroups.c: Likewise.
25093 * stdio-common/reg-modifier.c: Include <stdlib.h>.
25094 * nss/nss_files/files-initgroups.c: Likewise.
25095 * nss/nss_db/db-netgrp.c: Likewise.
25096 * nss/nss_db/db-initgroups.c: Likewise.
25097 * io/fchmodat.c: Include <sys/stat.h>.
25099 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
25100 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
25102 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
25105 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
25106 Add multiple inclusion protection.
25108 2012-07-27 David S. Miller <davem@davemloft.net>
25110 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25112 2012-07-27 Gary Benson <gbenson@redhat.com>
25115 * elf/rtld.c: Include <stap-probe.h>.
25116 (dl_main): Added static probes "init_start" and "init_complete".
25117 * elf/dl-load.c: Include <stap-probe.h>.
25118 (lose): Take new parameter "nsid".
25119 Added static probe "map_failed".
25120 (_dl_map_object_from_fd): Pass namespace id to lose.
25121 Added static probe "map_start".
25122 (open_verify): Pass namespace id to lose.
25123 * elf/dl-open.c: Include <stap-probe.h>.
25124 (dl_open_worker) Added static probes "map_complete", "reloc_start"
25125 and "reloc_complete".
25126 * elf/dl-close.c: Include <stap-probe.h>.
25127 (_dl_close_worker): Added static probes "unmap_start" and
25129 * elf/rtld-debugger-interface.txt: New file documenting the above.
25131 2012-07-26 Roland McGrath <roland@hack.frob.com>
25133 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
25134 rather than a string variable.
25135 * sunrpc/rpc_main.c (h_output): Likewise.
25136 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
25138 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
25140 * inet/check_native.c: New file.
25142 2012-07-26 Joseph Myers <joseph@codesourcery.com>
25145 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
25146 if larger part has absolute value 1.0.
25147 * math/s_clog10.c (__clog10): Likewise.
25148 * math/s_clog10f.c (__clog10f): Likewise.
25149 * math/s_clog10l.c (__clog10l): Likewise.
25150 * math/s_clogf.c (__clogf): Likewise.
25151 * math/s_clogl.c (__clogl): Likewise.
25152 * math/libm-test.inc (clog_test): Add more tests.
25153 (clog10_test): Likewise.
25154 * sysdeps/i386/fpu/libm-test-ulps: Update.
25155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25157 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
25158 (pltexit): Likewise.
25159 (La_regs): Likewise.
25160 (La_retval): Likewise.
25161 (int_retval): Likewise.
25162 Update #error for removed macros to refer only to definitions in
25164 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
25166 (pltexit): Likewise.
25167 (La_regs): Likewise.
25168 (La_retval): Likewise.
25169 (int_retval): Likewise.
25170 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
25172 (pltexit): Likewise.
25173 (La_regs): Likewise.
25174 (La_retval): Likewise.
25175 (int_retval): Likewise.
25176 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
25178 (pltexit): Likewise.
25179 (La_regs): Likewise.
25180 (La_retval): Likewise.
25181 (int_retval): Likewise.
25182 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
25184 (pltexit): Likewise.
25185 (La_regs): Likewise.
25186 (La_retval): Likewise.
25187 (int_retval): Likewise.
25188 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
25190 (pltexit): Likewise.
25191 (La_regs): Likewise.
25192 (La_retval): Likewise.
25193 (int_retval): Likewise.
25194 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
25196 (pltexit): Likewise.
25197 (La_regs): Likewise.
25198 (La_retval): Likewise.
25199 (int_retval): Likewise.
25200 * sysdeps/generic/tst-audit.h: Update comment to refer only to
25201 macro definitions in tst-audit.h.
25202 * sysdeps/i386/tst-audit.h: New file.
25203 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
25204 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
25205 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
25206 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
25207 * sysdeps/sh/tst-audit.h: Likewise.
25208 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
25209 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
25210 * sysdeps/x86_64/tst-audit.h: Likewise.
25212 2012-07-26 Andreas Jaeger <aj@suse.de>
25214 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
25217 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
25218 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
25219 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
25221 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
25222 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
25223 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
25225 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
25228 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
25230 (si_call_addr, si_syscall, si_arch): Define new macro.
25231 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
25233 (si_call_addr, si_syscall, si_arch): Define new marcro.
25234 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
25236 (si_call_addr, si_syscall, si_arch): Define new macro.
25237 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
25239 (si_call_addr, si_syscall, si_arch): Define new macro.
25241 2012-07-25 Joseph Myers <joseph@codesourcery.com>
25244 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25245 Change to 2.4.21 where previously 2.4.1.
25246 * sysdeps/unix/sysv/linux/configure: Regenerated.
25247 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
25248 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
25249 Linux kernel version.
25250 (__ASSUME_STD_AUXV): Remove.
25251 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
25253 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
25254 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
25255 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
25256 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
25257 (__ASSUME_NETLINK_SUPPORT): Likewise.
25258 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
25259 (__no_netlink_support): Remove conditional definition.
25260 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
25262 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25263 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
25264 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
25265 (if_nameindex_ioctl): Remove.
25266 (if_nameindex_netlink): Do not handle __no_netlink_support.
25267 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25269 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
25270 Remove conditional code.
25271 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25273 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
25275 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25276 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
25277 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
25279 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
25280 [!__ASSUME_STD_AUXV]: Remove conditional code.
25281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
25282 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
25283 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
25284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
25285 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
25286 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25288 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25290 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
25291 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25293 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
25295 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25298 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
25301 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25302 code unconditional.
25303 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25305 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25307 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25310 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25312 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
25315 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25316 code unconditional.
25317 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25319 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25321 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
25324 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25325 code unconditional.
25326 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25328 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25330 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25333 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
25335 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
25336 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
25337 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
25338 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
25339 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
25340 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
25341 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
25342 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
25343 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
25344 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
25345 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
25346 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
25347 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
25348 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
25349 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
25350 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
25351 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
25352 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
25353 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
25354 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
25355 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
25356 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
25357 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25359 2012-07-25 Florian Weimer <fweimer@redhat.com>
25361 * Versions.def: Add GLIBC_2.17.
25362 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
25363 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
25364 Introduce __libc_secure_getenv.
25365 * stdlib/Versions (2.17): Add secure_getenv
25366 (GLIBC_PRIVATE): Add __libc_secure_getenv.
25367 * stdlib/secure-getenv.c: Rename __secure_getenv to
25368 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
25369 symbol __secure_getenv for GLIBC_2.0.
25370 * stdlib/tst-secure-getenv.c: New.
25371 * stdlib/Makefile (tests): Add testcase.
25372 * manual/startup.texi (Environment Access): Document
25374 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
25375 __libc_secure_getenv.
25376 * inet/ruserpass.c (ruserpass): Likewise.
25377 * malloc/mtrace.c (mtrace): Likewise.
25378 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
25379 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
25380 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
25381 * sysdeps/posix/tempname.c: Likewise. Evaluate
25382 HAVE_SECURE_GETENV.
25383 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
25384 __secure_getenv to __libc_secure_getenv.
25385 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
25386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25390 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25391 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25392 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25393 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25394 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25395 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25396 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
25398 2012-07-25 Joseph Myers <joseph@codesourcery.com>
25400 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
25401 (struct La_i86_retval): Likewise.
25402 (struct La_x86_64_regs): Likewise.
25403 (struct La_x86_64_retval): Likewise.
25404 (struct La_x32_regs): Likewise.
25405 (struct La_x32_retval): Likewise.
25406 (struct La_ppc32_regs): Likewise.
25407 (struct La_ppc32_retval): Likewise.
25408 (struct La_ppc64_regs): Likewise.
25409 (struct La_ppc64_retval): Likewise.
25410 (struct La_sh_regs): Likewise.
25411 (struct La_sh_retval): Likewise.
25412 (struct La_s390_32_regs): Likewise.
25413 (struct La_s390_32_retval): Likewise.
25414 (struct La_s390_64_regs): Likewise.
25415 (struct La_s390_64_retval): Likewise.
25416 (struct La_sparc32_regs): Likewise.
25417 (struct La_sparc32_retval): Likewise.
25418 (struct La_sparc64_regs): Likewise.
25419 (struct La_sparc64_retval): Likewise.
25420 (struct audit_ifaces): Remove architecture-specific pltenter and
25422 * sysdeps/i386/ldsodefs.h: New file.
25423 * sysdeps/powerpc/ldsodefs.h: Likewise.
25424 * sysdeps/s390/ldsodefs.h: Likewise.
25425 * sysdeps/sh/ldsodefs.h: Likewise.
25426 * sysdeps/sparc/ldsodefs.h: Likewise.
25427 * sysdeps/x86_64/ldsodefs.h: Likewise.
25429 2012-07-25 Marek Polacek <polacek@redhat.com>
25432 * math/libm-test.inc (yn_test): Add another test.
25433 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
25434 to ERANGE when the result is +-Inf.
25435 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
25436 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
25437 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
25438 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
25440 2012-07-24 Joseph Myers <joseph@codesourcery.com>
25442 * conform/data/time.h-data (NULL): Use macro-constant. Require
25444 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
25446 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
25448 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
25450 * configure.in <sysdeps resolving>: Correct printing
25452 * configure: Regenerate.
25454 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
25456 * math/w_ilogb.c: Include <limits.h>.
25457 * math/w_ilogbl.c: Likewise.
25459 2012-07-20 Joseph Myers <joseph@codesourcery.com>
25461 * manual/lang.texi (__va_copy): Document primarily as ISO C99
25462 va_copy. Document allowing for unavailable va_copy only as
25463 pre-C99 compatibility.
25464 * manual/string.texi (Copying and Concatenation): Use va_copy
25465 instead of __va_copy in concat example.
25467 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
25469 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
25470 (__sendto): Use create_address_port. Initialize APORT and deallocate
25473 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
25474 with O_NOLINK passed to __file_name_lookup.
25476 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
25477 with O_NOLINK passed to __file_name_lookup.
25479 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
25480 negative N or less than NGIDS.
25482 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
25483 type to string_t. Set ERANGE as errno and return it if NAME is not big
25484 enough. Use memcpy instead of strncpy.
25486 2012-07-20 Joseph Myers <joseph@codesourcery.com>
25488 * elf/Makefile (check-data): Remove.
25489 (localplt.data): New vpath directive.
25490 ($(objpfx)check-localplt.out): Use localplt.data from vpath
25491 instead of $(check-data).
25492 * scripts/data/localplt-generic.data: Move to ...
25493 * sysdeps/generic/localplt.data: ... here.
25494 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
25495 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
25496 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
25497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
25499 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
25500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
25502 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
25503 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
25505 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
25506 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
25508 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
25509 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
25511 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
25512 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
25515 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25517 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
25518 PPC32 and PPC64 files.
25519 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
25520 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
25522 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25524 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
25525 __makecontext_ret to ...
25526 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
25527 ... here and call exit if uc_link is NULL. New file.
25528 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
25529 __makecontext_ret.S.
25530 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
25531 __makecontext_ret to ...
25532 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
25533 ... here and call exit if uc_link is NULL. New file.
25534 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
25535 __makecontext_ret.S.
25537 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25539 * elf/elf.h (R_390_IRELATIVE): New definition.
25540 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
25541 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
25542 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
25543 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
25544 (elf_machine_lazy_rel): Likewise.
25545 * sysdeps/s390/dl-irel.h: New file.
25546 * sysdeps/s390/s390-64/memcpy.S: New asm code.
25547 * sysdeps/s390/s390-64/memset.S: New asm code.
25548 * sysdeps/s390/s390-64/memcmp.S: New asm code.
25549 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
25550 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
25551 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
25552 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
25553 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
25554 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
25555 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
25556 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
25557 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
25558 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
25559 * sysdeps/s390/s390-32/memcpy.S: New asm code.
25560 * sysdeps/s390/s390-32/memset.S: New asm code.
25561 * sysdeps/s390/s390-32/memcmp.S: New asm code.
25563 2012-07-17 Marek Polacek <polacek@redhat.com>
25566 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
25567 * sysdeps/s390/s390-64/configure.in: Likewise.
25568 * sysdeps/sparc/configure.in: Likewise.
25569 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
25570 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
25571 * sysdeps/i386/configure.in: Likewise.
25572 * sysdeps/x86_64/configure.in: Likewise.
25573 * sysdeps/sh/configure.in: Likewise.
25574 * sysdeps/s390/s390-32/configure: Regenerated.
25575 * sysdeps/s390/s390-64/configure: Likewise.
25576 * sysdeps/x86_64/configure: Likewise.
25577 * sysdeps/sh/configure: Likewise.
25578 * sysdeps/powerpc/powerpc64/configure: Likewise.
25579 * sysdeps/powerpc/powerpc32/configure: Likewise.
25580 * sysdeps/sparc/configure: Likwise.
25581 * sysdeps/i386/configure: Likewise.
25583 * elf/dl-open.c: Comment fixes.
25585 2012-07-17 Joseph Myers <joseph@codesourcery.com>
25587 * Makefile [CXX] (check-data): Remove.
25588 [CXX] (c++-types.data): New vpath directive.
25589 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
25590 vpath. Do not allow for C++ type data being missing.
25591 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
25592 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
25593 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
25594 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
25595 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
25596 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
25597 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
25598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
25600 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
25601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
25603 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
25604 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
25606 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
25607 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
25609 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
25610 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
25612 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
25613 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
25615 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
25616 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
25618 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
25619 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
25621 * elf/tls-macros.h (TLS_LE): Move architecture-specific
25622 definitions to architecture-specific files.
25623 (TLS_IE): Likewise.
25624 (TLS_LD): Likewise.
25625 (TLS_GD): Likewise.
25626 * sysdeps/i386/tls-macros.h: New file.
25627 * sysdeps/powerpc/tls-macros.h: Likewise.
25628 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
25629 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
25630 * sysdeps/sh/tls-macros.h: Likewise.
25631 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
25632 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
25633 * sysdeps/x86_64/tls-macros.h: Likewise.
25635 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
25637 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
25638 zero value for regular exit case.
25640 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
25641 (__start_context): Preserve zero value for regular exit case.
25643 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
25644 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25646 * manual/setjmp.texi (setcontext): Clarify normal process
25647 termination when uc_link is the null pointer.
25648 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
25651 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
25653 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
25654 preprocessor. Test for each exception mask separately.
25656 2012-07-16 Andreas Jaeger <aj@suse.de>
25658 * po/ru.po: Update from translation team.
25660 2012-07-15 Joseph Myers <joseph@codesourcery.com>
25662 * conform/data/string.h-data (NULL): Use macro-constant. Require
25664 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
25665 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
25666 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
25667 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
25668 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25670 2012-07-13 Andreas Jaeger <aj@suse.de>
25672 * po/fr.po: Update from translation team.
25674 2012-07-12 Marek Polacek <polacek@redhat.com>
25677 * math/libm-test.inc (yn_test): Add test for BZ #14173.
25678 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
25681 2012-07-12 Joseph Myers <joseph@codesourcery.com>
25684 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25685 Change to 2.4.1 where previously 2.4.0.
25686 * sysdeps/unix/sysv/linux/configure: Regenerated.
25687 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
25688 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
25690 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
25691 (__ASSUME_AT_CLKTCK): Remove.
25692 (__ASSUME_AT_PAGESIZE): Likewise.
25693 (__ASSUME_AT_XID): Likewise.
25694 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
25695 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
25696 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
25698 (HAVE_AUX_PAGESIZE): Likewise.
25699 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
25700 [__ASSUME_AT_CLKTCK]: Make code unconditional.
25701 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
25703 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
25706 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
25707 the temporary buffer used to invoke __gethostbyname2_r,
25708 __gethostbyaddr_r and gethostbyname4_r to make room for struct
25709 host_data / struct gaih_addrtuple.
25710 * resolv/nss_dns/dns-host.c (global scope): Move definition of
25711 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
25712 header file nss/nsswitch.h.
25713 * nss/nsswitch.h (global scope): Add definition of implementation
25714 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
25715 resolv/nss_dns/dns-host.c).
25717 2012-07-11 Andreas Jaeger <aj@suse.de>
25719 * po/fr.po: Update from translation team.
25721 * po/sv.po: Update from translation team
25722 * po/fr.po: Another update from translation team.
25724 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25726 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
25727 for subnormals or multiply small sinh result by itself.
25728 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25729 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25731 2012-07-11 David S. Miller <davem@davemloft.net>
25733 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25735 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
25738 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
25739 (INTERNAL_MARK): Shift it here.
25741 2012-07-10 Marek Polacek <polacek@redhat.com>
25744 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
25745 libc_cv_asm_global_directive with .globl.
25746 * configure: Regenerated.
25747 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
25749 * sysdeps/i386/configure: Regenerated.
25750 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
25752 * sysdeps/x86_64/configure: Regenerated.
25753 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
25754 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
25755 * elf/tst-unique2mod2.c: Likewise.
25756 * elf/tst-unique2mod1.c: Likewise.
25757 * elf/tst-unique1mod2.c: Likewise.
25758 * elf/tst-unique1mod1.c: Likewise.
25759 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25760 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25761 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25762 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25763 * sysdeps/mach/sysdep.h: Likewise.
25764 * sysdeps/i386/sysdep.h: Likewise.
25765 * sysdeps/i386/i386-mcount.S: Likewise.
25766 * sysdeps/x86_64/_mcount.S: Likewise.
25767 * sysdeps/x86_64/sysdep.h: Likewise.
25768 * sysdeps/sh/_mcount.S: Likewise.
25769 * sysdeps/sh/sysdep.h: Likewise.
25770 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
25771 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
25772 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
25773 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25774 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
25775 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
25776 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
25777 * locale/localeinfo.h: Likewise.
25778 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
25779 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
25781 2012-07-09 Roland McGrath <roland@hack.frob.com>
25784 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
25786 * manual/message.texi (The Uniforum approach): Likewise.
25787 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
25788 (glibc iconv Implementation): Likewise.
25790 2012-07-09 Joseph Myers <joseph@codesourcery.com>
25793 * math/s_clog.c (__clog): Avoid scaling a value down where that
25794 could result in underflow.
25795 * math/s_clog10.c (__clog10): Likewise.
25796 * math/s_clog10f.c (__clog10f): Likewise.
25797 * math/s_clog10l.c (__clog10l): Likewise.
25798 * math/s_clogf.c (__clogf): Likewise.
25799 * math/s_clogl.c (__clogl): Likewise.
25800 * math/libm-test.inc (clog_test): Add more tests.
25801 (clog10_test): Likewise.
25802 * sysdeps/i386/fpu/libm-test-ulps: Update.
25803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25805 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
25808 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
25809 by 7 not 8 to examine high bit of fractional part.
25812 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
25813 for call to __mcount_internal.
25814 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
25815 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
25816 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
25818 2012-07-06 Joseph Myers <joseph@codesourcery.com>
25821 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
25822 approximation for values within 0x1p-13f of an odd multiple of
25824 * math/libm-test.inc (tan_test): Do not allow spurious underflow
25825 exception. Add more tests.
25826 * sysdeps/i386/fpu/libm-test-ulps: Update.
25829 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
25830 inputs and return -1 for them. Do not check for +Inf in case not
25831 reachable for +Inf.
25832 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
25833 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
25834 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
25835 and return -1 for them. Do not check for +Inf in case not
25836 reachable for +Inf.
25837 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
25839 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
25840 and return -1 for them. Do not check for +Inf in case not
25841 reachable for +Inf.
25842 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
25843 spurious underflow.
25844 * sysdeps/i386/fpu/libm-test-ulps: Update.
25845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25847 2012-07-06 Mike Frysinger <vapier@gentoo.org>
25849 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
25851 2012-07-05 Joseph Myers <joseph@codesourcery.com>
25855 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
25856 could result in spurious underflow. Scale down values above
25857 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
25858 * math/s_csqrtf.c (__csqrtf): Likewise.
25859 * math/s_csqrtl.c (__csqrtl): Likewise.
25860 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
25861 spurious underflow.
25862 * sysdeps/i386/fpu/libm-test-ulps: Update.
25863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25865 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
25867 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
25869 * catgets/xopen-msg.awk: New file.
25870 * catgets/xopen-msg.sed: Removed.
25872 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
25874 * intl/po2test.awk: New file.
25875 * intl/po2test.sed: Removed.
25877 2012-07-04 Joseph Myers <joseph@codesourcery.com>
25880 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
25881 or multiply small sinh result by itself.
25882 * math/s_ctanf.c (__ctanf): Likewise.
25883 * math/s_ctanh.c (__ctanh): Likewise.
25884 * math/s_ctanhf.c (__ctanhf): Likewise.
25885 * math/s_ctanhl.c (__ctanhl): Likewise.
25886 * math/s_ctanl.c (__ctanl): Likewise.
25887 * math/libm-test.inc (ctan_test_tonearest): New function.
25888 (ctan_test_towardzero): Likewise.
25889 (ctan_test_downward): Likewise.
25890 (ctan_test_upward): Likewise.
25891 (ctanh_test_tonearest): Likewise.
25892 (ctanh_test_towardzero): Likewise.
25893 (ctanh_test_downward): Likewise.
25894 (ctanh_test_upward): Likewise.
25895 (main): Call these new functions.
25896 * sysdeps/i386/fpu/libm-test-ulps: Update.
25897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25899 2012-07-03 Mike Frysinger <vapier@gentoo.org>
25901 * .gitignore: Delete /ports entry.
25903 2012-07-03 Andreas Jaeger <aj@suse.de>
25905 * po/bg.po: Update from translation team.
25906 * po/cs.po: Likewise.
25907 * po/de.po: Likewise.
25908 * po/hr.po: Likewise.
25909 * po/nl.pl: Likewise.
25910 * po/pl.po: Likewise.
25911 * po/vi.po: Likewise.
25913 2012-07-03 Joseph Myers <joseph@codesourcery.com>
25915 * Makeconfig [!+link] (+link-before-libc): New variable.
25916 [!+link] (+link-after-libc): Likewise.
25917 [!+link] (+link-tests): Likewise.
25918 [!+link] (+link): Define in terms of $(+link-before-libc) and
25919 $(+link-after-libc).
25920 [!+link-static] (+link-static-before-libc): New variable.
25921 [!+link-static] (+link-static-after-libc): Likewise.
25922 [!+link-static] (+link-static-tests): Likewise.
25923 [!+link-static] (+link-static): Define in terms of
25924 $(+link-static-before-libc) and $(+link-static-after-libc).
25925 [build-shared] (link-libc-before-gnulib): New variable.
25926 [build-shared] (link-libc-tests): Likewise.
25927 [build-shared] (link-libc): Define in terms of
25928 $(link-libc-before-gnulib).
25929 [!build-shared] (link-libc-tests): New variable.
25930 (link-libc-static-tests): New variable.
25931 [!gnulib] (gnulib-arch): New variable.
25932 [!gnulib] (gnulib-tests): Likewise.
25933 [!gnulib] (static-gnulib-arch): Likewise.
25934 [!gnulib] (static-gnulib-tests): Likewise.
25935 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
25936 Define with "=" instead of ":=".
25937 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
25938 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
25939 * Rules (binaries-all-notests): New variable.
25940 (binaries-all-tests): Likewise.
25941 (binaries-static-notests): Likewise.
25942 (binaries-static-tests): Likewise.
25943 (binaries-all): Define using $(binaries-all-notests) and
25944 $(binaries-all-tests).
25945 (binaries-static): Define using $(binaries-static-notests) and
25946 $(binaries-static-tests).
25947 (binaries-shared-tests): New variable.
25948 (binaries-shared-notests): Likewise.
25949 (binaries-shared): Remove variable.
25950 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
25951 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
25952 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
25953 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
25954 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
25955 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
25956 * elf/Makefile (sln-modules): New variable.
25957 (extra-objs): Add $(sln-modules:=.o).
25958 (ldconfig-modules): Add static-stubs.
25959 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
25960 * elf/static-stubs.c: New file.
25963 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
25964 by 7 not 8 to examine high bit of fractional part. Use volatile
25965 variables when splitting into final array of floats if
25966 __FLT_EVAL_METHOD__ != 0.
25967 * math/libm-test.inc (cos_test): Add another test.
25968 (sin_test): Likewise.
25969 * sysdeps/i386/fpu/libm-test-ulps: Update.
25972 * math/libm-test.inc (cosh_test): Add more tests.
25974 * version.h (RELEASE): Set to "development".
25975 (VERSION): Set to "2.16.90".
25977 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
25979 * NEWS: Update copyright. Remove last-updated date.
25980 Mention math library bug fixes and timezone data changes.
25981 * README: Mention GNU/Hurd, x32, and HPPA support status.
25983 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
25985 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
25987 2012-06-27 Andreas Jaeger <aj@suse.de>
25989 * manual/contrib.texi (Contributors): Add Samuel Thibault.
25991 2012-06-25 Andreas Jaeger <aj@suse.de>
25993 * sysdeps/s390/fpu/libm-test-ulps: Update.
25995 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
25996 Thomas Schwinge <thomas@codesourcery.com>
25998 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
25999 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
26000 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
26003 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
26005 * sysdeps/mach/start.c: Remove file.
26006 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
26007 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
26008 * sysdeps/sh/init-first.c: Likewise.
26010 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
26011 registers for frame unwinding purposes, add CFI directives.
26012 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26013 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
26014 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
26017 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
26018 __fortify_fail returning.
26019 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26021 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
26022 sysdeps/sh/____longjmp_chk.S.
26023 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
26024 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
26025 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
26026 (gen-as-const-headers): Append sigaltstack-offsets.sym.
26028 * sysdeps/sh/abort-instr.h: New file.
26029 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
26030 process in case exit returns.
26032 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
26033 initialize the GOT register before use.
26035 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
26036 calculation of ARGC > 4.
26038 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
26039 meaningful names to some local labels.
26041 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26042 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26044 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
26045 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
26046 (__arch_compare_and_exchange_val_16_acq): Likewise.
26047 (__arch_compare_and_exchange_val_32_acq): Likewise.
26048 (atomic_exchange_and_add): Fix gUSA sequence.
26049 (atomic_add): Likewise.
26050 (atomic_add_negative): Likewise.
26051 (atomic_add_zero): Likewise.
26052 (atomic_bit_test_set): Likewise.
26054 2012-06-22 Andreas Schwab <schwab@redhat.com>
26057 * include/link.h (struct link_map): Add l_free_initfini.
26058 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
26060 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
26061 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
26062 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
26065 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
26067 * configure.in: Use AC_LANG_SOURCE.
26068 * configure: Regenerate.
26070 2012-06-22 Roland McGrath <roland@hack.frob.com>
26072 * configure.in (libc_cv_localstatedir): New substituted variable.
26073 * configure: Regenerated.
26074 * config.make.in (localstatedir): New variable, substituted from
26075 libc_cv_localstatedir.
26076 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
26077 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
26078 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
26079 * sysdeps/gnu/configure: Regenerated.
26081 2012-06-21 Jeff Law <law@redhat.com>
26084 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
26085 free. Simplify list management for _LIBC case.
26087 2012-06-21 Joseph Myers <joseph@codesourcery.com>
26090 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26091 Clear sign bit of 64-bit integer value before comparing against
26094 * sysdeps/mach/configure: Regenerated.
26096 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
26099 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
26101 2012-06-21 Jeff Law <law@redhat.com>
26104 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
26105 uint16_t for elements in the "seen" array to avoid char overflows.
26106 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26107 * elf/dl-open.c (dl_open_worker): Likewise.
26109 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
26111 * scripts/list-sources.sh: Scan PORTS for translations.
26112 * po/libc.pot: Regenerated.
26114 2012-06-21 Andreas Jaeger <aj@suse.de>
26117 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
26119 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
26120 * bits/byteswap-16.h (__bswap_16): Likewise.
26121 * bits/byteswap.h (__bswap_constant_16): Likewise.
26123 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
26126 * sysdeps/i386/fpu_control.h: Removed.
26127 * sysdeps/x86_64/fpu_control.h: Moved to ...
26128 * sysdeps/x86/fpu_control.h: Here.
26130 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
26131 (_FPU_SETCW): Likewise.
26133 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
26136 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
26137 * sysdeps/x86/fpu/bits/mathinline.h: This.
26138 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
26142 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
26143 functions if __x86_64__ is defined.
26145 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
26147 * string/endian.h: Add !__ASSEMBLER__ condition for including
26148 conversion interfaces.
26150 2012-06-15 Joseph Myers <joseph@codesourcery.com>
26153 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
26154 of ABS(x) in calculating zero to negative powers other than odd
26156 * math/libm-test.inc (pow_test): Add more tests.
26158 2012-06-15 Andreas Jaeger <aj@suse.de>
26160 * manual/contrib.texi (Contributors): Update entry of Liubov
26161 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
26164 2012-06-15 Cyril Hrubis <metan@ucw.cz>
26166 * string/string.h: Add __wur to GNU version of strerror_r.
26168 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
26171 * string/Makefile (tests): Add tst-strtok_r.
26172 * string/tst-strtok_r.c: New file.
26173 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
26174 RAX_LP/RDX_LP on SAVE_PTR.
26176 2012-06-14 Roland McGrath <roland@hack.frob.com>
26178 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
26180 2012-06-14 Joseph Myers <joseph@codesourcery.com>
26182 * libm_test.inc (csqrt_test): Allow more spurious underflow
26184 (j0_test): Likewise.
26185 (j1_test): Likewise.
26186 (y0_test): Likewise.
26187 (y1_test): Likewise.
26189 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
26191 * po/Makefile (libc.pot): Use UTF-8 charset.
26193 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
26196 Suppress sign-conversion warning from FD_SET.
26197 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
26198 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
26199 not unsigned long int.
26200 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
26202 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
26206 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
26207 __extern_always_inline instead of __extern_inline.
26208 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
26209 (__signbit): Likewise.
26210 (__signbitl): Support C++ namespace.
26211 (lrintf): New inline function.
26213 (llrintf): Likewise.
26214 (llrint): Likewise.
26224 (floorf): Likewise.
26225 (nearbyint): Likewise.
26226 (nearbyintf): Likewise.
26228 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
26230 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
26231 non-default versions.
26233 2012-06-11 Roland McGrath <roland@hack.frob.com>
26236 * manual/argp.texi (Argp): Reword argp_parse description slightly.
26238 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
26240 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
26241 (FE_UPWARD, FE_DOWNWARD): Don't define.
26242 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
26243 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26245 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
26247 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26248 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26250 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26252 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26253 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
26254 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
26255 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
26257 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
26260 * sysdeps/i386/fpu/bits/fenv.h: Removed.
26261 * sysdeps/i386/fpu/Implies: New file.
26262 * sysdeps/x86_64/fpu/Implies: Likewise.
26263 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
26264 * sysdeps/x86/fpu/bits/fenv.h: This.
26266 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
26269 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26272 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
26273 character 0xffff that matches the last element of the
26276 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26278 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
26281 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26283 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
26284 values higher than 25.6283.
26286 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26288 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
26289 subnormal exponent extraction and add some __builtin_expect.
26290 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
26291 Fix for subnormal mantissa calculation.
26293 2012-06-04 Mike Frysinger <vapier@gentoo.org>
26295 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
26296 cpu2 is -1 and errno is not ENOSYS.
26298 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
26301 * sysdeps/i386/i486/bits/string.h: Renamed to ...
26302 * sysdeps/x86/bits/string.h: This.
26303 * sysdeps/x86_64/bits/string.h: Removed.
26305 * sysdeps/i386/i486/bits/string.h: Define inline functions only
26306 if not compiling for x86-64, but compiling for >= i486.
26308 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
26309 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
26311 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
26312 New macro from Linux kernel 3.4.0.
26313 (FP_XSTATE_MAGIC2): Likewise.
26314 (FP_XSTATE_MAGIC2_SIZE): Likewise.
26315 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
26316 (struct _fpx_sw_bytes): New struct.
26317 (struct _xsave_hdr): Likewise.
26318 (struct _ymmh_state): Likewise.
26319 (struct _xstate): Likewise.
26321 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
26322 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
26323 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
26324 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
26325 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
26326 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
26328 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
26329 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
26330 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
26331 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
26332 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
26333 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
26335 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26338 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
26339 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
26340 (sysdep_headers): Include sys/platform/ppc.h.
26341 * sysdeps/powerpc/test-gettimebase.c: Test for
26342 __ppc_get_timebase() to catch future ISA opcode/insn changes.
26343 * manual/Makefile (appendices): Include platform.texi.
26344 * manual/contrib.texi (Contributors): Update @node pointers.
26345 * manual/maint.texi (Maintenance): Likewise.
26346 (Platform): New node.
26347 * manual/platform.texi: New file. Document the new features.
26349 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26350 Jakub Jelinek <jakub@redhat.com>
26353 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
26354 where __builtin_expect is unavailable.
26356 2012-06-03 David S. Miller <davem@davemloft.net>
26358 * stdlib/longlong.h: Updated from GCC.
26360 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
26363 * sysdeps/powerpc/powerpc32/mcount.c: New file.
26364 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
26366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26367 (GLIBC_2.16): Likewise.
26369 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26371 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
26373 2012-06-01 Joseph Myers <joseph@codesourcery.com>
26375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
26376 (default-abi): New variable.
26377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
26378 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
26380 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
26382 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
26384 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
26387 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
26388 definition. Document in comment.
26390 2012-06-01 David S. Miller <davem@davemloft.net>
26392 * stdlib/longlong.h: Updated from GCC.
26394 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26397 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
26398 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
26399 sys/debugreg.h sys/io.h here.
26400 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
26401 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
26403 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
26404 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
26405 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
26406 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
26407 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
26408 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
26410 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
26411 Define only if __x86_64__ is defined.
26413 2012-06-01 Joseph Myers <joseph@codesourcery.com>
26416 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
26417 Use int64_t for variable i.
26418 * math/libm-test.inc (fmod_test): Add more tests.
26420 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
26421 z computation is not scheduled after fetestexcept.
26422 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
26423 Use math_force_eval instead of asm to ensure calculation scheduled
26424 before exception test.
26425 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
26426 Ensure a1 + u.d computation is not scheduled after fetestexcept.
26428 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
26430 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
26431 computation is not scheduled after fetestexcept.
26433 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26436 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
26437 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
26439 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26441 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
26442 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26444 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
26447 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
26449 (__WCHAR_MIN): Support __WORDSIZE == 64.
26450 (__WCHAR_MAX): Likewise.
26452 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
26453 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
26456 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
26457 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
26460 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
26461 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
26463 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
26464 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
26466 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
26467 Defined to 1 if __x86_64__ isn't defined.
26468 (_STAT_VER_LINUX_OLD): New.
26469 (st_atime): Remove duplicate.
26470 (st_mtime): Likewise.
26471 (st_ctime): Likewise.
26473 2012-05-31 David S. Miller <davem@davemloft.net>
26475 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
26478 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
26480 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
26484 * elf/dl-reloc.c: Include <_itoa.h>.
26485 (_dl_reloc_bad_type): Remove use of INTUSE.
26486 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
26487 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
26488 * stdio-common/psiginfo.c (psiginfo): Likewise.
26489 * stdio-common/psignal.c (psignal): Likewise.
26490 * string/strsignal.c (strsignal): Likewise.
26491 * include/signal.h (_sys_siglist): Declare hidden proto.
26492 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
26493 INTVARDEF with libc_hidden_data_def.
26494 * stdio-common/itoa-udigits.c: Likewise.
26495 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
26496 (_itoa_lower_digits_internal): Remove declaration.
26497 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
26498 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
26499 (_sys_sigabbrev_internal): Remove aliases.
26500 (_sys_siglist): Define hidden alias.
26502 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
26504 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26507 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
26510 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
26511 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
26513 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
26514 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
26515 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
26516 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
26517 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
26518 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
26520 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
26521 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
26522 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
26524 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
26532 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
26533 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
26534 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
26536 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
26537 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
26538 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
26539 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
26540 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
26541 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
26543 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
26544 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
26546 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
26547 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
26549 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
26550 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
26551 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
26553 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
26554 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
26556 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
26558 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
26559 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
26560 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
26562 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
26564 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
26566 2012-05-31 Joseph Myers <joseph@codesourcery.com>
26568 * math/math.h (M_El): Use two more decimal places.
26569 (M_LOG2El): Likewise.
26570 (M_LOG10El): Likewise.
26571 (M_LN2l): Likewise.
26572 (M_LN10l): Likewise.
26574 (M_PI_2l): Likewise.
26575 (M_PI_4l): Likewise.
26576 (M_1_PIl): Likewise.
26577 (M_2_PIl): Likewise.
26578 (M_2_SQRTPIl): Likewise.
26579 (M_SQRT2l): Likewise.
26580 (M_SQRT1_2l): Likewise.
26582 2012-05-31 David S. Miller <davem@davemloft.net>
26584 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
26585 values between float registers.
26586 * sysdeps/sparc/sparc64/memset.S: Likewise.
26587 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26589 2012-05-31 Mike Frysinger <vapier@gentoo.org>
26591 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
26592 -D_FORTIFY_SOURCE=1.
26593 (CPPFLAGS-tst-longjmp_chk.c): Define.
26594 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
26595 (CPPFLAGS-tst-longjmp_chk2.c): Define.
26596 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
26597 CFLAGS-tst-wchar-h.c.
26599 2012-05-31 Marek Polacek <polacek@redhat.com>
26602 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
26603 __endmntent_internal): Remove declaration.
26604 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
26605 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
26606 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
26608 2012-05-30 David S. Miller <davem@davemloft.net>
26610 * sysdeps/sparc/sparc32/soft-fp/q_util.c
26611 (___Q_simulate_exceptions): Use real FP ops rather than writing
26613 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
26616 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26619 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
26620 * sysdeps/x86/bits/xtitypes.h: This.
26622 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
26623 * sysdeps/x86/bits/wordsize.h: This.
26625 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
26626 * sysdeps/x86/bits/huge_vall.h: This.
26628 * sysdeps/i386/bits/select.h: Removed.
26629 * sysdeps/x86_64/bits/select.h: Renamed to ...
26630 * sysdeps/x86/bits/select.h: This.
26632 * sysdeps/i386/bits/setjmp.h: Removed.
26633 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
26634 * sysdeps/x86/bits/setjmp.h: This.
26636 * sysdeps/i386/bits/mathdef.h: Removed.
26637 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
26638 * sysdeps/x86/bits/mathdef.h: This.
26640 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
26643 * include/sys/socket.h (__connect_internal)
26644 (__libc_sa_len_internal): Remove declaration.
26645 (__connect, __libc_sa_len): Declare hidden_proto.
26646 (SA_LEN): Remove use of INTUSE.
26647 * socket/connect.c: Add libc_hidden_def.
26648 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
26649 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
26650 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
26652 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
26653 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
26654 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
26655 of adding _internal alias.
26657 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26660 * sysdeps/i386/bits/link.h: Removed.
26661 * sysdeps/i386/bits/linkmap.h: Likewise.
26662 * sysdeps/x86_64/bits/link.h: Renamed to ...
26663 * sysdeps/x86/bits/link.h: This.
26664 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
26665 * sysdeps/x86/bits/linkmap.h: This.
26667 * sysdeps/i386/bits/endian.h: Removed.
26668 * sysdeps/x86_64/bits/endian.h: Renamed to ...
26669 * sysdeps/x86/bits/endian.h: This.
26671 * sysdeps/i386/bits/byteswap.h: Removed.
26672 * sysdeps/i386/bits/byteswap-16.h: Likewise.
26673 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
26674 * sysdeps/x86/bits/byteswap.h: This.
26675 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
26676 * sysdeps/x86/bits/byteswap-16.h: This.
26677 * sysdeps/i386/Implies: Add x86.
26678 * sysdeps/x86_64/Implies: Likewise.
26680 2012-05-30 David S. Miller <davem@davemloft.net>
26682 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
26683 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
26684 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
26685 (FP_TRAPPING_EXCEPTIONS): Define.
26686 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
26687 (FP_TRAPPING_EXCEPTIONS): Define.
26688 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
26689 subnormals only when inexact has been signalled or underflow
26690 exceptions are enabled.
26691 (_FP_PACK_CANONICAL): Likewise.
26693 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26696 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
26697 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
26699 2012-05-30 Richard Henderson <rth@twiddle.net>
26701 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
26702 with #ifndef NOT_IN_libc.
26704 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
26705 marked to avoid plt entry.
26707 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26710 * Makeconfig (default-abi): New macro.
26711 (abi-includes): Likewise.
26712 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
26713 $(abi-$(default-abi)-lib-soname) for soname if defined.
26714 ($(common-objpfx)gnu/lib-names.stmp): Generate from
26716 * Makefile (installed-stubs): Likewise.
26717 * include/stubs-biarch.h: Removed.
26718 * scripts/lib-names.awk: Only handle one library at a time.
26719 * scripts/soversions.awk: Remove WORDSIZE support.
26720 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
26722 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
26724 (syscall-list-default-condition): Likewise.
26725 (syscall-list-default-condition): Likewise.
26726 (syscall-list-includes): Likewise.
26727 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
26728 syscall-list-* with abi-*. Handle undefined abi-variants.
26729 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
26730 * sysdeps/unix/sysv/linux/i386/Implies: New file.
26731 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
26732 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
26733 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
26734 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
26736 (syscall-list-32-options): Likewise.
26737 (syscall-list-32-condition): Likewise.
26738 (syscall-list-64-options): Likewise.
26739 (syscall-list-64-condition): Likewise.
26740 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
26742 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
26745 (abi-64-ld-soname): New macro.
26746 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
26747 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
26750 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
26751 * sysdeps/x86_64/x32/shlib-versions: Likewise.
26753 2012-05-30 Joseph Myers <joseph@codesourcery.com>
26755 * sysdeps/unix/sysv/linux/kernel-features.h
26756 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
26757 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
26758 include <kernel-features.h>.
26759 [!__NR_ftruncate64]: Remove conditional code.
26760 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26761 [__NR_ftruncate64]: Make code unconditional.
26762 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26763 * sysdeps/unix/sysv/linux/truncate64.c: Do not
26764 include <kernel-features.h>.
26765 [!__NR_ftruncate64]: Remove conditional code.
26766 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26767 [__NR_ftruncate64]: Make code unconditional.
26768 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
26770 include <kernel-features.h>.
26771 [!__NR_ftruncate64]: Remove conditional code.
26772 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26773 [__NR_ftruncate64]: Make code unconditional.
26774 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
26776 include <kernel-features.h>.
26777 [!__NR_ftruncate64]: Remove conditional code.
26778 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26779 [__NR_ftruncate64]: Make code unconditional.
26780 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26782 * configure.in (libc_cv_fpie): Weaken to a compile test using
26783 LIBC_TRY_CC_OPTION.
26784 * configure: Regenerated.
26786 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26788 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
26789 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
26790 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
26791 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26793 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
26794 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
26795 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
26796 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
26797 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
26798 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26801 2012-05-27 David S. Miller <davem@davemloft.net>
26803 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
26805 (__Q_simulate_exceptions): Return void. Change to simulate
26806 exceptions by writing into the %fsr.
26807 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
26808 (__Qp_handle_exceptions): Likewise.
26810 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
26811 __Qp_handle_exceptions.
26812 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
26813 __Qp_handle_exceptions.
26814 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
26815 as unused and give dummy FP_RND_NEAREST initializer.
26816 (FP_INHIBIT_RESULTS): Define.
26817 (___Q_simulate_exceptions): Update declaration.
26818 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
26820 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
26821 as unused and give dummy FP_RND_NEAREST initializer.
26822 (__Qp_handle_exceptions): Update declaration.
26823 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
26826 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
26828 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
26829 the temporary FPU control word.
26830 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
26831 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
26832 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
26833 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26834 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26835 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
26836 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
26837 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26838 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
26839 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
26840 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26842 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26844 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
26847 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
26849 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
26850 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
26851 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
26852 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
26854 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
26855 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
26858 2012-05-27 Ulrich Drepper <drepper@gmail.com>
26860 * po/h.po: Update from translation team.
26862 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
26864 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
26866 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
26867 handling of denormals.
26868 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26869 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
26870 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
26871 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
26872 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26873 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
26874 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
26877 2012-05-26 Marek Polacek <polacek@redhat.com>
26880 * math/libm-test.inc (fma_test): Don't always expect underflow
26883 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26886 * elf/tst-execstack.c: Include stackinfo.h.
26887 (do_test): Adjust test case to ensure that pthread_getattr_np
26888 behaviour remains the same after marking stack executable.
26890 2012-05-25 Joseph Myers <joseph@codesourcery.com>
26892 * sysdeps/unix/sysv/linux/kernel-features.h
26893 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
26894 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
26896 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
26897 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
26898 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
26900 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
26901 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
26903 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
26905 * configure.in: Define the default includes to being none.
26906 * configure: Regenerated.
26908 2012-05-25 Roland McGrath <roland@hack.frob.com>
26910 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
26911 * sysdeps/x86_64/setjmp.S: Likewise.
26912 * sysdeps/i386/bsd-setjmp.S: Likewise.
26913 * sysdeps/i386/bsd-_setjmp.S: Likewise.
26914 * sysdeps/i386/setjmp.S: Likewise.
26915 * sysdeps/i386/__longjmp.S: Likewise.
26916 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
26917 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
26919 * include/stap-probe.h: New file.
26920 * configure.in: Handle --enable-systemtap.
26921 * configure: Regenerated.
26922 * config.h.in (USE_STAP_PROBE): New #undef.
26923 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
26924 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
26925 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
26927 2012-05-25 Joseph Myers <joseph@codesourcery.com>
26930 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
26931 to 2.4.0 where earlier.
26932 * sysdeps/unix/sysv/linux/configure: Regenerated.
26933 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
26934 <kernel-features.h>.
26935 [__ASSUME_32BITUIDS]: Make code unconditional.
26936 [!__ASSUME_32BITUIDS]: Remove conditional code.
26937 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
26938 <kernel-features.h>.
26939 [__ASSUME_32BITUIDS]: Make code unconditional.
26940 [!__ASSUME_32BITUIDS]: Remove conditional code.
26941 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
26942 [__ASSUME_32BITUIDS]: Make code unconditional.
26943 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
26944 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
26945 <kernel-features.h>.
26946 [__ASSUME_32BITUIDS]: Make code unconditional.
26947 [!__ASSUME_32BITUIDS]: Remove conditional code.
26948 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
26949 <kernel-features.h>.
26950 [__ASSUME_32BITUIDS]: Make code unconditional.
26951 [!__ASSUME_32BITUIDS]: Remove conditional code.
26952 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
26953 <kernel-features.h>.
26954 [__ASSUME_32BITUIDS]: Make code unconditional.
26955 [!__ASSUME_32BITUIDS]: Remove conditional code.
26956 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
26957 <kernel-features.h>.
26958 [__ASSUME_32BITUIDS]: Make code unconditional.
26959 [!__ASSUME_32BITUIDS]: Remove conditional code.
26960 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
26961 <kernel-features.h>.
26962 [__ASSUME_32BITUIDS]: Make code unconditional.
26963 [!__ASSUME_32BITUIDS]: Remove conditional code.
26964 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
26965 <kernel-features.h>.
26966 [__ASSUME_32BITUIDS]: Make code unconditional.
26967 [!__ASSUME_32BITUIDS]: Remove conditional code.
26968 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
26969 <kernel-features.h>.
26970 [__ASSUME_32BITUIDS]: Make code unconditional.
26971 [!__ASSUME_32BITUIDS]: Remove conditional code.
26972 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
26973 <kernel-features.h>.
26974 [__ASSUME_32BITUIDS]: Make code unconditional.
26975 [!__ASSUME_32BITUIDS]: Remove conditional code.
26976 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
26977 <kernel-features.h>.
26978 [__ASSUME_32BITUIDS]: Make code unconditional.
26979 [!__ASSUME_32BITUIDS]: Remove conditional code.
26980 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
26981 <kernel-features.h>.
26982 [__ASSUME_32BITUIDS]: Make code unconditional.
26983 [!__ASSUME_32BITUIDS]: Remove conditional code.
26984 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
26985 <kernel-features.h>.
26986 [__NR_setresgid] (__setresgid): Do not declare.
26987 [__ASSUME_32BITUIDS]: Make code unconditional.
26988 [!__ASSUME_32BITUIDS]: Remove conditional code.
26989 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
26990 <kernel-features.h>.
26991 [__NR_setresuid] (__setresuid): Do not declare.
26992 [__ASSUME_32BITUIDS]: Make code unconditional.
26993 [!__ASSUME_32BITUIDS]: Remove conditional code.
26994 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
26995 <kernel-features.h>.
26996 [__ASSUME_32BITUIDS]: Make code unconditional.
26997 [!__ASSUME_32BITUIDS]: Remove conditional code.
26998 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
26999 <kernel-features.h>.
27000 [__ASSUME_32BITUIDS]: Make code unconditional.
27001 [!__ASSUME_32BITUIDS]: Remove conditional code.
27002 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
27003 <kernel-features.h>.
27004 [__ASSUME_32BITUIDS]: Make code unconditional.
27005 [!__ASSUME_32BITUIDS]: Remove conditional code.
27006 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
27007 <kernel-features.h>.
27008 [__ASSUME_32BITUIDS]: Make code unconditional.
27009 [!__ASSUME_32BITUIDS]: Remove conditional code.
27010 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
27011 <kernel-features.h>.
27012 [__ASSUME_32BITUIDS]: Make code unconditional.
27013 [!__ASSUME_32BITUIDS]: Remove conditional code.
27014 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
27015 <kernel-features.h>.
27016 [__ASSUME_32BITUIDS]: Make code unconditional.
27017 [!__ASSUME_32BITUIDS]: Remove conditional code.
27018 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
27019 <kernel-features.h>.
27020 [__ASSUME_32BITUIDS]: Make code unconditional.
27021 [!__ASSUME_32BITUIDS]: Remove conditional code.
27022 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
27023 <kernel-features.h>.
27024 [__ASSUME_32BITUIDS]: Make code unconditional.
27025 [!__ASSUME_32BITUIDS]: Remove conditional code.
27026 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
27027 <kernel-features.h>.
27028 [__ASSUME_32BITUIDS]: Make code unconditional.
27029 [!__ASSUME_32BITUIDS]: Remove conditional code.
27030 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27031 <kernel-features.h>.
27032 [__ASSUME_32BITUIDS]: Make code unconditional.
27033 [!__ASSUME_32BITUIDS]: Remove conditional code.
27034 * sysdeps/unix/sysv/linux/kernel-features.h
27035 (__ASSUME_SETRESUID_SYSCALL): Remove.
27036 (__ASSUME_SETRESGID_SYSCALL): Likewise.
27037 (__ASSUME_32BITUIDS): Likewise.
27038 (__ASSUME_LDT_WORKS): Likewise.
27039 (__ASSUME_O_DIRECTORY): Likewise.
27040 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
27041 architecture but not kernel version.
27042 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27043 (__ASSUME_MMAP2_SYSCALL): Likewise.
27044 (__ASSUME_STAT64_SYSCALL): Likewise.
27045 (__ASSUME_IPC64): Likewise.
27046 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
27047 <kernel-features.h>.
27048 [__ASSUME_32BITUIDS]: Make code unconditional.
27049 [!__ASSUME_32BITUIDS]: Remove conditional code.
27050 * sysdeps/unix/sysv/linux/opendir.c: Do not include
27051 <kernel-features.h>.
27052 [__ASSUME_O_DIRECTORY]: Make code unconditional.
27053 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
27054 132096]: Remove conditional code.
27055 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
27056 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27057 <kernel-features.h>.
27058 [__ASSUME_32BITUIDS]: Make code unconditional.
27059 [!__ASSUME_32BITUIDS]: Remove conditional code.
27060 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27061 <kernel-features.h>.
27062 [__ASSUME_32BITUIDS]: Make code unconditional.
27063 [!__ASSUME_32BITUIDS]: Remove conditional code.
27064 * sysdeps/unix/sysv/linux/setegid.c: Do not include
27065 <kernel-features.h>.
27066 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
27068 (__setresgid): Do not declare.
27069 [__ASSUME_32BITUIDS]: Make code unconditional.
27070 [!__ASSUME_32BITUIDS]: Remove conditional code.
27071 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
27072 <kernel-features.h>.
27073 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
27075 (__setresuid): Do not declare.
27076 [__ASSUME_32BITUIDS]: Make code unconditional.
27077 [!__ASSUME_32BITUIDS]: Remove conditional code.
27078 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27079 <kernel-features.h>.
27080 [__ASSUME_32BITUIDS]: Make code unconditional.
27081 [!__ASSUME_32BITUIDS]: Remove conditional code.
27082 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
27083 <kernel-features.h>.
27084 [__ASSUME_32BITUIDS]: Make code unconditional.
27085 [!__ASSUME_32BITUIDS]: Remove conditional code.
27087 2012-05-25 Richard Henderson <rth@twiddle.net>
27089 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
27090 dl_hwcap to ifunc resolver.
27091 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
27093 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
27094 dl_hwcap to ifunc resolver.
27095 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
27097 2012-05-24 Joseph Myers <joseph@codesourcery.com>
27100 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
27101 for |x| <= 2**-26, not 2**-57.
27102 * math/libm-test.inc (acos_test): Do not allow spurious underflow
27105 2012-05-24 Jeff Law <law@redhat.com>
27107 * stdio-common/Makefile (tests): Add bug25.
27108 * stdio-common/bug25.c: New test.
27110 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27113 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
27114 multiple of MALLOC_ALIGNMENT in size.
27115 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
27117 2012-05-24 Joseph Myers <joseph@codesourcery.com>
27119 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
27121 (FILENAME_MAX): Use macro-int-constant.
27122 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
27123 (_IOFBF): Use macro-int-constant.
27124 (_IOLBF): Likewise.
27125 (_IONBF): Likewise.
27126 (SEEK_CUR): Likewise.
27127 (SEEK_END): Likewise.
27128 (SEEK_SET): Likewise.
27129 (TMP_MAX): Likewise.
27130 (EOF): Use macro-int-constant. Require < 0.
27131 (NULL): Use macro-constant. Require == 0.
27132 (stdin): Require type to be FILE *.
27133 (stdout): Likewise.
27134 (stderr): Likewise.
27135 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
27136 macro-int-constant.
27137 (EXIT_SUCCESS): Likewise.
27138 (NULL): Use macro-constant. Require == 0.
27139 (RAND_MAX): Use macro-int-constant.
27140 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
27141 [C99-based standards] (strtof): Require function.
27142 [C99-based standards] (strtold): Likewise.
27143 [C99-based standards] (strtoll): Likewise.
27144 [C99-based standards] (strtoull): Likewise.
27145 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27146 [ISO || ISO99 || ISO11] (limits.h): Likewise.
27147 [ISO || ISO99 || ISO11] (math.h): Likewise.
27148 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
27149 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27150 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27152 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
27155 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
27156 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
27157 * intl/dgettext.c (DCGETTEXT): Likewise.
27158 * intl/gettext.c (DCGETTEXT): Likewise.
27159 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
27160 * posix/regex_internal.h (gettext): Likewise.
27161 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
27162 Remove declaration.
27163 * include/argz.h (__argz_count_internal)
27164 (__argz_stringify_internal): Remove declaration.
27165 (__argz_count, __argz_stringify): Declare hidden proto.
27166 * intl/dcgettext.c: Remove use of INTDEF.
27167 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
27168 * string/argz-stringify.c: Likewise.
27169 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27170 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27171 Declare hidden proto.
27172 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27173 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27174 Declare hidden proto.
27175 * include/stdio.h (__asprintf_internal): Don't declare.
27176 (__asprintf): Don't define as macro. Declare hidden proto.
27177 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
27178 (__fsetlocking): Declare hidden proto.
27179 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
27180 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
27182 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
27183 (_IO_setlinebuf): Remove use of INTUSE.
27184 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
27185 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
27186 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
27187 Remove declaration.
27188 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
27189 (_IO_do_flush): Remove use of INTUSE.
27190 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
27191 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
27192 (_IO_adjust_column, _IO_least_wmarker)
27193 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
27194 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
27195 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
27196 (_IO_default_doallocate, _IO_wdefault_doallocate)
27197 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
27198 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
27199 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
27200 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
27201 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
27202 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
27203 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
27204 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
27205 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
27206 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
27207 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
27208 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
27209 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
27211 (_IO_flush_all_internal, _IO_adjust_column_internal)
27212 (_IO_default_uflow_internal, _IO_default_finish_internal)
27213 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
27214 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
27215 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
27216 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
27217 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
27218 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
27219 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
27220 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
27221 (_IO_file_close_internal, _IO_file_close_it_internal)
27222 (_IO_file_underflow_internal, _IO_file_overflow_internal)
27223 (_IO_file_init_internal, _IO_file_attach_internal)
27224 (_IO_file_fopen_internal, _IO_file_read_internal)
27225 (_IO_file_sync_internal, _IO_file_seek_internal)
27226 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
27227 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
27228 (_IO_str_underflow_internal, _IO_str_overflow_internal)
27229 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
27230 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
27231 (_IO_list_all_internal, _IO_link_in_internal)
27232 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
27233 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
27234 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
27235 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
27236 (_IO_do_write_internal, _IO_padn_internal)
27237 (_IO_getline_info_internal, _IO_getline_internal)
27238 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
27239 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
27240 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
27241 (_IO_vfscanf_internal, _IO_vfprintf_internal)
27242 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
27243 (_IO_init_internal, _IO_un_link_internal): Don't declare.
27244 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
27245 with libc_hidden_ver, remove use of INTUSE.
27246 * libio/genops.c: Likewise.
27247 * libio/freopen.c: Likewise.
27248 * libio/freopen64.c: Likewise.
27249 * libio/iofclose.c: Likewise.
27250 * libio/iofdopen.c: Likewise.
27251 * libio/iofflush.c: Likewise.
27252 * libio/iofflush_u.c: Likewise.
27253 * libio/iofgets.c: Likewise.
27254 * libio/iofgets_u.c: Likewise.
27255 * libio/iofopen.c: Likewise.
27256 * libio/iofopncook.c: Likewise.
27257 * libio/iofread.c: Likewise.
27258 * libio/iofread_u.c: Likewise.
27259 * libio/ioftell.c: Likewise.
27260 * libio/iofwrite.c: Likewise.
27261 * libio/iogetline.c: Likewise.
27262 * libio/iogets.c: Likewise.
27263 * libio/iogetwline.c: Likewise.
27264 * libio/iopadn.c: Likewise.
27265 * libio/iopopen.c: Likewise.
27266 * libio/ioseekoff.c: Likewise.
27267 * libio/ioseekpos.c: Likewise.
27268 * libio/iosetbuffer.c: Likewise.
27269 * libio/iosetvbuf.c: Likewise.
27270 * libio/ioungetc.c: Likewise.
27271 * libio/ioungetwc.c: Likewise.
27272 * libio/iovdprintf.c: Likewise.
27273 * libio/iovsprintf.c: Likewise.
27274 * libio/iovsscanf.c: Likewise.
27275 * libio/memstream.c: Likewise.
27276 * libio/obprintf.c: Likewise.
27277 * libio/oldfileops.c: Likewise.
27278 * libio/oldiofclose.c: Likewise.
27279 * libio/oldiofdopen.c: Likewise.
27280 * libio/oldiofopen.c: Likewise.
27281 * libio/oldiopopen.c: Likewise.
27282 * libio/oldstdfiles.c: Likewise.
27283 * libio/putc.c: Likewise.
27284 * libio/setbuf.c: Likewise.
27285 * libio/setlinebuf.c: Likewise.
27286 * libio/stdfiles.c: Likewise.
27287 * libio/strops.c: Likewise.
27288 * libio/vasprintf.c: Likewise.
27289 * libio/vscanf.c: Likewise.
27290 * libio/vsnprintf.c: Likewise.
27291 * libio/vswprintf.c: Likewise.
27292 * libio/wfiledoalloc.c: Likewise.
27293 * libio/wfileops.c: Likewise.
27294 * libio/wgenops.c: Likewise.
27295 * libio/wmemstream.c: Likewise.
27296 * libio/wstrops.c: Likewise.
27297 * libio/__fpurge.c: Likewise.
27298 * libio/__fsetlocking.c: Likewise.
27299 * assert/assert.c: Likewise.
27300 * debug/fgets_chk.c: Likewise.
27301 * debug/fgets_u_chk.c: Likewise.
27302 * debug/fread_chk.c: Likewise.
27303 * debug/fread_u_chk.c: Likewise.
27304 * debug/gets_chk.c: Likewise.
27305 * debug/obprintf_chk.c: Likewise.
27306 * debug/vasprintf_chk.c: Likewise.
27307 * debug/vdprintf_chk.c: Likewise.
27308 * debug/vsnprintf_chk.c: Likewise.
27309 * debug/vsprintf_chk.c: Likewise.
27310 * malloc/mtrace.c: Likewise.
27311 * misc/error.c: Likewise.
27312 * misc/syslog.c: Likewise.
27313 * stdio-common/asprintf.c: Likewise.
27314 * stdio-common/fxprintf.c: Likewise.
27315 * stdio-common/getw.c: Likewise.
27316 * stdio-common/isoc99_fscanf.c: Likewise.
27317 * stdio-common/isoc99_scanf.c: Likewise.
27318 * stdio-common/isoc99_vfscanf.c: Likewise.
27319 * stdio-common/isoc99_vscanf.c: Likewise.
27320 * stdio-common/isoc99_vsscanf.c: Likewise.
27321 * stdio-common/printf-prs.c: Likewise.
27322 * stdio-common/printf_fp.c: Likewise.
27323 * stdio-common/printf_fphex.c: Likewise.
27324 * stdio-common/printf_size.c: Likewise.
27325 * stdio-common/putw.c: Likewise.
27326 * stdio-common/scanf.c: Likewise.
27327 * stdio-common/sprintf.c: Likewise.
27328 * stdio-common/tmpfile.c: Likewise.
27329 * stdio-common/vfprintf.c: Likewise.
27330 * stdio-common/vfscanf.c: Likewise.
27331 * stdlib/strfmon_l.c: Likewise.
27332 * sunrpc/openchild.c: Likewise.
27333 * sunrpc/xdr_stdio.c: Likewise.
27334 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
27335 * sysdeps/mach/hurd/tmpfile.c: Likewise.
27337 2012-05-24 Roland McGrath <roland@hack.frob.com>
27339 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27341 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
27342 in the third column, to generate for the shared library an IFUNC
27343 that uses _dl_vdso_vsym.
27344 * Makerules (COMPILE.c, compile-stdin.c): New variables.
27345 * Makeconfig (object-suffixes-noshared): New variable.
27347 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
27348 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
27349 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
27350 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
27353 * include/sys/time.h (__gettimeofday): Remove macro.
27354 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
27355 * time/gettimeofday.c (__gettimeofday): Remove #undef.
27357 (__gettimeofday): Add libc_hidden_def.
27358 (gettimeofday): Add libc_hidden_weak.
27359 * sysdeps/mach/gettimeofday.c: Likewise.
27360 * sysdeps/posix/gettimeofday.c: Likewise.
27361 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
27362 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
27363 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
27364 (__gettimeofday_internal): Remove strong_alias.
27365 (__gettimeofday): Add libc_hidden_def.
27366 (gettimeofday): Add libc_hidden_weak.
27367 * sysdeps/unix/syscalls.list (gettimeofday):
27368 Remove __gettimeofday_internal alias.
27370 2012-05-24 Daniel Jacobowitz <drow@false.org>
27371 H.J. Lu <hongjiu.lu@intel.com>
27374 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
27375 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
27376 (largebin_index_32_big): New.
27377 (largebin_index): Use it for 16-byte alignment.
27378 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
27379 correction with front_misalign.
27381 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27383 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
27384 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
27386 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
27388 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
27390 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
27392 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
27394 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
27396 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
27398 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
27400 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
27402 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
27404 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
27406 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
27409 * scripts/data/c++-types-x32-linux-gnu.data: New file.
27410 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
27412 2012-05-24 Joseph Myers <joseph@codesourcery.com>
27416 * math/libm-test.inc (exp_test): Add test from bug 14036.
27417 (pow_test): Add test from bug 10846.
27419 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
27421 (special_function): Do not include flags in test name.
27422 (parse_args): Likewise.
27423 * sysdeps/i386/fpu/libm-test-ulps: Update.
27424 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27425 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27426 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27429 * math/gen-libm-test.pl (%beautify): Add entries for underflow
27431 * math/libm-test.inc ("Philosophy"): Update comment about
27433 (UNDERFLOW_EXCEPTION): New macro.
27434 (UNDERFLOW_EXCEPTION_OK): Likewise.
27435 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
27436 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
27437 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
27438 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
27439 (INVALID_EXCEPTION_OK): Update value.
27440 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27441 (OVERFLOW_EXCEPTION_OK): Likewise.
27442 (IGNORE_ZERO_INF_SIGN): Likewise.
27443 (test_exceptions): Handle underflow exceptions.
27444 (acos_test): Update for underflow exception expectations.
27445 (cexp_test): Likewise.
27446 (clog_test): Likewise.
27447 (clog10_test): Likewise.
27448 (csqrt_test): Likewise.
27449 (ctan_test): Likewise.
27450 (ctanh_test): Likewise.
27451 (exp_test): Likewise.
27452 (exp10_test): Likewise.
27453 (exp2_test): Likewise.
27454 (expm1_test): Likewise.
27455 (fma_test): Likewise.
27456 (j0_test): Likewise.
27457 (jn_test): Likewise.
27458 (nexttoward_test): Likewise.
27459 (pow_test): Likewise.
27460 (scalbn_test): Likewise.
27461 (scalbln_test): Likewise.
27462 (tan_test): Likewise.
27463 (y1_test): Likewise.
27464 * sysdeps/i386/fpu/libm-test-ulps: Update.
27465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27467 2012-05-23 David S. Miller <davem@davemloft.net>
27469 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
27470 (__libc_sigaction): Remove unused local variables.
27472 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27474 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
27476 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
27478 mktime: avoid signed integer overflow
27479 * time/mktime.c (__mktime_internal): Do not mishandle the case
27480 where diff == INT_MIN.
27482 mktime: simplify computation of average
27483 * time/mktime.c (ranged_convert): Use new time_t_avg function
27484 instead of rolling our own (probably-slower) code.
27486 mktime: do not assume signed right shift propagates sign bit
27487 * time/mktime.c (isdst_differ): New static function.
27488 (__mktime_internal): No need to normalize tm_isdst now.
27489 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
27492 mktime: merge another wrapv change from gnulib
27493 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
27494 from some compilers.
27496 mktime: remove incorrect attempt at unusual arithmetics
27497 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
27498 The code didn't really work on such machines anyway.
27499 (TYPE_MINIMUM): Assume two's complement.
27500 (twos_complement_arithmetic): Verify that long_int and time_t
27501 are two's complement (or unsigned, in the latter case).
27503 mktime: check signed shifts on long_int and time_t, too
27504 * time/mktime.c (SHR): Check that shifts work as desired
27505 on the types long_int and time_t too, as SHR is used on
27508 mktime: do not assume 'long' is wide enough
27509 * time/mktime.c (verify): Move decl up.
27510 (long_int): New type.
27511 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
27512 to remove assumption in the code that 'long' is wide enough to
27513 store year values. This assumption is not true on x32 and on
27514 some non-glibc platforms.
27516 mktime: merge wrapv change from gnulib
27517 * time/mktime.c (WRAPV): New macro.
27518 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
27519 (guess_time_tm, __mktime_internal): Do not assume that signed
27520 integer overflow wraps around; modern compilers generate code
27521 where this assumption is no longer valid.
27523 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27525 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
27526 Replace "jmp L(pseudo_end)" with "ret".
27527 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
27530 2012-05-23 Andreas Jaeger <aj@suse.de>
27532 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
27533 * sysdeps/unix/sysv/linux/poll.c: Remove file.
27535 2012-05-23 Andreas Jaeger <aj@suse.de>
27536 Maximilian Attems <max@stro.at>
27538 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
27541 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27543 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
27544 code so that pseudo_end is just ret and the stack pointer is
27545 correct also for static library in error case.
27547 2012-05-23 Joseph Myers <joseph@codesourcery.com>
27549 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
27550 move to syscalls.list.
27551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
27552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
27553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
27554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
27556 * manual/install.texi (Running make install): Do not mention Linux
27557 kernel version for which pt_chown is not needed.
27558 (Linux): Do not mention problems with nscd with 2.0 kernels.
27559 * INSTALL: Regenerated.
27561 2012-05-23 Andreas Jaeger <aj@suse.de>
27563 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
27564 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
27566 * sysdeps/unix/sysv/linux/s390/bits/mman.h
27567 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27568 * sysdeps/unix/sysv/linux/sh/bits/mman.h
27569 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27570 * sysdeps/unix/sysv/linux/i386/bits/mman.h
27571 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27572 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
27573 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27574 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
27575 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27576 * sysdeps/unix/sysv/linux/bits/in.h
27577 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
27579 2012-05-22 Roland McGrath <roland@hack.frob.com>
27581 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
27582 (PREPARE_VERSION): Just use assert instead, it will be elided
27583 under [NDEBUG] anyway.
27585 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27587 * sysdeps/unix/sysv/linux/Makefile: Include
27588 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
27589 (sysdep_routines): Remove sysctl.
27590 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
27591 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
27592 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
27593 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
27594 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
27596 2012-05-22 Andreas Jaeger <aj@suse.de>
27598 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
27599 that pseudo_end is just ret and the stack pointer is correct also
27600 for static library in error case.
27602 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
27605 * nss/nsswitch.c (defconfig_entries): New variable.
27606 (__nss_database_lookup): Don't leak defconfig entries.
27607 (nss_parse_service_list): Don't leak on error paths.
27608 (free_database_entries): New function.
27609 (free_defconfig): New function.
27610 (free_mem): Move common code to free_database_entries.
27612 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27614 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
27616 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
27618 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
27619 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
27620 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
27622 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
27623 (INTERNAL_SYSCALL_TYPES): Likewise.
27624 (LOAD_ARGS_TYPES_[1-6]): Likewise.
27625 (LOAD_REGS_TYPES_[1-6]): Likewise.
27626 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
27627 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
27629 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27631 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
27632 copysignl for GLIBC_2_0.
27633 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
27634 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
27635 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
27636 logbl for GLIBC_2_0.
27637 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
27638 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
27640 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27642 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
27643 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
27645 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
27648 * time/mktime.c: Update copyright years.
27650 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
27652 mktime: merge comment-quoting-style change from gnulib
27653 * time/mktime.c: Quote 'like this' in comments.
27654 The GNU coding standards suggest that we no longer quote `like this',
27655 as "`" and "'" are typically rendered asymmetrically nowadays.
27656 The typical gnulib style is to quote 'like this' when quoting
27657 code, and "like this" when quoting English.
27659 * time/mktime.c (compile-command): Add "-I.".
27661 mktime: merge mktime-internal.h change from gnulib
27662 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
27664 mktime: merge time_r change from gnulib
27665 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
27667 mktime: merge DEBUG change from gnulib
27668 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
27669 case system <time.h> has a #define.
27671 mktime: merge <sys/types.h> change from gnulib
27672 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
27673 since <time.t> is now guaranteed to define time_t.
27675 mktime: merge HAVE_CONFIG_H change from gnulib
27676 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
27678 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27680 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
27683 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
27685 (struct rusage): Use anonymous union to pad each field to
27688 2012-05-21 David S. Miller <davem@davemloft.net>
27690 * Makefules (o-iterator): Remove .s cases.
27691 (compile-command.s): Delete.
27692 (COMPILE.s): Delete.
27693 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
27695 2012-05-21 Joseph Myers <joseph@codesourcery.com>
27697 * configure.in (libc_cv_predef_stack_protector): Only consider
27698 "foobar" and "__stack_chk_fail" lines in libc_undefs.
27699 * configure: Regenerated.
27701 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27703 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
27704 New macro. Use R*LP on int and pointer.
27705 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
27706 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
27707 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
27708 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
27710 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
27711 [__WORDSIZE_TIME64_COMPAT32] instead of
27712 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
27713 (struct utmp): Likewise.
27714 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
27715 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
27717 (__WORDSIZE_TIME64_COMPAT32): This.
27718 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
27719 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
27720 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
27721 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
27722 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
27723 (__WORDSIZE_TIME64_COMPAT32): New macro.
27725 2012-05-21 Andreas Jaeger <aj@suse.de>
27727 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
27728 only if [SHARED]. Add prototype for __wcschr_ia32.
27730 2012-05-21 Roland McGrath <roland@hack.frob.com>
27732 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
27733 of %rbp unmolested in the jmp_buf while mangling the low bits.
27734 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
27735 unmolested high bits of %rbp while demangling the low bits.
27736 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27738 2012-05-21 Andreas Jaeger <aj@suse.de>
27740 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
27741 * sunrpc/svc_simple.c: Use it for registerrpc.
27742 * sunrpc/xcrypt.c: Use it for passwd2des.
27744 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
27746 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27748 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
27749 Don't define if [__SYSCALL_WORDSIZE != 32].
27750 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
27753 2012-05-21 Bruno Haible <bruno@clisp.org>
27754 Andreas Jaeger <aj@suse.de>
27756 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
27757 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
27758 inptr and inend for must_buffer_ch.
27759 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
27760 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
27761 * stdio-common/Makefile (tests): Remove bug15.
27762 (bug15-ENV): Remove macro.
27763 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
27766 2012-05-19 Andreas Jaeger <aj@suse.de>
27767 Roland McGrath <roland@hack.frob.com>
27769 * manual/contrib.texi: Completely rewritten. It contains now an
27770 alphabetical list of contributors and their contributions.
27772 2012-05-21 Richard Henderson <rth@twiddle.net>
27774 * misc/getauxval.c (__getauxval): Use unsigned long int.
27775 * misc/sys/auxv.h: Include <sys/cdefs.h>.
27776 (getauxval): Use unsigned long int.
27778 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27780 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27782 2012-05-21 Roland McGrath <roland@hack.frob.com>
27784 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
27785 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
27786 __alignof__ (long double).
27788 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27790 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27792 2012-05-20 Richard Henderson <rth@twiddle.net>
27794 * misc/getauxval.c: New file.
27795 * misc/sys/auxv.h: New file.
27796 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
27797 (routines): Add getauxval.
27798 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
27799 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
27800 * elf/dl-sysdep.c (_dl_auxv): Remove.
27801 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
27802 * elf/dl-support.c (_dl_auxv): New variable.
27803 (_dl_aux_init): Initialize it.
27804 * manual/startup.texi (Auxiliary Vector): New node.
27805 * sysdeps/generic/bits/hwcap.h: New file.
27806 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
27807 * sysdeps/powerpc/sysdep.h: ... here. Include it.
27808 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
27809 * sysdeps/sparc/sysdep.h: ... here. Include it.
27810 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
27811 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
27812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
27815 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
27816 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
27817 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
27818 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27819 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27820 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
27821 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
27823 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27825 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27827 2012-05-19 David S. Miller <davem@davemloft.net>
27829 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27831 2012-05-19 Joseph Myers <joseph@codesourcery.com>
27834 * math/s_ccosh.c: Include <float.h>
27835 (__ccosh): Avoid internal overflow calculating sinh and cosh
27836 values before multiplying by sin and cos values.
27837 * math/s_ccoshf.c: Likewise.
27838 * math/s_ccoshl.c: Likewise.
27839 * math/s_csin.c: Likewise.
27840 * math/s_csinf.c: Likewise.
27841 * math/s_csinl.c: Likewise.
27842 * math/s_csinh.c: Likewise.
27843 * math/s_csinhf.c: Likewise.
27844 * math/s_csinhl.c: Likewise.
27845 * math/libm-test.inc (ccos_test): Add more tests.
27846 (ccosh_test): Likewise.
27847 (csin_test): Likewise.
27848 (csinh_test): Likewise.
27849 * sysdeps/i386/fpu/libm-test-ulps: Update.
27850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27852 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
27854 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
27855 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
27857 * sysdeps/x86_64/x32/_itoa.h: Add comment.
27859 2012-05-19 Joseph Myers <joseph@codesourcery.com>
27861 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
27862 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
27863 * sysdeps/powerpc/soft-fp/Versions: Likewise.
27864 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
27865 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
27866 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
27867 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
27868 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
27869 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
27870 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
27871 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
27872 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
27873 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
27874 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
27875 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
27876 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
27877 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
27878 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
27879 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
27880 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
27881 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
27882 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
27883 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
27884 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
27885 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
27886 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
27887 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
27888 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
27889 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
27890 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
27891 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
27893 2012-05-18 Andreas Jaeger <aj@suse.de>
27895 * csu/.gitignore: Delete.
27897 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27899 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
27900 (timex): Use __syscall_slong_t.
27902 2012-05-18 Andreas Jaeger <aj@suse.de>
27903 Carlos O'Donell <carlos_odonell@mentor.com>
27905 * manual/install.texi (Configuring and compiling): Update
27906 description about files modified in the source directory.
27907 * INSTALL: Regenerated.
27909 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27911 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
27912 value. Use "or" to set return value to -1.
27913 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
27914 negate return value.
27916 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27918 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
27919 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
27920 failure if the compiler has Graphite support disabled.
27921 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
27923 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
27924 CFLAGS-memmove.c): Likewise.
27925 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
27928 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27930 * sysdeps/x86_64/x32/_itoa.h: New file.
27932 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
27933 getdents system call only if kernel and user dirents have the
27934 same d_ino and d_off.
27936 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27937 LLONG_MAX != LONG_MAX.
27938 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27939 (_fitoa_word): Likewise.
27941 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
27943 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
27944 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
27945 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
27947 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
27948 include <bits/wordsize.h>. Check __x86_64__ instead of
27950 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
27951 if __x86_64__ is defined. Use anonymous union on fpstate.
27953 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
27956 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
27958 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
27959 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
27960 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
27961 Refer to _rtld_local_ro instead of _rtld_global_ro.
27962 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
27964 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
27966 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
27968 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
27969 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
27970 of _rtld_global, and rtld_progname instead of _dl_argv[0].
27972 * sysdeps/powerpc/powerpc32/dl-machine.c
27973 (__elf_machine_runtime_setup) [PROF]: Don't reference
27976 2012-05-18 Andreas Jaeger <aj@suse.de>
27978 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
27979 function only available for GCCs before 3.4 since GCC 3.4
27980 introduced a builtin.
27982 (llrintf): Likewise.
27983 (llrint): Likewise.
27990 (nearbyint): Likewise.
27991 (nearbyintf): Likewise.
27995 (floorf): Likewise.
27997 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
27999 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
28000 on both fields and cast pointer to __syscall_ulong_t.
28002 * bits/types.h (__fsword_t): New type.
28003 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
28004 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
28005 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28006 (__FSWORD_T_TYPE): Likewise.
28007 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28008 (__FSWORD_T_TYPE): Likewise.
28009 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28010 (__FSWORD_T_TYPE): Likewise.
28011 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
28012 (__FSWORD_T_TYPE): Likewise.
28013 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
28014 __SWORD_TYPE with __fsword_t.
28015 (statfs64): Likewise.
28017 2012-05-17 David S. Miller <davem@davemloft.net>
28019 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
28021 2012-05-17 Andreas Jaeger <aj@suse.de>
28023 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
28026 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28028 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
28030 2012-05-17 Andreas Jaeger <aj@suse.de>
28032 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
28035 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28037 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
28039 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28041 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
28042 * sysdeps/x86_64/tst-mallocalign1.c: New file.
28044 2012-05-17 Andreas Jaeger <aj@suse.de>
28045 Carlos O'Donell <carlos_odonell@mentor.com>
28048 * sysdeps/x86_64/multiarch/init-arch.h
28049 (bit_YMM_Usable): Rename to...
28050 (bit_AVX_Usable): ... this.
28051 (bit_FMA4_Usable): New macro.
28052 (bit_XMM_state): New macro.
28053 (bit_YMM_state): New macro.
28054 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
28055 [__ASSEMBLER__] (index_AVX_Usable): ... this.
28056 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
28057 (CPUID_OSXSAVE): New macro.
28058 (CPUID_AVX): New macro.
28059 (CPUID_FMA4): New macro.
28060 (index_YMM_Usable): Rename to...
28061 (index_AVX_Usable): ... this.
28062 (HAS_AVX): Use HAS_ARCH_FEATURE.
28063 (HAS_FMA4): Likewise.
28064 (HAS_YMM_USABLE): Remove.
28065 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28066 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
28068 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
28069 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
28070 * sysdeps/x86_64/multiarch/Makefile: Likewise.
28071 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
28072 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
28074 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28076 * math/libm-test.c: Support platforms without multiple rounding modes.
28077 * math/bug-nextafter.c: Support platforms without FP exceptions.
28078 * math/bug-nexttoward.c: Likewise.
28079 * math/test-fenv.c: Likewise.
28080 * math/test-misc.c: Likewise.
28081 * stdlib/bug-getcontext.c: Likewise.
28083 2012-05-17 Andreas Jaeger <aj@suse.de>
28085 * manual/examples/search.c (critter_cmp): Change signature to
28087 * manual/string.texi (Collation Functions): Likewise.
28089 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28091 * bits/types.h: Fold copyright years.
28092 * bits/typesizes.h: Likewise.
28093 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
28094 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28095 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
28096 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
28097 * time/time.h: Likewise.
28099 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
28102 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
28103 in instead of returning them. Return void.
28104 (__libc_mallinfo): Accumulate over all arenas.
28105 (__malloc_stats): Adjust for change in int_mallinfo interface.
28107 2012-05-16 Roland McGrath <roland@hack.frob.com>
28110 * configure.in (NM): Add AC_CHECK_TOOL for it.
28111 (libc_extra_cflags): New substituted variable.
28112 Check for -fstack-protector being used implicitly.
28113 * configure: Regenerated.
28114 * config.make.in (config-extra-cflags): New variable,
28115 gets @libc_extra_cflags@.
28116 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
28119 * configure.in: Check for _FORTIFY_SOURCE being predefined.
28120 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
28121 * configure: Regenerated.
28122 * config.make.in (CPPUNDEFS): New substituted variable.
28123 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
28124 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
28125 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
28127 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28129 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
28130 (mq_attr): Use __syscall_slong_t.
28132 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28134 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
28135 Check __x86_64__ instead of __WORDSIZE.
28136 (_STAT_VER_LINUX): Likewise.
28137 (stat): Check __x86_64__ instead of __WORDSIZE. Use
28138 __syscall_ulong_t and __syscall_slong_t.
28139 (stat64): Likewise.
28141 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28143 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
28145 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28147 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
28149 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28151 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
28154 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
28155 include <bits/wordsize.h>. Check __x86_64__ instead of
28157 (greg_t): Use "__extension__ long long int" if __x86_64__ is
28159 (mcontext_t): Replace "unsigned long" with "unsigned long long".
28161 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
28162 include <bits/wordsize.h>. Check __x86_64__ instead of
28164 (user_regs_struct): Use "__extension__ unsigned long long"
28165 instead of "unsigned long" if __x86_64__ is defined.
28166 (user): Likewise. Pad after pointer field if __ILP32__ is
28169 2012-05-16 Joseph Myers <joseph@codesourcery.com>
28171 * configure.in (makeinfo): Require version 4.5 or later. Allow
28173 * configure: Regenerated.
28174 * manual/install.texi (texinfo): Increase version requirement to
28176 * INSTALL: Regenerated.
28178 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
28180 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28182 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
28184 * sysdeps/x86_64/x32/ffs.c: New file.
28186 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
28188 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
28189 defined. Use __syscall_ulong_t.
28190 (shminfo): Use __syscall_ulong_t.
28191 (shm_info): Likewise.
28193 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
28196 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
28198 (msgqnum_t): Use __syscall_ulong_t.
28199 (msglen_t): Likewise.
28200 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
28203 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
28204 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28206 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
28208 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
28209 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
28211 * sysvipc/sys/msg.h (msgbuf): Replace long int with
28214 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
28215 include <bits/wordsize.h>. Check __x86_64__ instead of
28218 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
28219 "unsigned long long int" if __x86_64__ is defined.
28220 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
28222 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
28223 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28224 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
28226 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
28228 (GET_PC): Cast to uintptr_t first.
28229 (GET_FRAME): Likewise.
28230 (GET_STACK): Likewise.
28232 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
28233 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
28234 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
28235 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
28236 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
28237 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
28238 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
28239 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
28240 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28241 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
28242 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
28243 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
28244 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28245 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
28246 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
28247 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
28248 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
28249 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
28250 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
28251 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
28252 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
28253 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
28254 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
28255 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
28256 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
28257 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
28258 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
28259 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
28260 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
28262 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
28264 * Makerules (+depfiles): Also collect depfiles from .oS in
28266 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
28267 .oS, $(libnldbl-routines)).
28269 * Makerules (native-compile-mkdep-flags): Define.
28270 * sunrpc/Makefile (extra-objs): Add $(addprefix
28271 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
28272 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
28273 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
28274 calling $(make-target-directory).
28276 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28278 * bits/types.h (__snseconds_t): Removed.
28279 * time/time.h (struct timespec): Replace __snseconds_t with
28281 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
28282 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
28284 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28285 (__SNSECONDS_T_TYPE): Likewise.
28286 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28287 (__SNSECONDS_T_TYPE): Likewise.
28288 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28289 (__SNSECONDS_T_TYPE): Likewise.
28291 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28293 * sysdeps/mach/hurd/bits/typesizes.h
28294 (__SYSCALL_SLONG_TYPE): New macro.
28295 (__SYSCALL_ULONG_TYPE): Likewise.
28297 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28299 * bits/types.h (__syscall_slong_t): New type.
28300 (__syscall_ulong_t): Likewise.
28302 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
28303 (__SYSCALL_ULONG_TYPE): Likewise.
28304 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28305 (__SYSCALL_SLONG_TYPE): Likewise.
28306 (__SYSCALL_ULONG_TYPE): Likewise.
28307 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28308 (__SYSCALL_SLONG_TYPE): Likewise.
28309 (__SYSCALL_ULONG_TYPE): Likewise.
28310 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28311 (__SYSCALL_SLONG_TYPE): Likewise.
28312 (__SYSCALL_ULONG_TYPE): Likewise.
28314 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28316 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
28317 Add sigaltstack-offsets.sym.
28318 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
28319 <sigaltstack-offsets.h>.
28320 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
28321 longjmp_msg pointer.
28322 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
28323 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
28325 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
28327 2012-05-15 Joseph Myers <joseph@codesourcery.com>
28329 * elf/stackguard-macros.h: Remove file.
28330 * sysdeps/generic/stackguard-macros.h: New file.
28331 * sysdeps/i386/stackguard-macros.h: Likewise.
28332 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
28333 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
28334 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
28335 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
28336 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
28337 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
28338 * sysdeps/x86_64/stackguard-macros.h: Likewise.
28339 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
28340 <elf/stackguard-macros.h>.
28343 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
28344 __aligned__ in attribute.
28345 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
28346 (gregset_t): Likewise.
28348 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28350 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
28351 * sysdeps/x86_64/64/Implies-after: Here. New file.
28352 * sysdeps/x86_64/x32/Implies-after: New file.
28354 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28356 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
28357 and access return value for _dl_profile_fixup. Use R10_LP to
28360 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28362 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
28364 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28366 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
28367 * sysdeps/x86_64/x32/sysdep.h: New file.
28369 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28371 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
28372 * sysdeps/x86_64/setjmp.S: Likewise.
28374 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28376 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
28377 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
28378 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
28379 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
28380 remove unused global constant.
28382 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
28384 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
28385 include of <not-cancel.h>.
28387 2012-05-15 Roland McGrath <roland@hack.frob.com>
28389 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
28391 2012-05-15 Jeff Law <law@redhat.com>
28392 Andreas Jaeger <aj@suse.de>
28395 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
28397 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
28398 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
28399 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
28400 code changing __hst_map_handle.map.
28402 2012-05-15 Roland McGrath <roland@hack.frob.com>
28404 * configure.in (sysnames): Look for Implies-before and Implies-after
28406 * configure: Regenerated.
28408 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28410 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
28411 8-byte data alignment with LP_SIZE alignment.
28413 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28415 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
28418 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28420 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
28422 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28424 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
28425 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
28426 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
28428 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28430 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28432 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
28433 (stackinfo_sub_sp): Likewise.
28435 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28437 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
28440 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28442 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
28445 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28447 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
28450 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28452 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
28454 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28456 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
28457 into R11_LP and load __x86_64_shared_cache_size_half into
28460 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28462 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
28465 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28467 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
28469 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
28471 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
28473 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
28474 powerpc32/power7/fpu/s_logb.c via #include.
28475 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
28476 powerpc32/power7/fpu/s_logbf.c via #include.
28477 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
28478 powerpc32/power7/fpu/s_logbl.c via #include.
28480 2012-05-15 Joseph Myers <joseph@codesourcery.com>
28482 * README.libm: Remove file.
28484 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28486 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
28487 count for x32. Use R*_LP and omit operand-size suffix.
28489 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28491 * shlib-versions: Move x86_64-.*-linux.* entries to ...
28492 * sysdeps/x86_64/64/shlib-versions: Here. New file.
28493 * sysdeps/x86_64/x32/shlib-versions: New file.
28495 2012-05-14 Roland McGrath <roland@hack.frob.com>
28497 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
28498 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
28499 Use _dl_fatal_printf instead.
28501 2012-05-14 Joseph Myers <joseph@codesourcery.com>
28503 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
28504 set if not set by the user. Do not allow for being unset.
28505 * sysdeps/unix/sysv/linux/configure: Regenerated.
28507 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28509 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
28510 the `q' suffix from lea and replace .quad with ASM_ADDR.
28512 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28514 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
28515 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
28517 (PTR_DEMANGLE): Likewise.
28519 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28521 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
28523 (ASM_ADDR): Likewise.
28524 (RAX_LP): Likewise.
28525 (RBP_LP): Likewise.
28526 (RBX_LP): Likewise.
28527 (RCX_LP): Likewise.
28528 (RDI_LP): Likewise.
28529 (RSI_LP): Likewise.
28530 (RSP_LP): Likewise.
28533 (R10_LP): Likewise.
28534 (R10_LP): Likewise.
28535 (R11_LP): Likewise.
28536 (R12_LP): Likewise.
28537 (R13_LP): Likewise.
28538 (R14_LP): Likewise.
28539 (R15_LP): Likewise.
28541 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28543 * sysdeps/x86_64/x32/dl-machine.h: New file.
28545 2012-05-14 Andreas Jaeger <aj@suse.de>
28547 * manual/Makefile (subdir): Remove export of subdir.
28548 (all): Remove target.
28549 (.PHONY): Remove all from list.
28550 (mkinstalldirs): Remove.
28551 (.PHONY): Remove installdirs from list.
28552 ($(inst_infodir)/libc.info): Use make-target-directory.
28553 (installdirs): Remove.
28554 (subdir_%): Remove.
28555 (glibc-targets): Remove.
28558 ($(objpfx)stubs ../po/manual.pot): Remove.
28559 ($(objpfx)stamp%): Remove.
28560 (make-target-directory): Remove.
28561 (subdir_install): Remove.
28562 (routines): Remove.
28569 * manual/.gitignore: Remove, it's not needed anymore.
28570 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
28572 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
28574 (texis): Renamed to $(objpfx)texis.
28575 (texis-path): New, contains path to generated files.
28576 (chapters.%): Use texis-path for complete path, add extra argument
28578 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
28579 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
28580 (summary,texi, stamp-summary): Use complete path of
28581 files. Generate files in build dir.
28582 (dir-add.texi): Build in build dir.
28583 (libm-err.texi,stamp-libm-err): Likewise.
28584 (version.texi, stamp-version): Likewise.
28585 (.%c.texi): Likewise.
28586 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
28587 (mostlyclean): Remove target.
28588 (realclean): Remove target.
28589 (generated): Add new variable with contents from mostlyclean and
28590 realclean, remove entries duplicated in common-mostlyclean, add
28591 stamp-libm-err and stamp-version.
28592 (generated-dirs): Add libc directory.
28593 ($(inst_infodir)/libc.info): Install files from build dir.
28595 * manual/install.texi (Configuring and compiling): Adjust since
28596 the info files are not part of the tar ball anymore.
28598 2012-05-14 Andreas Jaeger <aj@suse.de>
28600 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
28603 2012-05-14 Joseph Myers <joseph@codesourcery.com>
28606 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
28607 to 2.2.0 where earlier.
28608 * sysdeps/unix/sysv/linux/configure: Regenerated.
28609 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
28610 Remove conditional code.
28611 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
28612 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
28613 Remove conditional code.
28614 [!__NR_lchown]: Likewise.
28615 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28616 [__NR_lchown]: Likewise.
28617 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
28618 comment referencing __ASSUME_LCHOWN_SYSCALL.
28619 * sysdeps/unix/sysv/linux/i386/sigaction.c
28620 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28621 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28622 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
28623 Remove conditional code.
28624 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
28625 (__protocol_available): Remove #if 0 code.
28626 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
28628 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
28629 * sysdeps/unix/sysv/linux/kernel-features.h
28630 (__ASSUME_GETCWD_SYSCALL): Don't define.
28631 (__ASSUME_REALTIME_SIGNALS): Likewise.
28632 (__ASSUME_PREAD_SYSCALL): Likewise.
28633 (__ASSUME_PWRITE_SYSCALL): Likewise.
28634 (__ASSUME_POLL_SYSCALL): Likewise.
28635 (__ASSUME_LCHOWN_SYSCALL): Likewise.
28636 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
28638 (__ASSUME_SIOCGIFNAME): Don't define.
28639 (__ASSUME_MSG_NOSIGNAL): Likewise.
28640 (__ASSUME_SENDFILE): Define unconditionally.
28641 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
28642 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
28644 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
28645 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
28646 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
28647 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28648 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
28649 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
28650 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
28652 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28653 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
28655 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28656 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
28658 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28659 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
28661 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28662 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
28664 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28665 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
28667 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28668 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
28670 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28671 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
28673 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28674 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28675 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
28676 Remove conditional code.
28677 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28678 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
28679 Remove conditional code.
28680 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28681 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
28682 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
28683 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
28684 Remove conditional code.
28685 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28686 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
28687 Remove conditional code.
28688 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28689 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
28690 Remove conditional code.
28691 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28692 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
28693 Remove conditional code.
28694 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28695 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
28696 Remove conditional code.
28697 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28698 * sysdeps/unix/sysv/linux/sh/pwrite64.c
28699 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28700 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28701 * sysdeps/unix/sysv/linux/sigaction.c
28702 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28703 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28704 * sysdeps/unix/sysv/linux/sigpending.c
28705 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28706 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28707 * sysdeps/unix/sysv/linux/sigprocmask.c
28708 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28709 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28710 * sysdeps/unix/sysv/linux/sigsuspend.c
28711 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28712 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28713 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28714 (__libc_missing_rt_sigs): Remove.
28715 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
28716 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
28717 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
28718 Remove conditional code.
28719 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
28720 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
28722 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
28723 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
28724 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
28725 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
28727 2012-05-14 Andreas Jaeger <aj@suse.de>
28729 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
28730 it's not used in glibc.
28731 (__coshm1): Likewise.
28732 (__acosh1p): Likewise.
28735 * manual/string.texi (Copying and Concatenation): Add missing
28736 variable in concat example.
28737 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
28739 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28742 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
28743 __builtin_clzl with __builtin_clzll.
28745 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28748 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
28751 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28753 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
28754 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
28755 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
28756 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
28758 2012-05-14 Mike Frysinger <vapier@gentoo.org>
28760 * NEWS: Update ia64 info.
28762 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
28764 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
28767 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
28769 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
28770 * sysdeps/unix/syscalls.list (dup3): Likewise.
28771 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
28772 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
28774 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
28776 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
28777 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
28779 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
28781 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
28783 (TLS_IE): Use mov/add instead of movq/addq to load thread
28785 (TLS_GD_PREFIX): New.
28788 2012-05-11 David S. Miller <davem@davemloft.net>
28790 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
28791 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
28792 (_FPU_SETCW): Likewise.
28794 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28796 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
28797 is 32-byte aligned.
28799 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
28802 * iconvdata/gb18030.c: Update tables.
28803 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
28804 characters specially.
28805 (BODY for TO_LOOP): Add encoding of missing ranges.
28807 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
28810 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
28811 * sysdeps/mach/hurd/dup3.c: Likewise.
28812 * sysdeps/mach/hurd/readlinkat.c: Likewise.
28813 * sysdeps/powerpc/memmove.c:: Likewise.
28815 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28817 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
28818 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
28820 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28822 * elf/elf.h (R_X86_64_RELATIVE64): New.
28823 (R_X86_64_NUM): Updated.
28824 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
28825 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
28826 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
28827 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
28828 tst-quad1pie tst-quad2pie
28829 (modules-names): Add tst-quadmod1 tst-quadmod2.
28830 ($(objpfx)tst-quad1): New dependency.
28831 ($(objpfx)tst-quad2): Likewise.
28832 ($(objpfx)tst-quad1pie): Likewise.
28833 ($(objpfx)tst-quad2pie): Likewise.
28834 * sysdeps/x86_64/tst-quad1.c: New file.
28835 * sysdeps/x86_64/tst-quad1pie.c: New file.
28836 * sysdeps/x86_64/tst-quad2.c: Likewise.
28837 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
28838 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
28839 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
28840 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
28841 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
28843 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28845 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
28846 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
28847 * streams/stropts.h (t_scalar_t): Define type.
28849 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
28850 (_PATH_PRESERVE): Set to "/var/lib".
28851 (_PATH_RWHODIR): Set to "/var/spool/rwho".
28853 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
28856 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
28857 if __dir_mkfile succeeded.
28859 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
28860 checking for _hurd_dtablesize. Unlock it right after having
28861 finished _hurd_dtable allocation.
28863 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
28865 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
28866 * sysdeps/mach/hurd/configure: Regenerated.
28867 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
28868 special-casing to...
28869 * sysdeps/gnu/configure.in: ... this new file.
28870 * sysdeps/unix/sysv/linux/configure: Regenerated.
28871 * sysdeps/gnu/configure: New generated file.
28873 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
28874 for Linux: use nsec instead of usec, as well as:
28875 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
28876 members of type struct timespec.
28877 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
28879 (struct stat64): Likewise.
28880 (_STATBUF_ST_NSEC): New macro.
28881 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
28883 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28884 __strtoul_internal rather than strtoul.
28886 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28888 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
28891 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28893 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
28894 which preserves existing values.
28895 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
28897 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28899 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
28900 TIMEOUT values. Return EINVAL for NFDS values either negative or
28901 greater than FD_SETSIZE.
28903 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28905 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
28906 allocated, call __vm_protect to finish enabling the existing space, and
28907 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
28908 allocate the remainder.
28910 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28912 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
28913 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
28915 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28917 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
28918 sysdeps/mach/hurd/readlink.c.
28920 * posix/tst-sysconf.c (posix_options): Only use
28921 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
28922 _POSIX_SYNCHRONIZED_IO when they are defined
28923 * sysdeps/mach/hurd/bits/posix_opt.h:
28924 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
28925 (_XOPEN_REALTIME): Undefine macro.
28926 (_XOPEN_REALTIME_THREADS): Undefine macro.
28927 (_XOPEN_SHM): Undefine macro.
28928 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
28930 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
28932 (_POSIX_ASYNC_IO): Undefine macro.
28933 (_POSIX_PRIORITIZED_IO): Undefine macro.
28934 (_POSIX_SPIN_LOCKS): Define macro to -1.
28936 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
28937 SA_NODEFER, SA_RESETHAND.
28938 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
28939 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
28942 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
28944 * elf/Makefile (pldd-modules): Define unconditionally.
28946 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
28948 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
28950 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28952 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
28953 Return ENOENT when name is empty.
28954 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
28956 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
28958 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
28960 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
28962 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28964 Fix mlock in all cases except non-readable pages.
28965 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
28966 instead of VM_PROT_ALL as parameter to __vm_wire function.
28968 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
28969 (__mkdir): When path is `/', just fail with EEXIST.
28970 * sysdeps/mach/hurd/mkdirat.c: Likewise.
28972 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
28974 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
28975 <sys/uio.h> (for writev).
28976 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
28977 and <sys/param.h> (for MIN).
28979 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28981 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
28982 REQUESTED_TIME. Properly set the remaining time and return EINTR
28985 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
28987 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
28988 Depend on against $(link-rpcuserlibs).
28990 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28992 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
28993 (__libc_stack_end): Do not use attribute_relro.
28994 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
28995 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
28996 to libthread-provided value.
28997 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
29000 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29003 * bits/libc-lock.h (__libc_once_get): New macro.
29004 * sysdeps/mach/bits/libc-lock.h: Likewise.
29005 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
29006 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
29007 instead of using implementation details.
29009 * libio/fileops.c: Unconditionally include <kernel-features.h>.
29010 * libio/freopen.c: Likewise.
29011 * libio/freopen64.c: Likewise.
29012 * misc/syslog.c: Likewise.
29013 * nscd/connections.c: Likewise.
29014 * nscd/netgroupcache.c: Likewise.
29015 * sysdeps/posix/getcwd.c: Likewise.
29017 2012-05-10 Roland McGrath <roland@hack.frob.com>
29019 * math/w_ilogbf.c: Add #include <limits.h>.
29021 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29023 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
29024 path instead of returning without unlocking.
29026 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
29027 immediate-write ioctls.
29028 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
29030 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29032 * sysdeps/mach/hurd/i386/init-first.c (init): Use
29033 __builtin_frame_address instead of making assumptions about the
29034 location of the return address relative to DATA. Force early load of
29035 the return address.
29036 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
29037 __builtin_frame_address.
29040 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
29041 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
29042 implement dup3 and do some further code clean-ups.
29043 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
29044 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
29046 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29048 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
29050 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
29051 HURD_CRITICAL_END around holding _hurd_dtable_lock.
29052 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
29053 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
29054 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
29057 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
29058 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
29059 when handler == SIG_ERR, not when handler != SIG_ERR.
29061 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29063 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
29064 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
29067 accept4 for GNU Hurd.
29068 * include/sys/socket.h (__libc_accept4): New prototype.
29069 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
29070 to implement __libc_accept4.
29071 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
29073 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
29075 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
29076 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
29077 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
29078 signal-defines.sym.
29080 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29082 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
29084 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29086 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
29087 assertion on O_CLOEXEC flag.
29088 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
29089 * hurd/intern-fd.c: Likewise.
29090 * hurd/port2fd.c: Likewise.
29092 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29095 * bits/in.h (IPV6_PKTINFO): Define new macro.
29096 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
29098 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29103 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
29104 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29105 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
29106 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29107 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29108 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29109 * math/libm-test.inc (logb_test) : Additional logb tests.
29111 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
29112 Andreas Jaeger <aj@suse.de>
29114 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
29115 * configure: Regenerated.
29116 * config.h.in (LINK_OBSOLETE_RPC): New macro.
29117 * config.make.in (link-obsolete-rpc): New substituted variable.
29118 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
29119 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
29120 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29121 (shared-only-routines): Don't set it under [link-obsolete-rpc],
29122 so that libc.a contains the symbols.
29123 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29124 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
29125 * sunrpc/auth_none.c: Likewise.
29126 * sunrpc/auth_unix.c: Likewise.
29127 * sunrpc/authdes_prot.c: Likewise.
29128 * sunrpc/authuxprot.c: Likewise.
29129 * sunrpc/clnt_gen.c: Likewise.
29130 * sunrpc/clnt_perr.c: Likewise.
29131 * sunrpc/clnt_raw.c: Likewise.
29132 * sunrpc/clnt_simp.c: Likewise.
29133 * sunrpc/clnt_tcp.c: Likewise.
29134 * sunrpc/clnt_udp.c: Likewise.
29135 * sunrpc/clnt_unix.c: Likewise.
29136 * sunrpc/des_crypt.c: Likewise.
29137 * sunrpc/des_soft.c: Likewise.
29138 * sunrpc/get_myaddr.c: Likewise.
29139 * sunrpc/key_call.c: Likewise.
29140 * sunrpc/key_prot.c: Likewise.
29141 * sunrpc/netname.c: Likewise.
29142 * sunrpc/pm_getmaps.c: Likewise.
29143 * sunrpc/pm_getport.c: Likewise.
29144 * sunrpc/pmap_clnt.c: Likewise.
29145 * sunrpc/pmap_prot.c: Likewise.
29146 * sunrpc/pmap_prot2.c: Likewise.
29147 * sunrpc/pmap_rmt.c: Likewise.
29148 * sunrpc/publickey.c: Likewise.
29149 * sunrpc/rpc_cmsg.c: Likewise.
29150 * sunrpc/rpc_common.c: Likewise.
29151 * sunrpc/rpc_dtable.c: Likewise.
29152 * sunrpc/rpc_prot.c: Likewise.
29153 * sunrpc/rpc_thread.c: Likewise.
29154 * sunrpc/rtime.c: Likewise.
29155 * sunrpc/svc.c: Likewise.
29156 * sunrpc/svc_auth.c: Likewise.
29157 * sunrpc/svc_raw.c: Likewise.
29158 * sunrpc/svc_run.c: Likewise.
29159 * sunrpc/svc_tcp.c: Likewise.
29160 * sunrpc/svc_udp.c: Likewise.
29161 * sunrpc/svc_unix.c: Likewise.
29162 * sunrpc/svcauth_des.c: Likewise.
29163 * sunrpc/xcrypt.c: Likewise.
29164 * sunrpc/xdr.c: Likewise.
29165 * sunrpc/xdr_array.c: Likewise.
29166 * sunrpc/xdr_float.c: Likewise.
29167 * sunrpc/xdr_intXX_t.c: Likewise.
29168 * sunrpc/xdr_mem.c: Likewise.
29169 * sunrpc/xdr_rec.c: Likewise.
29170 * sunrpc/xdr_ref.c: Likewise.
29171 * sunrpc/xdr_sizeof.c: Likewise.
29172 * sunrpc/xdr_stdio.c: Likewise.
29174 2012-05-10 Roland McGrath <roland@hack.frob.com>
29176 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
29177 change. Update copyright years.
29179 2012-05-10 Joseph Myers <joseph@codesourcery.com>
29181 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
29183 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
29184 Joseph Myers <joseph@codesourcery.com>
29185 Paul Pluzhnikov <ppluzhnikov@google.com>
29188 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
29190 [cross-compiling] (extra-libs): Likewise.
29191 [cross-compiling] (extra-libs-others): Likewise.
29192 [cross-compiling] (librpcsvc-routines): Likewise.
29193 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
29194 [cross-compiling] (omit-deps): Likewise.
29195 (sunrpc-CPPFLAGS): New variable.
29196 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
29197 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
29198 (cross-rpcgen-objs): New variable.
29199 (extra-objs): Append $(cross-rpcgen-objs).
29200 ($(cross-rpcgen-objs)): New rule.
29201 ($(objpfx)cross-rpcgen): Likewise.
29202 (rpcgen-cmd): Define to use $(built-program-file). Expand
29204 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
29205 ($(objpfx)x%.stmp): Likewise.
29206 * sunrpc/proto.h [IS_IN_build] (_): Define.
29207 [IS_IN_build] (_libc_intl_domainname): Likewise.
29209 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29211 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
29212 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
29213 and R_X86_64_TPOFF64.
29215 2012-05-10 Joseph Myers <joseph@codesourcery.com>
29217 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
29218 sysdeps/unix/sysv/syscalls.list.
29221 * sysdeps/unix/sysv/syscalls.list: Remove file.
29223 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
29226 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
29227 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
29228 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
29229 (__LC_IDENTIFICATION): Make these macros useful in #if
29230 expressions, as required by C99.
29232 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
29234 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
29235 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
29238 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
29240 * stdlib/longlong.h: Updated from GCC.
29242 2012-05-09 Andreas Jaeger <aj@suse.de>
29244 * nscd/nscd.c (run_modes): Make named enum, reorder so that
29245 default is first entry.
29246 (run_mode): Set type.
29247 (main): Remove informal message about syslog.
29248 (options): Fix typo.
29251 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
29254 (llrintf): Likewise.
29255 (llrint): Likewise.
29258 (nearbyint): Likewise.
29259 (nearbyintf): Likewise.
29261 2012-05-09 Andreas Jaeger <aj@suse.de>
29262 Pedro Alves <palves@redhat.com>
29264 * nscd/nscd.c (run_mode): Use enum.
29265 (main): Cleanup coding style issue.
29267 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
29268 Andreas Jaeger <aj@suse.de>
29270 * nscd/nscd.c (go_background): Replaced with...
29271 (run_mode): ... this.
29272 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
29273 (options): Add -F --foreground.
29274 (main): Implement it.
29275 (parse_opt): Parse it.
29277 2012-05-09 Andreas Jaeger <aj@suse.de>
29280 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
29281 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
29282 -Wconversion warning.
29283 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
29286 2012-05-09 Joseph Myers <joseph@codesourcery.com>
29288 * conform/data/locale.h-data (NULL): Use macro-constant. Require
29290 (LC_ALL): Use macro-int-constant.
29291 (LC_COLLATE): Likewise.
29292 (LC_CTYPE): Likewise.
29293 (LC_MESSAGES): Likewise.
29294 (LC_MONETARY): Likewise.
29295 (LC_NUMERIC): Likewise.
29296 (LC_TIME): Likewise.
29297 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
29298 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29299 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29300 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
29302 [C99-based standards] (float_t): Expect type.
29303 [C99-based standards] (double_t): Expect type.
29304 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
29306 [C99-based standards] (HUGE_VALL): Likewise.
29307 [C99-based standards] (INFINITY): Likewise.
29308 [C99-based standards] (NAN): Likewise.
29309 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
29310 [C99-based standards] (FP_NAN): Likewise.
29311 [C99-based standards] (FP_NORMAL): Likewise.
29312 [C99-based standards] (FP_SUBNORMAL): Likewise.
29313 [C99-based standards] (FP_ZERO): Likewise.
29314 [C99-based standards] (FP_FAST_FMA): Use
29315 optional-macro-int-constant. Specify type. Require == 1.
29316 [C99-based standards] (FP_FAST_FMAF): Likewise.
29317 [C99-based standards] (FP_FAST_FMAL): Likewise.
29318 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
29319 [C99-based standards] (FP_ILOGBNAN): Likewise.
29320 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
29322 [C99-based standards] (MATH_ERREXCEPT): Likewise.
29323 [C99-based standards] (math_errhandling): Specify type.
29324 [ISO99 || ISO11] (signgam): Do not allow.
29325 [non-C99-based standards] (copysignf): Do not allow.
29326 [non-C99-based standards] (exp2f): Likewise.
29327 [non-C99-based standards] (log2f): Likewise.
29328 [non-C99-based standards] (modff): Allow.
29329 [non-C99-based standards] (erff): Do not allow.
29330 [non-C99-based standards] (erfcf): Likewise.
29331 [non-C99-based standards] (gammaf): Likewise.
29332 [non-C99-based standards] (hypotf): Likewise.
29333 [non-C99-based standards] (j0f): Likewise.
29334 [non-C99-based standards] (j1f): Likewise.
29335 [non-C99-based standards] (jnf): Likewise.
29336 [non-C99-based standards] (lgammaf): Likewise.
29337 [non-C99-based standards] (tgammaf): Likewise.
29338 [non-C99-based standards] (y0f): Likewise.
29339 [non-C99-based standards] (y1f): Likewise.
29340 [non-C99-based standards] (ynf): Likewise.
29341 [non-C99-based standards] (isnanf): Likewise.
29342 [non-C99-based standards] (acoshf): Likewise.
29343 [non-C99-based standards] (asinhf): Likewise.
29344 [non-C99-based standards] (atanhf): Likewise.
29345 [non-C99-based standards] (cbrtf): Likewise.
29346 [non-C99-based standards] (expm1f): Likewise.
29347 [non-C99-based standards] (ilogbf): Likewise.
29348 [non-C99-based standards] (log1pf): Likewise.
29349 [non-C99-based standards] (logbf): Likewise.
29350 [non-C99-based standards] (nextafterf): Likewise.
29351 [non-C99-based standards] (remainderf): Likewise.
29352 [non-C99-based standards] (rintf): Likewise.
29353 [non-C99-based standards] (scalbf): Likewise.
29354 [non-C99-based standards] (copysignl): Likewise.
29355 [non-C99-based standards] (exp2l): Likewise.
29356 [non-C99-based standards] (log2l): Likewise.
29357 [non-C99-based standards] (modfl): Allow.
29358 [non-C99-based standards] (erfl): Do not allow.
29359 [non-C99-based standards] (erfcl): Likewise.
29360 [non-C99-based standards] (gammal): Likewise.
29361 [non-C99-based standards] (hypotl): Likewise.
29362 [non-C99-based standards] (j0l): Likewise.
29363 [non-C99-based standards] (j1l): Likewise.
29364 [non-C99-based standards] (jnl): Likewise.
29365 [non-C99-based standards] (lgammal): Likewise.
29366 [non-C99-based standards] (tgammal): Likewise.
29367 [non-C99-based standards] (y0l): Likewise.
29368 [non-C99-based standards] (y1l): Likewise.
29369 [non-C99-based standards] (ynl): Likewise.
29370 [non-C99-based standards] (isnanl): Likewise.
29371 [non-C99-based standards] (acoshl): Likewise.
29372 [non-C99-based standards] (asinhl): Likewise.
29373 [non-C99-based standards] (atanhl): Likewise.
29374 [non-C99-based standards] (cbrtl): Likewise.
29375 [non-C99-based standards] (expm1l): Likewise.
29376 [non-C99-based standards] (ilogbl): Likewise.
29377 [non-C99-based standards] (log1pl): Likewise.
29378 [non-C99-based standards] (logbl): Likewise.
29379 [non-C99-based standards] (nextafterl): Likewise.
29380 [non-C99-based standards] (remainderl): Likewise.
29381 [non-C99-based standards] (rintl): Likewise.
29382 [non-C99-based standards] (scalbl): Likewise.
29383 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29384 [non-C99-based standards] (FP_*): Do not allow.
29385 [C99-based standards] (FP_*): Change to
29386 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29387 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29389 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
29390 (SIG_ERR): Likewise.
29391 [X/Open-based standards] (SIG_HOLD): Likewise.
29392 (SIG_IGN): Likewise.
29393 (SIGABRT): Use macro-int-constant. Specify type. Require
29395 (SIGFPE): Likewise.
29396 (SIGILL): Likewise.
29397 (SIGINT): Likewise.
29398 (SIGSEGV): Likewise.
29399 (SIGTER): Likewise.
29400 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
29401 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
29402 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
29403 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
29404 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
29405 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
29406 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
29407 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
29408 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
29409 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
29410 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
29411 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
29412 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
29413 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
29414 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
29415 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
29416 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
29417 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
29418 [X/Open-based standards] (SIGTRAP): Likewise.
29419 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
29420 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
29421 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
29422 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
29423 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29426 2012-05-08 Ian Wienand <ianw@vmware.com>
29429 * time/tzset.c (__tzset_parse_tz): Update default rules for
29430 daylight time changes in the Energy Policy Act of 2005.
29432 2012-05-09 Andreas Jaeger <aj@suse.de>
29435 * elf/ldconfig.c (parse_conf): Change string to make clear that
29436 ldconfig only issued a warning if ld.so.conf does not exist.
29438 2012-05-08 David S. Miller <davem@davemloft.net>
29440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
29441 movxtod instead of popping the value on the stack.
29443 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29445 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
29447 * config.h.in: Add HAVE_ARM_PCS_VFP.
29449 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
29452 * include/features.h: Warn if user requests __FORTIFY_SOURCE
29453 checking but the checks are disabled for any reason.
29455 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
29457 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
29458 and ELF64_R_TYPE with ELFW(R_TYPE).
29460 2012-05-08 Joseph Myers <joseph@codesourcery.com>
29462 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
29463 (ulimit): Likewise.
29465 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
29466 (settimeofday): Likewise.
29468 2012-05-08 Mike Frysinger <vapier@gentoo.org>
29470 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
29471 a struct th_u2 inside the union, and move tu_block/tu_code into
29472 a new th_u3 union of tu_block/tu_code inside of that. Move
29473 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
29474 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
29475 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
29476 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
29477 (th_stuff): Change to th_u1.tu_stuff.
29479 (th_msg): Change to th_u1.th_u2.tu_data.
29481 2012-05-07 David S. Miller <davem@davemloft.net>
29483 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29486 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
29487 (SETUP_PIC_REG): Use it.
29488 (SETUP_PIC_REG_LEAF): Use it.
29490 2012-05-07 Joseph Myers <joseph@codesourcery.com>
29494 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29496 (EXPL_FINITE): Likewise.
29497 (FLDLOG): Likewise.
29498 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
29499 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
29501 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29503 (EXPL_FINITE): Likewise.
29504 (FLDLOG): Likewise.
29505 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
29506 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
29508 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
29509 test of -max_value argument for long double.
29510 * sysdeps/i386/fpu/libm-test-ulps: Update.
29511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29513 2012-05-06 David S. Miller <davem@davemloft.net>
29515 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
29516 quad soft-float symbols whose references which are compiler
29518 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29520 2012-05-06 Joseph Myers <joseph@codesourcery.com>
29524 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29526 (EXPL_FINITE): Likewise.
29527 (FLDLOG): Likewise.
29530 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
29531 Adjust comments for base varying.
29532 (__expl_finite): Change alias to EXPL_FINITE.
29533 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
29535 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
29536 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
29537 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
29538 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
29539 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29541 (EXPL_FINITE): Likewise.
29542 (FLDLOG): Likewise.
29545 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
29546 Adjust comments for base varying.
29547 (__expl_finite): Change alias to EXPL_FINITE.
29548 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
29550 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29553 * math/libm-test.inc (check_float_internal): Correct ulp
29554 calculation for subnormal expected results.
29556 2012-05-06 Andreas Jaeger <aj@suse.de>
29558 * Makeconfig (+math-flags): New, set to -frounding-math.
29559 (+cflags): Add +math-flags so that all of glibc gets compiled with
29562 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
29564 2012-05-05 Joseph Myers <joseph@codesourcery.com>
29566 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
29572 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
29573 (__ieee754_expl): Allow for and saturate large arguments.
29574 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
29575 (u_threshold): Likewise.
29576 (__exp): Call __ieee754_exp before checking for overflow and
29578 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
29579 (u_threshold): Likewise.
29580 (__expf): Call __ieee754_expf before checking for overflow and
29582 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
29583 (u_threshold): Likewise.
29584 (__expl): Call __ieee754_expl before checking for overflow and
29586 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
29587 (__ieee754_expl): Allow for and saturate large arguments.
29588 * math/libm-test.inc (exp_test): Add another test. Do not allow
29589 missing overflow exception on overflow.
29590 (expm1_test): Do not allow missing overflow exception on overflow.
29592 * sysdeps/i386/fpu/e_expl.c: Move to ...
29593 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
29594 rather than using inline asm.
29595 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
29596 * sysdeps/x86_64/fpu/e_expl.S: Copy from
29597 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
29599 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
29602 (signal): Likewise.
29606 2012-05-04 Joseph Myers <joseph@codesourcery.com>
29608 * sysdeps/unix/syscalls.list (adjtime): Add entry from
29609 sysdeps/unix/common/syscalls.list.
29610 (fchmod): Likewise.
29611 (fchown): Likewise.
29612 (ftruncate): Likewise.
29613 (getrusage): Likewise.
29614 (gettimeofday): Likewise.
29615 (setpgid): Likewise.
29616 (setregid): Likewise.
29617 (setreuid): Likewise.
29618 (sigaction): Likewise.
29619 (truncate): Likewise.
29620 (vhangup): Likewise.
29621 * sysdeps/unix/common/syscalls.list: Remove file.
29622 * sysdeps/unix/bsd/Implies: Don't include unix/common.
29623 * sysdeps/unix/sysv/linux/Implies: Likewise.
29625 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
29627 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
29628 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
29629 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
29631 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
29633 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
29635 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
29636 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
29638 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
29639 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
29641 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
29642 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
29644 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
29645 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
29647 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
29648 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
29650 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
29651 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
29653 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
29655 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
29657 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
29659 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
29661 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
29662 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
29664 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
29666 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
29668 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
29670 2012-05-04 Joseph Myers <joseph@codesourcery.com>
29672 * sysdeps/unix/common/bits/dirent.h: Remove file.
29673 * sysdeps/unix/common/bits/fcntl.h: Likewise.
29675 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
29676 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
29677 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
29678 * sysdeps/unix/bsd/isatty.c: Likewise.
29679 * sysdeps/unix/bsd/tcdrain.c: Likewise.
29680 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
29681 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
29683 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29686 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
29687 long double comparison inaccuracies.
29688 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
29689 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29691 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
29693 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
29694 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
29696 2012-05-04 Joseph Myers <joseph@codesourcery.com>
29699 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
29700 nonzero digits before rounding a hex value.
29701 * stdlib/tst-strtod.c (tests): Add another test.
29703 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29705 * sysdeps/s390/fpu/libm-test-ulps: Update.
29707 2012-05-03 Andreas Jaeger <aj@suse.de>
29709 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
29710 does not get optimized out.
29711 (malloc_opt_barrier): New.
29713 2012-05-03 Andreas Jaeger <aj@suse.de>
29714 Roland McGrath <roland@hack.frob.com>
29716 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
29717 intermediate file deletion.
29718 (generated): Add .symlist files.
29720 2012-05-03 Joseph Myers <joseph@codesourcery.com>
29723 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
29724 Redirect under this condition.
29725 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
29726 [__USE_GNU] (__dprintf_chk): Not under this condition.
29727 [__USE_GNU] (__vdprintf_chk): Likewise.
29728 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
29729 under this condition.
29730 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
29731 [__USE_XOPEN2K8] (dprintf): Define under this condition.
29732 [__USE_XOPEN2K8] (vdprintf): Likewise.
29733 [__USE_GNU] (__dprintf_chk): Not under this condition.
29734 [__USE_GNU] (__vdprintf_chk): Likewise.
29735 [__USE_GNU] (dprintf): Likewise.
29736 [__USE_GNU] (vdprintf): Likewise.
29738 2012-05-03 Roland McGrath <roland@hack.frob.com>
29740 * elf/Makefile (common-generated): Set this instead of generated for
29741 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
29742 $(all-built-dso)-derived lists.
29744 2012-05-03 Andreas Jaeger <aj@suse.de>
29746 * sysdeps/i386/fpu/libm-test-ulps: Update.
29749 * FAQ.in: Likewise.
29750 * scripts/gen-FAQ.pl: Likewise.
29751 * manual/install.texi (Installation): Point to online location of
29753 * Makefile (files-for-dist): Remove FAQ.
29756 2012-05-02 Allan McRae <allan@archlinux.org>
29758 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
29759 (LDFLAGS-reldepmod5.so): Likewise.
29760 (LDFLAGS-reldep6mod1.so): Likewise.
29761 (LDFLAGS-reldep6mod4.so): Likewise.
29762 (LDFLAGS-reldep8mod3.so): Likewise.
29763 (LDFLAGS-unload4mod1.so): Likewise.
29764 (LDFLAGS-unload4mod2.so): Likewise.
29765 (LDFLAGS-tst-initorder): Likewise.
29766 (LDFLAGS-tst-initordera2.so): Likewise.
29767 (LDFLAGS-tst-initordera3.so): Likewise.
29768 (LDFLAGS-tst-initordera4.so): Likewise.
29769 (LDFLAGS-tst-initorderb2.so): Likewise.
29770 (LDFLAGS-noload): Likewise.
29771 (LDFLAGS-next): Likewise.
29772 (LDFLAGS-order2mod1.so): Likewise.
29773 (LDFLAGS-order2mod2.so): Likewise.
29774 (LDFLAGS-tst-initorder2): Likewise.
29775 (LDFLAGS-tst-initorder2a.so): Likewise.
29776 (LDFLAGS-tst-initorder2b.so): Likewise.
29777 (LDFLAGS-tst-initorder2c.so): Likewise.
29778 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
29780 2012-05-02 David S. Miller <davem@davemloft.net>
29782 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29784 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
29787 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
29789 2012-05-02 Andreas Jaeger <aj@suse.de>
29791 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
29792 since we manipulate rounding mode.
29793 (CPPFLAGS-test-idouble.c): Likewise.
29794 (CPPFLAGS-test-ifloat.c): Likewise.
29795 (CFLAGS-test-ldouble.c): Likewise.
29796 (CFLAGS-test-double.c): Likewise.
29797 (CFLAGS-test-float.c): Likewise.
29798 (CFLAGS-test-misc.c): Likewise.
29799 (CFLAGS-test-test-fenv.c): Likewise.
29801 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29805 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
29806 comparisons to determine direction to adjust input.
29808 2012-05-01 Roland McGrath <roland@hack.frob.com>
29810 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
29811 output to the target.
29813 * scripts/localplt.awk: New file.
29814 * elf/Makefile ($(objpfx)check-localplt): Target removed.
29815 (check-localplt-CFLAGS): Variable removed.
29816 ($(all-built-dso:=.jmprel)): New static pattern rule.
29817 (generated): Add those targets.
29818 (localplt-built-dso): New variable.
29819 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
29821 * elf/check-localplt.c: File removed.
29823 * scripts/check-execstack.awk: New file.
29824 * elf/Makefile ($(objpfx)check-execstack): Target removed.
29825 (check-execstack-CFLAGS): Variable removed.
29826 ($(objpfx)check-execstack.h): Target removed.
29827 ($(objpfx)execstack-default): New target.
29828 (generated): Add that instead of check-execstack.h.
29829 ($(all-built-dso:=.phdr)): New static pattern rule.
29830 (generated): Add those targets.
29831 * elf/check-execstack.c: File removed.
29833 * scripts/check-textrel.awk: New file.
29834 * elf/Makefile ($(objpfx)check-textrel): Target removed.
29835 (check-textrel-CFLAGS): Variable removed.
29836 (all-built-dso): Use := to define.o
29837 ($(all-built-dso:=.dyn)): New static pattern rule.
29838 (generated): Add those targets.
29839 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
29840 * config.make.in (READELF): New substituted variable.
29841 * elf/check-textrel.c: File removed.
29843 2012-05-01 Joseph Myers <joseph@codesourcery.com>
29845 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29847 * conform/data/ctype.h-data [C99-based standards] (isblank):
29849 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
29850 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
29851 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29852 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
29853 Specify type. Require positive value.
29854 (EILSEQ): Likewise.
29855 (ERANGE): Likewise.
29856 [ISO || POSIX] (EILSEQ): Do not expect.
29857 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
29858 Specify type. Require positive value.
29859 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
29860 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
29861 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
29862 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
29863 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
29864 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
29865 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
29866 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
29867 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
29868 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
29869 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
29870 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
29871 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
29872 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
29873 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
29874 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
29875 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
29876 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
29877 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
29878 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
29879 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
29880 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
29881 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
29882 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
29883 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
29884 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
29885 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
29886 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
29887 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
29888 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
29889 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
29890 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
29891 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
29892 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
29893 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
29894 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
29895 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
29896 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
29897 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
29898 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
29899 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
29900 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
29901 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
29902 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
29903 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
29904 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
29905 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
29906 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
29907 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
29908 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
29909 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
29910 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
29911 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
29912 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
29913 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
29914 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
29915 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
29916 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
29917 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
29918 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
29919 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
29920 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
29921 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
29922 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
29923 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
29924 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
29925 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
29926 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
29927 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
29928 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
29929 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
29930 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
29931 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
29932 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
29933 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
29934 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
29935 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
29937 (FLT_ROUNDS): Expect as macro, not constant.
29938 (FLT_MANT_DIG): Use macro-int-constant.
29939 (DBL_MANT_DIG): Likewise.
29940 (LDBL_MANT_DIG): Likewise.
29941 (FLT_DIG): Likewise.
29942 (DBL_DIG): Likewise.
29943 (LDBL_DIG): Likewise.
29944 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
29945 (DBL_MIN_EXP): Likewise.
29946 (LDBL_MIN_EXP): Likewise.
29947 (FLT_MAX_EXP): Use macro-int-constant.
29948 (DBL_MAX_EXP): Likewise.
29949 (LDBL_MAX_EXP): Likewise.
29950 (FLT_MAX_10_EXP): Likewise.
29951 (DBL_MAX_10_EXP): Likewise.
29952 (LDBL_MAX_10_EXP): Likewise.
29953 (FLT_MAX): Use macro-constant.
29954 (DBL_MAX): Likewise.
29955 (LDBL_MAX): Likewise.
29956 (FLT_EPSILON): Use macro-constant. Give upper bound.
29957 (DBL_EPSILON): Likewise.
29958 (LDBL_EPSILON): Likewise.
29959 (FLT_MIN): Likewise.
29960 (DBL_MIN): Likewise.
29961 (LDBL_MIN): Likewise.
29962 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
29963 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
29964 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
29965 [ISO11] (FLT_HAS_SUBNORM): Likewise.
29966 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
29967 [ISO11] (DBL_DECIMAL_DIG): Likewise.
29968 [ISO11] (FLT_DECIMAL_DIG): Likewise.
29969 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
29970 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
29971 [ISO11] (FLT_TRUE_MIN): Likewise.
29972 [ISO11] (LDBL_TRUE_MIN): Likewise.
29973 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29974 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
29975 (SCHAR_MIN): Use macro-int-constant. Specify type.
29976 (SCHAR_MAX): Likewise.
29977 (UCHAR_MAX): Likewise.
29978 (CHAR_MIN): Likewise.
29979 (CHAR_MAX): Likewise.
29980 (MB_LEN_MAX): Use macro-int-constant.
29981 (SHRT_MIN): Use macro-int-constant. Specify type.
29982 (SHRT_MAX): Likewise.
29983 (USHRT_MAX): Likewise.
29984 (INT_MAX): Likewise.
29985 (INT_MIN): Use macro-int-constant. Specify type. Make upper
29987 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
29989 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
29991 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
29992 bound negative. Suffix upper bound with "L".
29993 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
29995 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
29997 [C99-based standards] (LLONG_MAX): Likewise.
29998 [C99-based standards] (ULLONG_MAX): Likewise.
29999 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
30001 [ISO11] (max_align_t): Require type.
30002 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30004 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
30005 from $CFLAGS, without defining away __attribute__ calls.
30006 (checknamespace): Use $CFLAGS_namespace.
30008 * conform/conformtest.pl (@keywords): Only include C99 keywords
30009 for standards based on C99 or C11.
30011 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
30013 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
30016 * conform/conformtest.pl: Handle "macro-int-constant" and test for
30017 usability of symbols in #if.
30019 * conform/conformtest.pl: If macro or constant types start
30020 "promoted:", expect the symbol to be of the following type
30021 promoted by the integer promotions.
30023 * conform/conformtest.pl: Parse all "constant" and "macro" lines
30024 in one place. Also handle "macro-constant".
30026 * conform/conformtest.pl: Only accept expected macro values with
30027 "==". Parse all "macro" lines in one place.
30028 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
30030 * conform/conformtest.pl: Handle braced types on "constant" lines
30031 instead of handling "typed-constant".
30032 * conform/data/signal.h-data: Use "constant" instead of
30035 * conform/conformtest.pl: Handle "optional-" at start of lines in
30036 one place rather than duplicating several cases. Handle each
30037 format of "macro" line with initial "optional-".
30039 * conform/conformtest.pl: Only accept expected constant or
30040 optional-constant values with "==". Parse all "constant" lines in
30041 one place. Parse all "optional-constant" lines in one place.
30042 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
30043 * conform/data/fmtmsg.h-data: Likewise.
30044 * conform/data/netinet/in.h-data: Likewise.
30045 * conform/data/tar.h-data: Likewise.
30046 * conform/data/limits.h-data: Use "==" form on "constant" and
30047 "optional-constant" lines.
30049 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
30050 Use -std=c99 for XOPEN2K.
30051 (@knownproblems): Remove.
30052 (newtoken): Don't check %isknown.
30054 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
30055 Do not expect macro.
30056 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
30057 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
30058 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
30059 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
30060 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
30061 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
30062 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
30063 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
30064 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
30065 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
30066 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
30067 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
30068 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
30069 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
30070 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
30071 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
30072 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
30073 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
30074 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
30075 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
30076 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
30077 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
30078 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
30079 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
30080 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
30081 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
30082 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
30083 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
30084 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
30085 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
30086 [XPG3] (acosh): Likewise.
30087 [XPG3] (asinh): Likewise.
30088 [XPG3] (atanh): Likewise.
30089 [XPG3] (cbrt): Likewise.
30090 [XPG3] (expm1): Likewise.
30091 [XPG3] (ilogb): Likewise.
30092 [XPG3] (log1p): Likewise.
30093 [XPG3] (logb): Likewise.
30094 [XPG3] (nextafter): Likewise.
30095 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
30096 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
30097 [XPG3] (remainder): Likewise.
30098 [XPG3] (rint): Likewise.
30099 [XPG3 || XPG4 || UNIX98] (round): Likewise.
30100 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
30101 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
30102 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
30103 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
30104 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
30105 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
30106 [UNIX98 || XOPEN2K] (scalb): Expect.
30107 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
30108 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
30109 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
30110 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
30111 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
30112 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
30113 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
30114 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
30115 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
30116 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
30117 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
30118 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
30119 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
30120 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
30121 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
30122 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
30123 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
30124 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
30125 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
30126 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
30127 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
30128 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
30129 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
30130 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
30131 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
30132 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
30133 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
30134 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
30135 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
30136 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
30137 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
30138 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
30139 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
30140 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
30141 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
30142 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
30143 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
30144 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
30145 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
30146 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
30147 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
30148 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
30149 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
30150 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
30151 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
30152 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
30153 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
30154 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
30155 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
30156 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
30157 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
30158 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
30159 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
30160 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
30161 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
30162 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
30163 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
30164 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
30165 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
30166 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
30167 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
30168 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
30169 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
30170 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
30171 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
30172 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
30173 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
30174 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
30175 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
30176 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
30177 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
30178 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
30179 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
30180 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
30181 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
30182 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
30183 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
30184 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
30185 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
30186 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
30187 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
30188 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
30189 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
30190 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
30191 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
30192 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
30193 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
30194 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
30195 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
30196 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
30197 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
30198 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
30199 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
30200 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
30201 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
30202 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
30203 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
30204 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
30205 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
30206 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
30207 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
30208 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
30209 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
30210 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
30211 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
30212 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
30213 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
30214 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
30215 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
30216 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
30217 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
30218 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
30219 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
30220 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
30221 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
30222 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
30223 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
30224 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
30225 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
30226 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
30227 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
30228 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
30229 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
30230 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
30231 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
30232 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
30233 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
30234 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
30235 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
30236 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
30237 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
30238 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
30239 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
30240 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
30241 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
30242 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
30243 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
30245 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
30246 _XOPEN_SOURCE_EXTENDED for XPG4.
30248 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
30250 * Makeconfig (localtime): Remove variable.
30251 (inst_localtime-file): Likewise.
30253 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
30267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
30271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30274 2012-05-01 Joseph Myers <joseph@codesourcery.com>
30278 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
30279 comparisons to determine direction to adjust input.
30280 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30281 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
30282 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30284 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30286 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30288 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
30289 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30291 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30293 * math/libm-test.inc (nexttoward_test): Add more tests.
30295 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30298 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
30299 in version GLIBC_2.1, not GLIBC_2.0.
30300 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
30303 2012-04-30 Joseph Myers <joseph@codesourcery.com>
30306 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
30308 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30309 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
30310 * math/libm-test.inc (acos_test): Add more tests.
30311 (asin_test): Likewise.
30312 * sysdeps/i386/fpu/libm-test-ulps: Update.
30313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30316 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
30318 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
30319 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30320 * math/libm-test.inc (acos_test_tonearest): New function.
30321 (acos_test_towardzero): Likewise.
30322 (acos_test_downward): Likewise.
30323 (acos_test_upward): Likewise.
30324 (asin_test_tonearest): Likewise.
30325 (asin_test_towardzero): Likewise.
30326 (asin_test_downward): Likewise.
30327 (asin_test_upward): Likewise.
30328 (main): Call the new functions.
30329 * sysdeps/i386/fpu/libm-test-ulps: Update.
30330 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30334 * math/e_exp10.c: Include <float.h>.
30335 (__ieee754_exp10): Handle underflow here rather than multiplying
30336 large negative argument by M_LN10.
30337 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
30339 * math/e_exp10l.c: Include <float.h>.
30340 (__ieee754_exp10l): Handle underflow here rather than multiplying
30341 large negative argument by M_LN10l.
30342 * math/libm-test.inc (exp10_test): Add another test. Do not allow
30343 spurious overflow exception on underflow.
30345 2012-04-29 Marek Polacek <polacek@redhat.com>
30347 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
30348 (__fortify_function): New macro.
30349 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
30350 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
30351 __extern_always_inline.
30352 * libio/bits/stdio2.h: Likewise.
30353 * libio/bits/stdio.h: Likewise.
30354 * string/string.h: Likewise.
30355 * string/bits/string3.h: Likewise.
30356 * include/stdio.h: Likewise.
30357 * stdlib/bits/stdlib.h: Likewise.
30358 * stdlib/stdlib.h: Likewise.
30359 * rt/bits/mqueue2.h: Likewise.
30360 * rt/mqueue.h: Likewise.
30361 * posix/bits/unistd.h: Likewise.
30362 * posix/unistd.h: Likewise.
30363 * io/bits/poll2.h: Likewise.
30364 * io/bits/fcntl2.h: Likewise.
30365 * io/fcntl.h: Likewise.
30366 * io/sys/poll.h: Likewise.
30367 * misc/bits/syslog.h: Likewise.
30368 * misc/bits/syslog-ldbl.h: Likewise.
30369 * misc/sys/syslog.h: Likewise.
30370 * socket/bits/socket2.h: Likewise.
30371 * socket/sys/socket.h: Likewise.
30372 * debug/tst-chk1.c: Likewise.
30373 * wcsmbs/bits/wchar2.h: Likewise.
30374 * wcsmbs/bits/wchar-ldbl.h: Likewise.
30375 * wcsmbs/wchar.h: Likewise.
30377 2012-04-29 Andreas Jaeger <aj@suse.de>
30379 * Makerules (tests): Remove enable-check-abi protection.
30380 (check-abi-warn): Remove.
30381 (check-abi-%): Remove check-abi-warn usage.
30383 * configure.in: Remove check-abi configure option.
30384 * configure: Regenerated.
30385 * config.make.in (enable-check-abi): Remove.
30387 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
30390 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
30391 double functions to double *_finite functions.
30394 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
30395 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
30397 * stdio-common/Makefile (tests): Add tst-sprintf3.
30398 * stdio-common/tst-sprintf3.c: New file.
30400 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
30401 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
30403 2012-04-28 Joseph Myers <joseph@codesourcery.com>
30405 * conform/conformtest.pl: Remove duplicate typed-constant
30408 2012-04-28 David S. Miller <davem@davemloft.net>
30410 * Makerules (%.abilist): Add vpath on sysdep_dirs.
30411 (check-abi-%): Remove AWK script prerequisite and explicit
30413 (check-abi): Rewrite to just diff the symlist with the abilist.
30414 (config-tls, config-abi-config): Delete, no longer used.
30415 (update-abi-%): Remove AWK script and explicit abilist directory.
30416 (update-abi): Rewrite to simply compare and conditionally copy the
30417 symlist and the sysdep abilist file. Remove update-abi-config
30419 * abilist/ld.abilist: Remove.
30420 * abilist/libBrokenLocale.abilist: Remove.
30421 * abilist/libanl.abilist: Remove.
30422 * abilist/libcrypt.abilist: Remove.
30423 * abilist/libdl.abilist: Remove.
30424 * abilist/librt.abilist: Remove.
30425 * abilist/libthread_db.abilist: Remove.
30426 * abilist/libutil.abilist: Remove.
30427 * scripts/extract-abilist.awk: Remove.
30428 * scripts/merge-abilist.awk: Remove.
30429 * sysdeps/generic/libcidn.abilist: New file.
30430 * sysdeps/generic/libnss_compat.abilist: New file.
30431 * sysdeps/generic/libnss_db.abilist: New file.
30432 * sysdeps/generic/libnss_dns.abilist: New file.
30433 * sysdeps/generic/libnss_files.abilist: New file.
30434 * sysdeps/generic/libnss_hesiod.abilist: New file.
30435 * sysdeps/generic/libnss_nis.abilist: New file.
30436 * sysdeps/generic/libnss_nisplus.abilist: New file.
30437 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
30438 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
30439 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
30441 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
30442 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
30443 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
30444 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
30445 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
30446 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
30447 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
30448 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
30449 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
30451 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
30452 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
30453 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
30454 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
30456 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
30457 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
30458 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
30459 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
30460 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
30461 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
30463 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
30464 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
30465 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
30467 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
30468 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
30470 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
30472 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
30474 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
30476 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
30478 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
30480 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
30482 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
30484 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
30486 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
30488 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
30490 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
30492 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
30494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
30496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
30498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
30500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
30502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
30504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
30506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
30508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
30510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
30514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
30516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
30518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
30520 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
30521 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
30523 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
30525 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
30527 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
30529 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
30531 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
30533 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
30535 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30537 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
30539 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
30541 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
30543 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
30545 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
30546 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
30548 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
30550 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
30552 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
30554 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
30556 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
30558 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
30560 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30562 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
30564 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
30566 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
30568 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
30570 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30571 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
30572 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
30574 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
30575 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
30576 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
30577 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
30578 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
30579 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
30580 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
30581 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
30582 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
30583 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
30584 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
30585 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
30587 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
30589 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
30591 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
30593 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
30595 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
30597 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
30599 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30601 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
30603 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
30605 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
30607 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
30609 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
30610 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
30612 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
30614 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
30616 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
30618 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
30620 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
30622 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
30624 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30626 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
30628 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
30630 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
30632 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
30635 2012-04-28 Joseph Myers <joseph@codesourcery.com>
30637 * conform/conformtest.pl: Fix typo in handling typed-constant from
30640 2012-04-27 Joseph Myers <joseph@codesourcery.com>
30642 * README: Cut down references to pre-2.6 Linux kernels and
30643 Linuxthreads. Update lists of configurations in libc and ports
30644 and sort alphabetically. Say "or newer" with Linux kernel version
30647 * config.h.in [IS_IN_build]: Allow compiling without optimization.
30649 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30652 * math/libm-test.inc (logb_test_downward): New test to expose
30653 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
30656 2012-04-27 Joseph Myers <joseph@codesourcery.com>
30659 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
30661 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
30662 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
30664 2012-04-26 Joseph Myers <joseph@codesourcery.com>
30666 * sysdeps/unix/i386/brk.S: Remove file.
30667 * sysdeps/unix/i386/dl-brk.S: Likewise.
30668 * sysdeps/unix/i386/pipe.S: Likewise.
30669 * sysdeps/unix/i386/sigreturn.S: Likewise.
30670 * sysdeps/unix/i386/syscall.S: Likewise.
30671 * sysdeps/unix/i386/vfork.S: Likewise.
30672 * sysdeps/unix/i386/wait.S: Likewise.
30674 * sysdeps/unix/common/tcsendbrk.c: Move to ...
30675 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
30677 * configure.in (arm*-none*): Do not allow without
30678 --enable-hacker-mode.
30679 (netbsd*): Remove case setting base_os.
30680 (386bsd*): Likewise.
30681 (freebsd*): Likewise.
30684 (sunos*): Likewise.
30685 (ultrix*): Likewise.
30686 (newsos*): Likewise.
30687 (dynix*): Likewise.
30693 (minix*): Likewise.
30694 (irix4*): Likewise.
30695 (irix6*): Likewise.
30696 (solaris[2-9]*): Likewise.
30698 * configure: Regenerated.
30700 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30703 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
30704 overflow or cancellation in calculating denominator.
30705 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
30706 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
30707 down expression to avoid unexpected rounding in newer GCCs.
30708 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
30710 2012-04-26 David S. Miller <davem@davemloft.net>
30712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
30713 long-double compat symbols.
30714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
30716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
30717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
30718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
30719 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
30720 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
30721 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
30722 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
30723 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
30724 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
30725 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
30726 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30728 2012-04-25 David S. Miller <davem@davemloft.net>
30730 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
30731 HWCAP_* values only after the memory barriers have been defined.
30732 (atomic_full_barrier): Define.
30733 (atomic_read_barrier): Define.
30734 (atomic_write_barrier): Define.
30736 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30738 * shlib-versions: Add libgcc_s version information.
30739 * sysdeps/generic/libgcc_s.h: Remove.
30740 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
30742 * sysdeps/gnu/unwind-resume.c: Likewise.
30743 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
30745 2012-04-25 David S. Miller <davem@davemloft.net>
30747 * sysdeps/unix/sparc/brk.S: Delete.
30748 * sysdeps/unix/sparc/dl-brk.S: Delete.
30749 * sysdeps/unix/sparc/pipe.S: Delete.
30750 * sysdeps/unix/sparc/sysdep.S: Delete.
30751 * sysdeps/unix/sparc/sysdep.h: Delete.
30752 * sysdeps/unix/sparc/vfork.S: Delete.
30753 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
30754 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
30755 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
30756 ret_ERRVAL, r0, r1, MOVE): Define.
30757 (JUMPTARGET): Remove.
30758 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
30759 sysdeps/unix/sparc/sysdep.h
30760 (ENTRY, END): Remove.
30761 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30763 2012-04-25 Joseph Myers <joseph@codesourcery.com>
30765 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
30766 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
30769 * timezone/README: Update upstream location and email address for
30771 * timezone/zdump.c: Update from tzcode 2012b.
30772 * timezone/zic.c: Likewise.
30774 * configure.in (libc_cv_as_needed): Remove test.
30775 * configure: Regenerated.
30776 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
30777 conditional definition.
30778 [$(have-as-needed) != yes] (no-as-needed): Likewise.
30779 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
30780 * config.make.in (have-as-needed): Remove variable.
30782 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30783 Paul Pluzhnikov <ppluzhnikov@google.com>
30785 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
30788 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
30790 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
30791 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
30792 * sysdeps/sh/strlen.S: Likewise.
30794 2012-04-24 Joseph Myers <joseph@codesourcery.com>
30796 * sysdeps/unix/fork.S: Remove file.
30797 * sysdeps/unix/i386/fork.S: Likewise.
30798 * sysdeps/unix/sparc/fork.S: Likewise.
30800 * sysdeps/unix/system.c: Remove file.
30801 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
30803 * sysdeps/unix/getegid.S: Remove file.
30804 * sysdeps/unix/geteuid.S: Likewise.
30806 2012-04-24 Roland McGrath <roland@hack.frob.com>
30808 * scripts/check-localplt.awk: New file.
30809 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
30811 * scripts/data/localplt-generic.data: Add a comment.
30813 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
30814 NODE when __dir_mkfile failed.
30815 * sysdeps/mach/hurd/symlinkat.c: Likewise.
30816 Reported by Ludovic Courtès <ludo@gnu.org>.
30818 2012-04-24 Andreas Jaeger <aj@suse.de>
30820 * Makerules (common-clean): Also remove gen-as-const-headers
30823 2012-04-24 Joseph Myers <joseph@codesourcery.com>
30825 * Makerules (native-compile): Do not change working directory for
30826 build. Use $(OUTPUT_OPTION) in command.
30827 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
30829 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30832 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
30833 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
30834 * math/libm-test.inc (floor_test): Add more tests.
30835 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
30837 2012-04-24 Joseph Myers <joseph@codesourcery.com>
30839 * sysdeps/unix/getdents.c: Remove file.
30840 * sysdeps/unix/sysv/getdents.c: Likewise.
30841 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
30843 * sysdeps/unix/syscalls.list (madvise): Add syscall from
30844 sysdeps/unix/mman/syscalls.list.
30846 (mprotect): Likewise.
30848 (munmap): Likewise.
30849 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
30850 * sysdeps/unix/mman/syscalls.list: Remove.
30851 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
30853 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
30854 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
30855 * configure: Regenerated.
30856 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
30857 $(libgcc_s_suffix).
30858 * config.make.in (libgcc_s_suffix): Remove variable.
30860 2012-04-23 Joseph Myers <joseph@codesourcery.com>
30862 * sysdeps/unix/sysv/gethostname.c: Move to ...
30863 * sysdeps/posix/gethostname.c: ... here.
30865 * sysdeps/unix/execve.S: Remove file.
30867 * sysdeps/unix/_exit.S: Remove file.
30869 2012-04-23 Andreas Jaeger <aj@suse.de>
30872 * manual/Makefile: Remove make dist support, there's no
30873 need for a stand-alone documentation tar ball.
30874 (TEXI2DVI): Define always, it's not in Makeconfig.
30877 (edition): Removed.
30878 (glibc-doc-$(edition).tar): Removed
30882 (ETAGS): Remove, it's in Makeconfig.
30883 (move-if-change): Remove, it's in Makeconfig.
30885 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
30888 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
30889 (strtod, strtof, strtold, strtol, strtoul, strtoq)
30890 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
30891 (strtod_l, strtof_l, strtold_l): Remove __wur.
30892 It is not necessarily an error to ignore strtol's return value.
30893 One can reliably look at the stored endptr to decide whether
30894 the number had valid syntax.
30896 2012-04-21 Andreas Jaeger <aj@suse.de>
30899 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
30901 2012-04-21 Joseph Myers <joseph@codesourcery.com>
30903 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
30904 * sysdeps/unix/sysv/Versions: Remove file.
30906 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
30909 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30911 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
30914 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
30915 version from __vm86.
30917 2012-04-20 Joseph Myers <joseph@codesourcery.com>
30919 * sysdeps/unix/common/lxstat.c: Remove file.
30920 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
30922 * sysdeps/unix/sysv/Makefile: Remove file.
30924 * sysdeps/unix/sysv/direct.h: Remove file.
30926 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
30927 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
30928 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
30929 * sysdeps/unix/sysv/bits/signum.h: Likewise.
30930 * sysdeps/unix/sysv/bits/stat.h: Likewise.
30931 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
30932 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
30934 * sysdeps/unix/sysv/setrlimit.c: Remove file.
30936 * sysdeps/unix/xmknod.c: Remove file.
30937 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
30939 * sysdeps/unix/sysv/settimeofday.c: Remove file.
30941 * sysdeps/unix/sysv/i386/time.S: Remove file.
30943 * sysdeps/unix/fxstat.c: Remove file.
30944 * sysdeps/unix/xstat.c: Likewise.
30945 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
30947 * sysdeps/unix/sysv/sigaction.c: Remove file.
30949 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
30950 (sysdep_headers): Remove variable.
30951 [termio.h not in sysdep_headers] (generated): Likewise.
30952 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
30953 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
30954 * sysdeps/unix/sysv/tcdrain.c: Likewise.
30955 * sysdeps/unix/sysv/tcflow.c: Likewise.
30956 * sysdeps/unix/sysv/tcflush.c: Likewise.
30957 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
30958 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
30959 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
30960 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
30961 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
30963 * sysdeps/unix/siglist.c: Remove file.
30965 * sysdeps/unix/getppid.S: Remove file.
30967 * sysdeps/unix/mkdir.c: Remove file.
30968 * sysdeps/unix/rmdir.c: Likewise.
30970 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
30972 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
30974 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
30975 errlist-compat value.
30977 2012-04-18 David S. Miller <davem@davemloft.net>
30979 * sysdeps/generic/memcopy.h (reg_char): Delete.
30980 * debug/strcat_chk.c: Use char, not reg_char.
30981 * debug/strcpy_chk.c: Likewise.
30982 * debug/strncat_chk.c: Likewise.
30983 * debug/strncpy_chk.c: Likewise.
30984 * string/memchr.c: Likewise.
30985 * string/memrchr.c: Likewise.
30986 * string/rawmemchr.c: Likewise.
30987 * string/strcat.c: Likewise.
30988 * string/strchr.c: Likewise.
30989 * string/strchrnul.c: Likewise.
30990 * string/strcmp.c: Likewise.
30991 * string/strcpy.c: Likewise.
30992 * string/strncat.c: Likewise.
30993 * string/strncmp.c: Likewise.
30994 * string/strncpy.c: Likewise.
30996 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
30998 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
30999 __builtin_memcopy is called when src and dest ranges are known to not
31002 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31004 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
31005 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
31006 fwd_align_merge macro call.
31007 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
31008 bwd_align_merge macro call.
31009 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31011 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31013 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
31014 bwd_align_merge macros.
31015 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
31016 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
31017 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31019 2012-04-18 David S. Miller <davem@davemloft.net>
31021 * sysdeps/sparc/sparc64/memcopy.h: Delete.
31023 2012-04-18 Andreas Jaeger <aj@suse.de>
31026 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
31027 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
31028 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31030 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
31031 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
31032 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31034 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
31035 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
31036 Adjust for changed ldbl-128 files.
31038 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
31039 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
31040 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31042 2012-04-17 David S. Miller <davem@davemloft.net>
31044 * sysdeps/sparc/sparc32/memcopy.h: Delete.
31046 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
31048 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
31049 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
31050 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
31051 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
31052 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31053 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
31055 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31058 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
31059 * math/libm-test.inc: Add ilogb errno and exception tests.
31060 * math/w_ilogb.c: New file: ilogb wrapper.
31061 * math/w_ilogbf.c: New file: ilogbf wrapper.
31062 * math/w_ilogbl.c: New file: ilogbl wrapper.
31063 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
31064 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
31065 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
31066 exception being thrown with 0.0 as argument.
31067 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
31068 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
31069 exception being thrown with 0.0 as argument.
31070 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
31071 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31072 exception being thrown with 0.0 as argument.
31073 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
31074 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31075 exception being thrown with 0.0 as argument.
31076 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
31077 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
31078 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
31079 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
31080 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
31081 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
31082 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
31083 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
31084 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
31086 2012-04-17 Petr Baudis <pasky@ucw.cz>
31088 * include/sys/uio.h: Change __vector to __iovec to avoid clash
31091 2012-04-16 Marek Polacek <polacek@redhat.com>
31093 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
31095 2012-04-16 Marek Polacek <polacek@redhat.com>
31097 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
31098 operands of fdivp instruction.
31100 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31102 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
31103 * elf/tst-auditmod3b.c: Likewise.
31104 * elf/tst-auditmod4b.c: Likewise.
31105 * elf/tst-auditmod5b.c: Likewise.
31106 * elf/tst-auditmod6b.c: Likewise.
31107 * elf/tst-auditmod6c.c: Likewise.
31108 * elf/tst-auditmod7b.c: Likewise.
31109 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
31110 * sysdeps/x86_64/preconfigure.in: Likewise.
31111 * sysdeps/x86_64/preconfigure: Regenerated.
31113 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31115 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
31118 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
31120 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31121 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
31123 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
31126 * locale/iso-639.def: Fix gl language name. Spotted by
31129 2012-04-12 Roland McGrath <roland@hack.frob.com>
31132 * libio/libio.h (__io_write_fn): Update comment.
31134 2012-04-12 Petr Baudis <pasky@ucw.cz>
31137 * stdio.texi (Hook Functions): The user provided writer function
31138 is not allowed to return -1.
31140 2012-04-11 David S. Miller <davem@davemloft.net>
31142 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31144 2012-04-11 Mike Frysinger <vapier@gentoo.org>
31146 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
31147 Add a leading slash to rtkaio.
31149 2012-04-11 Jim Meyering <meyering@redhat.com>
31152 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
31153 It is not necessarily an error to ignore fwrite's return
31154 value. One can reliably use ferror to test for errors after
31157 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31159 * bits/types.h (__snseconds_t): New type.
31160 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
31162 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
31163 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31164 (__SNSECONDS_T_TYPE): Likewise.
31165 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31166 (__SNSECONDS_T_TYPE): Likewise.
31167 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31168 (__SNSECONDS_T_TYPE): Likewise.
31170 2012-04-10 Andreas Jaeger <aj@suse.de>
31173 * manual/time.texi (Processor Time): Return type of times is
31174 elapsed real time since an arbitrary point in the past.
31175 (CPU Time): Move CLK_TCK from here...
31176 (Processor Time): ...to here. Correct description.
31177 * manual/conf.texi (Constants for Sysconf): Correct description of
31180 2012-04-10 David S. Miller <davem@davemloft.net>
31183 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
31184 where the is a gap between DT_REL(A) and DT_JMPREL.
31186 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31188 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
31189 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31190 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31192 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31194 * elf/dl-support.c (_dl_inhibit_cache): New variable.
31195 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
31196 (dl_main): Handle --inhibit-cache.
31197 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
31199 * elf/dl-load.c (_dl_map_object): Use it.
31200 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
31202 2012-04-09 Joseph Myers <joseph@codesourcery.com>
31205 * sysdeps/i386/fpu/e_powl.S (p78): New object.
31206 (__ieee754_powl): Saturate large exponents rather than testing for
31207 overflow of y*log2(x).
31208 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31209 * math/libm-test.inc (pow_test): Do not permit spurious overflow
31213 * math/s_ctan.c: Include <float.h>.
31214 (__ctan): Avoid internal overflow or cancellation in calculating
31216 * math/s_ctanf.c: Likewise.
31217 * math/s_ctanl.c: Likewise.
31218 * math/s_ctanh.c: Likewise.
31219 * math/s_ctanhf.c: Likewise.
31220 * math/s_ctanhl.c: Likewise.
31221 * math/libm-test.inc (ctan_test): Add more tests.
31222 (ctanh_test): Likewise.
31223 * sysdeps/i386/fpu/libm-test-ulps: Update.
31224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31226 2012-04-09 Andreas Jaeger <aj@suse.de>
31229 * manual/filesys.texi (Directory Entries): Mention that d_namlen
31230 is an optional BSD extension.
31233 * manual/stdio.texi (Opening Streams): Document additional fopen
31236 2012-04-09 Roland McGrath <roland@hack.frob.com>
31238 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
31239 %eax without telling the compiler.
31241 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
31244 * manual/install.texi: Use sourceware.org.
31246 2012-04-09 Joseph Myers <joseph@codesourcery.com>
31249 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
31250 (__ieee754_pow): Generate overflow and underflow using huge*huge
31251 and tiny*tiny rather than just returning constant infinity or zero
31252 for large exponents.
31253 * math/libm-test.inc (pow_test): Require overflow exceptions for
31254 applicable cases of large exponents.
31257 * sysdeps/i386/fpu/e_pow.S (p10): New object.
31258 (__ieee754_pow): Use iterative multiplication algorithm only for
31259 integer exponents with absolute value below 1024. Check for odd
31260 integer exponents when using algorithm for real exponents.
31261 * math/libm-test.inc (pow_test): Add more tests.
31262 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31264 2012-04-08 Joseph Myers <joseph@codesourcery.com>
31267 * math/libm-test.inc (exp_test): Do not allow overflow exception
31270 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
31273 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
31274 instead of __kernel_standard_f.
31276 2012-04-08 Mike Frysinger <vapier@gentoo.org>
31278 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
31279 * sysdeps/x86_64/memset_chk.S: Likewise.
31281 2012-04-08 Andreas Jaeger <aj@suse.de>
31284 * manual/startup.texi (Environment Access): Describe return value
31285 for putenv and setenv.
31288 * manual/filesys.texi (Directory Entries): Add description for
31292 * manual/filesys.texi (Directory Entries): Clarify that it's file
31293 system not operating system in the description of DT_UNKNOWN.
31296 * manual/syslog.texi (closelog): Fix reference, it's openlog.
31298 2012-04-08 Stephen Compall <s11@member.fsf.org>
31301 * manual/llio.texi (Opening and Closing Files): Add cross
31302 reference to explain mode argument.
31304 2012-04-07 Mike Frysinger <vapier@gentoo.org>
31306 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
31307 * sysdeps/x86_64/memset_chk.S: Likewise.
31309 2012-04-07 David S. Miller <davem@davemloft.net>
31311 * elf/elf.h (R_SPARC_WDISP10): Define.
31312 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
31314 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
31315 R_SPARC_SIZE64 and R_SPARC_H34.
31317 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
31319 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
31320 conditions and remove no longer applicable assertion.
31322 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31324 * bits/byteswap.h: Include <features.h>.
31325 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31326 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31328 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31330 * bits/byteswap.h (__bswap_16): Removed.
31331 Include <bits/byteswap-16.h> to get __bswap_16.
31332 * sysdeps/i386/bits/byteswap.h: Likewise.
31333 * sysdeps/s390/bits/byteswap.h: Likewise.
31334 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31335 * bits/byteswap-16.h: New file.
31336 * sysdeps/i386/bits/byteswap-16.h: Likewise.
31337 * sysdeps/s390/bits/byteswap-16.h: Likewise.
31338 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
31339 * string/Makefile (headers): Add bits/byteswap-16.h.
31341 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31344 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
31346 * nss/Makefile (tests-static, tests): Add tst-nss-static.
31347 * nss/tst-nss-static.c: New.
31349 2012-04-06 Robert Millan <rmh@gnu.org>
31352 * manual/llio.texi (File Position Primitive): lseek
31353 refers to WHENCE when it really means OFFSET.
31355 2012-04-06 Andreas Jaeger <aj@suse.de>
31357 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
31358 strncmp declarations.
31360 * abilist/libc.abilist: Add __poll and __ppoll.
31362 2012-04-05 David S. Miller <davem@davemloft.net>
31364 * scripts/check-local-headers.sh: Accept a host triplet in the
31365 path matched by the exclude regexp.
31367 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
31369 * sysdeps/powerpc/powerpc32/dl-machine.h
31370 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
31371 * sysdeps/s390/s390-32/dl-machine.h
31372 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31373 * sysdeps/sparc/sparc32/dl-machine.h
31374 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31375 * sysdeps/sparc/sparc64/dl-machine.h
31376 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31378 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
31380 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
31381 undefined symbol errors.
31383 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
31386 2012-04-05 Michael Matz <matz@suse.de>
31389 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
31391 2012-04-05 Andreas Jaeger <aj@suse.de>
31394 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
31397 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31399 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
31400 which ROUND is no valid rounding mode.
31402 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31404 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
31406 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
31408 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31410 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
31411 an exception using FPU order intentionally.
31413 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31415 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
31416 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
31417 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
31418 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
31420 2012-04-05 Simon Josefsson <simon@josefsson.org>
31423 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
31424 EINVAL when BUFLEN is too smal.
31426 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
31429 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
31430 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
31432 2012-04-03 Andreas Jaeger <aj@suse.de>
31435 * manual/setjmp.texi (System V contexts): Fix sentence.
31438 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
31439 New macro for this case.
31440 [!__GNUC__] (__bswap_64): New inline function for this case.
31441 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31442 * bits/byteswap.h: Likewise.
31443 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
31444 ull, guard with __GLIBC_HAVE_LONG_LONG.
31446 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
31447 __GLIBC_HAVE_LONG_LONG.
31449 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
31450 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
31452 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31455 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
31456 inptr and inend, rather than using last_ch.
31458 2012-04-02 David S. Miller <davem@davemloft.net>
31460 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
31461 * stdio-common/printf-parse.h (read_int): Change return type to
31462 'int', return -1 on INT_MAX overflow.
31463 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
31464 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
31465 overflows INT_MAX. Check for overflow of in-format-string precision
31466 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
31467 SIZE_MAX not INT_MAX for integer overflow test.
31468 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
31469 skip the construct in the format string but do not record anything.
31470 * stdio-common/bug22.c: Adjust to test both width/prevision
31471 INT_MAX overflow as well as total length INT_MAX overflow. Check
31472 explicitly for proper errno values.
31474 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
31476 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
31478 * string/test-strcmp.c [! WIDE]: Likewise.
31479 * time/tst-mktime2.c: Likewise for INT_MAX.
31480 * string/test-string.h: #include <sys/param.h> for MIN.
31482 * csu/init-first.c (__libc_init_first): Call __ctype_init.
31483 * sysdeps/i386/init-first.c (init): Likewise.
31484 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
31485 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
31486 * sysdeps/sh/init-first.c (init): Likewise.
31488 2012-04-01 Ulrich Drepper <drepper@gmail.com>
31490 * po/ru.po: Update from translation team.
31491 * po/vi.po: Likewise.
31493 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
31495 * resolv/nss_dns/dns-host.c: Merge copyright years.
31497 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31499 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
31500 Optimize memcpy with prefetch if
31501 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
31502 src, dst pointers have unequal 16 byte alignments.
31504 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
31507 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
31508 from a CNAME entry and return the minimum ttl for the query.
31509 (gaih_getanswer_slice): Likewise.
31511 2012-03-30 Jeff Law <law@redhat.com>
31513 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
31515 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
31516 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
31518 * resolv/nss_dns/dns-host.c: Update copyright year.
31520 2012-03-30 Ulrich Drepper <drepper@gmail.com>
31522 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
31523 requests to save a system call. Fix check that all bytes are sent.
31525 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
31526 comments for sendmmsg.
31528 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31531 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
31532 with only 1 character between 0x0041 and 0x01b0.
31533 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
31534 * wcsmbs/tst-mbsnrtowcs.c: New file.
31536 2012-03-29 David S. Miller <davem@davemloft.net>
31538 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
31539 small copies by hand.
31541 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31544 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
31545 _nss_compat_initgroups_dyn): Fall back to malloc/free
31546 for large group memberships.
31548 2012-03-28 David S. Miller <davem@davemloft.net>
31550 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
31551 that branches into memcpy.
31552 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
31553 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
31554 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31555 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
31556 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
31558 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
31559 implementation too.
31560 * sysdeps/sparc/mempcpy.S: New file.
31562 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
31563 the IFUNC routine in the libc case.
31564 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
31566 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
31567 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
31568 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
31569 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
31570 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
31571 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
31572 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
31573 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
31575 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
31576 loop to 256 bytes instead of 64 bytes and fix test signedness.
31578 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
31579 * sysdeps/sparc/sparc32/Makefile: rather than here...
31580 * sysdeps/sparc/sparc64/Makefile: and here.
31582 2012-03-28 Ulrich Drepper <drepper@gmail.com>
31584 * malloc/mallocbug.c: Avoid warnings about unused variables.
31586 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
31589 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
31590 in the right place. Discard and retry query if response is
31591 larger than input buffer size.
31593 2012-03-28 Joseph Myers <joseph@codesourcery.com>
31598 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
31599 x for large integer exponent.
31600 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
31601 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
31602 sign of result as needed afterwards.
31603 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
31604 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
31605 result for underflowing pow the same as for overflow.
31606 (__kernel_standard_l): Handle powl overflow and underflow here
31607 rather than calling __kernel_standard.
31608 * math/libm-test.inc (pow_test): Add more tests.
31623 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
31624 * sysdeps/ieee754/k_standard.c: Include <float.h>.
31625 (__kernel_standard_l): New function.
31626 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
31628 * math/w_acosl.c (__acosl): Likewise.
31629 * math/w_asinl.c (__asinl): Likewise.
31630 * math/w_atan2l.c (__atan2l): Likewise.
31631 * math/w_atanhl.c (__atanhl): Likewise.
31632 * math/w_coshl.c (__coshl): Likewise.
31633 * math/w_exp10l.c (__exp10l): Likewise.
31634 * math/w_exp2l.c (__exp2l): Likewise.
31635 * math/w_fmodl.c (__fmodl): Likewise.
31636 * math/w_hypotl.c (__hypotl): Likewise.
31637 * math/w_j0l.c (__j0l, __y0l): Likewise.
31638 * math/w_j1l.c (__j1l, __y1l): Likewise.
31639 * math/w_jnl.c (__jnl, __ynl): Likewise.
31640 * math/w_lgammal.c (__lgammal): Likewise.
31641 * math/w_log10l.c (__log10l): Likewise.
31642 * math/w_log2l.c (__log2l): Likewise.
31643 * math/w_logl.c (__logl): Likewise.
31644 * math/w_powl.c (__powl): Likewise.
31645 * math/w_remainderl.c (__remainderl): Likewise.
31646 * math/w_scalbl.c (sysv_scalbl): Likewise.
31647 * math/w_sinhl.c (__sinhl): Likewise.
31648 * math/w_sqrtl.c (__sqrtl): Likewise.
31649 * math/w_tgammal.c (__tgammal): Likewise.
31650 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
31651 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
31652 * math/libm-test.inc (acos_test): Add more tests.
31653 (acosh_test): Likewise.
31654 (asin_test): Likewise.
31655 (atanh_test): Likewise.
31656 (exp_test): Likewise.
31657 (exp10_test): Likewise.
31658 (exp2_test): Likewise.
31659 (expm1_test): Likewise.
31660 (lgamma_test): Likewise.
31661 (log_test): Likewise.
31662 (log10_test): Likewise.
31663 (log1p_test): Likewise.
31664 (log2_test): Likewise.
31665 (pow_test): Do not allow some spurious overflow exceptions.
31666 (sqrt_test): Add more tests.
31667 (tgamma_test): Likewise.
31668 (y0_test): Likewise.
31669 (y1_test): Likewise.
31670 (yn_test): Likewise.
31672 2012-03-27 Anton Blanchard <anton@samba.org>
31674 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
31676 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31677 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31678 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31680 2012-03-27 David S. Miller <davem@davemloft.net>
31682 * conform/Makefile: Run run-conformtest.sh using $(BASH).
31684 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
31685 have-as-vis3 check.
31687 2012-03-27 Andreas Jaeger <aj@suse.de>
31689 * sysdeps/x86_64/elf/configure.in: Moved to ...
31690 * sysdeps/x86_64/configure.in: ... here.
31691 * sysdeps/x86_64/elf/start.S: Moved to ...
31692 * sysdeps/x86_64/start.S: ... here.
31693 * sysdeps/x86_64/elf/configure: Delete.
31695 * sysdeps/x86_64/configure.in: Merge contents from
31696 sysdeps/i386/configure.in (without i686 check).
31698 * sysdeps/i386/elf/Versions: Merge into ...
31699 * sysdeps/i386/Versions: ... this.
31700 * sysdeps/i386/elf/Versions: Delete file.
31701 * sysdeps/i386/elf/start.S: Moved to ...
31702 * sysdeps/i386/start.S: ...here.
31703 * sysdeps/i386/elf/configure.in: Merge into...
31704 * sysdeps/i386/configure.in: ...here.
31705 * sysdeps/i386/elf/configure.in: Delete file.
31706 * sysdeps/i386/elf/configure: Delete file.
31708 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
31709 * debug/backtracesyms.c: ... here.
31710 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
31711 * debug/backtracesymsfd.c: ... here.
31712 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
31713 * sysdeps/generic/ifunc-sel.h: ... here.
31715 * sysdeps/unix/i386/start.c: Delete file.
31716 * sysdeps/unix/sparc/start.c: Delete file.
31717 * sysdeps/unix/start.c: Delete file.
31719 * sysdeps/sh/elf/configure.in: Moved to ...
31720 * sysdeps/sh/configure.in: ... here.
31721 * sysdeps/sh/elf/start.S: Moved to ...
31722 * sysdeps/sh/start.S: ... here.
31723 * sysdeps/sh/elf/configure: Delete file.
31725 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
31726 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
31727 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
31728 * sysdeps/powerpc/powerpc64/entry.h: ... here.
31729 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
31730 * sysdeps/powerpc/powerpc64/start.S: here.
31731 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
31732 * sysdeps/powerpc/powerpc64/Makefile: ... this.
31733 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
31734 * sysdeps/powerpc/powerpc64/configure.in: ... this.
31735 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
31737 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
31738 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
31739 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
31740 * sysdeps/powerpc/powerpc32/start.S: ... here.
31741 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
31742 * sysdeps/powerpc/powerpc32/configure.in: ... this.
31743 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
31745 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
31746 * sysdeps/powerpc/ifunc-sel.h: ... here.
31747 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
31748 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
31750 * sysdeps/sparc/elf/configure.in: Moved to ...
31751 * sysdeps/sparc/configure.in: ... here.
31752 * sysdeps/sparc/elf/configure: Delete file.
31753 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
31754 * sysdeps/sparc/sparc32/start.S: ... here.
31755 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
31756 * sysdeps/sparc/sparc64/start.S: ... here.
31757 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
31758 * sysdeps/sparc/sparc32/Makefile: ... this.
31759 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
31760 * sysdeps/sparc/sparc64/Makefile: ... this.
31762 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
31763 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
31764 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
31765 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
31766 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
31767 * sysdeps/s390/s390-32/setjmp.S: ... here.
31768 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
31769 * sysdeps/s390/s390-32/configure.in: ... here.
31770 * sysdeps/s390/s390-32/elf/configure: Delete file.
31771 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
31772 * sysdeps/s390/s390-32/start.S: ... here.
31774 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
31775 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
31776 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
31777 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
31778 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
31779 * sysdeps/s390/s390-64/setjmp.S: ... here.
31780 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
31781 * sysdeps/s390/s390-64/configure.in: ... here
31782 * sysdeps/s390/s390-64/elf/configure: Delete file.
31783 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
31784 * sysdeps/s390/s390-64/start.S: ... here.
31785 * sysdeps/s390/s390-64/elf/configure: Delete.
31787 * configure.in: Remove support for elf directories in sysdeps.
31789 * configure: Regenerated.
31790 * sysdeps/i386/configure: Regenerated.
31791 * sysdeps/powerpc/powerpc32/configure: Regenerated.
31792 * sysdeps/powerpc/powerpc64/configure: Regenerated.
31793 * sysdeps/s390/s390-32/configure: Regenerated.
31794 * sysdeps/s390/s390-64/configure: Regenerated.
31795 * sysdeps/sh/configure: Regenerated.
31796 * sysdeps/sparc/configure: Regenerated.
31797 * sysdeps/x86_64/configure: Regenerated.
31799 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
31801 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31803 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
31804 denormal result into account.
31806 2012-03-25 Roland McGrath <roland@hack.frob.com>
31808 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
31809 Reported by Allan McRae <allan@archlinux.org>.
31811 2012-03-23 Jeff Law <law@redhat.com>
31813 * nss/getnssent.c (__nss_getent): Fix typo.
31815 2012-03-23 David S. Miller <davem@davemloft.net>
31817 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31819 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
31821 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
31822 to pad to uint64_t for each field.
31823 (dl_tls_index): Replace unsigned long with uint64_t.
31825 2012-03-23 Daniel Jacobowitz <dmj@google.com>
31826 Paul Pluzhnikov <ppluzhnikov@google.com>
31829 * grp/Makefile (otherlibs): Don't set it.
31830 * inet/Makefile (otherlibs): Likewise.
31831 * login/Makefile (otherlibs): Likewise.
31832 * nscd/Makefile (otherlibs): Likewise.
31833 * posix/Makefile (otherlibs): Likewise.
31834 * pwd/Makefile (otherlibs): Likewise.
31835 * rt/Makefile (otherlibs): Likewise.
31836 * sunrpc/Makefile (otherlibs): Likewise.
31837 * nss/Makefile (otherlibs): Likewise.
31838 Add libnss_files to routines and static-only-routines.
31839 ($(objpfx)getent): Remove rule.
31840 * resolv/Makefile: Add libnss_dns and libresolv to routines and
31841 static-only-routines.
31843 2012-03-22 Joseph Myers <joseph@codesourcery.com>
31846 * math/s_cexp.c: Include <float.h>.
31847 (__cexp): Handle exp result overflowing not necessarily
31848 overflowing both real and imaginary parts of result.
31849 * math/s_cexpf.c: Likewise.
31850 * math/s_cexpl.c: Likewise.
31851 * math/libm-test.inc (cexp_test): Add more tests.
31852 * sysdeps/i386/fpu/libm-test-ulps: Update.
31853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31855 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31857 * include/link.h (ELFW): New macro.
31858 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
31859 Replace ELF64_R_TYPE with ELFW(R_TYPE).
31861 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31863 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
31866 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31868 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
31870 (struct La_x32_retval): Likewise.
31872 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31874 * sysdeps/x86_64/preconfigure.in: New file.
31875 * sysdeps/x86_64/preconfigure: New generated file.
31877 2012-03-22 Joseph Myers <joseph@codesourcery.com>
31880 * math/e_exp2l.c: Include <float.h>.
31881 (__ieee754_exp2l): Handle overflow and underflow cases
31882 separately. Only pass fractional part of argument to
31884 * math/libm-test.inc (exp2_test): Add more tests.
31886 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
31887 negating x to take absolute value.
31888 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
31890 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
31891 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
31893 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
31894 computing low part if x was negated.
31895 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31897 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31899 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
31900 la_x32_gnu_pltexit.
31901 (pltexit): Cast int_retval to ptrdiff_t.
31902 * elf/tst-auditmod3b.c: Likewise.
31903 * elf/tst-auditmod4b.c: Likewise.
31904 * elf/tst-auditmod5b.c: Likewise.
31905 * elf/tst-auditmod6b.c: Likewise.
31906 * elf/tst-auditmod6c.c: Likewise.
31907 * elf/tst-auditmod7b.c: Likewise.
31909 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
31910 and x32_gnu_pltexit.
31912 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
31913 __ELF_NATIVE_CLASS.
31914 (La_x32_regs): New macro.
31915 (La_x32_retval): Likewise.
31916 (la_x32_gnu_pltenter): New function prototype.
31917 (la_x32_gnu_pltexit): Likewise.
31919 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
31921 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
31924 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31926 * configure.in (libc_cv_cc_nofma): Check for option to disable
31927 generation of FMA instructions.
31928 * configure: Regenerate.
31929 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
31930 * sysdeps/ieee754/dbl-64/Makefile: New file.
31931 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31932 Remove brandred-fma4.
31933 (CFLAGS-brandred-fma4.c): Remove.
31934 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
31935 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
31937 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
31940 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31942 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
31943 LLONG_MAX != LONG_MAX.
31944 (_itoa_word): Use _ITOA_WORD_TYPE on value.
31945 (_fitoa_word): Likewise.
31946 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
31947 LLONG_MAX != LONG_MAX.
31948 * stdio-common/_itowa.h: Include <_itoa.h>.
31949 (_itowa_word): Use _ITOA_WORD_TYPE on value.
31950 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
31951 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
31952 only if not defined.
31953 (_ITOA_WORD_TYPE): Likewise.
31954 (_itoa_word): Use _ITOA_WORD_TYPE on value.
31955 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
31957 2012-03-21 David S. Miller <davem@davemloft.net>
31959 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31961 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31963 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
31964 of x86_64 when setting libc_cv_slibdir, libdir and
31966 * sysdeps/unix/sysv/linux/configure: Regenerated.
31968 2012-03-21 Joseph Myers <joseph@codesourcery.com>
31970 * manual/lang.texi (Old Varargs): Remove section.
31971 (How Variadic): Update menu.
31972 (va_start): Do not mention varargs.h.
31974 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
31975 Joseph Myers <joseph@codesourcery.com>
31977 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
31979 * configure: Regenerated.
31981 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
31983 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
31984 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
31987 2012-03-21 Joseph Myers <joseph@codesourcery.com>
31990 * Makefile (files-for-dist): Remove NOTES.
31991 (NOTES): Remove rule.
31992 * README: Don't refer to NOTES.
31993 * manual/creature.texi: Don't include macros.texi.
31994 * manual/intro.texi (creature.texi): Remove comment referring to
31997 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
31998 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
31999 * configure: Regenerated.
32000 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
32001 LIBC_TRY_CC_OPTION.
32002 (libc_cv_as_i686): Likewise.
32003 (libc_cv_cc_avx): Likewise.
32004 (libc_cv_cc_sse2avx): Likewise.
32005 (libc_cv_cc_fma4): Likewise.
32006 (libc_cv_cc_novzeroupper): Likewise.
32007 * sysdeps/i386/configure: Regenerated.
32010 * sysdeps/i386/fpu/s_cexp.S: Remove.
32011 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32012 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32013 * math/libm-test.inc (cexp_test): Add more tests.
32014 * sysdeps/i386/fpu/libm-test-ulps: Update.
32015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32017 2012-03-21 Allan McRae <allan@archlinux.org>
32019 * timezone/Makefile: Do not install iso3166.tab and zone.tab
32021 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32024 * math/w_exp2.c: Do not include <float.h>.
32025 (o_threshold, u_threshold): Remove.
32026 (__exp2): Calculate result before checking finiteness and calling
32028 * math/w_exp2f.c: Likewise.
32029 * math/w_exp2l.c: Likewise.
32030 * math/libm-test.inc (exp2_test): Require overflow exception for
32034 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
32035 range of signed 64-bit integers before using fistpll. Remove
32036 checks for whether integers fit in mantissa bits.
32037 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
32038 the range of signed 32-bit integers before using fistpl. Remove
32039 checks for whether integers fit in mantissa bits.
32040 * sysdeps/i386/fpu/e_powl.S (p64): New object.
32041 (__ieee754_powl): Test for y outside the range of signed 64-bit
32042 integers before using fistpll. Reduce 64-bit values to 63-bit
32044 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
32045 divide-by-zero is raised for zero to large negative powers.
32046 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
32047 (__ieee754_powl): Test for y outside the range of signed 64-bit
32048 integers before using fistpll. Reduce 64-bit values to 63-bit
32050 * math/libm-test.inc (pow_test): Add more tests.
32052 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32054 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
32055 <stdio-common/_itoa.h>.
32056 * debug/segfault.c: Likewise.
32057 * elf/dl-cache.c: Likewise.
32058 * elf/dl-minimal.c: Likewise.
32059 * elf/dl-misc.c: Likewise.
32060 * elf/dl-sysdep.c: Likewise.
32061 * elf/dl-version.c: Likewise.
32062 * elf/rtld.c: Likewise.
32063 * hurd/hurdsock.c: Likewise.
32064 * hurd/lookup-retry.c: Likewise.
32065 * malloc/malloc.c: Likewise.
32066 * malloc/mtrace.c: Likewise.
32067 * nscd/nscd_getgr_r.c: Likewise.
32068 * nscd/nscd_getpw_r.c: Likewise.
32069 * nscd/nscd_getserv_r.c: Likewise.
32070 * posix/getopt_init.c: Likewise.
32071 * posix/wordexp.c: Likewise.
32072 * stdio-common/_itoa.c: Likewise.
32073 * stdio-common/printf_fphex.c: Likewise.
32074 * stdio-common/vfprintf.c: Likewise.
32075 * string/_strerror.c: Likewise.
32076 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
32077 * sysdeps/i386/i686/hp-timing.h: Likewise.
32078 * sysdeps/mach/_strerror.c: Likewise.
32079 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
32080 * sysdeps/mach/hurd/sethostid.c: Likewise.
32081 * sysdeps/mach/hurd/xmknodat.c: Likewise.
32082 * sysdeps/mach/xpg-strerror.c: Likewise.
32083 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32084 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32085 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
32086 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
32087 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32088 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
32089 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32090 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32091 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
32092 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
32093 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
32094 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32095 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
32096 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32097 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32098 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
32099 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
32100 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
32101 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32102 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32103 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
32105 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
32107 * stdio-common/_itoa.h: Moved to ...
32108 * sysdeps/generic/_itoa.h: Here.
32110 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
32112 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
32113 instead of "_itoa.h" and "_itowa.h".
32114 * stdio-common/vfprintf.: Likewise.
32116 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32118 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
32120 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
32121 (__signbit): Likwise.
32122 (llrintf): Likwise.
32125 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32127 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
32130 2012-03-20 Joseph Myers <joseph@codesourcery.com>
32132 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
32133 OVERFLOW_EXCEPTION_OK.
32134 * math/libm-test.inc ("Philosophy"): Update comment about
32136 (OVERFLOW_EXCEPTION): Define.
32137 (OVERFLOW_EXCEPTION_OK): Likewise.
32138 (INVALID_EXCEPTION_OK): Renumber.
32139 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32140 (IGNORE_ZERO_INF_SIGN): Likewise.
32141 (test_exceptions): Handle FE_OVERFLOW.
32142 (exp10_test): Expect overflow exceptions.
32143 (exp2_test): Likewise.
32144 (expm1_test): Likewise.
32145 (nextafter_test): Likewise.
32146 (pow_test): Likewise.
32147 (scalbn_test): Likewise.
32148 (scalbln_test): Likewise.
32150 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32152 * sysdeps/x86_64/bits/atomic.h
32153 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
32155 (atomic_exchange_acq): Likewise.
32156 (__arch_exchange_and_add_body): Likewise.
32157 (__arch_add_body): Likewise.
32158 (atomic_add_negative): Likewise.
32159 (atomic_add_zero): Likewise.
32161 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32163 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
32164 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
32166 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32168 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
32169 Check __x86_64__ instead of __WORDSIZE.
32171 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32173 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
32175 2012-03-19 David S. Miller <davem@davemloft.net>
32177 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32179 * sysdeps/sparc/fpu/fenv_private.h: New file.
32180 * sysdeps/sparc/fpu/math_private.h: Use it.
32181 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
32183 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
32184 (libc_feholdexcept_setroundl): Remove.
32185 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
32187 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
32188 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
32190 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32192 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
32193 int64_t instead of long int.
32194 (INSERT_WORDS64): Likwise.
32196 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32198 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
32199 _Unwind_GetCFA return to _Unwind_Ptr first.
32201 2012-03-19 Joseph Myers <joseph@codesourcery.com>
32204 * math/s_clog.c: Include <float.h>.
32205 (__clog): Scale large or subnormal inputs.
32206 * math/s_clogf.c: Likewise.
32207 * math/s_clogl.c: Likewise.
32208 * math/s_clog10.c: Include <float.h>.
32209 (M_LOG10_2): Define.
32210 (__clog10): Scale large or subnormal inputs.
32211 * math/s_clog10f.c: Likewise.
32212 * math/s_clog10l.c: Likewise.
32213 * math/libm-test.inc (clog_test): Add more tests.
32214 (clog10_test): Likewise.
32215 * sysdeps/i386/fpu/libm-test-ulps: Update.
32216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32219 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
32221 * math/libm-test.inc (atan2_test): Add another test.
32223 * Makerules (common-objdir-compile): Remove.
32224 * sysdeps/unix/Makefile (config-generated): Do not add
32225 $(unix-generated) to variable.
32226 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
32227 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
32229 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
32231 [generic bits/local_lim.h] (before-compile): Do not append to
32233 [generic bits/local_lim.h] (common-generated): Likewise.
32234 [generic sys/param.h] (before-compile): Do not append to variable.
32235 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
32236 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
32237 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
32238 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
32240 [generic sys/param.h] (sys/param.h-includes): Remove variable.
32241 [generic sys/param.h] (sys/param.h-includes): Remove rule.
32242 [generic sys/param.h] ($(addprefix
32243 $(common-objpfx),$(sys/param.h-includes))): Likewise.
32244 [generic sys/param.h] (common-generated): Do not append to
32246 [generic sys/param.h] (sysdep_headers): Likewise.
32247 [generic bits/errno.h] (before-compile): Do not append to
32249 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
32251 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
32252 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
32253 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
32254 [generic bits/errno.h] (common-generated): Do not append to
32256 [generic bits/ioctls.h] (before-compile): Do not append to
32258 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
32260 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
32261 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
32262 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
32264 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
32265 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
32266 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
32267 [generic bits/ioctls.h] (common-generated): Do not append to
32269 [generic sys/syscall.h] (syscall.h): Remove variable.
32270 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
32272 [generic sys/syscall.h] (before-compile): Do not append to
32274 [generic sys/syscall.h] (common-generated): Likewise.
32275 * sysdeps/unix/errnos-tmpl.c: Remove file.
32276 * sysdeps/unix/errnos.awk: Likewise.
32277 * sysdeps/unix/ioctls-tmpl.c: Likewise.
32278 * sysdeps/unix/ioctls.awk: Likewise.
32279 * sysdeps/unix/mk-local_lim.c: Likewise.
32280 * sysdeps/unix/snarf-ioctls: Likewise.
32282 2012-03-19 Richard Henderson <rth@twiddle.net>
32284 * sysdeps/i386/fpu/fenv_private.h: New file.
32285 * sysdeps/i386/fpu/math_private.h: Use it.
32286 (math_opt_barrier, math_force_eval): Remove.
32287 (libc_feholdexcept_setround_53bit): Remove.
32288 (libc_feupdateenv_53bit): Remove.
32289 * sysdeps/x86_64/fpu/math_private.h: Likewise.
32290 (math_opt_barrier, math_force_eval): Remove.
32291 (libc_feholdexcept): Remove.
32292 (libc_feholdexcept_setround): Remove.
32293 (libc_fetestexcept, libc_fesetenv): Remove.
32294 (libc_feupdateenv_test): Remove.
32295 (libc_feupdateenv, libc_feholdsetround): Remove.
32296 (libc_feresetround): Remove.
32298 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
32299 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32301 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
32302 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
32303 (libc_feupdateenv_testl): New.
32304 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
32305 (libc_feupdateenv_testf): New.
32306 (libc_feupdateenv): Use libc_feupdateenv_test.
32307 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
32308 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
32310 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
32311 (libc_feholdsetroundf, libc_feholdsetroundl): New.
32312 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
32313 (libc_feresetround_noex): New.
32314 (libc_feresetround_noexf): New.
32315 (libc_feresetround_noexl): New.
32316 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
32317 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
32318 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
32319 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
32321 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
32322 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
32324 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
32325 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
32326 SET_RESTORE_ROUND_NOEX.
32327 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
32328 SET_RESTORE_ROUND_NOEXF.
32329 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
32330 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
32331 (libc_feholdsetroundf): New.
32332 (libc_feresetround, libc_feresetroundf): New.
32334 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
32335 (libc_feholdexcept_setround_53bit): Convert from macro to function.
32336 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
32338 * sysdeps/generic/math_private.h: Include <fenv.h>.
32339 (default_libc_feholdexcept): New.
32340 (default_libc_feholdexcept_setround): New.
32341 (default_libc_fesetenv, default_libc_feupdateenv): New.
32342 (libc_feholdexcept): Only define if undefined.
32343 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
32344 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
32345 (libc_feholdexcept_setroundl): Likewise.
32346 (libc_feholdexcept_setround_53bit): Likewise.
32347 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
32348 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
32349 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
32350 (libc_feupdateenv_53bit): Likewise.
32351 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
32352 (libc_feholdexcept): Convert from macro to inline function.
32353 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
32354 (libc_fesetenv, libc_feupdateenv): Likewise.
32356 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
32357 not previously defined.
32358 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
32359 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
32360 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
32361 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
32362 * sysdeps/ieee754/flt-32/math_private.h: New file.
32363 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
32364 math_private.h below SET_FLOAT_WORD.
32365 (__isnan, __isinf_ns, __finite): Remove.
32366 (__isnanf, __isinf_nsf, __finitef): Remove.
32368 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
32370 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32372 2012-03-17 David S. Miller <davem@davemloft.net>
32375 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
32378 2012-03-16 David S. Miller <davem@davemloft.net>
32380 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
32384 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
32386 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
32387 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
32388 sysdep_routines when subdir is sysvipc.
32389 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
32390 __getshmlba helper.
32392 * sysdeps/sparc/fpu/libm-test/ulps: Update.
32394 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32396 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
32399 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32401 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
32402 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
32403 (__lround): Renamed to ...
32404 (__llround): This. Replace long int with long long int.
32405 Define lround functions as aliases of llround functions.
32406 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
32408 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32410 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
32411 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
32412 adresses to uintptr_t. Replace "long int" and "unsigned long
32413 int" with "greg_t" on va_arg.
32415 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32417 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
32418 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
32420 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
32421 Move e_machine check before EI_CLASS check. Handle x32
32422 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
32423 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
32424 SKIP_EM_IA_64 and include
32425 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
32427 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
32428 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
32429 (add_system_dir): New macro.
32431 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
32432 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
32434 2012-03-16 Joseph Myers <joseph@codesourcery.com>
32445 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
32447 * math/w_j0f.c (j0f): Likewise.
32449 * math/w_j0l.c (__j0l): Likewise.
32451 * math/w_j1.c (j1): Likewise.
32453 * math/w_j1f.c (j1f): Likewise.
32455 * math/w_j1l.c (__j1l): Likewise.
32457 * math/w_jn.c (jn): Likewise.
32459 * math/w_jnf.c (jnf): Likewise.
32461 * math/w_jnl.c (__jnl): Likewise.
32463 * math/libm-test.inc (j0_test): Add more tests.
32464 (j1_test): Likewise.
32465 (jn_test): Likewise. Add trailing semicolon to existing test.
32466 (y0_test): Likewise.
32467 (y1_test): Likewise.
32468 * sysdeps/i386/fpu/libm-test-ulps: Update.
32469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32473 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
32474 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
32475 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
32476 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
32477 (__tanl): Set errno for infinite argument.
32478 * sysdeps/i386/fpu/mptan.c: Remove.
32479 * sysdeps/i386/fpu/s_tan.S: Likewise.
32480 * sysdeps/i386/fpu/s_tanl.S: Likewise.
32481 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
32482 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
32483 * math/libm-test.inc (tan_test): Add more tests and enable more
32484 tests for double and long double.
32485 * sysdeps/i386/fpu/libm-test-ulps: Update.
32486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32488 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
32490 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
32491 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
32493 2012-03-16 Roland McGrath <roland@hack.frob.com>
32495 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
32496 * configure.in: Use it for both main tree and add-ons.
32497 * configure: Regenerated.
32499 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32501 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
32503 2012-03-16 Joseph Myers <joseph@codesourcery.com>
32505 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
32509 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
32510 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
32511 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
32512 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
32513 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
32515 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
32516 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
32517 != 0 for prec == 2.
32518 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
32519 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
32520 * sysdeps/i386/fpu/s_cosl.S: Likewise.
32521 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
32522 * sysdeps/i386/fpu/s_sinl.S: Likewise.
32523 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
32524 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
32525 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
32526 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
32527 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
32528 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
32529 * math/libm-test.inc (cos_test): Add more tests and enable more
32530 tests for long double.
32531 (sin_test): Likewise.
32532 (sincos_test): Likewise.
32533 * sysdeps/i386/fpu/libm-test-ulps: Update.
32534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32536 2012-03-16 David S. Miller <davem@davemloft.net>
32538 * sysdeps/sparc/fpu/math_private.h: New file.
32540 2012-03-15 David S. Miller <davem@davemloft.net>
32542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
32544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
32545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
32547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
32548 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
32549 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
32550 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
32551 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
32552 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
32554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
32556 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
32557 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
32559 * sysdeps/sparc/sparc-ifunc.h: New file.
32560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
32562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
32563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
32565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
32567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
32568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
32569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
32572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
32573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
32574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
32575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
32576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
32578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
32580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
32581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
32582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
32583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
32584 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
32585 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
32586 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
32587 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
32588 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
32589 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
32590 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
32591 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
32592 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
32593 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
32594 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
32595 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
32596 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
32597 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
32598 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
32599 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
32600 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
32601 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
32602 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
32603 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
32605 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
32607 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
32609 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32611 2012-03-15 Andreas Jaeger <aj@suse.de>
32614 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
32615 ieee754/flt-32 implementation for sin, cos and sincos.
32616 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
32617 * sysdeps/i386/fpu/s_cosf.S: Likewise.
32618 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
32619 * sysdeps/i386/fpu/s_sinf.S: Likewise.
32620 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
32621 ieee754/flt-32 implementation for tan.
32623 * math/libm-test.inc (cos_test): Enable some large input tests for
32625 (sin_test): Likewise.
32626 (sincos_test): Likewise.
32627 (tan_test): Add tests for large input.
32629 * sysdeps/i386/fpu/libm-test-ulps: Update.
32631 2012-03-15 Andreas Jaeger <aj@suse.de>
32634 * math/libm-test.inc (cos_test): Add more test cases.
32635 (sin_test): Likewise.
32636 (sincos_test): Likewise.
32638 2012-03-15 Andreas Jaeger <aj@suse.de>
32641 * math/libm-test.inc (cos_test): Add a test case for large input
32643 (sin_test): Likewise.
32644 (sincos_test): Likewise.
32646 2012-03-15 Andreas Jaeger <aj@suse.de>,
32647 Joseph Myers <joseph@codesourcery.com>
32650 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
32651 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
32652 * sysdeps/i386/fpu/branred.c: Likewise.
32653 * sysdeps/i386/fpu/dosincos.c: Likewise.
32654 * sysdeps/i386/fpu/mpa.c: Likewise.
32655 * sysdeps/i386/fpu/s_cos.S: Likewise.
32656 * sysdeps/i386/fpu/s_sin.S: Likewise.
32657 * sysdeps/i386/fpu/s_sincos.S: Likewise.
32658 * sysdeps/i386/fpu/sincos32.c: Likewise.
32660 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
32662 (libc_feupdateenv_53bit): Define.
32663 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
32665 (libc_feupdateenv_53bit): Define.
32667 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
32668 53 bit (without extend i386 double precision).
32670 * math/libm-test.inc (sincos_test): Add tests for large input.
32674 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
32676 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
32678 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32680 2012-03-15 David S. Miller <davem@davemloft.net>
32682 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
32683 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
32684 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
32685 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
32686 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
32687 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
32688 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
32689 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
32690 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
32691 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
32692 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
32693 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
32694 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
32695 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
32696 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
32697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
32699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
32700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
32702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
32703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
32705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
32706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
32708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
32709 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
32710 fmin/fmax sysdep routines.
32711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
32713 2012-03-14 David S. Miller <davem@davemloft.net>
32715 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
32716 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
32717 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
32718 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
32719 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
32720 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
32721 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
32722 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
32723 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
32724 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
32725 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
32726 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
32727 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
32728 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
32729 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
32730 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
32731 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
32732 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
32733 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
32734 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
32735 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
32736 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
32737 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
32738 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
32739 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
32740 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
32741 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
32742 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
32743 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
32745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
32747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
32748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
32750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
32751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
32753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
32754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
32756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
32757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
32759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
32760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
32762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
32764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
32766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
32768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
32770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
32772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
32774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
32775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
32777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
32778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
32780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
32781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
32783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
32784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
32787 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32790 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32792 * sysdeps/sparc/configure.in: New file.
32793 * sysdeps/sparc/configure: Generate.
32794 * configure.in (libc_cv_sparc_as_vis3): Substitute.
32795 * configure: Regenerate.
32796 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
32797 * config.make.in (have-as-vis3): New.
32798 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
32799 available use -Av9d instead of -Av9a.
32800 * sysdeps/sparc/sparc64/Makefile: Likewise.
32801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
32802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
32804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
32806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
32808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
32810 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
32811 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
32812 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
32813 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
32814 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
32816 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
32817 fzeros/fnegs to load 0x80000000 into a float register instead of
32819 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
32821 2012-03-14 Joseph Myers <joseph@codesourcery.com>
32823 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32825 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
32826 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
32827 ($(inst_includedir)/bits/syscall.h): Remove rule.
32828 ($(objpfx)bits/syscall.d): Include instead of
32829 $(objpfx)syscall-list.d.
32830 (generated): Change syscall-list.h and syscall-list.d to
32831 bits/syscall.h and bits/syscall.d.
32833 2012-03-14 Roland McGrath <roland@hack.frob.com>
32836 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
32838 2012-03-14 Joseph Myers <joseph@codesourcery.com>
32841 * math/s_csqrt.c: Include <float.h>.
32842 (__csqrt): Scale large or subnormal inputs.
32843 * math/s_csqrtf.c: Likewise.
32844 * math/s_csqrtl.c: Likewise.
32845 * math/libm-test.inc (csqrt_test): Add more tests.
32846 * sysdeps/i386/fpu/libm-test-ulps: Update.
32847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32850 * math/libm-test.inc (hypot_test): Add more tests.
32852 2012-03-13 David S. Miller <davem@davemloft.net>
32855 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
32856 double-precision for the calculation instead of scaling.
32858 2012-03-13 Joseph Myers <joseph@codesourcery.com>
32860 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
32861 manipulate bits before adding and subtracting TWO52[sx].
32862 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
32863 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
32865 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
32867 2012-03-13 David S. Miller <davem@davemloft.net>
32869 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
32870 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
32871 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
32872 rtld-global-offsets.h
32873 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32875 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
32878 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
32880 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
32881 'err' in the ifdef scope in which it is actually used.
32883 * nss/nss_db/db-init.c: Include string.h
32885 2012-03-12 David S. Miller <davem@davemloft.net>
32887 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32888 masking out of the most significant byte of random value used.
32889 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32890 Fix coding style in previous change.
32892 * sysdeps/unix/sysv/linux/kernel-features.h
32893 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
32894 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
32896 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
32899 2012-03-11 David S. Miller <davem@davemloft.net>
32901 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
32902 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
32903 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
32904 for 'resultvar' otherwise things get truncated on 64-bit.
32906 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32907 Fix masking out of the most significant byte of random value used.
32909 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32911 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
32913 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32915 2012-03-09 David S. Miller <davem@davemloft.net>
32917 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
32918 variables with appropriate CPP guards.
32919 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
32920 frame pointer, not the stack pointer. Correct layout comments. Fix test
32921 on resulting framesize and the management of the outregs buffer for pltexit.
32922 Preserve floating point return values across _dl_call_pltexit call.
32923 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
32924 framesize and the management of the outregs buffer for pltexit.
32925 Preserve floating point return values across _dl_call_pltexit
32927 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
32928 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
32929 (print_exit): Fix format string for return register value.
32931 2012-03-10 Joseph Myers <joseph@codesourcery.com>
32933 * sunrpc/Makefile (others): Add rpcgen.
32934 ($(objpfx)rpcgen): Remove special build rule and dependency on
32936 * sunrpc/rpcgen.c: New file.
32938 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
32941 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
32942 * stdio-common/bug-vfprintf-nargs.c: Likewise.
32943 * sysdeps/i386/crti.S: Likewise.
32944 * sysdeps/i386/crtn.S: Likewise.
32945 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
32946 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
32947 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
32948 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
32949 * sysdeps/sh/crti.S: Likewise.
32950 * sysdeps/sh/crtn.S: Likewise.
32951 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32954 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
32956 * locale/programs/locfile-kw.gperf: Likewise.
32957 * locale/programs/charmap-kw.h: Regenerated.
32958 * locale/programs/locfile-kw.h: Likewise.
32961 * intl/plural.y: Replace FSF snail mail address with URL.
32962 * intl/plural.c: Regenerated.
32964 2012-03-09 Richard Henderson <rth@twiddle.net>
32966 * include/math_private.h: Remove file.
32967 * math/math_private.h: Move file ...
32968 * sysdeps/generic/math_private.h: ... here.
32970 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
32971 * sysdeps/powerpc/fpu/math_private.h: Likewise.
32972 * sysdeps/x86_64/fpu/math_private.h: Likewise.
32974 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
32975 and <math_private.h>.
32976 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
32977 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
32978 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
32979 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
32980 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
32981 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
32982 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32983 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32984 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32985 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32986 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32987 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32988 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32989 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32990 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32991 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32992 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32993 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32994 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32995 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
32996 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32997 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32998 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32999 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33000 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
33001 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33002 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33003 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33004 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33005 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33006 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33007 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33008 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
33009 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33010 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33011 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33012 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33013 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33014 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33015 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33016 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
33017 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33018 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33019 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
33020 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
33021 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33022 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
33023 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
33024 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33025 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33026 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
33027 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
33028 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
33029 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33030 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
33031 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33032 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33033 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33034 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
33035 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
33036 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33037 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
33038 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33039 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33040 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
33041 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33042 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33043 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33044 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
33045 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
33046 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33047 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33048 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33049 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33050 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
33051 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
33052 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
33053 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33054 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
33055 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
33056 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33057 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
33058 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33059 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33060 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33061 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33062 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
33063 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
33064 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33065 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33066 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33067 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33068 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33069 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33070 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33071 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33072 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33073 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33074 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33075 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33076 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33077 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33078 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33079 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33080 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33081 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33082 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33083 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33084 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33085 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33086 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33087 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33088 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33089 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33090 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
33091 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33092 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33093 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33094 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33095 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33096 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33097 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33098 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33099 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
33100 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33101 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33102 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33103 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
33104 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33105 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
33106 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
33107 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33108 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33109 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
33110 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
33111 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33112 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33113 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33114 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
33115 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33116 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33117 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33118 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33119 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
33120 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
33121 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33122 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33123 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33124 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
33125 * sysdeps/ieee754/k_standard.c: Likewise.
33126 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33127 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33128 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33129 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33130 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33131 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33132 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33133 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33134 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33135 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33136 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33137 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33138 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33139 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33140 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33141 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33142 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33143 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33144 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33145 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
33146 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
33147 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
33148 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33149 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33150 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33151 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33152 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33153 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33154 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33155 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33156 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33157 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33158 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33159 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33160 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33161 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33162 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33163 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
33164 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
33165 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33166 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33167 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33168 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33169 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33170 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33171 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33172 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33173 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33174 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33175 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33176 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33177 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33178 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33179 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
33180 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33181 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33182 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
33183 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
33184 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33185 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33186 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33187 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33188 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33189 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33190 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33191 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33192 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33193 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33194 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33195 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33196 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33197 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33198 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33199 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33200 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33201 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33202 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
33203 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33204 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33205 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33206 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33207 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33208 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
33209 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
33210 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
33211 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33212 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
33213 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33214 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33215 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
33216 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
33217 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
33218 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
33219 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33220 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33221 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
33222 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
33223 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
33224 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
33225 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
33226 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
33227 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33228 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33229 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
33230 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
33231 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33232 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33233 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
33234 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
33235 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
33236 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
33237 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
33238 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33239 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33240 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33241 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33242 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33243 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33244 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33245 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33246 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33247 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33248 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33249 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33250 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33251 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
33252 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33253 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
33254 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
33255 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33256 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33257 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33258 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33259 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
33260 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
33261 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
33262 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
33263 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
33264 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33265 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
33266 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
33267 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33268 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
33269 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
33270 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
33271 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33272 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33273 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
33274 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
33275 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
33276 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33277 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33278 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33279 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33280 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
33281 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
33282 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
33283 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
33284 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
33285 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
33286 * sysdeps/ieee754/s_lib_version.c: Likewise.
33287 * sysdeps/ieee754/s_matherr.c: Likewise.
33288 * sysdeps/ieee754/s_signgam.c: Likewise.
33289 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33290 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33291 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
33292 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
33293 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
33294 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33295 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
33296 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
33297 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
33298 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
33299 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33300 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
33301 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
33302 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33303 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
33304 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33305 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33306 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33307 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33308 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33309 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33311 2012-03-09 Joseph Myers <joseph@codesourcery.com>
33313 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
33314 * sunrpc/rpc_main.c: Likewise.
33315 * sunrpc/rpc_svcout.c: Likewise.
33317 2012-03-09 David S. Miller <davem@davemloft.net>
33319 * include/math_private.h: New file.
33321 2012-03-09 Joseph Myers <joseph@codesourcery.com>
33323 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
33324 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
33325 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
33326 from <bits/socket_type.h>.
33327 (enum __socket_type): Don't define here.
33328 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
33329 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33330 bits/socket_type.h.
33333 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
33334 checking __USE_GNU.
33336 * Makerules ($(inst_includedir)/%.h): New rule.
33337 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
33338 (install-others): Remove variable setting.
33339 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
33341 2012-03-08 Richard Henderson <rth@twiddle.net>
33343 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
33344 from macro to inline function; merge with the
33345 !__LIBC_INTERNAL_MATH_INLINES version.
33346 (__ieee754_sqrtf): Likewise.
33348 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
33349 to inline function.
33350 (__rintf, __floor, __floorf): Likewise.
33352 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
33353 macro to inline function.
33354 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
33356 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
33357 not <math/math_private.h>.
33359 2012-03-08 David S. Miller <davem@davemloft.net>
33361 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
33363 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
33365 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
33367 * resolv/gai_misc.c (handle_requests): Fix struct timespec
33369 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
33370 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
33372 2012-03-08 Ulrich Drepper <drepper@gmail.com>
33374 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
33375 be defined individually, they must be defined as a block. Define
33376 S for printing a string instead of hidint the different by using a
33377 macro for adding the 'l'.
33378 * stdio-common/tst-fphex-wide.c: Adjust.
33380 2012-03-07 Marek Polacek <polacek@redhat.com>
33382 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
33384 2012-03-08 Marek Polacek <polacek@redhat.com>
33387 * stdio-common/Makefile (tests): Add tst-fphex-wide.
33388 * stdio-common/tst-fphex.c: Define a few macros to make the
33389 test reusable. Use them.
33390 * stdio-common/tst-fphex-wide.c: New file.
33392 2012-03-08 Joseph Myers <joseph@codesourcery.com>
33395 * manual/macros.texi (gnusystems): New macro.
33396 (nongnusystems): Likewise.
33397 (gnulinuxhurdsystems): Likewise.
33398 (gnuhurdsystems): Likewise..
33399 (gnulinuxsystems): Likewise.
33400 * manual/charset.texi: Use new macros or @theglibc{} to refer to
33401 variants of the GNU system, not "GNU system".
33402 * manual/conf.texi: Likewise.
33403 * manual/errno.texi: Likewise. Update example of errno macro
33405 * manual/filesys.texi: Likewise.
33406 (getumask): Document as specific to GNU/Hurd.
33407 * manual/install.texi: Likewise. Reword some references to
33409 * manual/intro.texi: Likewise.
33410 * manual/io.texi: Likewise.
33411 (File Name Portability): Detail which constraints are inapplicable
33412 to all GNU systems and which are only inapplicable to GNU/Hurd.
33413 * manual/job.texi: Likewise.
33414 * manual/llio.texi: Likewise.
33415 (O_NOCTTY): Document as present on GNU/Linux.
33416 * manual/maint.texi: Likewise.
33417 * manual/memory.texi: Likewise.
33418 * manual/pattern.texi: Likewise.
33419 * manual/pipe.texi: Likewise.
33420 * manual/process.texi: Likewise.
33421 * manual/resource.texi: Likewise.
33422 (RUSAGE_CHILDREN): Remove statement about specifying a particular
33424 * manual/setjmp.texi: Likewise.
33425 * manual/signal.texi: Likewise.
33426 * manual/startup.texi: Likewise.
33427 * manual/stdio.texi: Likewise.
33428 * manual/terminal.texi: Likewise.
33429 (ONLCR): Document as POSIX.
33430 (OXTABS): Document availability on GNU/Linux as XTABS.
33431 (ONOEOT): Document availability separately from other bits.
33432 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
33433 * manual/time.texi: Likewise.
33434 * manual/users.texi: Likewise.
33435 * INSTALL: Regenerated.
33436 * sysdeps/gnu/errlist.c: Regenerated.
33438 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
33439 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
33440 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
33442 * configure: Regenerated.
33444 2012-03-07 Joseph Myers <joseph@codesourcery.com>
33446 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
33447 default includes instead of AC_HEADER_CHECK.
33448 * sysdeps/i386/configure: Regenerated.
33451 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
33452 * math/s_cacoshf.c (__cacoshf): Likewise.
33453 * math/s_cacoshl.c (__cacoshl): Likewise.
33454 * math/s_casinh.c (__casinh): Set signs of result from argument.
33455 * math/s_casinhf.c (__casinhf): Likewise.
33456 * math/s_casinhl.c (__casinhl): Likewise.
33457 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
33458 (casinh_test): Add more tests.
33459 * sysdeps/i386/fpu/libm-test-ulps: Update.
33460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33462 2012-03-07 Ulrich Drepper <drepper@gmail.com>
33464 * po/zh_TW.po: Update from translation team.
33466 * login/Makefile (distribute): Remove variable.
33467 * catgets/Makefile: Likewise.
33468 * mach/Makefile: Likewise.
33469 * malloc/Makefile: Likewise.
33470 * misc/Makefile: Likewise.
33471 * iconv/Makefile: Likewise.
33472 * nscd/Makefile: Likewise.
33473 * hurd/Makefile: Likewise.
33474 * manual/Makefile: Likewise.
33475 * locale/Makefile: Likewise.
33476 * intl/Makefile: Likewise.
33477 * conform/Makefile: Likewise.
33478 * nss/Makefile: Likewise.
33479 * time/Makefile: Likewise.
33480 * soft-fp/Makefile: Likewise.
33481 * dirent/Makefile: Likewise.
33482 * gmon/Makefile: Likewise.
33483 * po/Makefile: Likewise.
33484 * rt/Makefile: Likewise.
33485 * socket/Makefile: Likewise.
33486 * math/Makefile: Likewise.
33487 * signal/Makefile: Likewise.
33488 * debug/Makefile: Likewise.
33489 * elf/Makefile: Likewise.
33490 * timezone/Makefile: Likewise.
33491 * stdlib/Makefile: Likewise.
33492 * iconvdata/Makefile: Likewise.
33493 * sunrpc/Makefile: Likewise.
33494 * io/Makefile: Likewise.
33495 * argp/Makefile: Likewise.
33496 * inet/Makefile: Likewise.
33497 * hesiod/Makefile: Likewise.
33498 * grp/Makefile: Likewise.
33499 * csu/Makefile: Likewise.
33500 * wctype/Makefile: Likewise.
33501 * crypt/Makefile: Likewise.
33502 * libio/Makefile: Likewise.
33503 * string/Makefile: Likewise.
33504 * nis/Makefile: Likewise.
33505 * resolv/Makefile: Likewise.
33506 * stdio-common/Makefile: Likewise.
33507 * wcsmbs/Makefile: Likewise.
33508 * dlfcn/Makefile: Likewise.
33509 * posix/Makefile: Likewise.
33512 * timezone/Makefile: Don't install timezone files, just the programs
33515 2012-03-06 Ulrich Drepper <drepper@gmail.com>
33517 * nss/databases.def: Add missing gshadow entry.
33519 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
33521 2012-03-06 Marek Polacek <polacek@redhat.com>
33524 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
33525 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
33526 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
33527 * stdio-common/tst-long-dbl-fphex.c: New file.
33529 2012-03-06 David S. Miller <davem@davemloft.net>
33531 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33532 (set_obp_int): New function.
33533 (get_obp_int): New function.
33534 (__get_clockfreq_via_dev_openprom): Likewise.
33535 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
33536 Avoid unused variable warnings on 'val' and use builtin_expect.
33537 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
33539 (INLINE_CLONE_SYSCALL): Likewise.
33541 2012-03-05 David S. Miller <davem@davemloft.net>
33543 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33545 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
33547 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33549 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
33550 only for |x| >= 40.
33551 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33553 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
33555 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
33556 Replace gettimeofday with __vdso_gettimeofday.
33558 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33559 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
33560 __vdso_clock_gettime and __vdso_getcpu.
33562 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
33563 time with __vdso_time.
33565 2012-03-05 Joseph Myers <joseph@codesourcery.com>
33567 * manual/lang.texi (size_t): Note types to which size_t may be
33568 equivalent with the GNU C Library, but do not describe when
33569 differences between them are significant.
33571 2012-03-05 Andreas Jaeger <aj@suse.de>
33573 * sysdeps/i386/fpu/libm-test-ulps: Update.
33575 2012-03-05 Joseph Myers <joseph@codesourcery.com>
33578 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
33579 (__ieee754_pow): Save and restore rounding mode and use
33580 round-to-nearest for main computations.
33581 * math/libm-test.inc (pow_test_tonearest): New function.
33582 (pow_test_towardzero): Likewise.
33583 (pow_test_downward): Likewise.
33584 (pow_test_upward): Likewise.
33585 (main): Call the new functions.
33586 * sysdeps/i386/fpu/libm-test-ulps: Update.
33587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33590 * math/libm-test.inc (cosh_test_tonearest): New function.
33591 (cosh_test_towardzero): Likewise.
33592 (cosh_test_downward): Likewise.
33593 (cosh_test_upward): Likewise.
33594 (sinh_test_tonearest): Likewise.
33595 (sinh_test_towardzero): Likewise.
33596 (sinh_test_downward): Likewise.
33597 (sinh_test_upward): Likewise.
33598 (main): Call the new functions.
33599 * sysdeps/i386/fpu/libm-test-ulps: Update.
33600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33602 2012-03-05 Tom de Vries <tom@codesourcery.com>
33604 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
33605 default stack guard is set in last bytes.
33606 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
33608 2012-03-05 Kees Cook <keescook@chromium.org>
33610 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
33613 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
33614 possibly allocate from heap instead of stack.
33615 * stdio-common/bug-vfprintf-nargs.c: New file.
33616 * stdio-common/Makefile (tests): Add nargs overflow test.
33618 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
33620 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33622 2012-03-03 Marek Polacek <polacek@redhat.com>
33624 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
33625 * math/math_private.h: Likewise.
33626 * stdlib/tst-strtod.c: Likewise.
33627 * sysdeps/i386/i486/bits/atomic.h: Likewise.
33628 * sysdeps/x86_64/bits/atomic.h: Likewise.
33630 2012-03-02 David S. Miller <davem@davemloft.net>
33632 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
33633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
33634 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
33635 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
33636 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
33637 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
33638 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
33639 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
33641 2012-03-02 Roland McGrath <roland@hack.frob.com>
33644 * manual/examples/README: New file, says the example source files
33645 can be used under GPL>=2.
33646 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
33647 line containing just "*/".
33648 * manual/examples/add.c: Add copyright header (GPL>=2).
33649 * manual/examples/argp-ex1.c: Likewise.
33650 * manual/examples/argp-ex2.c: Likewise.
33651 * manual/examples/argp-ex3.c: Likewise.
33652 * manual/examples/argp-ex4.c: Likewise.
33653 * manual/examples/atexit.c: Likewise.
33654 * manual/examples/db.c: Likewise.
33655 * manual/examples/dir.c: Likewise.
33656 * manual/examples/dir2.c: Likewise.
33657 * manual/examples/execinfo.c: Likewise.
33658 * manual/examples/filecli.c: Likewise.
33659 * manual/examples/filesrv.c: Likewise.
33660 * manual/examples/fmtmsgexpl.c: Likewise.
33661 * manual/examples/genpass.c: Likewise.
33662 * manual/examples/inetcli.c: Likewise.
33663 * manual/examples/inetsrv.c: Likewise.
33664 * manual/examples/isockad.c: Likewise.
33665 * manual/examples/longopt.c: Likewise.
33666 * manual/examples/memopen.c: Likewise.
33667 * manual/examples/memstrm.c: Likewise.
33668 * manual/examples/mkfsock.c: Likewise.
33669 * manual/examples/mkisock.c: Likewise.
33670 * manual/examples/mygetpass.c: Likewise.
33671 * manual/examples/pipe.c: Likewise.
33672 * manual/examples/popen.c: Likewise.
33673 * manual/examples/rprintf.c: Likewise.
33674 * manual/examples/search.c: Likewise.
33675 * manual/examples/select.c: Likewise.
33676 * manual/examples/setjmp.c: Likewise.
33677 * manual/examples/sigh1.c: Likewise.
33678 * manual/examples/sigusr.c: Likewise.
33679 * manual/examples/stpcpy.c: Likewise.
33680 * manual/examples/strdupa.c: Likewise.
33681 * manual/examples/strftim.c: Likewise.
33682 * manual/examples/strncat.c: Likewise.
33683 * manual/examples/subopt.c: Likewise.
33684 * manual/examples/swapcontext.c: Likewise.
33685 * manual/examples/termios.c: Likewise.
33686 * manual/examples/testopt.c: Likewise.
33687 * manual/examples/testpass.c: Likewise.
33688 * manual/examples/timeval_subtract.c: Likewise.
33691 * manual/time.texi (Elapsed Time): Move timeval_subtract example
33693 * manual/timeval_subtract.c.texi: ... here, new file.
33695 2012-03-02 David S. Miller <davem@davemloft.net>
33697 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
33699 2012-03-02 Joseph Myers <joseph@codesourcery.com>
33702 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
33703 (__sin): Save and restore rounding mode and use round-to-nearest
33704 for all computations.
33705 (__cos): Save and restore rounding mode and use round-to-nearest
33706 for all computations.
33707 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
33709 (tan): Save and restore rounding mode and use round-to-nearest for
33711 * math/libm-test.inc (cos_test_tonearest): New function.
33712 (cos_test_towardzero): Likewise.
33713 (cos_test_downward): Likewise.
33714 (cos_test_upward): Likewise.
33715 (sin_test_tonearest): Likewise.
33716 (sin_test_towardzero): Likewise.
33717 (sin_test_downward): Likewise.
33718 (sin_test_upward): Likewise.
33719 (tan_test_tonearest): Likewise.
33720 (tan_test_towardzero): Likewise.
33721 (tan_test_downward): Likewise.
33722 (tan_test_upward): Likewise.
33723 (main): Call the new functions.
33724 * sysdeps/i386/fpu/libm-test-ulps: Update.
33725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33728 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
33729 small n, then large n, before computing and testing k+n.
33730 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
33731 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
33733 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
33735 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
33736 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
33737 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
33738 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
33739 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
33740 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
33741 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
33742 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
33743 * math/libm-test.inc (scalbn_test): Add more tests.
33744 (scalbln_test): Likewise.
33746 * manual/filesys.texi (mode_t): Describe constraints on size and
33747 signedness, not exact equivalence to a particular type.
33749 (ino64_t): Likewise.
33751 (nlink_t): Likewise.
33752 (blkcnt_t): Likewise.
33753 (blkcnt64_t): Likewise.
33754 * manual/llio.texi (off_t): Likewise.
33757 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
33758 (__ieee754_exp): Save and restore rounding mode and use
33759 round-to-nearest for all computations.
33760 * math/libm-test.inc (exp_test_tonearest): New function.
33761 (exp_test_towardzero): Likewise.
33762 (exp_test_downward): Likewise.
33763 (exp_test_upward): Likewise.
33764 (main): Call the new functions.
33765 * sysdeps/i386/fpu/libm-test-ulps: Update.
33766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33768 2012-03-01 Chris Demetriou <cgd@google.com>
33770 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
33771 have predictable order.
33773 2012-03-01 David S. Miller <davem@davemloft.net>
33775 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
33777 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
33778 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
33779 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
33780 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
33782 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
33783 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
33784 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
33785 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
33786 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
33787 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
33788 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
33789 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
33790 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
33792 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33794 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
33795 * sysdeps/sparc/fpu/libm-test-ulps: to here.
33796 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
33798 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
33799 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33800 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
33801 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
33802 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
33803 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
33804 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
33805 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33806 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
33807 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
33808 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
33809 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33810 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33811 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
33812 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33813 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33814 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
33815 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
33816 * sysdeps/sparc/elf/configure: Regenerated.
33818 2012-03-01 Joseph Myers <joseph@codesourcery.com>
33820 * configure.in (AS, LD): Require binutils 2.20 or later.
33821 * configure: Regenerated.
33822 * manual/install.texi (Tools for Compilation): Give binutils 2.20
33823 as required minimum version.
33824 * INSTALL: Regenerated.
33828 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
33829 before squaring exponent.
33830 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
33831 bottom long double and 27 bits of top long double before squaring
33833 * math/libm-test.inc (erfc_test): Add more tests.
33834 * sysdeps/i386/fpu/libm-test-ulps: Update.
33835 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33838 2012-03-01 Kai Tietz <ktietz@redhat.com>
33840 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
33841 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
33842 containing bit-fields.
33843 * soft-fp/extended.h (_FP_UNION_E): Likewise.
33844 * soft-fp/single.h (_FP_UNION_S): Likewise.
33845 * soft-fp/double.h (_FP_UNION_D): Likewise.
33847 2012-02-29 Joseph Myers <joseph@codesourcery.com>
33850 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
33851 not include ../strcmp.S.
33852 [USE_AS_STRNCASECMP_L]: Likewise.
33853 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
33854 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
33855 * sysdeps/i386/i686/multiarch/strncase_l-c.c
33856 (__strncasecmp_l_ia32): Define as alias to
33857 __strncasecmp_l_nonascii.
33860 * math/libm-test.inc (expm1_test): Add test for bug 5794.
33861 * sysdeps/i386/fpu/libm-test-ulps: Update.
33862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33864 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
33865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33867 2012-02-29 Jeff Law <law@redhat.com>
33869 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
33870 out of bounds read.
33872 2012-02-29 Marek Polacek <polacek@redhat.com>
33875 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
33876 * elf/Makefile: Add rules to run tst-unused-dep.out.
33878 2012-02-28 David S. Miller <davem@davemloft.net>
33880 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
33881 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
33882 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
33883 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
33884 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
33885 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
33887 2012-02-29 Joseph Myers <joseph@codesourcery.com>
33889 * math/libm-test.inc (llround_test): Move one test from
33890 lround_test. Use TEST_f_L in moved test.
33891 (lround_test): Move misplaced test to llround_test. Add testcase
33894 2012-02-28 Ulrich Drepper <drepper@gmail.com>
33896 * sysdeps/x86_64/fpu/e_expf.S: New file.
33897 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
33899 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
33902 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
33903 of remain_len that may cause incomplete multi-byte character and
33905 * posix/bug-regex33.c: New file.
33906 * posix/Makefile (tests): Add bug-regex33.
33908 2012-02-28 Joseph Myers <joseph@codesourcery.com>
33910 * manual/macros.texi: New file.
33911 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
33912 * manual/libc.texinfo: Include macros.texi.
33913 * manual/creatute.texi: Likewise.
33914 * manual/install.texi: Likewise.
33915 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
33916 @glibcadj{} in references to the GNU C Library.
33917 * manual/charset.texi: Likewise.
33918 * manual/conf.texi: Likewise.
33919 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
33920 when not using those macros.
33921 * manual/creature.texi: Likewise.
33922 * manual/crypt.texi: Likewise.
33923 * manual/errno.texi: Likewise.
33924 * manual/filesys.texi: Likewise.
33925 * manual/header.texi: Likewise.
33926 * manual/install.texi: Likewise.
33927 * manual/intro.texi: Likewise.
33928 * manual/io.texi: Likewise.
33929 * manual/job.texi: Likewise.
33930 * manual/lang.texi: Likewise.
33931 * manual/libc.texiinfo: Likewise.
33932 * manual/llio.texi: Likewise.
33933 * manual/locale.texi: Likewise.
33934 * manual/maint.texi: Likewise.
33935 * manual/math.texi: Likewise.
33936 * manual/memory.texi: Likewise.
33937 * manual/message.texi: Likewise.
33938 * manual/nss.texi: Likewise.
33939 * manual/pattern.texi: Likewise.
33940 * manual/process.texi: Likewise.
33941 * manual/resource.texi: Likewise.
33942 * manual/search.texi: Likewise.
33943 * manual/setjmp.texi: Likewise.
33944 * manual/signal.texi: Likewise.
33945 * manual/socket.texi: Likewise.
33946 * manual/startup.texi: Likewise.
33947 * manual/stdio.texi: Likewise.
33948 * manual/string.texi: Likewise.
33949 * manual/sysinfo.texi: Likewise.
33950 * manual/syslog.texi: Likewise.
33951 * manual/terminal.texi: Likewise.
33952 * manual/time.texi: Likewise.
33953 * manual/users.texi: Likewise.
33954 * INSTALL: Regenerated.
33955 * NOTES: Regenerated.
33956 * sysdeps/gnu/errlist.c: Regenerated.
33958 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
33960 * include/dirent.h: Include <dirstream.h> before
33963 2012-02-28 David S. Miller <davem@davemloft.net>
33965 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
33966 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
33967 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
33968 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
33970 2012-02-27 David S. Miller <davem@davemloft.net>
33972 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
33973 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
33974 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
33975 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
33977 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
33978 frame pointer instead of stack pointer relative arg slot.
33979 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
33980 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
33981 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
33983 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
33986 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
33988 2012-02-27 David S. Miller <davem@davemloft.net>
33990 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
33991 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
33992 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
33993 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
33994 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
33995 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
33996 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
33997 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
33999 2012-02-27 Joseph Myers <joseph@codesourcery.com>
34001 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
34002 later. Allow versions 5-9.
34003 * configure: Regenerated.
34004 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
34005 required minimum version and 4.6 as recommended version. Do not
34006 mention bugs in GCC 2.7 and 2.8.
34007 * INSTALL: Regenerated.
34009 2012-02-27 David S. Miller <davem@davemloft.net>
34011 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
34012 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
34013 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
34014 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
34015 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
34016 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
34017 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
34018 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
34020 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
34021 manipulate bits before adding and subtracting TWO112[sx].
34022 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34024 2012-02-27 Roland McGrath <roland@hack.frob.com>
34027 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
34028 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
34029 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
34030 being in POSIX, because they are in 1003.1-2008.
34032 * rt/tst-aio.c: Include <fcntl.h>.
34033 * rt/tst-aio7.c: Likewise.
34034 * rt/tst-aio64.c: Likewise.
34036 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
34038 2012-02-27 Joseph Myers <joseph@codesourcery.com>
34040 * manual/install.texi (--with-headers): Describe headers as
34041 interface headers, not private headers.
34042 (Specific advice for GNU/Linux systems): Describe use of headers
34043 from "make headers_install", not private headers from older
34045 * INSTALL: Regenerated.
34046 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
34048 * sysdeps/unix/sysv/linux/configure: Regenerated.
34050 * manual/llio.texi (fclean): Remove documentation.
34052 * manual/Makefile (libc-texi-generated): New variable. Include
34054 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
34055 $(libc-texi-generated), not duplicated list of files.
34056 (version.texi, stamp-version): New rules.
34057 (realclean): Remove $(libc-texi-generated), not individual files
34058 from that list. Do not remove dir-add.texinfo.
34059 * manual/libc.texinfo: Comment out uses of edition numbers and
34060 references to printed manual. Remove last-updated dates.
34061 (EDITION): Comment out.
34063 (VERSION, UPDATED): Remove.
34064 (version.texi): Include.
34066 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
34068 * sysdeps/posix/spawni.c: Include <signal.h>.
34069 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
34070 * sysdeps/pthread/aio_fsync.c: Likewise.
34072 2012-02-26 Ulrich Drepper <drepper@gmail.com>
34074 * conform/Makefile (tests): Run only when not cross-compiling and
34075 when fast-check is not defined.
34077 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
34078 * conform/data/limits.h-data: Fixes for POSIX2008.
34079 * conform/run-conformtest.sh: Run all tests.
34080 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
34082 * include/bits/dlfcn.h: Likewise.
34083 * include/langinfo.h: Likewise.
34084 * include/monetary.h: Likewise.
34085 * include/sys/poll.h: Likewise.
34087 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
34089 * posix/spawn.h: Define __need_sigset_t.
34090 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
34091 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
34092 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
34093 to get sigevent_t only.
34094 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
34095 only for __USE_GNU.
34096 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34097 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34098 process_vm_writev only for __USE_GNU.
34099 * termios/termios.h: Declare tcgetsid also for POSIX2008.
34101 * conform/Makefile: For now ignore errors from run-conformtest.
34102 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
34103 POSIX to avoid namespace pollution. Don't prepend headers.
34104 * conform/data/aio.h-data: Fixes for POSIX testing.
34105 * conform/data/fcntl.h-data: Likewise.
34106 * conform/data/glob.h-data: Likewise.
34107 * conform/data/grp.h-data: Likewise.
34108 * conform/data/pthread.h-data: Likewise.
34109 * conform/data/pwd.h-data: Likewise.
34110 * conform/data/signal.h-data: Likewise.
34111 * conform/data/spawn.h-data: Likewise.
34112 * conform/data/stdio.h-data: Likewise.
34113 * conform/data/stdlib.h-data: Likewise.
34114 * conform/data/stropts.h-data: Likewise.
34115 * conform/data/sys/mman.h-data: Likewise.
34116 * conform/data/sys/stat.h-data: Likewise.
34117 * conform/data/sys/types.h-data: Likewise.
34118 * conform/data/sys/wait.h-data: Likewise.
34119 * conform/data/time.h-data: Likewise.
34120 * conform/data/unistd.h-data: Likewise.
34121 * conform/data/utime.h-data: Likewise.
34123 * io/sys/stat.h: fchmod was always in POSIX.
34124 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
34125 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
34126 * rt/aio.h: Define __need_timespec before including <time.h>.
34127 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
34128 struct. Add forward declaration of pthread_attr_t and use it in
34130 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34131 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34132 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
34133 always remove CLK_TCK definition.
34135 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
34137 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
34139 2012-02-25 Ulrich Drepper <drepper@gmail.com>
34141 * conform/run-conformtest.sh: New file.
34142 * conform/Makefile: Run run-conformtest for tests.
34143 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
34146 * conform/data/uchar.h-data: New file.
34147 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
34148 * conform/data/arpa/inet.h-data: Likewise.
34149 * conform/data/assert.h-data: Likewise.
34150 * conform/data/complex.h-data: Likewise.
34151 * conform/data/cpio.h-data: Likewise.
34152 * conform/data/ctype.h-data: Likewise.
34153 * conform/data/dirent.h-data: Likewise.
34154 * conform/data/dlfcn.h-data: Likewise.
34155 * conform/data/errno.h-data: Likewise.
34156 * conform/data/fcntl.h-data: Likewise.
34157 * conform/data/float.h-data: Likewise.
34158 * conform/data/fmtmsg.h-data: Likewise.
34159 * conform/data/fnmatch.h-data: Likewise.
34160 * conform/data/ftw.h-data: Likewise.
34161 * conform/data/glob.h-data: Likewise.
34162 * conform/data/grp.h-data: Likewise.
34163 * conform/data/iconv.h-data: Likewise.
34164 * conform/data/inttypes.h-data: Likewise.
34165 * conform/data/langinfo.h-data: Likewise.
34166 * conform/data/libgen.h-data: Likewise.
34167 * conform/data/limits.h-data: Likewise.
34168 * conform/data/locale.h-data: Likewise.
34169 * conform/data/math.h-data: Likewise.
34170 * conform/data/monetary.h-data: Likewise.
34171 * conform/data/mqueue.h-data: Likewise.
34172 * conform/data/ndbm.h-data: Likewise.
34173 * conform/data/net/if.h-data: Likewise.
34174 * conform/data/netdb.h-data: Likewise.
34175 * conform/data/netinet/in.h-data: Likewise.
34176 * conform/data/nl_types.h-data: Likewise.
34177 * conform/data/poll.h-data: Likewise.
34178 * conform/data/pthread.h-data: Likewise.
34179 * conform/data/pwd.h-data: Likewise.
34180 * conform/data/regex.h-data: Likewise.
34181 * conform/data/sched.h-data: Likewise.
34182 * conform/data/search.h-data: Likewise.
34183 * conform/data/semaphore.h-data: Likewise.
34184 * conform/data/setjmp.h-data: Likewise.
34185 * conform/data/signal.h-data: Likewise.
34186 * conform/data/spawn.h-data: Likewise.
34187 * conform/data/stdarg.h-data: Likewise.
34188 * conform/data/stdio.h-data: Likewise.
34189 * conform/data/stdlib.h-data: Likewise.
34190 * conform/data/string.h-data: Likewise.
34191 * conform/data/strings.h-data: Likewise.
34192 * conform/data/stropts.h-data: Likewise.
34193 * conform/data/sys/ipc.h-data: Likewise.
34194 * conform/data/sys/mman.h-data: Likewise.
34195 * conform/data/sys/msg.h-data: Likewise.
34196 * conform/data/sys/resource.h-data: Likewise.
34197 * conform/data/sys/select.h-data: Likewise.
34198 * conform/data/sys/sem.h-data: Likewise.
34199 * conform/data/sys/shm.h-data: Likewise.
34200 * conform/data/sys/socket.h-data: Likewise.
34201 * conform/data/sys/stat.h-data: Likewise.
34202 * conform/data/sys/statvfs.h-data: Likewise.
34203 * conform/data/sys/time.h-data: Likewise.
34204 * conform/data/sys/timeb.h-data: Likewise.
34205 * conform/data/sys/times.h-data: Likewise.
34206 * conform/data/sys/types.h-data: Likewise.
34207 * conform/data/sys/uio.h-data: Likewise.
34208 * conform/data/sys/un.h-data: Likewise.
34209 * conform/data/sys/utsname.h-data: Likewise.
34210 * conform/data/sys/wait.h-data: Likewise.
34211 * conform/data/syslog.h-data: Likewise.
34212 * conform/data/tar.h-data: Likewise.
34213 * conform/data/termios.h-data: Likewise.
34214 * conform/data/utime.h-data: Likewise.
34215 * conform/data/utmpx.h-data: Likewise.
34216 * conform/data/varargs.h-data: Likewise.
34217 * conform/data/wchar.h-data: Likewise.
34218 * conform/data/wctype.h-data: Likewise.
34219 * conform/data/wordexp.h-data: Likewise.
34221 * include/stropts.h: New file.
34222 * include/uchar.h: New file.
34223 * include/aio.h: Changes to allow conformtest.pl to use the headers.
34224 * include/assert.h: Likewise.
34225 * include/ctype.h: Likewise.
34226 * include/dirent.h: Likewise.
34227 * include/dlfcn.h: Likewise.
34228 * include/fcntl.h: Likewise.
34229 * include/fnmatch.h: Likewise.
34230 * include/glob.h: Likewise.
34231 * include/grp.h: Likewise.
34232 * include/libio.h: Likewise.
34233 * include/locale.h: Likewise.
34234 * include/math.h: Likewise.
34235 * include/net/if.h: Likewise.
34236 * include/netdb.h: Likewise.
34237 * include/netinet/in.h: Likewise.
34238 * include/pthread.h: Likewise.
34239 * include/pwd.h: Likewise.
34240 * include/regex.h: Likewise.
34241 * include/sched.h: Likewise.
34242 * include/search.h: Likewise.
34243 * include/setjmp.h: Likewise.
34244 * include/signal.h: Likewise.
34245 * include/stdio.h: Likewise.
34246 * include/stdlib.h: Likewise.
34247 * include/string.h: Likewise.
34248 * include/sys/cdefs.h: Likewise.
34249 * include/sys/mman.h: Likewise.
34250 * include/sys/msg.h: Likewise.
34251 * include/sys/resource.h: Likewise.
34252 * include/sys/select.h: Likewise.
34253 * include/sys/socket.h: Likewise.
34254 * include/sys/stat.h: Likewise.
34255 * include/sys/statvfs.h: Likewise.
34256 * include/sys/time.h: Likewise.
34257 * include/sys/times.h: Likewise.
34258 * include/sys/uio.h: Likewise.
34259 * include/sys/utsname.h: Likewise.
34260 * include/sys/wait.h: Likewise.
34261 * include/termios.h: Likewise.
34262 * include/time.h: Likewise.
34263 * include/ulimit.h: Likewise.
34264 * include/unistd.h: Likewise.
34265 * include/utime.h: Likewise.
34266 * include/wchar.h: Likewise.
34267 * include/wctype.h: Likewise.
34268 * include/wordexp.h: Likewise.
34270 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
34272 * time/time.h: TIME_UTC must be a macro.
34273 Make timespec_get available for ISO C11 only as well.
34275 2012-02-24 Ulrich Drepper <drepper@gmail.com>
34277 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
34278 Reported by Peng Haitao <penght@cn.fujitsu.com>.
34280 2012-02-24 Joseph Myers <joseph@codesourcery.com>
34282 * configure.in: Use -o not -a in test for unsupported multi-arch.
34284 2012-02-24 Joseph Myers <joseph@codesourcery.com>
34286 * manual/texinfo.tex: Update to version 2012-01-19.16.
34288 2012-02-24 Joseph Myers <joseph@codesourcery.com>
34290 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
34292 2012-02-24 Roland McGrath <roland@hack.frob.com>
34295 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
34296 * manual/fdl-1.3.texi: New file.
34297 * manual/fdl-1.1.texi: File removed.
34300 * manual/libc.texinfo (FDL_VERSION): New @set.
34301 Use it for mention of FDL in cover text.
34302 (Documentation License): Use it in @include file name.
34304 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34305 Roland McGrath <roland@hack.frob.com>
34308 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
34309 not LONG_LONG_MAX and LONG_LONG_MIN.
34310 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
34311 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
34313 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
34315 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34319 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
34320 manipulate bits before adding and subtracting TWO23[sx].
34321 * math/libm-test.inc (nearbyint_test): Add more tests.
34323 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34326 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
34327 bits before adding and subtracting TWO23[sx].
34328 * math/libm-test.inc (rint_test): Add more tests.
34329 (rint_test_tonearest): Likewise.
34330 (rint_test_towardzero): Likewise.
34331 (rint_test_downward): Likewise.
34332 (rint_test_upward: Likewise.
34334 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34337 * include/stdc-predef.h: New file. Extracted from features.h.
34338 * include/features.h: Include stdc-predef.h.
34339 * Makefile (headers): Add stdc-predef.h.
34340 * CONFORMANCE (Compiler limitations): Update.
34342 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34344 * manual/libc.texinfo (VERSION, UPDATED): Revert.
34346 2012-02-21 David S. Miller <davem@davemloft.net>
34348 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
34349 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34351 2012-02-20 David S. Miller <davem@davemloft.net>
34353 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
34354 using a normal save/restore sequence, rather than allocating a
34355 dummy stack frame just to store a frame pointer and restore.
34356 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34358 2012-02-21 Joseph Myers <joseph@codesourcery.com>
34360 * manual/install.texi: Fix stray word in line-wrapped comment.
34362 2012-02-20 David S. Miller <davem@davemloft.net>
34364 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
34365 both binutils and gcc support GOTDATA.
34367 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
34368 "rd %pc" in the PIC register setup sequences.
34370 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
34371 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
34372 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34373 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
34374 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34375 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34376 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34377 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34378 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
34379 (SYSCALL_ERROR_HANDLER): Likewise.
34380 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34381 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34382 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
34383 (SYSCALL_ERROR_HANDLER): Likewise.
34385 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
34386 (HAVE_GCC_GOTDATA): New.
34387 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
34388 relocation support in both binutils and gcc.
34389 * sysdeps/sparc/elf/configure: Regenerate.
34391 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
34392 * sysdeps/sparc/sparc32/elf/configure: Delete.
34393 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
34394 * sysdeps/sparc/sparc64/elf/configure: Delete.
34395 * sysdeps/sparc/elf/configure.in: New file.
34396 * sysdeps/sparc/elf/configure: Generate.
34398 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
34399 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
34400 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34401 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
34402 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
34404 2012-02-21 Joseph Myers <joseph@codesourcery.com>
34406 * manual/install.texi: Do not mention specific glibc version
34408 * manual/libc.texinfo (VERSION, UPDATED): Update.
34409 (@copying): Use @copyright{} and range of years.
34411 2012-02-21 Joseph Myers <joseph@codesourcery.com>
34414 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
34415 [crti.S not in sysdirs] (generated): Do not append.
34416 [crti.S not in sysdirs] (omit-deps): Likewise.
34417 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
34418 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
34419 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
34420 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
34421 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
34423 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
34424 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
34425 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
34426 * csu/defs.awk: Remove file.
34427 * sysdeps/generic/initfini.c: Likewise.
34428 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
34430 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
34433 2012-02-20 Joseph Myers <joseph@codesourcery.com>
34435 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
34436 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
34437 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
34438 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
34439 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
34440 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
34442 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
34443 (__EPOLL_PACKED): Define to empty if not defined by
34445 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
34446 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34449 2012-02-20 Joseph Myers <joseph@codesourcery.com>
34451 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
34452 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
34453 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
34454 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
34456 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
34457 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34460 2012-02-20 Joseph Myers <joseph@codesourcery.com>
34462 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
34464 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34465 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34466 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
34467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34469 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
34471 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34472 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34474 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
34476 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
34477 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
34479 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
34481 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
34484 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
34486 * math/w_acos.c: Use non-signaling floating-point comparisons.
34487 * math/w_acosf.c: Likewise.
34488 * math/w_acosh.c: Likewise.
34489 * math/w_acoshf.c: Likewise.
34490 * math/w_acoshl.c: Likewise.
34491 * math/w_acosl.c: Likewise.
34492 * math/w_asin.c: Likewise.
34493 * math/w_asinf.c: Likewise.
34494 * math/w_asinl.c: Likewise.
34495 * math/w_atanh.c: Likewise.
34496 * math/w_atanhf.c: Likewise.
34497 * math/w_atanhl.c: Likewise.
34498 * math/w_exp2.c: Likewise.
34499 * math/w_exp2f.c: Likewise.
34500 * math/w_exp2l.c: Likewise.
34501 * math/w_j0.c: Likewise.
34502 * math/w_j0f.c: Likewise.
34503 * math/w_j0l.c: Likewise.
34504 * math/w_j1.c: Likewise.
34505 * math/w_j1f.c: Likewise.
34506 * math/w_j1l.c: Likewise.
34507 * math/w_jn.c: Likewise.
34508 * math/w_jnf.c: Likewise.
34509 * math/w_log.c: Likewise.
34510 * math/w_log10.c: Likewise.
34511 * math/w_log10f.c: Likewise.
34512 * math/w_log10l.c: Likewise.
34513 * math/w_log2.c: Likewise.
34514 * math/w_log2f.c: Likewise.
34515 * math/w_log2l.c: Likewise.
34516 * math/w_logf.c: Likewise.
34517 * math/w_logl.c: Likewise.
34518 * math/w_sqrt.c: Likewise.
34519 * math/w_sqrtf.c: Likewise.
34520 * math/w_sqrtl.c: Likewise.
34521 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34522 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
34523 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34524 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
34525 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
34527 2012-02-19 Joseph Myers <joseph@codesourcery.com>
34530 * manual/string.texi (strnlen): Use correct parameter name in
34531 equivalent expression.
34533 2012-02-19 Joseph Myers <joseph@codesourcery.com>
34536 * manual/users.texi (seteuid): Consistently use neweuid for
34539 2012-02-19 Joseph Myers <joseph@codesourcery.com>
34542 * manual/nss.texi (Services in the NSS configuration): Correct
34543 list of services in example configuration file.
34545 2012-02-19 Nick Bowler <nbowler@draconx.ca>
34548 * manual/arith.texi: Remove statements about negative zero
34549 behaving identically to zero.
34551 2012-02-18 Joseph Myers <joseph@codesourcery.com>
34554 * manual/install.texi: Do not document upgrading from libc5.
34556 2012-02-18 Joseph Myers <joseph@codesourcery.com>
34559 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
34561 2012-02-18 David S. Miller <davem@davemloft.net>
34563 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
34564 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
34565 %o7 across the call.
34566 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
34568 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
34569 SETUP_PIC_REG_LEAF.
34570 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34571 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
34572 * sysdeps/sparc/crtn.S: Likewise.
34574 2012-02-17 Ulrich Drepper <drepper@gmail.com>
34576 * aout/Makefile: Remove.
34578 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
34581 * manual/examples/argp-ex1.c (main): Format definition in GNU
34583 * manual/examples/argp-ex2.c (main): Likewise.
34584 * manual/examples/argp-ex3.c (main): Likewise.
34585 * manual/examples/argp-ex4.c (main): Likewise.
34586 * manual/examples/longopt.c (main): Use new-style prototype
34588 * manual/examples/strncat.c (main): Specify return type and use
34589 (void) for arguments.
34590 * manual/examples/subopt.c (main): Use char **argv argument.
34592 2012-02-17 Joseph Myers <joseph@codesourcery.com>
34595 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
34598 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
34601 * manual/string.texi (strchr): Change when strchrnul is
34604 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
34607 * manual/locale.texi (setlocale): Document LOCPATH.
34609 2012-02-17 Joseph Myers <joseph@codesourcery.com>
34612 * manual/process.texi (execle): Move @dots{} before last argument.
34614 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
34617 * manual/charset.texi (Generic Charset Conversion): Fix typo
34618 (LC_TYPE -> LC_CTYPE).
34620 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
34623 * manual/arith.texi (scalbn): Use @var{} on parameter names.
34624 (scalbnf): Likewise.
34625 (scalbnl): Likewise.
34626 (scalbln): Likewise.
34627 (scalblnf): Likewise.
34628 (scalblnl): Likewise.
34629 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
34630 (vwarnx): Likewise.
34633 * manual/filesys.texi (telldir): Use braces around return type.
34634 * manual/llio.texi (mmap): Add space after comma.
34635 (mmap64): Likewise.
34636 * manual/math.texi (jn): Use @var{} on parameter names.
34642 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
34644 * manual/resource.texi (ulimit): Use @dots{} instead of literal
34646 (sched_get_priority_min): Remove semicolon on @deftypefun line.
34647 (sched_get_priority_max): Likewise.
34648 * manual/signal.texi (sigvec): Add space after comma.
34649 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
34651 (if_indextoname): Likewise.
34652 (if_freenameindex): Likewise.
34653 (sendto): Use ',' instead of '.' in prototype.
34654 * manual/startup.texi (syscall): Use @dots{} instead of literal
34656 * manual/stdio.texi (__fpending): Separate initial words of
34657 paragraph from @deftypefun line.
34658 * manual/syslog.texi (syslog): Use @dots{} instead of literal
34660 (vsyslog): Use @var{} on parameter names.
34661 * manual/terminal.texi (stty): Use @var{} on parameter names.
34662 * manual/users.texi (getutmp): Use @var{} on parameter names.
34663 (getutmpx): Likewise.
34665 2012-02-17 Joseph Myers <joseph@codesourcery.com>
34668 * manual/stdio.texi (fopen): Fix typos in description of
34671 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
34674 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
34675 get clock_id definition.
34677 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
34680 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
34681 (madvise): Cast every argument to void on its own.
34683 2012-02-17 Joseph Myers <joseph@codesourcery.com>
34686 * manual/startup.texi (Exit Status): Fix typo.
34688 2012-02-17 Joseph Myers <joseph@codesourcery.com>
34691 * manual/examples/argp-ex1.c: Include <stdlib.h>.
34692 * manual/examples/argp-ex2.c: Likewise.
34693 * manual/examples/argp-ex3.c: Likewise.
34695 2012-02-16 Richard Henderson <rth@redhat.com>
34697 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
34698 * sysdeps/s390/s390-32/initfini.c: Remove.
34699 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
34700 * sysdeps/s390/s390-64/initfini.c: Remove.
34702 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34704 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
34705 compiler output for sysdeps/generic/initfini.c.
34706 * sysdeps/sh/elf/initfini.c: Remove file.
34708 2012-02-16 David S. Miller <davem@davemloft.net>
34711 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
34713 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
34714 * sysdeps/sparc/crti.S: New file.
34715 * sysdeps/sparc/crtn.S: New file.
34716 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
34717 * sysdeps/sparc/sparc64/Makefile: Likewise.
34719 2012-02-15 Mike Frysinger <vapier@gentoo.org>
34722 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
34724 2012-02-15 Roland McGrath <roland@hack.frob.com>
34727 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
34729 * mach/devstream.c (cookie_io_functions_t): Macro removed.
34730 (write, read, close): Likewise.
34731 Patch by Aurelien Jarno <aurelien@aurel32.net>.
34733 2012-02-15 Joseph Myers <joseph@codesourcery.com>
34735 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
34736 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
34737 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
34738 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
34740 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
34741 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34744 2012-02-14 Marek Polacek <polacek@redhat.com>
34746 * sysdeps/x86_64/crti.S: New file.
34747 * sysdeps/x86_64/crtn.S: New file.
34748 * sysdeps/x86_64/elf/initfini.c: Remove file.
34750 2012-02-13 Joseph Myers <joseph@codesourcery.com>
34752 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
34753 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
34754 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
34755 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
34757 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
34758 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34761 2012-02-13 Joseph Myers <joseph@codesourcery.com>
34763 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
34764 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
34765 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
34766 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
34768 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
34769 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34772 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
34774 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
34775 __feraiseexcept instead of feraiseexcept.
34777 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
34778 nanosleep invocations.
34779 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
34780 strings, and add error checking for a nanosleep invocations.
34782 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
34784 Replace FSF snail mail address with URLs, as per GNU coding standards.
34785 Most of the snail mail addresses were wrong anyway, and omitting
34786 them makes the source code easier to maintain. Almost all of the
34787 changes are to license notices and to locale LC_IDENTIFICATION
34788 addresses, except for this one:
34789 * manual/libc.texinfo: In "Published by", give the FSF's URL,
34790 not its snail mail address.
34792 2012-02-09 Richard Henderson <rth@twiddle.net>
34794 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
34795 of kernel-features.h.
34797 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
34799 2012-02-08 Marek Polacek <polacek@redhat.com>
34801 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
34802 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
34803 * sysdeps/gnu/_G_config.h: Likewise.
34804 * sysdeps/generic/_G_config.h: Likewise.
34806 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
34808 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
34810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34812 * sysdeps/powerpc/powerpc32/crti.S: New file.
34813 * sysdeps/powerpc/powerpc32/crtn.S: New file.
34814 * sysdeps/powerpc/powerpc64/crti.S: New file.
34815 * sysdeps/powerpc/powerpc64/crtn.S: New file.
34817 * Makeconfig (have-initfini): Don't set.
34818 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
34819 * configure.in (nopic_initfini): Don't substitute.
34820 * config.h.in (HAVE_INITFINI): Don't #undef.
34821 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
34822 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
34824 2012-02-08 Joseph Myers <joseph@codesourcery.com>
34826 Support crti.S and crtn.S provided directly by architectures.
34827 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
34828 [crti.S in sysdirs] (omit-deps): Likewise.
34829 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
34830 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
34831 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
34832 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
34833 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
34834 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
34835 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
34836 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
34837 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
34838 compiler output for sysdeps/generic/initfini.c.
34839 * sysdeps/i386/elf/Makefile: Remove file.
34840 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
34842 2012-02-07 Marek Polacek <polacek@redhat.com>
34844 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
34845 * sysdeps/gnu/_G_config.h: Likewise.
34846 * sysdeps/mach/hurd/_G_config.h: Likewise.
34848 2012-02-07 Marek Polacek <polacek@redhat.com>
34850 * math/Makefile (tests): Add tst-CMPLX2.
34851 * math/tst-CMPLX2.c: New file.
34853 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
34855 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34857 * math/libm-test.inc (jn_test): Add missing L suffix.
34859 2012-02-06 Marek Polacek <polacek@redhat.com>
34861 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
34862 * sysdeps/i386/fpu/e_powf.S: Likewise.
34863 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34864 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34865 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34866 * sysdeps/i386/fpu/e_pow.S: Likewise.
34867 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34868 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34869 * sysdeps/i386/fpu/s_expm1.S: Likewise.
34870 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34871 * sysdeps/i386/fpu/e_log2.S: Likewise.
34872 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34873 * sysdeps/i386/fpu/e_scalb.S: Likewise.
34874 * sysdeps/i386/fpu/e_powl.S: Likewise.
34875 * sysdeps/i386/fpu/s_log1p.S: Likewise.
34876 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34877 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34878 * sysdeps/i386/fpu/e_logl.S: Likewise.
34879 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34880 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
34881 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34882 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34883 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34884 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34885 * sysdeps/i386/fpu/e_log.S: Likewise.
34886 * sysdeps/i386/fpu/s_cexp.S: Likewise.
34887 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34888 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
34889 * sysdeps/i386/fpu/e_logf.S: Likewise.
34890 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34891 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34892 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
34893 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34894 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34895 * sysdeps/i386/fpu/e_log10.S: Likewise.
34896 * sysdeps/i386/fpu/s_frexp.S: Likewise.
34897 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34898 * sysdeps/i386/fpu/s_asinh.S: Likewise.
34899 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34900 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34901 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34902 * sysdeps/i386/asm-syntax.h: Likewise.
34903 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34904 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34905 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34906 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
34907 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
34908 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34909 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34910 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34911 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34912 * sysdeps/powerpc/sysdep.h: Likewise.
34913 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
34914 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34916 2012-02-06 Joseph Myers <joseph@codesourcery.com>
34919 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
34921 2012-02-06 Joseph Myers <joseph@codesourcery.com>
34923 * sysdeps/i386/sysdep.h: Include <features.h>.
34924 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
34927 2012-02-05 Joseph Myers <joseph@codesourcery.com>
34929 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
34931 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
34934 2012-02-03 Joseph Myers <joseph@codesourcery.com>
34936 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
34937 (SETUP_PIC_REG): Use GET_PC_THUNK.
34938 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
34941 2012-02-03 Joseph Myers <joseph@codesourcery.com>
34943 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
34944 for non-PIC compilation.
34945 (SETUP_PIC_REG): Add .p2align directive.
34946 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
34947 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
34948 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34949 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34950 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
34951 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34952 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
34953 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34954 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34955 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34956 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34957 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34958 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34959 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34960 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34961 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34962 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34963 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34964 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34965 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34966 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34967 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34968 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34969 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
34970 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
34971 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
34972 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34973 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34974 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34975 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34976 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34977 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34978 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34979 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34980 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34981 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34982 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34983 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34984 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34985 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34986 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34988 2012-02-03 Joseph Myers <joseph@codesourcery.com>
34990 * math/tst-CMPLX.c: Include <stdio.h>.
34992 2012-01-31 Joseph Myers <joseph@codesourcery.com>
34994 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
34996 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
34997 * sysdeps/sparc/bits/mathdef.h: Likewise.
34999 2012-01-31 Marek Polacek <polacek@redhat.com>
35001 * libio/libio.h: Don't define _PARAMS.
35002 * locale/programs/config.h: Don't define PARAMS.
35003 * stdlib/strtol_l.c: Likewise.
35004 (__strtol_l): Remove PARAMS from the prototype.
35006 2012-01-31 Ulrich Drepper <drepper@gmail.com>
35008 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
35009 names. Just use the correct names. Remove unnecessary wrapper
35011 * malloc/arena.c: Likewise.
35012 * malloc/hooks.c: Likewise.
35014 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
35015 ARENA_TEST says not to. Simplify test for creation of a new arena.
35016 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
35018 2012-01-30 Ulrich Drepper <drepper@gmail.com>
35020 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
35022 (update_get_addr): New function.
35023 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
35024 GET_ADDR_MODULE parameter.
35026 2012-01-30 Joseph Myers <joseph@codesourcery.com>
35028 * crypt/cert.c: Remove __STDC__ conditionals.
35029 * crypt/crypt-entry.c: Likewise.
35030 * crypt/crypt_util.c: Likewise.
35031 * libio/filedoalloc.c: Likewise.
35032 * libio/fileops.c: Likewise.
35033 * libio/genops.c: Likewise.
35034 * libio/iofclose.c: Likewise.
35035 * libio/iofdopen.c: Likewise.
35036 * libio/iofopen.c: Likewise.
35037 * libio/iofopen64.c: Likewise.
35038 * libio/iogetdelim.c: Likewise.
35039 * libio/iopopen.c: Likewise.
35040 * libio/obprintf.c: Likewise.
35041 * libio/oldfileops.c: Likewise.
35042 * libio/oldiofclose.c: Likewise.
35043 * libio/oldiofdopen.c: Likewise.
35044 * libio/oldiofopen.c: Likewise.
35045 * libio/oldiopopen.c: Likewise.
35046 * libio/wfiledoalloc.c: Likewise.
35047 * libio/wgenops.c: Likewise.
35048 * locale/programs/xmalloc.c: Likewise.
35049 * misc/syslog.c: Likewise.
35050 * stdio-common/xbug.c: Likewise.
35051 * string/memchr.c: Likewise.
35052 * string/memcmp.c: Likewise.
35053 * string/memrchr.c: Likewise.
35054 * string/rawmemchr.c: Likewise.
35055 * sysdeps/posix/getcwd.c: Likewise.
35056 * time/strftime_l.c: Likewise.
35058 2012-01-30 Joseph Myers <joseph@codesourcery.com>
35060 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
35061 * config.make.in (config-cflags-sse2avx): Define.
35062 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
35065 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
35067 * scripts/config.guess: Update from upstream config git repository.
35068 * scripts/config.sub: Likewise.
35070 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
35072 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
35074 (R_TILEPRO_*, R_TILEGX_*): New macros.
35076 * scripts/firstversions.awk: Fix bug in version range handling.
35078 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
35080 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
35082 * include/sys/epoll.h: New file.
35083 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
35086 2012-01-28 Ulrich Drepper <drepper@gmail.com>
35088 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
35089 Avoid unnecessary __WORDSIZE == 64 test.
35090 (fmaxf): Use VEX format if possible.
35095 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
35096 * math/math_private.h: Remove libc_fegetround* and
35098 * sysdeps/i386/configure.in: Check for -msse2avx.
35099 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
35100 also if SSE2AVX is defined.
35101 Remove libc_fegetround* and libc_fesetround*.
35102 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
35103 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
35104 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
35106 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35107 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35108 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35109 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35110 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35112 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
35114 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35116 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
35118 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35120 2012-01-27 Ulrich Drepper <drepper@gmail.com>
35123 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
35125 * Makeconfig (libm): Define.
35126 * elf/Makefile: Add rules to build and run tst-relsort1.
35127 * elf/tst-relsort1.c: New file.
35128 * elf/tst-relsort1mod1.c: New file.
35129 * elf/tst-relsort1mod2.c: New file.
35131 2012-01-27 Joseph Myers <joseph@codesourcery.com>
35133 * math/s_ldexp.c: Remove __STDC__ conditionals.
35134 * math/s_ldexpf.c: Likewise.
35135 * math/s_ldexpl.c: Likewise.
35136 * math/s_nextafter.c: Likewise.
35137 * math/s_nexttowardf.c: Likewise.
35138 * math/s_significand.c: Likewise.
35139 * math/s_significandf.c: Likewise.
35140 * math/s_significandl.c: Likewise.
35141 * math/w_jnl.c: Likewise.
35142 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35143 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35144 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35145 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35146 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35147 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35148 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
35149 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35150 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35151 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35152 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35153 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35154 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35155 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35156 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35157 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35158 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35159 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35160 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35161 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35162 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35163 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35164 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35165 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35166 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35167 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35168 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35169 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35170 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35171 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35172 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35173 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35174 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35175 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35176 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35177 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35178 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35179 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35180 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35181 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35182 * sysdeps/ieee754/k_standard.c: Likewise.
35183 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35184 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35185 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35186 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35187 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35188 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35189 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35190 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35191 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35192 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35193 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35194 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35195 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35196 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35197 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35198 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35199 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35200 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35201 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35202 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35203 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35204 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35205 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35206 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35207 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35208 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35209 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35210 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35211 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35212 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35213 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35214 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
35215 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35216 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35217 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35218 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35219 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
35220 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35221 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35222 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
35223 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
35224 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35225 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
35226 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
35227 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35228 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
35229 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35230 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35231 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35232 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
35233 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
35234 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35235 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35236 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35237 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35238 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35239 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
35240 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35241 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35242 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35243 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35244 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35245 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35246 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35247 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35248 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35249 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35250 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35251 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35252 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35253 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35254 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35255 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35256 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35257 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35258 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35259 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35260 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35261 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35262 * sysdeps/ieee754/s_matherr.c: Likewise.
35263 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35264 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35265 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35266 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35268 2012-01-26 Joseph Myers <joseph@codesourcery.com>
35270 * crypt/md5.h: Remove __STDC__ conditionals.
35271 * libio/libioP.h: Likewise.
35272 * locale/programs/config.h: Likewise.
35273 * sysdeps/generic/sysdep.h: Likewise.
35274 * sysdeps/i386/asm-syntax.h: Likewise.
35275 * sysdeps/s390/asm-syntax.h: Likewise.
35276 * sysdeps/unix/sysdep.h: Likewise.
35277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35280 2012-01-26 Joseph Myers <joseph@codesourcery.com>
35282 * libio/libio.h: Remove __STDC__ conditionals.
35283 * malloc/obstack.h: Likewise.
35284 * math/complex.h: Likewise.
35285 * math/math.h: Likewise.
35286 * sysdeps/generic/_G_config.h: Likewise.
35287 * sysdeps/gnu/_G_config.h: Likewise.
35288 * sysdeps/mach/hurd/_G_config.h: Likewise.
35289 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35290 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35291 * sysdeps/sparc/bits/mathdef.h: Likewise.
35293 2012-01-26 Ulrich Drepper <drepper@gmail.com>
35296 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
35297 Clean up HAS_* macros.
35298 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
35299 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
35301 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
35303 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35304 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35305 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35306 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35307 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35309 2012-01-25 Joseph Myers <joseph@codesourcery.com>
35311 * elf/tst-unique3.cc (gets): Remove declaration.
35312 * elf/tst-unique3lib.cc (gets): Likewise.
35313 * elf/tst-unique3lib2.cc (gets): Likewise.
35314 * elf/tst-unique4.cc (gets): Likewise.
35316 2012-01-24 Ulrich Drepper <drepper@gmail.com>
35318 * include/stdio.h: Add C++ protection. Add gets declarations and
35320 * debug/tst-chk1.c: Don't declare gets here.
35321 * stdio-common/tst-gets.c: Likewise.
35323 2012-01-24 Joseph Myers <joseph@codesourcery.com>
35325 * posix/glob: Remove directory.
35327 2012-01-24 Joseph Myers <joseph@codesourcery.com>
35329 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
35331 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
35333 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
35334 of the non-standard EPFNOSUPPORT.
35336 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
35338 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
35339 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
35340 ANYWHERE set to 1 only on KERN_NO_SPACE error.
35342 2012-01-21 Ulrich Drepper <drepper@gmail.com>
35344 * wcsmbs/uchar.h: Test __STDC_VERSION__.
35346 2012-01-20 Ulrich Drepper <drepper@gmail.com>
35348 * nscd/aicache.c (addhstaiX): Do not cache negative results of
35350 * nscd/grpcache.c (cache_addgr): Likewise.
35351 * nscd/hstcache.c (cache_addhst): Likewise.
35352 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35353 * nscd/pwdcache.c (cache_addpw): Likewise.
35354 * nscd/servicescache.c (cache_addserv): Likewise.
35356 2012-01-16 Ulrich Drepper <drepper@gmail.com>
35358 * malloc/malloc.c: Various cleanups.
35359 * malloc/hooks.c: Likewise.
35361 * stdlib/Makefile (tests): Add bug-fmtmsg1.
35362 * stdlib/bug-fmtmsg1.c: New file.
35364 * stdlib/fmtmsg.c (init): Add missing unlock.
35365 Patch by Peng Haitao <penght@cn.fujitsu.com>.
35367 2012-01-12 Marek Polacek <polacek@redhat.com>
35369 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
35372 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
35374 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
35375 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
35376 macro to ensure uniqueness of label name.
35377 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
35378 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
35380 2012-01-11 Ulrich Drepper <drepper@gmail.com>
35382 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
35384 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
35385 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35386 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35387 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
35389 2012-01-10 Ulrich Drepper <drepper@gmail.com>
35391 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
35393 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
35394 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35395 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35397 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
35399 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
35400 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35401 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35402 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
35404 * math/bits/math-finite.h: Add ldexp support.
35406 2012-01-10 Marek Polacek <polacek@redhat.com>
35408 * locale/programs/localedef.h (show_archive_content): Add noreturn
35411 2012-01-09 Ulrich Drepper <drepper@gmail.com>
35413 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
35415 2012-01-08 Ulrich Drepper <drepper@gmail.com>
35417 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
35419 * io/Makefile (headers): Add bits/poll2.h.
35421 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
35423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
35424 typo #include statement.
35426 2012-01-08 Ulrich Drepper <drepper@gmail.com>
35428 * include/sys/cdefs.h: Define __attribute_alloc_size.
35429 * catgets/gencat.c: Add alloc_size attribute and apply consistently
35430 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
35431 * elf/pldd.c: Likewise.
35432 * iconv/iconv_charmap.c: Likewise.
35433 * iconv/iconvconfig.c: Likewise.
35434 * iconv/strtab.c: Likewise.
35435 * locale/programs/locale.c: Likewise.
35436 * locale/programs/localedef.h: Likewise.
35437 * locale/programs/simple-hash.c: Likewise.
35438 * nscd/nscd.h: Likewise.
35439 * nss/makedb.c: Likewise.
35440 * sysdeps/generic/ldconfig.h: Likewise.
35441 * locale/programs/localedef.c: Remove xmalloc prototype.
35442 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
35444 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35446 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
35449 2012-01-08 Ulrich Drepper <drepper@gmail.com>
35451 * math/Makefile (tests): Add tst-CMPLX.
35452 * math/tst-CMPLX.c: New file.
35454 * math/complex.h (CMPLXL): Fix typo.
35456 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
35457 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
35459 * debug/tst-chk1.c: Add poll and ppoll tests.
35460 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
35461 * include/sys/poll.h: Add hidden proto for ppoll.
35462 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
35463 * sysdeps/mach/hurd/ppoll.c: Likewise.
35464 * io/ppoll.c: Likewise.
35465 * debug/poll_chk.c: New file.
35466 * debug/ppoll_chk.c: New file.
35467 * include/bits/poll2.h: New file.
35468 * io/bits/poll2.h: New file.
35471 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
35473 * configure.in: static is always set to yes. Remove.
35474 * config.make.in: Don't set build-static.
35475 * Makeconfig: Remove use of build-static.
35476 * dlfcn/Makefile: Likewise.
35477 * elf/Makefile: Likewise.
35478 * math/Makefile: Likewise.
35479 * misc/Makefile: Likewise.
35480 * nptl/Makefile: Likewise.
35481 * sysdeps/mach/hurd/Makefile: Likewise.
35483 * configure.in: PWD_P is not used anymore.
35484 * config.make.in: Remove PWD_P entry.
35486 * configure.in: Remove last remnants of RANLIB.
35487 No need to check for signed size_t anymore.
35488 Don't set libc_commonpagesize and libc_relro_required here for Alpha
35490 Remove __builtin_expect test because we require at least gcc 3.4.
35491 * aclocal.m4: Likewise.
35493 * wcsmbs/mbrtoc16.c: Implement using towc function.
35494 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
35495 * wcsmbs/wcsmbsload.c: Likewise.
35496 * iconv/gconv_simple.c: Likewise.
35497 * iconv/gconv_int.h: Likewise.
35498 * iconv/gconv_builtin.h: Likewise.
35499 * iconv/iconv_prog.c: Remove CHAR16 handling.
35501 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
35503 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
35505 * configure.in: Remove --with-elf and --enable-bounded options.
35506 Dont set base_machine for ia64. More non-ELF conditions removed.
35507 Remove testing and setting of leading underscore information.
35508 * config.make.in (build-bounded): Set to no.
35509 * config.h.in: Remove NO_UNDERSCORES entry.
35510 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
35512 * csu/start.c: Remove !NO_UNDERSCORE code.
35513 * locale/localeinfo.h: Likewise.
35514 * sysdeps/generic/machine-gmon.h: Likewise.
35515 * sysdeps/generic/sysdep.h: Likewise.
35516 * sysdeps/i386/sysdep.h: Likewise.
35517 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
35518 * sysdeps/mach/sysdep.h: Likewise.
35519 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35520 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35521 * sysdeps/sh/sysdep.h: Likewise.
35522 * sysdeps/sparc/sparc32/alloca.S: Likewise.
35523 * sysdeps/unix/i386/sysdep.S: Likewise.
35524 * sysdeps/unix/sparc/start.c: Likewise.
35525 * sysdeps/unix/sparc/sysdep.S: Likewise.
35526 * sysdeps/unix/sparc/sysdep.h: Likewise.
35527 * sysdeps/unix/start.c: Likewise.
35528 * sysdeps/unix/x86_64/sysdep.S: Likewise.
35529 * sysdeps/x86_64/sysdep.h: Likewise.
35531 2012-01-07 Ulrich Drepper <drepper@gmail.com>
35534 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
35536 * argp/argp-fmtstream.h: Use const instead __const.
35537 * argp/argp.h: Likewise.
35538 * assert/assert.h: Likewise.
35539 * bits/fenv.h: Likewise.
35540 * bits/sched.h: Likewise.
35541 * bits/sigset.h: Likewise.
35542 * bits/sigthread.h: Likewise.
35543 * catgets/nl_types.h: Likewise.
35544 * conform/data/pthread.h-data: Likewise.
35545 * crypt/crypt-private.h: Likewise.
35546 * crypt/crypt.h: Likewise.
35547 * crypt/crypt_util.c: Likewise.
35548 * ctype/ctype.h: Likewise.
35549 * debug/execinfo.h: Likewise.
35550 * debug/mbsnrtowcs_chk.c: Likewise.
35551 * debug/mbsrtowcs_chk.c: Likewise.
35552 * debug/wcsnrtombs_chk.c: Likewise.
35553 * debug/wcsrtombs_chk.c: Likewise.
35554 * debug/wcstombs_chk.c: Likewise.
35555 * dirent/dirent.h: Likewise.
35556 * dlfcn/dlfcn.h: Likewise.
35557 * elf/neededtest4.c: Likewise.
35558 * grp/grp.h: Likewise.
35559 * gshadow/gshadow.h: Likewise.
35560 * iconv/gconv.h: Likewise.
35561 * iconv/gconv_int.h: Likewise.
35562 * iconv/gconv_simple.c: Likewise.
35563 * iconv/iconv.h: Likewise.
35564 * iconv/loop.c: Likewise.
35565 * iconv/skeleton.c: Likewise.
35566 * include/aio.h: Likewise.
35567 * include/aliases.h: Likewise.
35568 * include/argz.h: Likewise.
35569 * include/arpa/inet.h: Likewise.
35570 * include/assert.h: Likewise.
35571 * include/dirent.h: Likewise.
35572 * include/dlfcn.h: Likewise.
35573 * include/execinfo.h: Likewise.
35574 * include/fcntl.h: Likewise.
35575 * include/fenv.h: Likewise.
35576 * include/glob.h: Likewise.
35577 * include/grp.h: Likewise.
35578 * include/libintl.h: Likewise.
35579 * include/mntent.h: Likewise.
35580 * include/netdb.h: Likewise.
35581 * include/pwd.h: Likewise.
35582 * include/rpc/netdb.h: Likewise.
35583 * include/sched.h: Likewise.
35584 * include/search.h: Likewise.
35585 * include/shadow.h: Likewise.
35586 * include/signal.h: Likewise.
35587 * include/stdio.h: Likewise.
35588 * include/stdlib.h: Likewise.
35589 * include/string.h: Likewise.
35590 * include/sys/socket.h: Likewise.
35591 * include/sys/stat.h: Likewise.
35592 * include/sys/statfs.h: Likewise.
35593 * include/sys/statvfs.h: Likewise.
35594 * include/sys/syslog.h: Likewise.
35595 * include/sys/time.h: Likewise.
35596 * include/sys/uio.h: Likewise.
35597 * include/time.h: Likewise.
35598 * include/unistd.h: Likewise.
35599 * include/utmp.h: Likewise.
35600 * include/wchar.h: Likewise.
35601 * include/wctype.h: Likewise.
35602 * inet/aliases.h: Likewise.
35603 * inet/arpa/inet.h: Likewise.
35604 * inet/netinet/ether.h: Likewise.
35605 * inet/netinet/in.h: Likewise.
35606 * intl/libintl.h: Likewise.
35607 * io/bits/fcntl2.h: Likewise.
35608 * io/fcntl.h: Likewise.
35609 * io/ftw.h: Likewise.
35610 * io/sys/poll.h: Likewise.
35611 * io/sys/stat.h: Likewise.
35612 * io/sys/statfs.h: Likewise.
35613 * io/sys/statvfs.h: Likewise.
35614 * io/utime.h: Likewise.
35615 * libio/bits/stdio.h: Likewise.
35616 * libio/bits/stdio2.h: Likewise.
35617 * libio/libio.h: Likewise.
35618 * libio/libioP.h: Likewise.
35619 * libio/stdio.h: Likewise.
35620 * locale/lc-ctype.c: Likewise.
35621 * locale/locale.h: Likewise.
35622 * login/utmp.h: Likewise.
35623 * malloc/arena.c: Likewise.
35624 * malloc/malloc.c: Likewise.
35625 * malloc/malloc.h: Likewise.
35626 * malloc/mcheck.c: Likewise.
35627 * malloc/mtrace.c: Likewise.
35628 * math/bits/mathcalls.h: Likewise.
35629 * math/fenv.h: Likewise.
35630 * math/math_private.h: Likewise.
35631 * misc/bits/error.h: Likewise.
35632 * misc/bits/syslog.h: Likewise.
35633 * misc/err.h: Likewise.
35634 * misc/error.h: Likewise.
35635 * misc/fstab.h: Likewise.
35636 * misc/mntent.h: Likewise.
35637 * misc/regexp.h: Likewise.
35638 * misc/search.h: Likewise.
35639 * misc/sgtty.h: Likewise.
35640 * misc/sys/mman.h: Likewise.
35641 * misc/sys/syslog.h: Likewise.
35642 * misc/sys/uio.h: Likewise.
35643 * misc/sys/xattr.h: Likewise.
35644 * misc/ttyent.h: Likewise.
35645 * nis/rpcsvc/ypclnt.h: Likewise.
35646 * nss/nss.h: Likewise.
35647 * posix/bits/unistd.h: Likewise.
35648 * posix/fnmatch.h: Likewise.
35649 * posix/glob.h: Likewise.
35650 * posix/sched.h: Likewise.
35651 * posix/spawn.h: Likewise.
35652 * posix/sys/wait.h: Likewise.
35653 * posix/unistd.h: Likewise.
35654 * posix/wordexp.h: Likewise.
35655 * pwd/pwd.h: Likewise.
35656 * resolv/netdb.h: Likewise.
35657 * resource/sys/resource.h: Likewise.
35658 * rt/aio.h: Likewise.
35659 * rt/bits/mqueue2.h: Likewise.
35660 * rt/mqueue.h: Likewise.
35661 * shadow/shadow.h: Likewise.
35662 * signal/signal.h: Likewise.
35663 * socket/send.c: Likewise.
35664 * socket/sendto.c: Likewise.
35665 * socket/sys/socket.h: Likewise.
35666 * stdio-common/printf.h: Likewise.
35667 * stdlib/bits/stdlib.h: Likewise.
35668 * stdlib/fmtmsg.h: Likewise.
35669 * stdlib/monetary.h: Likewise.
35670 * stdlib/stdlib.h: Likewise.
35671 * stdlib/ucontext.h: Likewise.
35672 * streams/stropts.h: Likewise.
35673 * string/argz.h: Likewise.
35674 * string/bits/string2.h: Likewise.
35675 * string/string.h: Likewise.
35676 * string/strings.h: Likewise.
35677 * sunrpc/rpc/auth.h: Likewise.
35678 * sunrpc/rpc/auth_des.h: Likewise.
35679 * sunrpc/rpc/clnt.h: Likewise.
35680 * sunrpc/rpc/netdb.h: Likewise.
35681 * sunrpc/rpc/pmap_clnt.h: Likewise.
35682 * sunrpc/rpc/xdr.h: Likewise.
35683 * sysdeps/generic/inttypes.h: Likewise.
35684 * sysdeps/generic/net/if.h: Likewise.
35685 * sysdeps/generic/sys/swap.h: Likewise.
35686 * sysdeps/gnu/net/if.h: Likewise.
35687 * sysdeps/gnu/utmpx.h: Likewise.
35688 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
35689 * sysdeps/i386/i486/bits/string.h: Likewise.
35690 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
35691 * sysdeps/s390/bits/string.h: Likewise.
35692 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
35693 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
35694 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
35695 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
35696 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
35697 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
35698 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
35699 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
35700 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
35701 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
35702 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
35703 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
35704 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
35705 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
35706 * sysdeps/unix/sysv/linux/readv.c: Likewise.
35707 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
35708 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
35709 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35710 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
35711 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
35712 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
35713 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
35714 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
35715 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
35716 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
35717 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
35718 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
35719 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35720 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
35721 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
35722 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
35723 * sysvipc/sys/ipc.h: Likewise.
35724 * sysvipc/sys/msg.h: Likewise.
35725 * sysvipc/sys/sem.h: Likewise.
35726 * sysvipc/sys/shm.h: Likewise.
35727 * termios/termios.h: Likewise.
35728 * time/sys/time.h: Likewise.
35729 * time/time.h: Likewise.
35730 * wcsmbs/bits/wchar2.h: Likewise.
35731 * wcsmbs/uchar.h: Likewise.
35732 * wcsmbs/wchar.h: Likewise.
35733 * wctype/wctype.h: Likewise.
35736 * Makeconfig: Remove all but ELF support including AIX support.
35737 * Makerules: Likewise.
35738 * config.h.in: Likewise.
35739 * config.make.in: Likewise.
35740 * configure: Likewise.
35741 * configure.in: Likewise.
35742 * csu/Makefile: Likewise.
35743 * csu/version.c: Likewise.
35744 * debug/Makefile: Likewise.
35745 * dlfcn/Makefile: Likewise.
35746 * elf/Makefile: Likewise.
35747 * extra-lib.mk: Likewise.
35748 * iconv/Makefile: Likewise.
35749 * include/libc-symbols.h: Likewise.
35750 * include/shlib-compat.h: Likewise.
35751 * resolv/Makefile: Likewise.
35752 * resolv/res_libc.c: Likewise.
35753 * rt/Makefile: Likewise.
35754 * sysdeps/i386/asm-syntax.h: Likewise.
35755 * sysdeps/i386/sysdep.h: Likewise.
35756 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
35757 * sysdeps/mach/sysdep.h: Likewise.
35758 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
35759 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
35760 * sysdeps/s390/asm-syntax.h: Likewise.
35761 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35762 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35763 * sysdeps/sh/sysdep.h: Likewise.
35764 * sysdeps/unix/sparc/sysdep.h: Likewise.
35765 * sysdeps/wordsize-32/divdi3.c: Likewise.
35766 * sysdeps/x86_64/sysdep.h: Likewise.
35768 * argp/Versions: Remove _argp_unlock_xxx.
35771 * abilist/ld.abilist: Update. Adjust for removal of tls option.
35772 * abilist/libBrokenLocale.abilist: Likewise.
35773 * abilist/libanl.abilist: Likewise.
35774 * abilist/libc.abilist: Likewise.
35775 * abilist/libcrypt.abilist: Likewise.
35776 * abilist/libdl.abilist: Likewise.
35777 * abilist/libm.abilist: Likewise.
35778 * abilist/libnsl.abilist: Likewise.
35779 * abilist/libpthread.abilist: Likewise.
35780 * abilist/libresolv.abilist: Likewise.
35781 * abilist/librt.abilist: Likewise.
35782 * abilist/libthread_db.abilist: Likewise.
35783 * abilist/libutil.abilist: Likewise.
35784 * abilist/libnss_db.abilist: New file.
35786 * scripts/abilist.awk: Add support for indirect functions.
35788 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
35790 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
35792 * shlib-versions: Remove entries for ports architectures.
35794 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
35796 * elf/stackguard-macros.h: Remove support for IA-64.
35797 * elf/tst-auditmod1.c: Likewise.
35798 * sysdeps/generic/ldsodefs.h: Likewise.
35800 * sysdeps/unix/sysv/linux/configure.in: Ports should define
35801 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
35805 * configure.in: Remove --enable-omitfp support.
35807 * config.make.in: Likewise.
35808 * Makeconfig: Likewise.
35809 * manual/install.texi: Likewise.
35811 In case anyone cares, the IA-64 architecture could move to ports.
35812 * sysdeps/ia64/*: Removed.
35813 * sysdeps/unix/sysv/linux/ia64/*: Removed.
35814 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
35817 * configure.in: Remove entries for unsupported architectures.
35820 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
35821 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
35823 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
35824 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
35825 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
35826 fall back to using wcrtomb.
35827 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
35828 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
35830 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
35831 * wcsmbs/tst-c16c32-1.c: New file.
35833 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
35836 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
35838 * elf/tst-unique3.cc: Add explicit declaration of gets.
35839 * elf/tst-unique3lib.cc: Likewise.
35840 * elf/tst-unique3lib2.cc: Likewise.
35841 * elf/tst-unique4.cc: Likewise.
35843 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
35845 2012-01-06 Joseph Myers <joseph@codesourcery.com>
35848 * assert/assert.h (static_assert): Don't define for C++.
35849 * libio/stdio.h (gets): Do declare for C++ <= C++11.
35850 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
35852 2012-01-03 Ulrich Drepper <drepper@gmail.com>
35854 * iconv/loop.c (single loop): Fix assertion in storing of
35857 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
35859 2012-01-01 Ulrich Drepper <drepper@gmail.com>
35861 * posix/getconf.c: Update copyright year.
35862 * nss/getent.c: Likewise.
35863 * nss/makedb.c: Likewise.
35864 * iconv/iconvconfig.c: Likewise.
35865 * iconv/iconv_prog.c: Likewise.
35866 * elf/ldconfig.c: Likewise.
35867 * elf/pldd.c: Likewise.
35868 * elf/sotruss.ksh: Likewise.
35869 * catgets/gencat.c: Likewise.
35870 * csu/version.c: Likewise.
35871 * elf/ldd.bash.in: Likewise.
35872 * elf/sprof.c (print_version): Likewise.
35873 * locale/programs/locale.c: Likewise.
35874 * locale/programs/localedef.c: Likewise.
35875 * login/programs/pt_chown.c: Likewise.
35876 * nscd/nscd.c (print_version): Likewise.
35877 * debug/xtrace.sh: Likewise.
35878 * malloc/memusage.sh: Likewise.
35879 * malloc/mtrace.pl: Likewise.
35880 * debug/catchsegv.sh: Likewise.
35882 2011-12-30 Jakub Jelinek <jakub@redhat.com>
35884 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
35887 2011-12-24 Ulrich Drepper <drepper@gmail.com>
35890 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
35891 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
35893 * iconv/gconv_int.h: Likewise.
35894 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
35895 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
35896 from libc for GLIBC_2.16.
35897 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
35898 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
35899 * wcsmbs/uchar.h: Really define mbstate_t.
35900 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
35901 * wcsmbs/c16rtomb.c: New file.
35902 * wcsmbs/mbrtoc16.c: New file.
35903 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
35904 for C/POSIX locale.
35905 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
35906 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
35908 * wcsmbs/wchar.h: Add missing __restrict.
35910 2011-12-23 Ulrich Drepper <drepper@gmail.com>
35913 * time/Makefile (routines): Add timespec_get.
35914 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
35915 * time/time.h: Define TIME_UTC and declare timespec_get. Define
35916 timespec for ISO C11.
35917 * time/timespec_get.c: New file.
35918 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
35919 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
35922 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
35923 * stdlib/stdlib.h: Declare aligned_alloc.
35924 * Versions.def: Add GLIBC_2.16 for libc.
35925 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
35928 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
35931 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
35935 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
35938 * assert/assert.h (static_assert): Define.
35940 * version.h: Update for 2.16 development version.
35943 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
35946 * version.h (RELEASE): Bump for 2.15 release.
35947 * include/features.h (__GLIBC_MINOR__): Bump to 15.
35949 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
35950 Patch by Marek Polacek <mpolacek@redhat.com>.
35952 * bits/byteswap.h: Protect long long constants with __extension__.
35953 * sysdeps/i386/bits/byteswap.h: Likewise.
35954 * sysdeps/ia64/bits/byteswap.h: Likewise.
35955 * sysdeps/s390/bits/byteswap.h: Likewise.
35956 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35958 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35961 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
35962 destination buffer.
35963 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
35965 2011-12-23 Marek Polacek <polacek@redhat.com>
35967 * elf/dl-addr.c (determine_info): Add inline keyword.
35968 * elf/tst-auditmod4b.c (check_avx): Likewise.
35969 * elf/tst-auditmod6b.c (check_avx): Likewise.
35970 * elf/tst-auditmod6c.c (check_avx): Likewise.
35971 * elf/tst-auditmod7b.c (check_avx): Likewise.
35973 2011-12-23 Ulrich Drepper <drepper@gmail.com>
35975 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
35978 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35981 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
35982 processing for last bytes.
35984 2011-08-06 Bruno Haible <bruno@clisp.org>
35987 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
35988 U+0385, not to U+1FEE.
35991 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
35992 entry for U+00A5 U+0301.
35994 2011-12-22 Ulrich Drepper <drepper@gmail.com>
35997 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
35998 buffer for the output is too small.
36000 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
36004 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
36005 SSE flags if possible.
36007 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36010 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
36011 processing for last bytes.
36013 2011-12-22 Joseph Myers <joseph@codesourcery.com>
36015 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
36016 (syscall-list-default-options, syscall-list-default-condition)
36017 (syscall-list-includes): Define.
36018 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
36019 list of ABIs and options and #if conditions for each ABI. Do not
36020 handle common syscalls between ABIs specially.
36021 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
36023 (syscall-list-variants, syscall-list-32bit-options)
36024 (syscall-list-32bit-condition, syscall-list-64bit-options)
36025 (syscall-list-64bit-condition): Define.
36026 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
36027 (syscall-list-variants, syscall-list-32bit-options)
36028 (syscall-list-32bit-condition, syscall-list-64bit-options)
36029 (syscall-list-64bit-condition): Define.
36030 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
36032 (syscall-list-variants, syscall-list-32bit-options)
36033 (syscall-list-32bit-condition, syscall-list-64bit-options)
36034 (syscall-list-64bit-condition): Define.
36035 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
36037 (syscall-list-variants, syscall-list-32bit-options)
36038 (syscall-list-32bit-condition, syscall-list-64bit-options)
36039 (syscall-list-64bit-condition): Define.
36041 2011-12-22 Ulrich Drepper <drepper@gmail.com>
36043 * locale/iso-639.def: Add brx entry.
36046 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
36047 Proposed by Mariusz_Cukr <marcukr@op.pl>.
36049 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
36050 __feraiseexcept_renamed.
36052 2011-12-21 Ulrich Drepper <drepper@gmail.com>
36055 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
36056 EPOLLET with unsigned values.
36057 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36058 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36060 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
36061 to large cancellation.
36062 * math/s_cacoshf.c: Likewise.
36063 * math/s_cacoshl.c: Likewise.
36065 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
36069 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
36070 * math/s_cacoshf.c: Likewise.
36071 * math/s_cacoshl.c: Likewise.
36073 2011-12-21 Ulrich Drepper <drepper@gmail.com>
36076 * iconv/gconv.h: Define __GCONV_SWAP.
36077 * iconvdata/unicode.c: The swap bit must be stored in __flags.
36078 * iconvdata/utf-16.c: Likewise.
36079 * iconvdata/utf-32.c: Likewise.
36081 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
36084 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
36085 numerator after shifting it by one limb.
36087 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
36089 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
36090 under [__USE_EXTERN_INLINES].
36092 2011-12-17 Ulrich Drepper <drepper@gmail.com>
36095 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
36097 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36099 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
36100 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
36102 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
36103 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
36104 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
36105 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
36106 for strncasecmp/strncasecmp_l compilation.
36107 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
36108 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
36110 2011-12-08 Marek Polacek <mpolacek@redhat.com>
36113 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
36116 2011-12-17 Ulrich Drepper <drepper@gmail.com>
36119 * time/tzfile.c (__tzfile_read): Check values from file header.
36121 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36123 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
36124 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
36125 * powerpc/powerpc32/dl-start.S: Likewise.
36126 * powerpc/powerpc32/elf/start.S: Likewise.
36127 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36128 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
36129 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
36130 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
36131 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
36132 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
36133 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
36134 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36135 * powerpc/powerpc32/fpu/s_round.S: Likewise.
36136 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
36137 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
36138 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
36139 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36140 * powerpc/powerpc32/memset.S: Likewise.
36141 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
36142 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36143 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36144 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36145 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36146 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36147 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36148 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36149 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
36150 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
36151 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
36152 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36153 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36155 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36157 * math/libm-test.inc: Added more nearbyint tests.
36158 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
36159 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
36160 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
36161 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
36163 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
36165 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
36168 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36170 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
36171 Add wcscpy-ssse3 wcscpy-c.
36172 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
36173 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
36174 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
36175 * sysdeps/x86_64/wcschr.S: New file.
36176 * sysdeps/x86_64/wcsrchr.S: New file.
36177 * string/test-strcmp.c: Remove checking of wcscmp function for
36179 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
36180 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
36181 wcsrchr-sse2 wcsrchr-c.
36182 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
36183 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
36184 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
36185 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
36186 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
36187 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
36188 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
36189 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
36190 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
36191 * wcsmbc/wcschr.c (WCSCHR): New macro.
36193 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36195 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
36196 * wcsmbs/test-wcsrchr.c: New file.
36197 * string/test-strrchr.c: Add wcsrchr support.
36199 * wcsmbs/test-wcscpy.c: New file.
36200 * string/test-strcpy.c: Add wcscpy support.
36203 2011-12-10 Ulrich Drepper <drepper@gmail.com>
36205 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
36208 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
36211 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
36213 2011-12-04 Ulrich Drepper <drepper@gmail.com>
36215 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
36216 Minor optimizations.
36218 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
36219 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
36220 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
36222 2011-12-03 Ulrich Drepper <drepper@gmail.com>
36224 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
36225 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
36226 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
36227 for gcc to avoid warnings.
36228 * inet/Makefile (tests): Add tst-checks.
36229 * inet/tst-checks.c: New file.
36231 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
36234 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
36237 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
36238 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
36240 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
36242 2011-12-02 Ulrich Drepper <drepper@gmail.com>
36244 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
36247 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
36249 2011-11-29 Joseph Myers <joseph@codesourcery.com>
36251 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
36252 conditional on GCC version.
36253 (__arch_compare_and_exchange_val_8_acq)
36254 (__arch_compare_and_exchange_val_16_acq)
36255 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
36256 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
36257 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
36259 2011-12-02 Joseph Myers <joseph@codesourcery.com>
36261 * sysdeps/sh/backtrace.c: New file.
36263 2011-12-02 Andreas Schwab <schwab@redhat.com>
36265 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
36268 2011-12-01 Andreas Schwab <schwab@redhat.com>
36270 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
36271 falling back to utime.
36273 2011-11-30 Andreas Schwab <schwab@redhat.com>
36275 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
36276 expectations for float.
36278 2011-11-29 Andreas Schwab <schwab@redhat.com>
36280 * locale/weight.h (findidx): Add parameter len.
36281 * locale/weightwc.h (findidx): Likewise.
36282 * posix/fnmatch_loop.c (FCT): Adjust caller.
36283 * posix/regcomp.c (build_equiv_class): Likewise.
36284 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
36285 * posix/regexec.c (check_node_accept_bytes): Likewise.
36286 * string/strcoll_l.c (STRCOLL): Likewise.
36287 * string/strxfrm_l.c (STRXFRM): Likewise.
36289 2011-11-17 Ulrich Drepper <drepper@gmail.com>
36291 * Makefile.in: Remove CVSOPT handling.
36292 * configure.in: Remove use of AC_REVISION.
36293 * iconvdata/Makefile (distribute): No need to filter out CVS.
36294 * scripts/list-sources.sh: Remove CVS, subversion and monotone
36297 2011-11-16 Andreas Schwab <schwab@redhat.com>
36299 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
36300 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
36301 [USE_AS_STRNCASECMP_L]: Likewise.
36302 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
36303 NO_TLS_DIRECT_SEG_REFS.
36304 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
36305 Fix argument offsets for non-PIC.
36306 [USE_AS_STRNCASECMP_L]: Likewise.
36307 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
36308 NO_TLS_DIRECT_SEG_REFS.
36310 2011-11-15 Ulrich Drepper <drepper@gmail.com>
36312 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
36314 * locale/loadlocale.c (_nl_load_locale): Likewise.
36316 2011-11-15 Andreas Schwab <schwab@redhat.com>
36318 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
36319 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
36320 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
36321 (SYSCALL_GETTIME): Set errno on error.
36323 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
36324 count references to noai6ai_cached.
36326 2011-11-15 Ulrich Drepper <drepper@gmail.com>
36328 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
36330 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
36331 FD_CLOEXEC for /proc/self/maps.
36333 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
36334 FD_CLOEXEC for /proc/meminfo.
36336 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
36339 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
36340 FD_CLOEXEC for given file.
36342 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
36344 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
36345 FD_CLOEXEC for /etc/hosts.
36346 (_gethtent): Likewise.
36348 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
36350 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
36351 cancellation and set FD_CLOEXEC for /etc/netgroup.
36353 * nss/nss_files/files-key.c (search): Don't allow cancellation when
36354 reading /etc/publickey.
36356 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
36357 allow cancellation when reading /etc/group.
36359 * nss/nss_files/files-alias.c (internal_setent): Don't allow
36361 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
36363 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
36364 when using data file.
36366 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
36368 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
36369 (write_nis_obj): Use "c" and "e" in fopen.
36371 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
36373 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
36375 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
36377 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
36379 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
36382 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
36384 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
36386 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
36388 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
36389 file parsing and set FD_CLOEXEC.
36391 2011-11-14 Ulrich Drepper <drepper@gmail.com>
36393 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
36395 2011-11-14 Andreas Schwab <schwab@redhat.com>
36397 * malloc/arena.c (arena_get2): Don't call reused_arena when
36398 _int_new_arena failed.
36400 2011-11-14 Ulrich Drepper <drepper@gmail.com>
36402 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
36403 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
36404 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
36405 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36406 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36407 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
36408 to compile strcasecmp and strncasecmp.
36409 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
36410 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
36412 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
36414 2011-11-13 Ulrich Drepper <drepper@gmail.com>
36416 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
36417 locale-defines.sym to gen-as-const-headers.
36418 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
36419 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
36420 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
36421 to compile strcasecmp and strncasecmp.
36422 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
36423 strcasecmp_l and strncasecmp_l.
36424 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
36425 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
36426 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
36427 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
36428 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
36429 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
36430 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
36431 * sysdeps/i386/i686/multiarch/strncase.S: New file.
36432 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
36433 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
36434 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
36436 2011-11-12 Ulrich Drepper <drepper@gmail.com>
36438 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
36439 result of SYSDEP_GETTIME_CPU to retval.
36440 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
36441 parameter list to macro. Remove trailing semicolon. Adjust users.
36443 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
36446 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
36448 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
36450 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
36451 from unused variable.
36453 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
36455 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
36458 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
36461 * sunrpc/rpc_prot.c (rejected): Fix case value.
36463 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
36464 unsigned long long int to avoid warnings in shift.
36466 * posix/regex_internal.c (re_string_reconstruct): Actually use result
36468 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
36471 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
36472 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
36473 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
36475 * nis/nis_table.c (nis_list): Use variable of correct type for
36476 result of __follow_path call.
36478 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36480 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
36481 of math functions ceil, trunc, floor, round, and sqrt, when
36482 avaliable on the platform.
36483 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
36485 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
36486 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
36487 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
36489 2011-10-30 Marek Polacek <mpolacek@redhat.com>
36491 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
36492 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
36494 2011-11-11 Roland McGrath <roland@hack.frob.com>
36496 * include/unistd.h: Fix __readlink return type.
36497 Reported by Chris Metcalf <cmetcalf@tilera.com>.
36499 2011-11-11 Ulrich Drepper <drepper@gmail.com>
36501 * stdlib/ucontext.h: Undo last change for makecontext.
36503 2011-11-11 Andreas Schwab <schwab@redhat.com>
36505 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
36507 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
36508 * setjmp/setjmp.h: Mark functions as non-leaf.
36509 * setjmp/bits/setjmp2.h: Likewise.
36510 * stdlib/ucontext.h: Likewise.
36512 2011-11-10 Andreas Schwab <schwab@redhat.com>
36514 * malloc/arena.c (_int_new_arena): Don't increment narenas.
36515 (reused_arena): Don't check arena limit.
36516 (arena_get2): Atomically check arena limit.
36518 2011-11-08 Ulrich Drepper <drepper@gmail.com>
36520 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
36521 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
36523 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
36526 2011-11-07 Andreas Schwab <schwab@redhat.com>
36528 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
36529 handler when locking.
36531 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
36532 Fix size of allocated buffer.
36534 2011-11-04 Andreas Schwab <schwab@redhat.com>
36537 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
36538 declarations for long double functions.
36539 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
36541 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
36543 2011-11-03 Andreas Schwab <schwab@redhat.com>
36545 * nscd/nscd.c (main): Don't start AVC thread until credentials are
36548 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
36551 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
36553 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
36555 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
36557 * include/alloca.h (stackinfo_alloca_round): Define.
36558 (extend_alloca): Use it.
36559 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
36560 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
36563 * scripts/check-local-headers.sh: Ignore libaudit.h.
36565 * nscd/Makefile (extra-objs): Make recursively expanded.
36567 2011-11-01 Ulrich Drepper <drepper@gmail.com>
36569 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
36570 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
36572 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
36573 * posix/tst-rfc3484-2.c: Likewise.
36574 * posix/tst-rfc3484-3.c: Likewise.
36576 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36578 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
36580 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
36581 process_vm_writev from libc using GLIBC_2.15 version.
36583 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
36585 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
36587 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
36590 2011-10-31 Ulrich Drepper <drepper@gmail.com>
36593 * nss/getent.c (initgroups_keys): Show error message in case no group
36596 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
36597 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
36598 __bump_nl_timestamp.
36599 * nscd/connections (nscd_init): When host database is served open
36600 netlink socket and request notification about configuration changes.
36601 (main_loop_poll): Track netlink file descriptor and bump timestamp
36602 in case data becomes available.
36603 (main_loop_epoll): Likewise.
36604 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
36605 (database_pers_head): Add extra_data fileds.
36606 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
36607 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
36608 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
36610 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
36611 in6ai data, call __free_in6ai.
36612 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
36613 Add -DHAVE_NETLINK.
36614 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
36615 interface information. Reuse previous data if netlink timestamp
36617 (__bump_nl_timestamp): New function.
36618 (__free_in6ai): New function.
36620 2011-10-30 Ulrich Drepper <drepper@gmail.com>
36622 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
36623 close_not_cancel_no_status here.
36624 (__check_pf): Reorganize code a bit to not call close twice if OOM.
36626 2011-10-29 Ulrich Drepper <drepper@gmail.com>
36629 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
36632 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
36633 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
36634 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
36636 2011-07-03 Andreas Jaeger <aj@suse.de>
36639 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
36640 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
36641 * math/libm-test.inc (sin_test): Add test case.
36643 2011-10-29 Ulrich Drepper <drepper@gmail.com>
36646 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
36647 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
36649 * elf/chroot_canon.c (chroot_canon): Cleanups.
36651 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
36654 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
36655 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
36657 * string/test-strchr.c: Make usable for strchrnul testing.
36658 * string/test-strchrnul.c: New file.
36659 * string/Makefile (strop-tests): Add strchrnul.
36661 * po/it.po: Update from translation team.
36662 * po/es.po: Likewise.
36664 2011-10-28 Ulrich Drepper <drepper@gmail.com>
36666 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
36667 the three constants needed as parameters. Drop the others.
36668 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
36669 __m128i_strloadu_tolower.
36670 Create and initialize variable zero and use it in all the places
36671 where _mm_setzero_si128 was used.
36673 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
36674 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
36675 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
36676 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
36678 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
36679 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
36680 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
36681 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
36682 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
36683 __mpranred, __mptan.
36684 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
36685 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
36686 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
36687 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
36688 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
36689 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
36690 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
36691 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
36692 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
36694 2011-10-28 Andreas Schwab <schwab@redhat.com>
36696 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
36697 redefine if SHARED.
36698 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
36700 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
36701 wide char related routines to wcsmbs subdir.
36703 2011-10-27 Andreas Schwab <schwab@redhat.com>
36706 * misc/sys/cdefs.h (__THROWNL): Define.
36707 * posix/unistd.h: Use __THREADNL instead of __THREAD
36708 for memory synchronization functions.
36710 2011-10-26 Roland McGrath <roland@hack.frob.com>
36713 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
36715 * manual/stdio.texi (Obstack Streams): Node removed.
36717 2011-10-26 Andreas Schwab <schwab@redhat.com>
36719 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
36720 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36721 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36723 * math/math_private.h (math_force_eval): Allow non-addressable
36725 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
36727 2011-10-25 Ulrich Drepper <drepper@gmail.com>
36729 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
36730 file is not needed.
36732 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
36733 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
36734 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36735 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36736 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36737 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36738 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36739 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
36741 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
36742 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
36743 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
36744 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
36745 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
36746 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
36747 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
36748 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
36749 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
36750 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
36751 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
36752 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
36753 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
36754 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
36755 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
36756 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
36757 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
36758 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
36759 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
36761 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
36762 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
36764 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
36765 place. Use VEX encoding when compiling for AVX.
36767 2011-10-25 Andreas Schwab <schwab@redhat.com>
36769 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
36770 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
36772 * string/test-strchr.c (do_test): Don't generate NUL bytes.
36774 2011-10-25 Ulrich Drepper <drepper@gmail.com>
36776 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
36777 useless if() expression.
36778 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36779 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36780 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36781 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36782 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36783 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36784 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36785 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36786 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36787 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36788 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36789 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36790 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
36791 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36792 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
36793 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36794 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36795 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36796 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
36798 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
36800 2011-10-25 Andreas Schwab <schwab@redhat.com>
36802 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
36804 * elf/dl-fini.c (_dl_sort_fini): Likewise.
36806 2011-10-25 Ulrich Drepper <drepper@gmail.com>
36808 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
36809 .text section. Avoid duplicate constants.
36810 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36811 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36812 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36813 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36814 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36815 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36816 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36817 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36818 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
36819 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
36820 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
36821 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
36822 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
36823 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
36824 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
36825 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
36826 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
36827 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
36828 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36829 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36830 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36831 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36832 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36833 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
36834 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
36835 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
36836 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
36837 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
36838 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
36839 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
36840 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
36841 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
36842 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36843 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
36844 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
36845 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
36846 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
36847 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
36848 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
36849 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
36850 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
36851 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
36852 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
36853 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
36854 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
36856 2011-10-24 Ulrich Drepper <drepper@gmail.com>
36858 * sysdeps/x86_64/dla.h: Move to ...
36859 * sysdeps/x86_64/fpu/dla.h: ...here.
36860 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
36861 situations. Use __builtin_fma only for gcc 4.6 and up.
36863 * config.make.in: Add have-mfma4 entry.
36864 * configure.in: Substitute libc_cv_cc_fma4.
36865 * math/Makefile (dbl-only-routines): Add sincostab.
36866 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
36867 Use __sincostab not sincos.
36868 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
36870 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36871 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36872 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36873 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
36875 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
36876 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
36877 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
36878 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
36880 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
36881 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
36883 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
36884 define aliases when function name is a macro.
36885 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
36886 sysdeps/ieee754/dbl-64/sincos.tbl.
36887 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
36888 fma4-enabled routines.
36889 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
36890 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
36891 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
36892 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
36893 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
36894 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
36895 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
36896 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
36897 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
36898 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
36899 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
36900 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
36901 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
36902 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
36903 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
36904 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
36905 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
36906 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
36907 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
36908 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
36909 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
36910 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
36911 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
36912 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
36913 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
36914 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
36915 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
36916 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
36917 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
36918 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
36920 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
36922 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36923 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36924 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36925 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36926 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36927 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36928 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36929 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36931 2011-10-24 Andreas Schwab <schwab@redhat.com>
36933 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
36935 2011-10-23 Ulrich Drepper <drepper@gmail.com>
36937 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
36939 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
36941 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
36943 * string/strnlen.c: Don't define STRNLEN, reverse logic.
36944 Remove unused variable magic_bits.
36945 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
36947 * string/strnlen.c: Define and use STRNLEN macro.
36948 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
36949 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
36950 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
36951 * wcsmbs/wcslen.c: Define and use WCSLEN.
36952 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
36953 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
36954 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
36955 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
36956 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
36957 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
36958 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
36960 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36962 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36963 strnlen-sse2-no-bsf.
36964 Rename strlen-no-bsf to strlen-sse2-no-bsf.
36965 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
36966 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
36967 Add strnlen support.
36968 (USE_AS_STRNLEN): New macro.
36969 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
36970 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
36971 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
36972 * sysdeps/x86_64/wcslen.S: New file.
36974 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
36976 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36977 XMM-moves are used for copying on small sizes.
36979 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36981 * wcsmbs/Makefile (strop-tests): Add wcschr.
36982 * wcsmbs/test-wcschr.c: New file.
36983 * string/test-strchr.c: Update.
36984 Add wcschr support.
36987 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36989 * wcsmbs/Makefile (strop-tests): Add wcslen.
36990 * wcsmbs/test-wcslen.c: New file.
36991 * string/test-strlen.c: Update.
36992 Add wcslen support.
36995 2011-10-23 Ulrich Drepper <drepper@gmail.com>
36997 * po/it.po: Update from translation team.
36999 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37001 * sysdeps/x86_64/wcscmp.S: Update.
37002 Fix wrong comparison semantics.
37003 wcscmp shall use signed comparison not unsigned.
37004 Don't use substraction to avoid overflow bug.
37005 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37006 * wcsmbc/wcscmp.c: Likewise.
37007 * string/test-strcmp.c: Likewise.
37008 Add new tests to check cases with negative values.
37010 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37012 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
37013 * sysdeps/x86_64/dla.h: ...here. New file.
37014 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
37015 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37016 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37017 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37018 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37019 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37020 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37021 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37022 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37024 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
37026 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
37027 __ynl_finite aliases.
37029 2011-10-22 Ulrich Drepper <drepper@gmail.com>
37031 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37033 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
37035 [DLA_FMA] (EMULV): Use DLA_FMA.
37036 [DLA_FMA] (MUL12): Use EMULV.
37037 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
37038 that are not needed.
37039 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37040 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37041 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37042 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37043 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37044 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37045 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37047 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
37049 * math/s_nan.c: Undef __nan.
37050 * math/s_nanf.c: Undef __nanf.
37051 * math/s_nanl.c: Undef __nanl.
37052 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
37055 2011-10-22 Ulrich Drepper <drepper@gmail.com>
37057 * math/s_catan.c: Add branch predictions.
37058 * math/s_catanf.c: Likewise.
37059 * math/s_catanh.c: Likewise.
37060 * math/s_catanhf.c: Likewise.
37061 * math/s_catanhl.c: Likewise.
37062 * math/s_catanl.c: Likewise.
37063 * math/s_cexp.c: Likewise.
37064 * math/s_cexpf.c: Likewise.
37065 * math/s_cexpl.c: Likewise.
37066 * math/s_clog.c: Likewise.
37067 * math/s_clog10.c: Likewise.
37068 * math/s_clog10f.c: Likewise.
37069 * math/s_clog10l.c: Likewise.
37070 * math/s_clogf.c: Likewise.
37071 * math/s_clogl.c: Likewise.
37072 * math/s_csqrt.c: Likewise.
37073 * math/s_csqrtf.c: Likewise.
37074 * math/s_csqrtl.c: Likewise.
37075 * math/s_ctanf.c: Likewise.
37076 * math/s_ctanh.c: Likewise.
37077 * math/s_ctanhf.c: Likewise.
37078 * math/s_ctanhl.c: Likewise.
37079 * math/s_ctanl.c: Likewise.
37081 * math/math_private.h: Define __nan, __nanf, __nanl.
37082 * math/s_cacosh.c: Include <math_private.h>.
37083 * math/s_cacoshl.c: Likewise.
37084 * math/s_casinh.c: Likewise.
37085 * math/s_casinhf.c: Likewise.
37086 * math/s_casinhl.c: Likewise.
37087 * math/s_ccos.c: Rely entire on ccosh.
37088 * math/s_ccosf.c: Rely entire on ccoshf.
37089 * math/s_ccosl.c: Rely entirely on ccoshl.
37090 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
37091 Remove tests for FE_INVALID.
37092 * math/s_ccoshf.c: Likewise.
37093 * math/s_ccoshl.c: Likewise.
37094 * math/s_csin.c: Likewise.
37095 * math/s_csinf.c: Likewise.
37096 * math/s_csinh.c Likewise.
37097 * math/s_csinhf.c: Likewise.
37098 * math/s_csinhl.c: Likewise.
37099 * math/s_csinl.c: Likewise.
37100 * math/s_ctan.c: Likewise.
37101 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
37102 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
37103 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
37105 2011-10-21 Ulrich Drepper <drepper@gmail.com>
37107 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
37108 compilation problems.
37110 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
37113 2011-10-20 Ulrich Drepper <drepper@gmail.com>
37115 * sysdeps/i386/configure.in: Test for -mfma4 option.
37116 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
37117 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
37118 COMMON_CPUID_INDEX_80000001.
37119 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
37120 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
37121 use it if FMA3 is not supported.
37122 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
37124 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
37125 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37127 2011-10-20 Andreas Schwab <schwab@redhat.com>
37130 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
37131 it would create a cycle with a link time dependency.
37133 2011-10-19 Ulrich Drepper <drepper@gmail.com>
37135 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
37137 * string/Makefile (strop-tests): Add rawmemchr.
37138 * string/test-rawmemchr.c: New file.
37140 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
37141 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
37142 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
37143 when compiling str{,n}casecmp and when AVX is available. Hook up
37144 new optimized code in initializers.
37146 2011-10-19 Andreas Schwab <schwab@redhat.com>
37148 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
37149 __feraiseexcept instead of feraiseexcept.
37151 2011-10-18 Ulrich Drepper <drepper@gmail.com>
37153 * math/math_private.h: Define defaults for libc_fetestexcept and
37155 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
37156 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
37157 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37158 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37159 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37160 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37161 libc_fetestexcept and libc_feupdateenv.
37163 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
37164 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
37165 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
37166 * sysdeps/x86_64/fpu/math_private.h: Define special version of
37167 libc_feholdexcept_setround.
37169 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
37170 Add s_nearbyint-c and s_nearbyintf-c.
37171 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
37172 nearbyintf inlines.
37173 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
37174 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
37175 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
37176 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
37178 * math/math_private.h: Define defaults for libc_fegetround,
37179 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
37180 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
37181 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
37182 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
37183 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
37184 standard functions.
37185 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37186 Remove comments and hacks for old compiler versions.
37187 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37188 libc_fegetround, libc_fesetround, libc_feholdexcept, and
37189 libc_feholdexceptl.
37191 2011-10-18 Andreas Schwab <schwab@redhat.com>
37193 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
37194 (__feraiseexcept_renamed): Add __NTH.
37195 (feraiseexcept): Add __NTH. Rename local variables to fix
37196 namespace violations.
37198 2011-10-17 Ulrich Drepper <drepper@gmail.com>
37200 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
37202 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
37204 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
37205 recently added interfaces.
37206 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
37208 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
37209 about macro parameter expansion.
37211 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
37212 __NO_MATH_INLINES is defined. Cleanups.
37214 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
37215 and __floorf is target has SSE4.1.
37216 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
37217 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
37218 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
37219 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
37221 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
37223 (floorf): Likewise.
37225 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
37227 2011-10-17 Andreas Schwab <schwab@redhat.com>
37229 * misc/sys/cdefs.h: Fix last change.
37231 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
37234 2011-10-16 Ulrich Drepper <drepper@gmail.com>
37236 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
37238 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
37239 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37240 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37241 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37242 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37243 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37244 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37245 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37246 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37247 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
37248 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
37249 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
37250 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
37251 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
37252 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
37253 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
37254 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
37255 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
37256 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
37257 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
37258 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
37259 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
37261 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
37262 ceil, ceilf, floor, floorf.
37264 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
37265 Perform IRELATIVE relocations last.
37267 * elf/do-rel.h: Add another parameter nrelative, replacing the
37268 local variable with the same name. Change name of the function
37269 to end in Rel or Rela (uppercase).
37270 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
37271 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
37272 elf_dynamic_do_##reloc function.
37274 2011-10-15 Ulrich Drepper <drepper@gmail.com>
37276 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
37277 is sufficient, at least on modern CPUs.
37279 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
37281 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
37282 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
37284 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
37286 * math/bits/math-finite.h: Add entries for exp.
37287 * math/e_expl.c: Add __*_finite alias.
37288 * sysdeps/i386/fpu/e_exp.S: Likewise.
37289 * sysdeps/i386/fpu/e_expf.S: Likewise.
37290 * sysdeps/i386/fpu/e_expl.c: Likewise.
37291 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37292 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37293 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
37294 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37295 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
37296 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37297 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37299 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
37300 is sufficient, at least on modern CPUs.
37302 * ctype/ctype-info.c (__ctype_init): Define.
37303 * include/ctype.h (__ctype_init): Declare.
37304 (__ctype_b_loc): The variable is always initialized.
37305 (__ctype_toupper_loc): Likewise.
37306 (__ctype_tolower_loc): Likewise.
37307 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
37308 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
37310 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
37312 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
37314 * configure.in: Also look in $cxxmachine/include for C++ system
37317 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37319 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
37320 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
37321 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
37322 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
37323 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
37324 (USE_AS_WMEMCMP): New macro.
37326 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
37327 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
37328 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
37329 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
37330 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37331 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
37332 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
37333 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
37334 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
37335 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
37336 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
37337 (USE_AS_WMEMCMP): New macro.
37338 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
37339 * sysdeps/string/test-memcmp.c: Update.
37340 Fix simple_wmemcmp.
37342 * wcsmbs/wmemcmp.c: Update.
37343 (WMEMCMP): New macro.
37346 2011-10-12 Andreas Jaeger <aj@suse.de>
37349 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
37351 2011-10-15 Ulrich Drepper <drepper@gmail.com>
37353 * libio/iofwide.c (do_length): Avoid warning.
37355 * ctype/ctype.h (__isctype_f): Add missing __THROW.
37357 2011-10-14 Ulrich Drepper <drepper@gmail.com>
37359 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
37361 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
37362 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
37363 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
37364 * sysdeps/i386/i686/fpu/e_log.S: New file.
37365 * sysdeps/i386/i686/fpu/e_logf.S: New file.
37366 * sysdeps/i386/i686/fpu/e_logl.S: New file.
37368 * ctype/ctype.h: Add support for inlined isXXX functions when
37369 compiling C++ code.
37371 2011-10-14 Andreas Schwab <schwab@redhat.com>
37373 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37375 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
37377 2011-10-13 Roland McGrath <roland@hack.frob.com>
37380 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
37382 2011-10-13 Andreas Schwab <schwab@redhat.com>
37384 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
37385 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
37388 * sysdeps/x86_64/memrchr.S: Check for zero size.
37390 * string/stratcliff.c: Add memrchr tests.
37392 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37394 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37395 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
37396 rawmemchr-sse2 rawmemchr-sse2-bsf.
37397 * sysdeps/i386/i686/multiarch/memchr.S: New file.
37398 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
37399 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
37400 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
37401 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
37402 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
37403 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
37404 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
37405 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
37406 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
37407 * string/memrchr.c (MEMRCHR): New macro.
37409 2011-10-12 Ulrich Drepper <drepper@gmail.com>
37411 Add integration with gcc's -ffinite-math-only and optimize wrapper
37413 * Versions.def: Define GLIBC_2.15 version for libm.
37414 * math/Makefile (headers): Add bits/math-finite.h.
37415 * math/bits/math-finite.h: New file.
37416 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
37417 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
37418 * math/e_acoshl.c: Add __*_finite alias.
37419 * math/e_acosl.c: Likewise.
37420 * math/e_asinl.c: Likewise.
37421 * math/e_atan2l.c: Likewise.
37422 * math/e_atanhl.c: Likewise.
37423 * math/e_coshl.c: Likewise.
37424 * math/e_exp10.c: Likewise.
37425 * math/e_exp10f.c: Likewise.
37426 * math/e_exp10l.c: Likewise.
37427 * math/e_exp2l.c: Likewise.
37428 * math/e_fmodl.c: Likewise.
37429 * math/e_gammal_r.c: Likewise.
37430 * math/e_hypotl.c: Likewise.
37431 * math/e_j0l.c: Likewise.
37432 * math/e_j1l.c: Likewise.
37433 * math/e_jnl.c: Likewise.
37434 * math/e_lgammal_r.c: Likewise.
37435 * math/e_log10l.c: Likewise.
37436 * math/e_log2l.c: Likewise.
37437 * math/e_logl.c: Likewise.
37438 * math/e_powl.c: Likewise.
37439 * math/e_sinhl.c: Likewise.
37440 * math/e_sqrtl.c: Likewise.
37441 * math/e_scalb.c: Completely rewritten and optimized.
37442 * math/e_scalbf.c: Likewise.
37443 * math/e_scalbl.c: Likewise.
37444 * math/w_acos.c: Likewise.
37445 * math/w_acosf.c: Likewise.
37446 * math/w_acosl.c: Likewise.
37447 * math/w_acosh.c: Likewise.
37448 * math/w_acoshf.c: Likewise.
37449 * math/w_acoshl.c: Likewise.
37450 * math/w_asin.c: Likewise.
37451 * math/w_asinf.c: Likewise.
37452 * math/w_asinl.c: Likewise.
37453 * math/w_atan2.c: Likewise.
37454 * math/w_atan2f.c: Likewise.
37455 * math/w_atan2l.c: Likewise.
37456 * math/w_atanh.c: Likewise.
37457 * math/w_atanhf.c: Likewise.
37458 * math/w_atanhl.c: Likewise.
37459 * math/w_exp10.c: Likewise.
37460 * math/w_exp10f.c: Likewise.
37461 * math/w_exp10l.c: Likewise.
37462 * math/w_fmod.c: Likewise.
37463 * math/w_fmodf.c: Likewise.
37464 * math/w_fmodl.c: Likewise.
37465 * math/w_j0.c: Likewise.
37466 * math/w_j0f.c: Likewise.
37467 * math/w_j0l.c: Likewise.
37468 * math/w_j1.c: Likewise.
37469 * math/w_j1f.c: Likewise.
37470 * math/w_j1l.c: Likewise.
37471 * math/w_jn.c: Likewise.
37472 * math/w_jnf.c: Likewise.
37473 * math/w_log.c: Likewise.
37474 * math/w_logf.c: Likewise.
37475 * math/w_logl.c: Likewise.
37476 * math/w_log10.c: Likewise.
37477 * math/w_log10f.c: Likewise.
37478 * math/w_log10l.c: Likewise.
37479 * math/w_log2.c: Likewise.
37480 * math/w_log2f.c: Likewise.
37481 * math/w_log2l.c: Likewise.
37482 * math/w_pow.c: Likewise.
37483 * math/w_powf.c: Likewise.
37484 * math/w_powl.c: Likewise.
37485 * math/w_remainder.c: Likewise.
37486 * math/w_remainderf.c: Likewise.
37487 * math/w_remainderl.c: Likewise.
37488 * math/w_scalb.c: Likewise.
37489 * math/w_scalbf.c: Likewise.
37490 * math/w_scalbl.c: Likewise.
37491 * math/w_sqrt.c: Likewise.
37492 * math/w_sqrtf.c: Likewise.
37493 * math/w_sqrtl.c: Likewise.
37494 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
37495 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
37497 * math/math_private.h: Declare __kernel_standard_f.
37498 * math/w_cosh.c: Remove cruft and optimize a bit.
37499 * math/w_coshf.c: Likewise.
37500 * math/w_coshl.c: Likewise.
37501 * math/w_exp2.c: Likewise.
37502 * math/w_exp2f.c: Likewise.
37503 * math/w_exp2l.c: Likewise.
37504 * math/w_hypot.c: Likewise.
37505 * math/w_hypotf.c: Likewise.
37506 * math/w_hypotl.c: Likewise.
37507 * math/w_lgamma.c: Likewise.
37508 * math/w_lgamma_r.c: Likewise.
37509 * math/w_lgammaf.c: Likewise.
37510 * math/w_lgammaf_r.c: Likewise.
37511 * math/w_lgammal.c: Likewise.
37512 * math/w_lgammal_r.c: Likewise.
37513 * math/w_sinh.c: Likewise.
37514 * math/w_sinhf.c: Likewise.
37515 * math/w_sinhl.c: Likewise.
37516 * math/w_tgamma.c: Likewise.
37517 * math/w_tgammaf.c: Likewise.
37518 * math/w_tgammal.c: Likewise.
37519 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37520 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37521 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
37522 Minor optimizations. Pretty printing. Remove cruft.
37523 * sysdeps/i386/fpu/e_acosf.S: Likewise.
37524 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37525 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37526 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37527 * sysdeps/i386/fpu/e_acosl.c: Likewise.
37528 * sysdeps/i386/fpu/e_asin.S: Likewise.
37529 * sysdeps/i386/fpu/e_asinf.S: Likewise.
37530 * sysdeps/i386/fpu/e_atan2.S: Likewise.
37531 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
37532 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
37533 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37534 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37535 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37536 * sysdeps/i386/fpu/e_exp10.S: Likewise.
37537 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
37538 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
37539 * sysdeps/i386/fpu/e_exp2.S: Likewise.
37540 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
37541 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
37542 * sysdeps/i386/fpu/e_fmod.S: Likewise.
37543 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
37544 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
37545 * sysdeps/i386/fpu/e_hypot.S: Likewise.
37546 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
37547 * sysdeps/i386/fpu/e_log.S: Likewise.
37548 * sysdeps/i386/fpu/e_log10.S: Likewise.
37549 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37550 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37551 * sysdeps/i386/fpu/e_log2.S: Likewise.
37552 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37553 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37554 * sysdeps/i386/fpu/e_logf.S: Likewise.
37555 * sysdeps/i386/fpu/e_logl.S: Likewise.
37556 * sysdeps/i386/fpu/e_pow.S: Likewise.
37557 * sysdeps/i386/fpu/e_powf.S: Likewise.
37558 * sysdeps/i386/fpu/e_powl.S: Likewise.
37559 * sysdeps/i386/fpu/e_remainder.S: Likewise.
37560 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
37561 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
37562 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37563 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37564 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37565 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
37566 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
37567 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
37568 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37569 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37570 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37571 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37572 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37573 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37574 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
37575 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37576 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37577 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37578 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37579 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37580 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37581 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37582 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37583 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37584 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37585 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37586 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37587 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37588 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37589 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37590 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37591 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37592 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37593 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37594 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37595 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37596 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
37597 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37598 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37599 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37600 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37601 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37602 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37603 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37604 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37605 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37606 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37607 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37608 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37609 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37610 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37611 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37612 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37613 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37614 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37615 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37616 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37617 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
37618 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37619 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37620 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37621 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37622 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37623 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37624 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37625 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37626 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37627 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37628 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37629 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37630 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37631 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37632 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37633 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37634 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37635 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37636 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
37637 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37638 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37639 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37640 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37641 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37642 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37643 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37644 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
37645 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37646 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37647 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37648 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37649 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37650 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
37651 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37652 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37653 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37654 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37655 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37656 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37657 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37658 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37659 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37660 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37661 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
37662 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37663 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37664 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37665 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
37666 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
37667 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
37668 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
37669 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
37670 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
37671 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
37672 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37673 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37674 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37675 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37676 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
37677 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37678 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
37679 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
37680 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
37681 (__isnanf): Likewise.
37682 (__isinf_ns): Likewise.
37683 (__isinf_nsf): Likewise.
37684 (__finite): Likewise.
37685 (__finitef): Likewise.
37686 (__ieee754_sqrt): Define as macro.
37687 (__ieee754_sqrtf): Define as macro.
37688 (__ieee754_sqrtl): Define as macro.
37689 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
37691 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
37692 __FINITE_MATH_ONLY__ consistent.
37693 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
37695 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
37697 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
37700 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
37702 2011-10-09 Ulrich Drepper <drepper@gmail.com>
37704 * po/ja.po: Update from translation team.
37706 2011-10-08 Roland McGrath <roland@hack.frob.com>
37708 * locale/programs/locarchive.c (prepare_address_space): New function.
37709 (create_archive, enlarge_archive, open_archive): Use it.
37711 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
37712 inside [SHARED], where it is used.
37714 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
37716 * nss/getent.c (netgroup_keys): Remove unused variable.
37717 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37719 2011-10-08 Ulrich Drepper <drepper@gmail.com>
37721 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
37722 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
37723 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
37724 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
37725 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
37726 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
37727 * math/Makefile (libm-calls): Add s_isinf_ns.
37728 * math/divtc3.c: Use __isinf_nsl instead of isinf.
37729 * math/multc3.c: Likewise.
37730 * math/s_casin.c: Likewise.
37731 * math/s_casinf.c: Likewise.
37732 * math/s_casinl.c: Likewise.
37733 * math/s_ccos.c: Likewise.
37734 * math/s_ccosf.c: Likewise.
37735 * math/s_ccosl.c: Likewise.
37736 * math/s_ctan.c: Likewise.
37737 * math/s_ctanf.c: Likewise.
37738 * math/s_ctanh.c: Likewise.
37739 * math/s_ctanhf.c: Likewise.
37740 * math/s_ctanhl.c: Likewise.
37741 * math/s_ctanl.c: Likewise.
37742 * math/w_fmod.c: Likewise.
37743 * math/w_fmodf.c: Likewise.
37744 * math/w_fmodl.c: Likewise.
37745 * math/w_remainder.c: Likewise.
37746 * math/w_remainderf.c: Likewise.
37747 * math/w_remainderl.c: Likewise.
37748 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
37749 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
37750 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
37751 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
37752 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
37753 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
37754 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
37755 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
37757 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
37759 * stdio-common/printf_fphex.c: Likewise.
37760 * stdio-common/printf_size.c: Likewise.
37762 * math/e_exp10.c: Include math_private.h using <...> not "...".
37763 * math/e_exp10f.c: Likewise.
37764 * math/e_exp10l.c: Likewise.
37765 * math/e_exp2l.c: Likewise.
37766 * math/e_j0l.c: Likewise.
37767 * math/e_j1l.c: Likewise.
37768 * math/e_jnl.c: Likewise.
37769 * math/e_lgammal_r.c: Likewise.
37770 * math/e_rem_pio2l.c: Likewise.
37771 * math/e_scalb.c: Likewise.
37772 * math/e_scalbf.c: Likewise.
37773 * math/e_scalbl.c: Likewise.
37774 * math/k_cosl.c: Likewise.
37775 * math/k_sinl.c: Likewise.
37776 * math/k_tanl.c: Likewise.
37777 * math/s_cacoshf.c: Likewise.
37778 * math/s_catan.c: Likewise.
37779 * math/s_catanf.c: Likewise.
37780 * math/s_catanh.c: Likewise.
37781 * math/s_catanhf.c: Likewise.
37782 * math/s_catanhl.c: Likewise.
37783 * math/s_catanl.c: Likewise.
37784 * math/s_ccosh.c: Likewise.
37785 * math/s_ccoshf.c: Likewise.
37786 * math/s_ccoshl.c: Likewise.
37787 * math/s_cexp.c: Likewise.
37788 * math/s_cexpf.c: Likewise.
37789 * math/s_cexpl.c: Likewise.
37790 * math/s_clog.c: Likewise.
37791 * math/s_clog10.c: Likewise.
37792 * math/s_clog10f.c: Likewise.
37793 * math/s_clog10l.c: Likewise.
37794 * math/s_clogf.c: Likewise.
37795 * math/s_clogl.c: Likewise.
37796 * math/s_csin.c: Likewise.
37797 * math/s_csinf.c: Likewise.
37798 * math/s_csinh.c: Likewise.
37799 * math/s_csinhf.c: Likewise.
37800 * math/s_csinhl.c: Likewise.
37801 * math/s_csinl.c: Likewise.
37802 * math/s_csqrt.c: Likewise.
37803 * math/s_csqrtf.c: Likewise.
37804 * math/s_csqrtl.c: Likewise.
37805 * math/s_ctan.c: Likewise.
37806 * math/s_ctanf.c: Likewise.
37807 * math/s_ctanh.c: Likewise.
37808 * math/s_ctanhf.c: Likewise.
37809 * math/s_ctanhl.c: Likewise.
37810 * math/s_ctanl.c: Likewise.
37811 * math/s_ldexp.c: Likewise.
37812 * math/s_ldexpf.c: Likewise.
37813 * math/s_ldexpl.c: Likewise.
37814 * math/s_significand.c: Likewise.
37815 * math/s_significandf.c: Likewise.
37816 * math/s_significandl.c: Likewise.
37817 * math/w_acos.c: Likewise.
37818 * math/w_acosf.c: Likewise.
37819 * math/w_acosh.c: Likewise.
37820 * math/w_acoshf.c: Likewise.
37821 * math/w_acoshl.c: Likewise.
37822 * math/w_acosl.c: Likewise.
37823 * math/w_asin.c: Likewise.
37824 * math/w_asinf.c: Likewise.
37825 * math/w_asinl.c: Likewise.
37826 * math/w_atan2.c: Likewise.
37827 * math/w_atan2f.c: Likewise.
37828 * math/w_atan2l.c: Likewise.
37829 * math/w_atanh.c: Likewise.
37830 * math/w_atanhf.c: Likewise.
37831 * math/w_atanhl.c: Likewise.
37832 * math/w_cosh.c: Likewise.
37833 * math/w_coshf.c: Likewise.
37834 * math/w_coshl.c: Likewise.
37835 * math/w_dremf.c: Likewise.
37836 * math/w_exp10.c: Likewise.
37837 * math/w_exp10f.c: Likewise.
37838 * math/w_exp10l.c: Likewise.
37839 * math/w_exp2.c: Likewise.
37840 * math/w_exp2f.c: Likewise.
37841 * math/w_fmod.c: Likewise.
37842 * math/w_fmodf.c: Likewise.
37843 * math/w_fmodl.c: Likewise.
37844 * math/w_hypot.c: Likewise.
37845 * math/w_hypotf.c: Likewise.
37846 * math/w_hypotl.c: Likewise.
37847 * math/w_j0.c: Likewise.
37848 * math/w_j0f.c: Likewise.
37849 * math/w_j0l.c: Likewise.
37850 * math/w_j1.c: Likewise.
37851 * math/w_j1f.c: Likewise.
37852 * math/w_j1l.c: Likewise.
37853 * math/w_jn.c: Likewise.
37854 * math/w_jnf.c: Likewise.
37855 * math/w_jnl.c: Likewise.
37856 * math/w_lgamma.c: Likewise.
37857 * math/w_lgamma_r.c: Likewise.
37858 * math/w_lgammaf.c: Likewise.
37859 * math/w_lgammaf_r.c: Likewise.
37860 * math/w_lgammal.c: Likewise.
37861 * math/w_lgammal_r.c: Likewise.
37862 * math/w_log.c: Likewise.
37863 * math/w_log10.c: Likewise.
37864 * math/w_log10f.c: Likewise.
37865 * math/w_log10l.c: Likewise.
37866 * math/w_log2.c: Likewise.
37867 * math/w_log2f.c: Likewise.
37868 * math/w_log2l.c: Likewise.
37869 * math/w_logf.c: Likewise.
37870 * math/w_logl.c: Likewise.
37871 * math/w_pow.c: Likewise.
37872 * math/w_powf.c: Likewise.
37873 * math/w_powl.c: Likewise.
37874 * math/w_remainder.c: Likewise.
37875 * math/w_remainderf.c: Likewise.
37876 * math/w_remainderl.c: Likewise.
37877 * math/w_scalb.c: Likewise.
37878 * math/w_scalbf.c: Likewise.
37879 * math/w_scalbl.c: Likewise.
37880 * math/w_sinh.c: Likewise.
37881 * math/w_sinhf.c: Likewise.
37882 * math/w_sinhl.c: Likewise.
37883 * math/w_sqrt.c: Likewise.
37884 * math/w_sqrtf.c: Likewise.
37885 * math/w_sqrtl.c: Likewise.
37886 * math/w_tgamma.c: Likewise.
37887 * math/w_tgammaf.c: Likewise.
37888 * math/w_tgammal.c: Likewise.
37890 * po/ja.po: Update from translation team.
37892 2011-09-29 Andreas Jaeger <aj@suse.de>
37895 * sunrpc/netname.c (netname2host): Fix logic.
37899 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
37901 * math/w_remainder.c (__remainder): Likewise.
37902 * math/w_remainderf.c (__remainderf): Likewise.
37903 * math/libm-test.inc (remainder_test): Add test cases.
37905 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37907 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
37910 2011-10-07 Ulrich Drepper <drepper@gmail.com>
37912 * string/test-memcmp.c: Avoid unncessary #defines.
37913 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37915 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37917 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
37918 Use new sse2 version for core i3 - i7 as it's faster
37919 than sse42 version.
37920 (bit_Prefer_PMINUB_for_stringop): New.
37921 * sysdeps/x86_64/rawmemchr.S: Update.
37922 Replace with faster SSE2 version.
37923 * sysdeps/x86_64/memrchr.S: New file.
37924 * sysdeps/x86_64/memchr.S: Update.
37925 Replace with faster SSE2 version.
37927 2011-09-12 Marek Polacek <mpolacek@redhat.com>
37929 * elf/dl-load.c (lose): Add cast to avoid warning.
37931 2011-10-07 Ulrich Drepper <drepper@gmail.com>
37933 * po/ca.po: Update from translation team.
37935 * inet/getnetgrent_r.c: Hook up nscd.
37936 * nscd/Makefile (routines): Add nscd_netgroup.
37937 (nscd-modules): Add netgroupcache.
37938 (CFLAGS-netgroupcache.c): Define.
37939 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
37940 (cache_search): Add const to second parameter.
37941 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
37943 (dbs): Add netgrdb entry.
37944 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
37945 (verify_persistent_db): Handle netgrdb.
37946 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
37947 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
37949 (netgroup_response_header): Define.
37950 (innetgroup_response_header): Define.
37951 (datahead): Add netgroup_response_header and innetgroup_response_header
37953 * nscd/nscd.conf: Add entries for netgroup cache.
37954 * nscd/nscd.h (dbtype): Add netgrdb.
37955 (_PATH_NSCD_NETGROUP_DB): Define.
37956 (netgroup_iov_disabled): Declare.
37957 (xmalloc, xcalloc, xrealloc): Move declarations here.
37958 (cache_search): Adjust prototype.
37959 Add netgroup-related prototypes.
37960 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
37961 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
37962 (__nscd_innetgr): Declare.
37963 * nscd/selinux.c (perms): Use access_vector_t as element type and
37964 add netgroup-related initializers.
37965 * nscd/netgroupcache.c: New file.
37966 * nscd/nscd_netgroup.c: New file.
37967 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
37968 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
37969 For four parameters use innetgr.
37970 * nss/nss_files/files-init.c: Add definition and callback for netgr.
37971 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
37972 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
37973 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
37975 * nscd/connections.c (register_traced_file): Don't register file
37976 for disabled databases.
37978 2011-10-06 Ulrich Drepper <drepper@gmail.com>
37980 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
37982 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
37983 from tree and freeing node.
37985 2011-09-25 Jiri Olsa <jolsa@redhat.com>
37987 * nss/nsswitch.c (__nss_database_lookup): Handle
37988 nss_parse_service_list out of memory case.
37990 2011-09-15 Jiri Olsa <jolsa@redhat.com>
37992 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
37993 out of memory case.
37995 2011-10-04 Andreas Schwab <schwab@redhat.com>
37997 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
37998 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
38000 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
38001 elf_machine_rela, elf_machine_lazy_rel.
38002 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
38003 (ELF_DYNAMIC_DO_REL): Likewise.
38004 (ELF_DYNAMIC_DO_RELA): Likewise.
38005 (ELF_DYNAMIC_RELOCATE): Likewise.
38006 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
38007 to ELF_DYNAMIC_DO_REL.
38008 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
38009 (dl_main): In trace mode always set __RTLD_NOIFUNC.
38010 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
38012 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
38013 skip_ifunc, don't call ifunc function if non-zero.
38014 (elf_machine_rela): Likewise.
38015 (elf_machine_lazy_rel): Likewise.
38016 (elf_machine_lazy_rela): Likewise.
38017 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
38018 (elf_machine_lazy_rel): Likewise.
38019 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
38021 (elf_machine_lazy_rel): Likewise.
38022 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38024 (elf_machine_lazy_rel): Likewise.
38025 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
38026 (elf_machine_lazy_rel): Likewise.
38027 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
38028 (elf_machine_lazy_rel): Likewise.
38029 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38030 (elf_machine_lazy_rel): Likewise.
38031 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
38032 (elf_machine_lazy_rel): Likewise.
38033 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
38034 (elf_machine_lazy_rel): Likewise.
38035 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38036 (elf_machine_lazy_rel): Likewise.
38038 2011-09-28 Ulrich Drepper <drepper@gmail.com>
38040 * nss/nss_files/files-init.c (_nss_files_init): Use static
38041 initialization for all the *_traced_file variables.
38043 2011-09-28 Andreas Schwab <schwab@redhat.com>
38045 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38047 2011-09-27 Roland McGrath <roland@hack.frob.com>
38050 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
38052 2011-09-27 Andreas Schwab <schwab@redhat.com>
38054 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38055 Reread the line before reparsing it.
38057 2011-09-26 Andreas Schwab <schwab@redhat.com>
38059 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
38061 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
38062 Maxim Kuvyrkov <maxim@codesourcery.com>
38063 Joseph Myers <joseph@codesourcery.com>
38065 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
38066 if needed for __stack_chk_guard.
38068 2011-09-19 Roland McGrath <roland@hack.frob.com>
38070 * sysdeps/posix/spawni.c (script_execute): Always define it.
38071 It will be optimized away if unused.
38072 (maybe_script_execute): New function.
38073 (__spawni): Call it.
38075 * Makerules: Don't include tls.make.
38076 (config-tls): Always set to thread.
38077 * tls.make.c: File removed.
38079 2011-09-19 Mike Frysinger <vapier@gentoo.org>
38081 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
38082 * config.make.in (CPPFLAGS-config): New substituted variable.
38084 2011-09-15 Ulrich Drepper <drepper@gmail.com>
38086 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
38089 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
38090 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
38092 2011-09-15 Roland McGrath <roland@hack.frob.com>
38094 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
38095 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
38096 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38097 (CALL_FAIL): Likewise.
38098 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
38099 (CALL_FAIL): Macro removed.
38100 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
38102 2011-09-15 Ulrich Drepper <drepper@gmail.com>
38104 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
38105 for __FINITE_MATH_ONLY__ == 1.
38107 2011-09-15 Andreas Schwab <schwab@redhat.com>
38109 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
38110 __ieee754_sqrt instead of sqrt.
38111 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
38112 __ieee754_sqrtf instead of sqrtf.
38113 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
38114 __floorf instead of floorf.
38115 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
38116 __floorf, __truncf instead of floorf, truncf.
38118 2011-09-14 Ulrich Drepper <drepper@gmail.com>
38120 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
38122 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
38123 __extern_always_inline.
38124 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
38127 2011-09-14 Andreas Schwab <schwab@redhat.com>
38129 * elf/rtld.c (dl_main): Also relocate in dependency order when
38130 doing symbol dependency testing.
38132 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
38134 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38135 Always define `refsym'.
38137 2011-09-13 Andreas Schwab <schwab@redhat.com>
38139 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
38140 (__FD_ELT): Renamed from __FDELT.
38141 * misc/bits/select2.h (__FD_ELT): Likewise.
38142 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
38143 __FD_MASK instead of __FDELT, __FDMASK.
38144 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38146 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38149 * elf/Makefile (gen-ldd): Fix pattern.
38151 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
38152 (init_tls): Likewise.
38154 2011-09-12 Ulrich Drepper <drepper@gmail.com>
38156 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
38158 2011-09-12 Andreas Schwab <schwab@redhat.com>
38160 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
38161 `struct cmsghdr *' instead of `void *'.
38162 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
38165 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
38167 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
38169 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
38170 ldd_rewrite_script.
38172 2011-09-11 Ulrich Drepper <drepper@gmail.com>
38174 * configure.in: Remove --with-tls option.
38175 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
38176 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
38177 out in case it is missing.
38178 * sysdeps/ia64/elf/configure.in: Likewise.
38179 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
38180 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
38181 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
38182 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
38183 * sysdeps/sh/elf/configure.in: Likewise.
38184 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
38185 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38186 * sysdeps/x86_64/elf/configure.in: Likewise.
38187 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
38188 * sysdeps/mach/hurd/tls.h: Likewise.
38191 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
38194 * configure.in: Fix use of AC_INIT.
38196 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
38198 2011-09-10 Ulrich Drepper <drepper@gmail.com>
38200 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
38202 * malloc/hooks.c: Likewise.
38205 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
38206 variables statically.
38207 (narenas): Initialize.
38208 (list_lock): Initialize.
38209 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
38210 initializtion of main_arena and list_lock. Small cleanups.
38211 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
38212 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
38213 Add initializers to main_arena and mp_.
38214 (malloc_state): Remove pagesize member. Change all users to use
38217 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
38218 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
38219 is always initialized.
38221 * malloc/malloc.c: Removed unused configurations and dead code.
38222 * malloc/arena.c: Likewise.
38223 * malloc/hooks.c: Likewise.
38224 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
38226 * include/tls.h: Removed. USE___THREAD must always be defined.
38227 * bits/libc-tsd.h: Don't handle !USE___THREAD.
38228 * elf/dl-libc.c: Likewise.
38229 * elf/dl-tsd.c: Likewise.
38230 * include/errno.h: Likewise.
38231 * include/netdb.h: Likewise.
38232 * include/resolv.h: Likewise.
38233 * inet/herrno-loc.c: Likewise.
38234 * inet/herrno.c: Likewise.
38235 * malloc/arena.c: Likewise.
38236 * malloc/hooks.c: Likewise.
38237 * malloc/malloc.c: Likewise.
38238 * resolv/res-state.c: Likewise.
38239 * resolv/res_libc.c: Likewise.
38240 * sysdeps/i386/dl-machine.h: Likewise.
38241 * sysdeps/ia64/dl-machine.h: Likewise.
38242 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
38243 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38244 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
38245 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
38246 * sysdeps/sh/dl-machine.h: Likewise.
38247 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38248 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38249 * sysdeps/unix/i386/sysdep.S: Likewise.
38250 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38251 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
38252 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
38253 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38254 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
38255 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38256 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38257 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38258 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38259 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38260 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38261 * sysdeps/x86_64/dl-machine.h: Likewise.
38262 * tls.make.c: Likewise.
38264 * configure.in: Remove --with-__thread option. Make tests for
38265 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
38266 tls_model attribute fail if no support is available. Remove
38268 * Makeconfig: Adjust for dropped configure option. All features are
38270 * Makerules: Likewise.
38271 * Versions.def: Likewise.
38272 * argp/argp-fmtstream.c: Likewise.
38273 * argp/argp-fmtstream.h: Likewise.
38274 * argp/argp-help.c: Likewise.
38275 * assert/assert.c: Likewise.
38276 * config.h.in: Likewise.
38277 * config.make.in: Likewise.
38278 * configure: Likewise.
38279 * configure.in: Likewise.
38280 * csu/Versions: Likewise.
38281 * csu/init.c: Likewise.
38282 * elf/tst-audit2.c: Likewise.
38283 * elf/tst-tls10.c: Likewise.
38284 * elf/tst-tls10.h: Likewise.
38285 * elf/tst-tls11.c: Likewise.
38286 * elf/tst-tls12.c: Likewise.
38287 * elf/tst-tls14.c: Likewise.
38288 * elf/tst-tlsmod11.c: Likewise.
38289 * elf/tst-tlsmod12.c: Likewise.
38290 * elf/tst-tlsmod13.c: Likewise.
38291 * elf/tst-tlsmod13a.c: Likewise.
38292 * elf/tst-tlsmod14a.c: Likewise.
38293 * elf/tst-tlsmod15b.c: Likewise.
38294 * elf/tst-tlsmod16a.c: Likewise.
38295 * elf/tst-tlsmod16b.c: Likewise.
38296 * elf/tst-tlsmod7.c: Likewise.
38297 * elf/tst-tlsmod8.c: Likewise.
38298 * elf/tst-tlsmod9.c: Likewise.
38299 * gmon/gmon.c: Likewise.
38300 * grp/fgetgrent_r.c: Likewise.
38301 * grp/putgrent.c: Likewise.
38302 * hurd/fopenport.c: Likewise.
38303 * include/libc-symbols.h: Likewise.
38304 * include/tls.h: Likewise.
38305 * intl/gettextP.h: Likewise.
38306 * intl/loadinfo.h: Likewise.
38307 * locale/global-locale.c: Likewise.
38308 * locale/localeinfo.h: Likewise.
38309 * mach/devstream.c: Likewise.
38310 * malloc/arena.c: Likewise.
38311 * malloc/set-freeres.c: Likewise.
38312 * misc/err.c: Likewise.
38313 * misc/getttyent.c: Likewise.
38314 * misc/mntent_r.c: Likewise.
38315 * posix/getopt.c: Likewise.
38316 * posix/wordexp.c: Likewise.
38317 * pwd/fgetpwent_r.c: Likewise.
38318 * resolv/Versions: Likewise.
38319 * resolv/res_hconf.c: Likewise.
38320 * shadow/fgetspent_r.c: Likewise.
38321 * shadow/putspent.c: Likewise.
38322 * stdio-common/printf_fphex.c: Likewise.
38323 * stdio-common/tmpfile.c: Likewise.
38324 * stdlib/abort.c: Likewise.
38325 * stdlib/fmtmsg.c: Likewise.
38326 * sunrpc/auth_unix.c: Likewise.
38327 * sunrpc/clnt_perr.c: Likewise.
38328 * sunrpc/clnt_tcp.c: Likewise.
38329 * sunrpc/clnt_udp.c: Likewise.
38330 * sunrpc/clnt_unix.c: Likewise.
38331 * sunrpc/openchild.c: Likewise.
38332 * sunrpc/svc_simple.c: Likewise.
38333 * sunrpc/svc_tcp.c: Likewise.
38334 * sunrpc/svc_udp.c: Likewise.
38335 * sunrpc/svc_unix.c: Likewise.
38336 * sunrpc/xdr.c: Likewise.
38337 * sunrpc/xdr_array.c: Likewise.
38338 * sunrpc/xdr_rec.c: Likewise.
38339 * sunrpc/xdr_ref.c: Likewise.
38340 * sunrpc/xdr_stdio.c: Likewise.
38342 2011-09-09 Ulrich Drepper <drepper@gmail.com>
38344 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38346 2011-07-03 Andreas Jaeger <aj@suse.de>
38348 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
38349 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
38350 regenerate with gen-libm-tests.pl.
38352 2010-05-12 Petr Baudis <pasky@suse.cz>
38355 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
38356 around j0() zero points by switching to j1().
38357 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38358 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38359 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38360 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38362 2011-09-09 Ulrich Drepper <drepper@gmail.com>
38364 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
38366 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
38368 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38369 Patch in part by Pavel Roskin <proski@gnu.org>.
38372 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
38374 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
38375 Free memory block if necessary.
38378 * libio/genops.c (INTDEF): For string streams the _lock pointer can
38379 be NULL. Don't lock in this case.
38381 2011-09-09 Roland McGrath <roland@hack.frob.com>
38383 * elf/elf.h (ELFOSABI_GNU): New macro.
38384 (ELFOSABI_LINUX): Define to that.
38386 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
38388 * string/strncat.c (strncat): Undef the symbol in case it has been
38389 defined in bits/string.h.
38391 2011-09-09 Ulrich Drepper <drepper@gmail.com>
38393 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
38395 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
38398 2011-08-17 Andreas Jaeger <aj@suse.de>
38400 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
38402 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
38403 Ian Lance Taylor <iant@google.com>
38405 * math/libm-test.inc (lround_test): New testcase.
38406 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
38408 2011-09-08 Ulrich Drepper <drepper@gmail.com>
38410 * Makefile: Remove support for automatic cvs check-ins.
38411 * Makerules: Likewise.
38412 * config.make.in: Likewise.
38413 * configure.in: Likewise.
38414 * intl/Makefile: Likewise.
38415 * locale/Makefile: Likewise.
38416 * po/Makefile: Likewise.
38417 * posix/Makefile: Likewise.
38418 * sysdeps/gnu/Makefile: Likewise.
38419 * sysdeps/mach/hurd/Makefile: Likewise.
38420 * sysdeps/sparc/sparc32/Makefile: Likewise.
38423 * posix/Makefile (bug-regex32-ENV): Define.
38424 Patch by John Stanley <jpsinthemix@verizon.net>.
38426 * misc/Makefile (headers): Add bits/select2.h.
38427 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
38428 * misc/bits/select2.h: New file.
38429 * include/bits/select2.h: New file.
38430 * debug/Makefile (routines): Add fdelt_chk.
38431 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
38432 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
38434 * debug/fdelt_chk.c: New file.
38436 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
38437 * wcsmbs/test-wmemcmp.c: Likewise.
38438 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
38439 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
38441 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38443 * string/Makefile (strop-tests): Add memcmp.
38444 * string/test-wmemcmp.c: New file.
38445 * string/test-memcmp.c: Add wmemcmp support.
38447 2011-09-08 Roland McGrath <roland@hack.frob.com>
38450 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
38453 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
38454 garbage value in a __mach_port_mod_refs call in the cases of the
38455 task-self and thread-self ports.
38457 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
38459 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
38461 2011-09-08 Andreas Schwab <schwab@redhat.com>
38463 * elf/dl-load.c (lose): Check for non-null L.
38465 2011-09-07 Ulrich Drepper <drepper@gmail.com>
38467 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
38469 * elf/dl-libc.c (dlerror_run): Pass back error code from
38473 * elf/dl-load.c (lose): Free l_origin if it is valid.
38475 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
38477 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
38478 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38479 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
38480 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38481 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
38482 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
38484 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38486 * sysdeps/powerpc/fpu/e_hypot.c: New file.
38487 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
38488 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
38489 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
38490 * sysdeps/powerpc/fpu/k_cosf.c: New file.
38491 * sysdeps/powerpc/fpu/k_sinf.c: New file.
38492 * sysdeps/powerpc/fpu/s_cosf.c: New file.
38493 * sysdeps/powerpc/fpu/s_sinf.c: New file.
38494 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
38495 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
38497 2011-08-15 Alan Modra <amodra@gmail.com>
38500 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
38501 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
38502 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
38503 ppc_mcount to static-only-routines.
38504 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
38506 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
38507 __mcount_internal with usual JUMPTARGET. Remove useless nop.
38509 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
38511 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
38512 for finite and infinity parameters.
38514 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
38516 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
38517 and add nop instructions for throughput optimization.
38518 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38520 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
38522 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
38523 aligned copy for power7 with vector-scalar instructions.
38524 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
38526 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
38528 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
38531 2011-09-07 Andreas Schwab <schwab@redhat.com>
38534 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
38537 2011-09-07 Ulrich Drepper <drepper@gmail.com>
38539 * sysdeps/unix/sysv/linux/x86_64/init-first.c
38540 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
38541 syscall wrapper around clock_gettime in __vdso_clock_gettime.
38542 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
38545 2011-09-06 Ulrich Drepper <drepper@gmail.com>
38547 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
38548 Forgot to demangle the pointer.
38550 * sysdeps/i386/sysdep.h: Define atom_text_section.
38551 * sysdeps/x86_64/sysdep.h: Likewise.
38552 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
38553 section with atom_text_section.
38554 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38555 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38556 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
38557 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
38558 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
38560 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
38561 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
38562 already be defined. Change to take two parameters and don't assign
38563 result to variable. Adjust all users.
38564 Define INTERNAL_GETTIME if not already defined.
38565 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
38567 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
38568 HAVE_CLOCK_GETTIME_VSYSCALL.
38569 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
38571 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
38572 gettimeofday vsyscall, just use time.
38574 2011-09-06 Andreas Schwab <schwab@redhat.com>
38576 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
38579 2011-09-06 Ulrich Drepper <drepper@gmail.com>
38581 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
38583 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
38585 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
38586 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
38587 syscall if possible.
38589 2011-09-05 Ulrich Drepper <drepper@gmail.com>
38591 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
38592 e_ident. Don't pass to find_mapsXX.
38593 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
38595 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38597 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38598 strchr-sse2-no-bsf strrchr-sse2-no-bsf
38599 * sysdeps/x86_64/multiarch/strchr.S: Update.
38600 Check bit_slow_BSF bit.
38601 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38602 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
38603 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
38605 2011-09-05 Ulrich Drepper <drepper@gmail.com>
38608 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
38610 (tryshell): Define.
38611 (__spawni): Change last parameter to be flag. Test
38612 SPAWN_XFLAGS_USE_PATH flag to use path or not.
38613 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
38614 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
38615 * posix/spawni.c: Likewise.
38616 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
38617 * posix/spawnp.c: Likewise. Change normal version to use
38618 SPAWN_XFLAGS_USE_PATH.
38619 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
38620 SPAWN_XFLAGS_TRY_SHELL.
38623 * posix/glob.h: Remove gcc 1.x support.
38626 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
38628 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38630 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38631 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
38633 * sysdeps/i386/i686/multiarch/strchr.S: New file.
38634 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
38635 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
38636 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
38637 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
38638 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
38640 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38642 * sysdeps/x86_64/wcscmp.S: New file.
38644 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
38645 wcscmp-c wcscmp-sse2
38646 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
38647 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
38648 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
38649 * wcsmbs/wcscmp.c: Allow renaming.
38651 2011-09-05 David S. Miller <davem@davemloft.net>
38653 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
38654 stack slot, rather than the struct return pointer slot.
38655 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
38656 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
38657 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
38658 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
38660 2011-09-05 Ulrich Drepper <drepper@gmail.com>
38662 * po/ja.po: Update from translation team.
38665 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
38666 kernel in 64-bit binaries.
38668 2011-09-01 David S. Miller <davem@davemloft.net>
38670 * elf/elf.h (HWCAP_SPARC_*): Move to..
38671 * sysdeps/sparc/sysdep.h: this new file and add new values.
38672 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
38673 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
38674 _DL_HWCAP_COUNT to 24.
38675 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
38677 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
38678 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
38679 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
38680 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
38681 instead of magic constants.
38682 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38684 2011-08-31 David S. Miller <davem@davemloft.net>
38686 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
38687 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
38688 Reimplement to do errno handling inline.
38689 (SYSCALL_ERROR_HANDLER): New macro.
38690 (__SYSCALL_STRING): Do not do errno handling in asm.
38691 (__CLONE_SYSCALL_STRING): Delete.
38692 (__INTERNAL_SYSCALL_STRING): Delete.
38693 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
38694 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
38695 (PSEUDO): Reimplement to do errno handling inline.
38696 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
38697 (SYSCALL_ERROR_HANDLER): New macro.
38698 (__SYSCALL_STRING): Do not do errno handling in asm.
38699 (__CLONE_SYSCALL_STRING): Delete.
38700 (__INTERNAL_SYSCALL_STRING): Delete.
38701 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
38702 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
38704 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
38705 (inline_syscall*): Add 'err' argument.
38706 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
38707 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
38708 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
38709 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
38711 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
38712 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
38714 2011-08-30 Andreas Schwab <schwab@redhat.com>
38716 * elf/rtld.c (dl_main): Relocate objects in dependency order.
38718 2011-08-29 Jiri Olsa <jolsa@redhat.com>
38720 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
38723 2011-08-24 David S. Miller <davem@davemloft.net>
38725 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
38727 2011-08-24 Andreas Schwab <schwab@redhat.com>
38729 * elf/Makefile: Add rules to build and run unload8 test.
38730 * elf/unload8.c: New file.
38731 * elf/unload8mod1.c: New file.
38732 * elf/unload8mod1x.c: New file.
38733 * elf/unload8mod2.c: New file.
38734 * elf/unload8mod3.c: New file.
38736 * elf/dl-close.c (_dl_close_worker): Reset private search list if
38739 2011-08-23 David S. Miller <davem@davemloft.net>
38741 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
38742 subtract stack bias.
38743 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
38744 %sp not %fp in calculations.
38745 (_JMPBUF_UNWINDS_ADJ): Likewise.
38747 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
38748 (aio_suspend): Call it to force an exception region around the
38749 AIO_MISC_WAIT() invocation.
38751 2011-08-23 Andreas Schwab <schwab@redhat.com>
38753 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
38756 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
38758 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
38760 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
38761 and <dl-machine.h>.
38762 (Elf64_FuncDesc): Remove.
38764 2011-08-22 David S. Miller <davem@davemloft.net>
38766 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
38767 sigaltstack check, add missing cfi directives.
38768 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
38769 missing cfi directives, and sigaltstack handling.
38771 2011-08-16 Andreas Schwab <schwab@redhat.com>
38774 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
38775 object is seen twice.
38776 * elf/dl-fini.c (_dl_sort_fini): Likewise.
38778 * elf/Makefile (distribute): Add tst-initorder2.c.
38779 (tests): Add tst-initorder2.
38780 (modules-names): Add tst-initorder2a tst-initorder2b
38781 tst-initorder2c tst-initorder2d. Add rules to build them.
38782 ($(objpfx)tst-initorder2.out): New rule.
38783 * elf/tst-initorder2.c: New file.
38784 * elf/tst-initorder2.exp: New file.
38786 2011-08-22 Andreas Schwab <schwab@redhat.com>
38788 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
38790 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
38791 dependencies back to end of function.
38793 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38794 $(elfobjdir)/ld.so.
38796 2011-08-21 Ulrich Drepper <drepper@gmail.com>
38798 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
38799 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
38800 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
38801 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
38802 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
38803 of __vdso_gettimeofday.
38804 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
38805 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
38807 (_libc_vdso_platform_setup): Remove initialization of
38808 __vdso_gettimeofday and __vdso_time.
38810 2011-08-20 Ulrich Drepper <drepper@gmail.com>
38812 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
38813 and fgetc_unlocked.
38814 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
38817 * elf/dl-open.c (add_to_global): Report additions to the global scope
38818 for LD_DEBUG=scopes.
38819 (dl_open_worker): Also print scope of newly loaded dependencies.
38820 (_dl_show_scope): Indicate if there is no scope.
38823 * stdio-common/Makefile (tests): Add bug24.
38824 * stdio-common/bug24.c: New file.
38826 2011-08-19 Andreas Jaeger <aj@suse.de>
38829 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
38830 non-existant file when using close-on-exec mode.
38832 2011-08-20 Ulrich Drepper <drepper@gmail.com>
38834 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
38835 the very first instruction.
38837 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
38838 the CFI state in the end.
38839 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
38840 inclusion of dl-trampoline.h.
38841 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
38843 2011-08-19 Andreas Schwab <schwab@redhat.com>
38845 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
38846 expectations for long double.
38848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
38849 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
38851 2011-08-14 David S. Miller <davem@davemloft.net>
38853 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
38854 artificual limit depends upon the system page size.
38856 2011-08-17 Ulrich Drepper <drepper@gmail.com>
38858 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
38859 * resolv/Makefile: Define CFLAGS-libresolv.
38861 2011-08-17 Andreas Schwab <schwab@redhat.com>
38863 * nss/makedb.c (compute_tables): Make variables used in nested
38866 2011-08-17 Ulrich Drepper <drepper@gmail.com>
38868 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
38869 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
38870 if buffer was too small.
38872 * elf/pldd.c (main): Attach to all threads in the process.
38873 Rewrite /proc handling to use *at functions.
38875 2011-08-16 Ulrich Drepper <drepper@gmail.com>
38877 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
38878 specifies first scope to show.
38879 (dl_open_worker): Update callers. Move printing scope of new
38880 object to before the relocation.
38881 * elf/rtld.c (dl_main): Update _dl_show_scope call.
38882 * sysdeps/generic/ldsodefs.h: Update declaration.
38884 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
38885 string for the scope number.
38887 2011-08-14 Ulrich Drepper <drepper@gmail.com>
38889 * nscd/servicescache.c (cache_addserv): Make sure written is always
38892 2011-08-14 Roland McGrath <roland@hack.frob.com>
38894 * sysdeps/i386/i486/bits/atomic.h
38895 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
38896 statement expression, so as to suppress "set but not used" warning.
38897 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
38899 * string/strncat.c (STRNCAT): Use prototype definition.
38901 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
38902 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
38904 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
38905 (localedef-modules): Add localedef.
38906 (locale-modules): Add locale.
38908 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
38909 * elf/rtld.c (dl_main): Invert order of assignment in last change,
38910 to avoid a warning.
38912 2011-08-14 David S. Miller <davem@davemloft.net>
38914 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
38915 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
38917 2011-08-13 Ulrich Drepper <drepper@gmail.com>
38919 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
38920 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
38921 * elf/rtld.c (dl_main): Set l_name of vDSO.
38922 Call _dl_show_scope when DL_DEBUG_SCOPES.
38923 (process_dl_debug): Recognize scopes flag and also set it for all.
38924 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
38925 Declare _dl_show_scope.
38927 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
38928 (do_dlopen): Pass caller_dlopen to dl_open.
38929 (__libc_dlopen_mode): Initialize caller_dlopen.
38931 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
38932 of libc. Make tolower call locale-independent. Optimize a bit by
38933 using isdigit instead of isalnum.
38934 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
38936 2011-08-12 Ulrich Drepper <drepper@gmail.com>
38938 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
38939 was a dependency or dynamically loaded.
38941 2011-08-11 Ulrich Drepper <drepper@gmail.com>
38943 * intl/l10nflist.c: Allow architecture-specific pop function.
38944 * sysdeps/x86_64/l10nflist.c: New file.
38946 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
38949 2011-08-10 Andreas Schwab <schwab@redhat.com>
38951 * include/dirent.h: Add libc_hidden_proto for scandirat and
38952 scandirat64. Don't declare __scandirat64.
38953 * dirent/scandirat.c: Add libc_hidden_def.
38954 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
38955 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
38957 2011-08-10 David S. Miller <davem@davemloft.net>
38959 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
38961 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38962 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38963 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38965 2011-08-09 Ulrich Drepper <drepper@gmail.com>
38967 * Versions.def [libc]: Add GLIBC_2.15.
38968 * dirent/Makefile (routines): Add scandirat and scandirat64.
38969 * dirent/Versions [libc]: Export scandirat and scandirat64 for
38971 * dirent/dirent.h: Declare scandirat and scandirat64.
38972 * dirent/scandirat.c: New file.
38973 * dirent/scandirat64.c: New file.
38974 * sysdeps/wordsize-64/scandirat.c: New file.
38975 * sysdeps/wordsize-64/scandirat64.c: New file.
38976 * dirent/opendir.c: Define opendirat.
38977 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
38979 * dirent/scandir64.c: Adjust for scandir.c change.
38980 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
38981 __scandirat64, and __scandir_cancel_handler.
38982 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
38983 additional parameter and use openat instead of open (outside of ld.so).
38984 Add new __opendir as wrapper around __opendirat.
38985 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
38986 here without requiring old scandirat implementation.
38988 2011-08-08 Ulrich Drepper <drepper@gmail.com>
38990 * dirent/scandir.c (cancel_handler): Renamed to
38991 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
38992 defined. Adjust users.
38993 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
38994 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
38996 2011-08-04 Ulrich Drepper <drepper@gmail.com>
38998 * string/test-string.h (IMPL): Use __STRING to expand name and then
39001 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
39004 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39006 * string/Makefile: Update.
39007 (strop-tests): Append strncat.
39008 * string/test-wcscmp.c: New file.
39009 New comprehensive test for wcscmp.
39010 * string/test-strcmp.c: Update.
39011 (WIDE): New define.
39013 2011-07-22 Andreas Schwab <schwab@redhat.com>
39015 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
39018 2011-07-26 Andreas Schwab <schwab@redhat.com>
39020 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39021 encoding to ACE if AI_IDN.
39023 2011-08-01 Jakub Jelinek <jakub@redhat.com>
39025 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
39026 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
39028 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39030 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
39031 Fix overflow bug in strncat.
39032 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39034 * string/test-strncat.c: Update.
39035 Add new tests for checking overflow bugs.
39037 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39039 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39040 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
39041 * sysdeps/i386/i686/multiarch/strcat.S: New file.
39042 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
39043 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
39044 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
39045 * sysdeps/i386/i686/multiarch/strncat.S: New file.
39046 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
39047 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
39049 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
39050 (USE_AS_STRCAT): Define.
39051 Add strcat and strncat support.
39052 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39054 2011-07-25 Andreas Schwab <schwab@redhat.com>
39056 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
39057 __n bigger than INT_MAX+1.
39058 (__strncmp_g): Likewise.
39060 2011-07-23 Ulrich Drepper <drepper@gmail.com>
39062 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
39063 * libio/stido.h: Likewise.
39065 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
39067 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
39070 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
39071 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39072 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39073 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
39074 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39077 * scripts/test-installation.pl: Don't expect libnss_test1 to be
39080 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
39082 (_dl_x86_64_save_sse): Likewise.
39084 2011-07-22 Ulrich Drepper <drepper@gmail.com>
39086 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
39088 (_dl_x86_64_save_sse): Likewise.
39090 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
39092 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
39094 2011-07-21 Andreas Schwab <schwab@redhat.com>
39096 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
39098 (_dl_x86_64_save_sse): Use correct AVX check.
39100 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39102 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
39103 bug in strncpy/strncat.
39104 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39106 2011-07-21 Ulrich Drepper <drepper@gmail.com>
39108 * string/tester.c (test_strcat): Add tests for different alignments
39109 of source and destination.
39110 (test_strncat): Likewise.
39112 2011-07-20 Ulrich Drepper <drepper@gmail.com>
39115 * posix/glob.c (glob): Check passed in values before using them in
39116 expressions to avoid some overflows.
39117 (glob_in_dir): Likewise.
39120 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
39121 check for AVX enablement so that we don't crash with old kernels and
39123 * elf/tst-audit4.c: Add same checks here.
39124 * elf/tst-audit6.c: Likewise.
39126 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
39128 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
39130 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
39132 2011-07-20 Ulrich Drepper <drepper@gmail.com>
39134 * po/cs.po: Update from translation team.
39135 * po/bg.po: Likewise.
39137 2011-07-12 Marek Polacek <mpolacek@redhat.com>
39139 * misc/sys/cdefs.h: Add support for const attribute.
39140 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
39141 to gnu_dev_{major,minor,makedev} functions.
39143 2011-07-20 Marek Polacek <mpolacek@redhat.com>
39145 * intl/dcigettext.c (get_output_charset): Add missing bracket.
39147 2011-07-20 Andreas Schwab <schwab@redhat.com>
39149 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
39152 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39154 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
39155 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
39156 register in order to avoid conflicts with the soft frame pointer
39157 being held in r11 when necessary.
39158 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
39159 (INTERNAL_VSYSCALL_NCS): Likewise.
39161 2011-07-14 Marek Polacek <mpolacek@redhat.com>
39163 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
39164 * elf/dl-fini.c (_dl_fini): Adjust caller.
39165 * elf/dl-close.c (_dl_close_worker): Likewise.
39166 * sysdeps/generic/ldsodefs.h: Adjust declaration.
39168 2011-07-15 Marek Polacek <mpolacek@redhat.com>
39170 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
39171 "aux_cache->nlibs < 0".
39173 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
39174 in the reload-count case.
39176 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39178 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39179 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
39180 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
39181 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
39182 * sysdeps/x86_64/multiarch/strcat.S: New file.
39183 * sysdeps/x86_64/multiarch/strncat.S: New file.
39184 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
39185 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
39186 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
39187 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
39188 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
39189 (USE_AS_STRCAT): Define.
39190 Add strcat and strncat support.
39191 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39192 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39193 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
39194 * string/strncat.c: Update.
39195 (USE_AS_STRNCAT): Define.
39196 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39197 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
39199 * sysdeps/x86_64/multiarch/init-arch.h
39200 (bit_Prefer_PMINUB_for_stringop): New.
39201 (index_Prefer_PMINUB_for_stringop): Likewise.
39202 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
39203 bit_Prefer_PMINUB_for_stringop.
39205 2011-07-19 Ulrich Drepper <drepper@gmail.com>
39207 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
39209 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
39210 of casting of buffer.
39211 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
39212 buffer32 and buffer64.
39213 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
39214 writes instead of casting of buffer.
39215 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
39217 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
39220 2011-07-19 Andreas Schwab <schwab@redhat.com>
39222 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
39224 2011-07-19 Ulrich Drepper <drepper@gmail.com>
39226 * nscd/nscd.c (termination_handler): Don't do anything for a database
39227 if it has not yet been initialized.
39229 2011-07-18 Ulrich Drepper <drepper@gmail.com>
39231 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39233 2011-07-15 Marek Polacek <mpolacek@redhat.com>
39235 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39237 2011-07-18 Ulrich Drepper <drepper@gmail.com>
39239 * po/nl.po: Update from translation team.
39240 * po/sv.po: Likewise.
39242 2011-07-16 Roland McGrath <roland@hack.frob.com>
39244 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
39245 now disallowed by GCC.
39247 * configure.in (use-default-link): Default to yes if a test -shared
39248 link meets our qualifications.
39249 * configure: Regenerated.
39251 * config.make.in (output-format): New variable.
39252 * configure.in: Check for ld --print-output-format support.
39253 * configure: Regenerated.
39254 * Makerules ($(common-objpfx)format.lds)
39255 [$(output-format) != unknown]: Just use $(output-format),
39256 instead of the linker-script munging.
39258 2011-07-14 Roland McGrath <roland@hack.frob.com>
39260 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
39261 of $(common-objpfx)shlib.lds.
39262 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
39264 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
39265 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
39267 * configure.in (-z relro check): Adjust test code to add a large
39268 writable data section after it.
39269 * configure: Regenerated.
39271 2011-07-11 Roland McGrath <roland@hack.frob.com>
39273 * configure.in (-z relro check): Fix test code to make the variable
39275 * configure: Regenerated.
39277 2011-07-11 Ulrich Drepper <drepper@gmail.com>
39279 * nscd/nscd.h (struct traced_file): Define.
39280 (struct database_dyn): Remove inotify_descr, reset_res, and filename
39281 elements. Add traced_files.
39282 (inotify_fd): Declare.
39283 (register_traced_file): Declare.
39284 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
39285 (inotify_fd): Export.
39286 (resolv_conf_descr): Remove.
39287 (nscd_init): Move inotify descriptor creation to main.
39288 Don't register files for notification here.
39289 (register_traced_file): New function.
39290 (invalidate_cache): Don't use reset_res to determine whether to call
39291 res_init, go through the list of registered files.
39292 (main_loop_poll): The inotify descriptors are now stored in the
39293 structures for the traced files.
39294 (main_loop_epoll): Likewise
39295 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
39296 to __nss_disable_nscd.
39297 * nscd/cache.c (prune_cache): There is no single inotify descriptor
39298 for a database anymore. Check the records for all the registered
39300 * nss/Makefile (libnss_files-routines): Add files-init.
39301 (libnss_db-routines): Add db-init.
39302 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
39303 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
39304 * nss/nss_db/db-init.c: New file.
39305 * nss/nss_files/files-init.c: New file.
39306 * nss/nsswitch.c (nss_load_library): New function. Broken out of
39307 __nss_lookup_function.
39308 (__nss_lookup_function): Call nss_load_library.
39309 (nss_load_all_libraries): New function.
39310 (__nss_disable_nscd): Take parameter with callback function for files
39311 to register. Set is_nscd. Load all the DSOs for the NSS modules
39312 used for the cached services.
39313 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
39314 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
39315 options for features to all the files in nscd.
39317 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
39319 2011-07-10 Roland McGrath <roland@hack.frob.com>
39321 * csu/elf-init.c (__libc_csu_init): Comment typo.
39323 2011-07-09 Ulrich Drepper <drepper@gmail.com>
39325 * po/pl.po: Update from translation team.
39326 * po/ja.po: Likewise.
39327 * po/ru.po: Likewise.
39328 * po/ko.po: Likewise.
39329 * po/fr.po: Likewise.
39331 2011-07-09 Roland McGrath <roland@hack.frob.com>
39333 * configure.in (.ctors/.dtors header and trailer check):
39334 Use an empirical test on a built program.
39335 * configure: Regenerated.
39337 * configure.in (-z relro check): Use an empirical test on a built DSO.
39338 Detect, but do not require, on ia64.
39339 * configure: Regenerated.
39341 * configure.in (READELF): Find it with AC_CHECK_TOOL.
39342 Update tests that use readelf to use $READELF instead.
39343 * configure: Regenerated.
39345 2011-07-08 Ulrich Drepper <drepper@gmail.com>
39347 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
39348 if the result is not used.
39350 2011-07-05 Andreas Jaeger <aj@suse.de>
39353 * stdlib/tst-strtod.c: Add testcase.
39355 2011-07-07 Ulrich Drepper <drepper@gmail.com>
39357 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
39358 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
39359 The latter has a higher limit. Take additional parameter to pass to
39361 (__pathconf): Pass file to __statfs_link_max.
39362 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
39364 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
39368 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
39369 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39371 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
39372 (__statfs_filesize_max): Likewise.
39373 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
39375 2011-07-05 Andreas Jaeger <aj@suse.de>
39377 * resolv/res_comp.c (dn_skipname): Remove unused variable.
39379 2011-07-06 Marek Polacek <mpolacek@redhat.com>
39381 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
39383 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
39386 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
39388 * Makefile (strop-tests): Add strncat.
39389 * string/test-strncat.c: New file.
39391 2011-06-30 Marek Polacek <mpolacek@redhat.com>
39393 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
39395 2011-06-21 Andreas Jaeger <aj@suse.de>
39397 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
39398 Copy rule from iconvdata/Makefile.
39400 2011-07-06 Ulrich Drepper <drepper@gmail.com>
39403 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
39404 but no long options are defined, just return 'W'.
39406 2011-06-22 Marek Polacek <mpolacek@redhat.com>
39409 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
39411 2011-07-06 Ulrich Drepper <drepper@gmail.com>
39413 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
39415 (innetgr): Likewise.
39417 2011-07-05 Roland McGrath <roland@hack.frob.com>
39419 * config.make.in (install_root): Default to $(DESTDIR).
39421 2011-07-05 Ulrich Drepper <drepper@gmail.com>
39423 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
39425 2011-07-02 Roland McGrath <roland@hack.frob.com>
39427 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
39429 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
39430 containing directory rather than embedding absolute directory names.
39432 * scripts/check-local-headers.sh: Rewritten using awk.
39433 Match by word, not by line. Print error messages for matches.
39434 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
39436 * Makerules [shlib-lds-flags empty]:
39437 ($(common-objpfx)libc_pic.opts): New target.
39438 ($(common-objpfx)libc_pic.os.clean): New target.
39439 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
39441 * config.make.in (OBJCOPY): New variable.
39442 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
39443 * configure: Regenerated.
39445 * config.make.in (use-default-link): New variable.
39446 * configure.in (use_default_link): Grok --with-default-link to set it.
39447 * configure: Regenerated.
39448 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
39449 (shlib-lds, shlib-lds-flags): Define to empty.
39451 * Makerules (shlib-lds): New variable.
39452 (shlib-lds-flags): New variable.
39453 (build-shlib, build-moduile, build-module-asneeded): Use it.
39454 ($(common-objpfx)libc.so): Use $(shlib-lds).
39455 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
39456 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
39458 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
39459 DT_FLAGS/DT_FLAGS_1 with zero flags.
39461 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
39462 linker script munging.
39464 2011-07-02 Ulrich Drepper <drepper@gmail.com>
39466 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
39468 * crypt/sha512.c (sha512_process_block): Perform total addition using
39469 128-bit if possible.
39470 (__sha512_finish_ctx): Likewise.
39471 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
39473 * crypt/sha256.c (SWAP64): Define.
39474 (sha256_process_block): Perform total addition using 64-bit if
39476 (__sha256_finish_ctx): Likewise.
39478 2011-07-01 Ulrich Drepper <drepper@gmail.com>
39480 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
39481 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39482 * nscd/hstcache.c (cache_addhst): Likewise.
39483 * nscd/grpcache.c (cache_addgr): Likewise.
39484 * nscd/aicache.c (addhstaiX): Likewise
39485 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
39487 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
39489 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
39490 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39491 * nscd/hstcache.c (cache_addhst): Likewise.
39492 * nscd/grpcache.c (cache_addgr): Likewise.
39493 * nscd/aicache.c (addhstaiX): Likewise
39495 2011-07-01 Andreas Schwab <schwab@redhat.com>
39497 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
39498 domain only when needed.
39500 2011-06-30 Andreas Schwab <schwab@redhat.com>
39502 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
39503 is always restored.
39505 2011-06-29 Ulrich Drepper <drepper@gmail.com>
39507 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
39508 are re-adding the entry.
39509 * nscd/servicescache.c (cache_addserv): Likewise.
39511 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
39513 * sysdeps/generic/dl-irel.h: fix protection against multiple
39515 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
39517 2011-06-28 Ulrich Drepper <drepper@gmail.com>
39520 * malloc/memusage.sh: Fix quoting in message.
39521 * debug/xtrace.sh: Likewise.
39523 * configure.in: Remove support for --experimental-malloc option, make
39525 * config.make.in: Likewise.
39526 * malloc/Makefile: Likewise.
39528 2011-06-27 Andreas Schwab <schwab@redhat.com>
39530 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
39531 two-byte characters.
39533 2011-06-27 Roland McGrath <roland@hack.frob.com>
39535 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
39536 AC_CACHE_CHECK invocation.
39537 * configure: Regenerated.
39539 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
39541 2011-06-27 Ulrich Drepper <drepper@gmail.com>
39544 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
39545 bit from old_res_options.
39547 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
39549 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
39550 value type for setfct.
39552 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
39554 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
39555 __gettimeofday instead of gettimeofday.
39557 2011-06-26 Ulrich Drepper <drepper@gmail.com>
39559 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
39561 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
39563 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
39565 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
39568 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
39570 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39571 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
39572 strcpy-sse2-unaligned strncpy-sse2-unaligned
39573 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
39574 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
39575 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
39576 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
39577 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
39578 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
39579 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
39580 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
39581 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
39582 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
39583 (STRCPY): Support SSE2 and SSSE3 versions.
39585 2011-06-24 Ulrich Drepper <drepper@gmail.com>
39588 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
39589 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
39590 kernels which artificially limit size of requests.
39592 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
39594 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39595 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
39596 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
39597 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
39598 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
39599 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
39600 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
39601 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
39602 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
39603 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
39604 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
39605 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
39606 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
39607 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
39608 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
39609 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39610 Enable unaligned load optimization for Intel Core i3, i5 and i7
39612 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
39614 (index_Fast_Unaligned_Load): Define.
39615 (HAS_FAST_UNALIGNED_LOAD): Define.
39617 2011-06-23 Marek Polacek <mpolacek@redhat.com>
39619 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
39621 2011-06-22 Ulrich Drepper <drepper@gmail.com>
39624 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
39625 until it is clear that the information is realy needed.
39626 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
39628 2011-06-22 Andreas Schwab <schwab@redhat.com>
39630 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
39632 2011-06-22 Ulrich Drepper <drepper@gmail.com>
39634 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
39635 /sys/devices/system/cpu/online if it is usable.
39637 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
39638 reading the information from the /proc filesystem to once a second.
39640 2011-06-21 Andreas Jaeger <aj@suse.de>
39642 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
39643 NULL after inclusion of kernel headers.
39645 2011-06-21 Ulrich Drepper <drepper@gmail.com>
39647 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
39648 calls to internal_setent.
39651 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
39652 addresses using gethostbyname4_r ignore IPv4 addresses.
39654 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
39655 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
39657 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
39659 2011-06-20 David S. Miller <davem@davemloft.net>
39661 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
39663 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
39665 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
39666 (elf_irel): Use it.
39667 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
39668 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
39669 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
39670 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
39671 * sysdeps/x86_64/dl-irel.h: Likewise.
39673 * elf/dl-runtime.c: Use elf_ifunc_invoke.
39674 * elf/dl-sym.c: Likewise.
39676 2011-06-15 Ulrich Drepper <drepper@gmail.com>
39678 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
39679 need to dereference resplen2.
39681 2011-06-14 Andreas Schwab <schwab@redhat.com>
39683 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
39685 2011-06-15 Ulrich Drepper <drepper@gmail.com>
39687 * Makeconfig: Define vardbdir and inst_vardbdir.
39688 * nss/Makefile: Add rules to install db-Makefile.
39690 * nss/nss_db/db-XXX.c: Cleanup.
39692 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
39693 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
39695 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
39696 * nss/makedb.c: Implement -g option to specify that value strings
39697 are generated and should not be added to table iterated over for
39699 * nss/nss_db/db-initgroups.c: New file.
39701 * nss/getent.c: Add support for initgroups lookups through getgrouplist
39704 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
39705 (internal_getgrouplist): Adjust to name change.
39706 Update use_initgroups_entry if this is not the first call.
39707 * nss/databases.def: Add initgroups entry.
39709 * nss/makedb.c (compute_tables): Check result of multiple hash table
39710 sizes to minimize maximum chain length.
39712 2011-06-14 Ulrich Drepper <drepper@gmail.com>
39714 * Versions.def: Add entry for libnss_db.
39715 * shlib-versions: Likewise.
39716 * nss/Makefile: Add rules to build libnss_db.
39717 * nss/Versions: Add libnss_db information. Organize libnss_files
39719 * nss/db-Makefile: Add gshadow support. Change rules for the new
39720 makedb progra. Some minor improvements to generate smaller files.
39721 * nss/nss_db/nss_db.h: Move NSS database header data structures to
39723 * nss/makedb.c: ...here.
39724 Improve database format to be smaller and require less memory at
39726 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
39728 * nss/nss_db/db-netgrp.c: Likewise.
39729 * nss/nss_db/db-open.c: Likewise.
39730 * nss/nss_files/flies-XXX.x: Adjust comments.
39731 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
39732 * nss/nss_files/files-grp.c: Likewise.
39733 * nss/nss_files/files-hosts.c: Likewise.
39734 * nss/nss_files/files-network.c: Likewise.
39735 * nss/nss_files/files-proto.c: Likewise.
39736 * nss/nss_files/files-pwd.c: Likewise.
39737 * nss/nss_files/files-rpc.c: Likewise.
39738 * nss/nss_files/files-service.c: Likewise.
39739 * nss/nss_files/files-sgrp.c: Likewise.
39740 * nss/nss_files/files-spwd.c: Likewise.
39741 * nss/nss_db/db-alias.c: Removed.
39742 * nss/nss_db/dummy-db.h: Removed.
39744 2011-06-02 Ulrich Drepper <drepper@gmail.com>
39746 * nss/makedb.c: Rewritten to not use database library.
39747 * nss/Makefile: Update to build new makedb program.
39749 2011-06-14 Andreas Jaeger <aj@suse.de>
39751 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
39752 memset declaration.
39754 2011-06-10 Andreas Schwab <schwab@redhat.com>
39756 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
39759 2011-06-10 Roland McGrath <roland@hack.frob.com>
39761 * Makerules (shlib.lds): Fail if the linker script comes out empty.
39762 * elf/Makefile ($(objpfx)ld.so): Likewise.
39764 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
39765 Don't list ld.so twice in dependencies.
39767 * posix/bug-regex31.c: Include <stdlib.h>.
39769 * nscd/hstcache.c (cache_addhst): Remove unused variable.
39771 * nis/nss_compat/compat-spwd.c
39772 (getspent_next_nss_netgr): Remove unused variable.
39773 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
39775 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
39776 nonmembers" output to use the right array.
39778 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
39780 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
39782 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
39783 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
39784 * catgets/gencat.c (read_input_file): Likewise.
39785 * locale/programs/locarchive.c (enlarge_archive): Likewise.
39787 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
39788 variable definition inside #if's controlling its use.
39790 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
39792 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
39794 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
39796 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
39799 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
39801 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
39802 * configure: Regenerated.
39804 * Makerules: Revert last change.
39805 * elf/Makefile: Likewise.
39807 2011-06-09 Roland McGrath <roland@hack.frob.com>
39809 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
39810 * elf/Makefile ($(objpfx)librtld.os): Likewise.
39811 (reloc-link): Likewise.
39813 2011-06-09 Ulrich Drepper <drepper@gmail.com>
39815 * elf/Makefile: Add rules to build pldd.
39816 * elf/pldd.c: New file.
39817 * elf/pldd-xx.c: New file.
39819 2011-06-07 Ulrich Drepper <drepper@gmail.com>
39821 * version.h: Update for 2.15 development version.
39823 2011-06-07 David S. Miller <davem@davemloft.net>
39825 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
39827 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
39828 elf_machine_lazy_rel): Likewise.
39829 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
39830 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
39831 elf_machine_lazy_rel): Likewise.
39832 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
39833 dl_hwcap via passed in argument.
39834 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
39837 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39839 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
39841 2011-06-06 Roland McGrath <roland@hack.frob.com>
39844 * manual/fdl-1.1.texi: New file, verbatim from:
39845 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
39846 * manual/lgpl-2.1.texi: New file, verbatim from:
39847 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
39848 * manual/Makefile (licenses): New variable, list those new file names.
39850 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
39852 * manual/fdl.texi: File removed.
39853 * manual/lesser.texi: File removed.
39854 * manual/libc.texinfo (Copying, Documentation License):
39855 Use new @include file names, put @appendix directive before @include.
39857 2011-06-04 Jakub Jelinek <jakub@redhat.com>
39860 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
39861 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
39862 (mq_open): Add __NTH.
39864 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
39866 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39867 Assume Intel Core i3/i5/i7 processor if AVX is available.
39869 2011-05-31 Ulrich Drepper <drepper@gmail.com>
39871 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39874 2011-05-31 Andreas Schwab <schwab@redhat.com>
39876 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
39877 memory. Use alloca_account. Fix memory leak when retrying.
39879 2011-05-31 Ulrich Drepper <drepper@gmail.com>
39881 * version.h (RELEASE): Bump for 2.14 release.
39882 * include/features.h (__GLIBC_MINOR__): Bump to 14.
39884 * config.make.in (RANLIB): Remove entry.
39886 2011-05-30 Ulrich Drepper <drepper@gmail.com>
39888 * po/Makefile (po-sed-cmd): Add ksh to extensions.
39889 (libc.pot): Work around missing support for .ksh extension in xgettext.
39892 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
39893 if both request failed.
39894 (send_dg): In case of server errors clear resplen or *resplen2.
39897 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
39898 when there are multiple maps.
39899 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
39900 (_dl_fini): Remove test here.
39902 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
39904 2011-05-29 Ulrich Drepper <drepper@gmail.com>
39907 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
39908 bit from old_res_options.
39909 (gaih_inet): Likewise.
39912 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
39915 * resolv/res_init.c (res_setoptions): Make the code more compact.
39918 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
39922 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
39924 * malloc/malloc.h: Mark malloc hook variables as deprecated.
39927 * malloc/malloc.h: Declare malloc hook variables as volatile.
39929 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
39933 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
39934 raise in the comment.
39935 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39936 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39937 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
39939 2011-05-28 Ulrich Drepper <drepper@gmail.com>
39942 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
39943 grow the buffers more if it already has to be sufficient.
39944 (build_wcs_upper_buffer): Likewise.
39945 * posix/regexec.c (check_matching): Likewise.
39946 (clean_state_log_if_needed): Likewise.
39947 (extend_buffers): Don't enlarge buffers beyond size of the input
39949 Patches mostly by Emil Wojak <emil@wojak.eu>.
39950 * posix/bug-regex32.c: New file.
39951 * posix/Makefile (tests): Add bug-regex32.
39953 * locale/findlocale.c (_nl_find_locale): Return right away if
39954 _nl_explode_name failed.
39955 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
39957 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
39959 * debug/xtrace.sh: Unify messages.
39960 * malloc/memusage.sh: Likewise.
39963 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
39964 time symbol from vDSO. Substitute with vsyscall if not available.
39965 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
39968 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
39969 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
39970 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
39971 Add sendmmsg and internal_sendmmsg.
39972 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
39973 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
39974 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
39976 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
39977 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
39978 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
39980 2011-05-27 Ulrich Drepper <drepper@gmail.com>
39983 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
39984 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
39986 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
39990 * iconvdata/Makefile (tests): Add bug-iconv9.
39991 * iconvdata/bug-iconv9.c: New file.
39993 2011-05-27 Andreas Schwab <schwab@redhat.com>
39996 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
39998 2011-05-25 Jakub Jelinek <jakub@redhat.com>
40000 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40001 (struct user_regs_struct): Change intcs field back to cs.
40003 2011-05-25 Ulrich Drepper <drepper@gmail.com>
40005 * po/ja.po: Update from translation team.
40007 2011-05-23 Ulrich Drepper <drepper@gmail.com>
40010 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
40011 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
40013 2011-05-20 Andreas Schwab <schwab@redhat.com>
40015 * stdlib/longlong.h: Update from GCC.
40017 2011-05-23 Andreas Schwab <schwab@redhat.com>
40019 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
40021 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
40022 Add parameter name.
40023 (__sysconf): Pass it down.
40025 2011-05-22 Ulrich Drepper <drepper@gmail.com>
40028 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
40030 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40031 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
40032 add in in __libc_use_alloca calls. Adjust callers.
40033 (glob): Use malloc in some situations.
40035 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
40036 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
40039 2011-05-21 Ulrich Drepper <drepper@gmail.com>
40041 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
40042 and CLOCK_BOOTTIME_ALARM.
40045 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
40048 * string/_strerror.c (__strerror_r): Print negative errors as signed
40052 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
40053 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
40054 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
40056 * configure.in: Fix typo in redirection and correct removal of test
40057 files in two cases.
40060 * locale/setlocale.c (new_composite_name): Fix test to check for
40061 identical name of all categories.
40064 * libio/filedoalloc.c (local_isatty): New function.
40065 (_IO_file_doallocate): Use local_isatty.
40066 * stdio-common/perror.c (perror): In case a new stream is used
40067 forward the stream error.
40068 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
40071 2011-05-20 Ulrich Drepper <drepper@gmail.com>
40074 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
40076 * include/alloca.h (extend_alloca_account): Define.
40079 * posix/regex.h: Fix comments with documentation of user-accessible
40080 fields after compilation and describe correct free'ing of pattern
40081 after re_compile_pattern.
40082 Patch by Reuben Thomas <rrt@sc3d.org>.
40084 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
40086 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
40087 and -mno-altivec to prevent the compiler from using Altivec and/or
40088 VSX instructions when the corresponding registers are not available.
40090 2011-05-19 Andreas Schwab <schwab@redhat.com>
40092 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
40094 2011-05-19 Ulrich Drepper <drepper@gmail.com>
40096 * libio/freopen.c (freopen): Use __dup2, not dup2.
40097 * libio/freopen64.c (freopen64): Likewise.
40099 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
40102 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
40103 * math/Makefile (tests): Add test-powl.
40104 (CFLAGS-test-powl.c): Define.
40105 * math/test-powl.c: New file.
40107 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
40109 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
40111 2011-05-17 Ulrich Drepper <drepper@gmail.com>
40114 * iconvdata/gb18030.c: Update to GB18020-2005.
40116 2011-05-16 Ulrich Drepper <drepper@gmail.com>
40118 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
40119 RE_SYNTAX_POSIX_AWK): Update to match recent development.
40120 Patch by Aharon Robbins <arnold@skeeve.com>.
40123 * stdlib/putenv.c (putenv): Don't always create copy of the variable
40127 * misc/pselect.c (__pselect): Handle timeout value errors hidden
40128 through underflows.
40131 * misc/error.c (error_at_line): Ensure file_name and old_file_name
40132 point to strings before performing equality test for error_one_per_line
40136 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
40139 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40140 (struct user_fpregs_struct): Avoid __uint*_t types.
40143 * malloc/mtrace.c (tr_where): Add additional parameter to point to
40144 symbol info. Use it instead of calling _dl_addr locally.
40145 (lock_and_info): New function.
40146 (tr_freehook): Call lock_and_info and pass symbol info as additional
40147 parameter to tr_where.
40148 (tr_mallochook): Likewise.
40149 (tr_reallochook): Likewise.
40150 (tr_memalignhook): Likewise.
40152 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
40153 used and couldn't be at all thread-safe.
40155 2011-05-15 Ulrich Drepper <drepper@gmail.com>
40157 * libio/freopen.c (freopen): Don't close old file descriptor
40158 before the new one is opened. Instead dup the new file descriptor
40159 to the old one after the new stream is created.
40160 * libio/freopen64.c (freopen64): Likewise.
40161 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
40162 * libio/fileops.c (_IO_new_file_close_it): Handle new
40163 _IO_FLAGS2_NOCLOSE flag.
40164 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
40165 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
40166 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
40167 _IO_FLAGS2_NOCLOSE flag.
40168 * include/unistd.h: Add hidden_proto for dup3.
40169 Define __have_dup3.
40170 * io/dup3.c: Define hidden symbol.
40171 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
40174 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
40175 when an incomplete long option is used.
40176 * posix/tst-getopt_long1.c: New file.
40177 * posix/Makefile (tests): Add tst-getopt_long1.
40180 * scripts/config.guess: Update from autoconf-2.68.
40181 * scripts/config.sub: Likewise.
40184 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
40186 (has_cpuclock): ...this. New function.
40187 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
40188 macro here based on has_cpuclock code.
40191 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40192 First byte (not low byte) is now always NUL.
40193 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
40195 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40196 Use non-cancelable interfaces.
40199 * locale/iso-639.def: Add entry for Sorani.
40202 * include/stdlib.h: Move include protection to the right place.
40203 Define abort_msg_s. Declare __abort_msg with it.
40204 * stdlib/abort.c (__abort_msg): Adjust type.
40205 * assert/assert.c (__assert_fail_base): New function. Majority
40206 of code from __assert_fail. Allocate memory for __abort_msg with
40208 (__assert_fail): Now call __assert_fail_base.
40209 * assert/assert-perr.c: Remove bulk of implementation. Use
40210 __assert_fail_base.
40211 * include/assert.hL Declare __assert_fail_base.
40212 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
40214 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
40216 2011-05-14 Ulrich Drepper <drepper@gmail.com>
40220 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
40221 until all modules are registered in the DTV.
40222 * elf/Makefile: Add rules to build and run tst-tls19.
40223 * elf/tst-tls19.c: New file.
40224 * elf/tst-tls19mod1.c: New file.
40225 * elf/tst-tls19mod2.c: New file.
40226 * elf/tst-tls19mod3.c: New file.
40227 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
40230 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
40234 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
40235 two-byte sequence errors.
40236 * iconvdata/Makefile (tests): Add bug-iconv8.
40237 * iconvdata/bug-iconv8.c: New file.
40240 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
40243 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
40246 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
40247 (dummy_getcfa): New function.
40248 (init): Get _Unwind_GetCFA address, use dummy if not found.
40249 (backtrace_helper): In recursion check, also check whether CFA changes.
40250 (__backtrace): Completely initialize arg.
40252 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
40253 storing incomplete byte sequence in state object. Avoid testing for
40254 guaranteed too small input if we know there is enough data available.
40256 2011-05-11 Andreas Schwab <schwab@redhat.com>
40258 * Makeconfig (+link-pie): Indent.
40259 * Rules (binaries-pie): Define if $(have-fpie) and
40261 (binaries-shared): Also filter out $(binaries-pie).
40262 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
40263 * nscd/Makefile (others-pie): Add nscd.
40264 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
40265 ($(objpfx)nscd): Remove command override.
40266 * login/Makefile (others-pie): Add pt_chown.
40267 ($(objpfx)pt_chown): Remove command override.
40268 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
40269 remove command overrides.
40271 2011-05-13 Ulrich Drepper <drepper@gmail.com>
40273 * libio/tst_putwc.c: Fix error messages.
40276 * libio/fileops.c (_IO_new_file_close_it): Always flush when
40277 currently writing and seek to current position when not.
40278 * libio/Makefile (tests): Add bug-fclose1.
40279 * libio/bug-fclose1.c: New file.
40281 2011-05-12 Ulrich Drepper <drepper@gmail.com>
40284 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
40285 don't set DF_1_NODELETE here.
40286 (do_lookup_x): When entering new entry test for copy relocation
40287 and if necessary set DF_1_NODELETE flag.
40288 * elf/tst-unique4.cc: New file.
40289 * elf/tst-unique4.h: New file.
40290 * elf/tst-unique4lib.cc: New file.
40291 * elf/Makefile: Add rules to build and run tst-unique4.
40292 Patch by Piotr Bury <pbury@goahead.com>.
40294 2011-05-11 Ulrich Drepper <drepper@gmail.com>
40297 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
40300 * misc/mntent_r.c (addmntent): Flush the stream after the output
40303 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
40304 (is_trusted_path_normalize): Skip initial colon. Append slash
40305 to empty buffer. Duplicate is_trusted_path code but allow
40306 constructed patch to be prefix.
40307 (is_dst): Allow $ORIGIN followed by /.
40308 (_dl_dst_substitute): Correct clearing of check_for_trusted.
40309 Correct testing of result of is_trusted_path_normalize
40310 (decompose_rpath): Fix warning.
40312 2011-05-10 Ulrich Drepper <drepper@gmail.com>
40315 * grp/initgroups.c (internal_getgrouplist): When we found the service
40316 list through the initgroups entry in nsswitch.conf do not always
40317 continue on a successful lookup. Don't always use the
40318 __nss_group_database value if it is set.
40319 * nss/nsswitch.conf (initgroups): Change action for successful db
40320 lookup to continue for compatibility.
40322 2011-05-09 Ulrich Drepper <drepper@gmail.com>
40325 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
40327 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
40329 * iconvdata/tst-tables.sh: Likewise.
40330 * iconvdata/cp770.c: New file.
40331 * iconvdata/cp771.c: New file.
40332 * iconvdata/cp772.c: New file.
40333 * iconvdata/cp773.c: New file.
40334 * iconvdata/cp774.c: New file.
40335 * iconvdata/testdata/CP770: New file.
40336 * iconvdata/testdata/CP770..UTF8: New file.
40337 * iconvdata/testdata/CP771: New file.
40338 * iconvdata/testdata/CP771..UTF8: New file.
40339 * iconvdata/testdata/CP772: New file.
40340 * iconvdata/testdata/CP772..UTF8: New file.
40341 * iconvdata/testdata/CP773: New file.
40342 * iconvdata/testdata/CP773..UTF8: New file.
40343 * iconvdata/testdata/CP774: New file.
40344 * iconvdata/testdata/CP774..UTF8: New file.
40346 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
40348 * iconvdata/gen-8bit-gap.sh: Likewise.
40349 * iconvdata/gen-8bit.sh: Likewise.
40351 * locale/iso-639.def: Add ary entry.
40354 * locale/C-translit.h.in: Add U20A1 transliteration.
40357 * locale/iso-639.def: Add wae entry.
40358 Patch by Kevin Bortis <bortis@translate-wae.ch>.
40361 * locale/programs/localedef.c (construct_output_path): Use ssize_t
40365 * locale/C-translit.h.in: Add entry for U20B9.
40366 Patch by pravin.d.s@gmail.com.
40368 2011-05-08 Ulrich Drepper <drepper@gmail.com>
40371 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
40372 ENAMETOOLONG use generic getcwd.
40373 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
40374 in rtld. Use *stat64.
40375 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
40376 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
40377 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
40378 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
40379 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
40380 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
40381 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
40382 __fstatat64 macros.
40383 * include/dirent.h: Add libc_hidden_proto for rewinddir.
40384 * dirent/rewinddir.c: Add libc_hidden_def.
40385 * sysdeps/mach/hurd/rewinddir.c: Likewise.
40386 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
40388 * include/dirent.h (__alloc_dir): Add flags parameter.
40389 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
40390 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
40392 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
40393 from fdopendir if O_CLOEXEC is already set.
40395 2011-03-15 Alan Modra <amodra@gmail.com>
40397 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
40398 l_tls_firstbyte_offset non-zero. Save padding offset in
40399 l_tls_firstbyte_offset for later use.
40400 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
40401 freeing static tls block.
40403 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
40405 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
40406 where #ifdef was intended. The intent is to prevent ARG_MAX from
40407 being defined by the kernel headers.
40409 2011-05-07 Ulrich Drepper <drepper@gmail.com>
40412 * resolv/resolv.h: Define RES_NOTLDQUERY.
40413 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
40414 no-tld-query and set RES_NOTLDQUERY.
40415 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
40416 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
40417 modern BIND to search name as TLD unless forbidden.
40419 2011-05-07 Petr Baudis <pasky@suse.cz>
40420 Ulrich Drepper <drepper@gmail.com>
40423 * elf/dl-load.c (fillin_rpath): Move trusted path check...
40424 (is_trusted_path): ...to here.
40425 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
40426 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
40427 using is_trusted_path_normalize() in setuid scripts.
40429 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
40431 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
40432 __BEGIN/__END_DECLS.
40434 2011-05-06 Ulrich Drepper <drepper@gmail.com>
40436 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
40437 NSS_STATUS_NOTFOUND if no record was found.
40439 2011-05-05 Andreas Schwab <schwab@redhat.com>
40441 * sunrpc/Makefile (headers): Add rpc/netdb.h.
40442 (headers-not-in-tirpc): Remove rpc/netdb.h
40443 * resolv/netdb.h: Revert last change.
40445 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
40447 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
40448 circular dependency between libgcc.a and libc.a.
40450 2011-05-05 Andreas Schwab <schwab@redhat.com>
40452 * resolv/netdb.h: Don't include <rpc/netdb.h>.
40453 * nis/Makefile: Don't install rpcsvc/*.
40454 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
40455 instead of <rpc/types.h>.
40456 (MAXHOSTNAMELEN): Define.
40458 2011-05-03 Andreas Schwab <schwab@redhat.com>
40460 * elf/ldconfig.c (add_dir): Don't crash on empty path.
40462 2011-04-28 Maciej Babinski <mbabinski@google.com>
40465 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
40466 gethostbyname4_r when IPv6 results are possible.
40468 2011-05-02 Ulrich Drepper <drepper@gmail.com>
40471 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
40472 _PC_PIPE_BUF handling.
40474 2011-04-30 Bruno Haible <bruno@clisp.org>
40477 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
40478 * resolv/netdb.h (getnameinfo): Change type of flags parameter
40480 * inet/getnameinfo.c (getnameinfo): Likewise.
40482 2011-04-29 Ulrich Drepper <drepper@gmail.com>
40484 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
40485 to groups setting in database lookup.
40486 * nss/nsswitch.conf: Add initgroups entry.
40488 2011-04-22 Ulrich Drepper <drepper@gmail.com>
40491 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
40493 Patch by Eric Blake <eblake@redhat.com>.
40495 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
40497 * sunrpc/Makefile (need-export-routines): Add svc_run.
40498 (routines): Remove svc_run.
40499 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
40500 * sunrpc/clnt_perr.c (clnt_perrno): Export.
40501 * sunrpc/svc_run.c (svc_run): Likewise.
40502 * sunrpc/svc_udp.c (svcudp_create): Likewise.
40504 2011-04-21 Ulrich Drepper <drepper@gmail.com>
40506 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
40507 problem in reallocation in last patch.
40509 2011-04-20 Ulrich Drepper <drepper@gmail.com>
40511 * sunrpc/Makefile: Move inclusion of Rules.
40513 2011-04-19 Ulrich Drepper <drepper@gmail.com>
40515 * nss/nss_files/files-initgroups.c: New file.
40516 * nss/Makefile (libnss_files-routines): Add files-initgroups.
40517 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
40518 _nss_files_initgroups_dyn.
40520 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
40522 * elf/elf.h (R_ARM_IRELATIVE): Define.
40524 2011-04-19 Ulrich Drepper <drepper@gmail.com>
40526 * po/ru.po: Update from translation team.
40528 2011-04-17 Ulrich Drepper <drepper@gmail.com>
40530 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
40533 2011-02-06 Mike Frysinger <vapier@gentoo.org>
40536 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
40537 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
40538 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40539 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40540 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40542 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
40544 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
40546 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
40547 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
40548 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40550 2011-04-17 Ulrich Drepper <drepper@gmail.com>
40553 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
40555 * stdlib/bug-getcontext.c: New file.
40556 * stdlib/Makefile: Add rules to build and run bug-getcontext.
40558 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40560 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
40561 instructions into .machine "z9-109".
40562 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
40563 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
40565 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40567 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
40568 between environment variables and auxiliary vector.
40570 2011-04-16 Ulrich Drepper <drepper@gmail.com>
40572 * Makefile: Add rules to build linkobj/libc.so.
40573 * include/libc-symbols.h: Define libc_hidden_nolink.
40574 * include/rpc/auth.h: Mark functions which are to be hidden.
40575 * include/rpc/auth_des.h: Likewise.
40576 * include/rpc/auth_unix.h: Likewise.
40577 * include/rpc/clnt.h: Likewise.
40578 * include/rpc/des_crypt.h: Likewise.
40579 * include/rpc/key_prot.h: Likewise.
40580 * include/rpc/pmap_clnt.h: Likewise.
40581 * include/rpc/pmap_prot.h: Likewise.
40582 * include/rpc/pmap_rmt.h: Likewise.
40583 * include/rpc/rpc_msg.h: Likewise.
40584 * include/rpc/svc.h: Likewise.
40585 * include/rpc/svc_auth.h: Likewise.
40586 * include/rpc/xdr.h: Likewise.
40587 * nis/Makefile: Link all DSOs against linkobj/libc.so.
40588 * nss/Makefile: Likewise.
40589 * sunrpc/Makefile: Don't install headers. Build library with normal
40590 entry points. Don't build rpcinfo. Link RPC tests appropriately.
40591 * sunrpc/auth_des.c: Hide exported symbols by default, export some
40592 for the compat linking library. Remove use of INTDEF/INTUSE.
40593 * sunrpc/auth_none.c: Likewise.
40594 * sunrpc/auth_unix.c: Likewise.
40595 * sunrpc/authdes_prot.c: Likewise.
40596 * sunrpc/authuxprot.c: Likewise.
40597 * sunrpc/clnt_gen.c: Likewise.
40598 * sunrpc/clnt_perr.c: Likewise.
40599 * sunrpc/clnt_raw.c: Likewise.
40600 * sunrpc/clnt_simp.c: Likewise.
40601 * sunrpc/clnt_tcp.c: Likewise.
40602 * sunrpc/clnt_udp.c: Likewise.
40603 * sunrpc/clnt_unix.c: Likewise.
40604 * sunrpc/des_crypt.c: Likewise.
40605 * sunrpc/des_soft.c: Likewise.
40606 * sunrpc/get_myaddr.c: Likewise.
40607 * sunrpc/key_call.c: Likewise.
40608 * sunrpc/key_prot.c: Likewise.
40609 * sunrpc/netname.c: Likewise.
40610 * sunrpc/pm_getmaps.c: Likewise.
40611 * sunrpc/pm_getport.c: Likewise.
40612 * sunrpc/pmap_clnt.c: Likewise.
40613 * sunrpc/pmap_prot.c: Likewise.
40614 * sunrpc/pmap_prot2.c: Likewise.
40615 * sunrpc/pmap_rmt.c: Likewise.
40616 * sunrpc/publickey.c: Likewise.
40617 * sunrpc/rpc_cmsg.c: Likewise.
40618 * sunrpc/rpc_common.c: Likewise.
40619 * sunrpc/rpc_dtable.c: Likewise.
40620 * sunrpc/rpc_prot.c: Likewise.
40621 * sunrpc/rpc_thread.c: Likewise.
40622 * sunrpc/rtime.c: Likewise.
40623 * sunrpc/svc.c: Likewise.
40624 * sunrpc/svc_auth.c: Likewise.
40625 * sunrpc/svc_authux.c: Likewise.
40626 * sunrpc/svc_raw.c: Likewise.
40627 * sunrpc/svc_run.c: Likewise.
40628 * sunrpc/svc_simple.c: Likewise.
40629 * sunrpc/svc_tcp.c: Likewise.
40630 * sunrpc/svc_udp.c: Likewise.
40631 * sunrpc/svc_unix.c: Likewise.
40632 * sunrpc/svcauth_des.c: Likewise.
40633 * sunrpc/xcrypt.c: Likewise.
40634 * sunrpc/xdr.c: Likewise.
40635 * sunrpc/xdr_array.c: Likewise.
40636 * sunrpc/xdr_float.c: Likewise.
40637 * sunrpc/xdr_intXX_t.c: Likewise.
40638 * sunrpc/xdr_mem.c: Likewise.
40639 * sunrpc/xdr_rec.c: Likewise.
40640 * sunrpc/xdr_ref.c: Likewise.
40641 * sunrpc/xdr_sizeof.c: Likewise.
40642 * sunrpc/xdr_stdio.c: Likewise.
40644 2011-04-10 Ulrich Drepper <drepper@gmail.com>
40647 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
40648 * sysdeps/ia64/dl-tls.h: Likewise.
40649 * sysdeps/powerpc/dl-tls.h: Likewise.
40650 * sysdeps/s390/dl-tls.h: Likewise.
40651 * sysdeps/sh/dl-tls.h: Likewise.
40652 * sysdeps/sparc/dl-tls.h: Likewise.
40653 * sysdeps/x86_64/dl-tls.h: Likewise.
40654 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
40656 2011-03-14 Andreas Schwab <schwab@redhat.com>
40658 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
40659 rpath element also skip the following colon.
40660 (expand_dynamic_string_token): Add is_path parameter and pass
40661 down to DL_DST_REQUIRED and _dl_dst_substitute.
40662 (decompose_rpath): Call expand_dynamic_string_token with
40663 non-zero is_path. Ignore empty rpaths.
40664 (_dl_map_object_from_fd): Call expand_dynamic_string_token
40667 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
40669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
40672 2011-04-09 Ulrich Drepper <drepper@gmail.com>
40675 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
40676 Patch by Filipe David Manana <fdmanana@apache.org>.
40678 2011-04-07 Andreas Schwab <schwab@redhat.com>
40680 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
40681 Maintain aligned stack.
40682 (CHECK_RSP): Remove unused macro.
40684 2011-04-03 Ulrich Drepper <drepper@gmail.com>
40686 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
40687 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
40689 2011-04-02 Ulrich Drepper <drepper@gmail.com>
40691 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
40693 * include/features.h: Mention __USE_XOPEN2K8 in comment.
40695 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
40698 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
40699 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
40700 * sysdeps/x86_64/memmove.c: New file.
40701 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
40702 (memcpy): Renamed to ...
40703 (__new_memcpy): This.
40704 (memcpy): Provide GLIBC_2_14 memcpy.
40705 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
40706 (memcpy): Provide GLIBC_2_2_5 memcpy.
40708 2011-04-01 Ulrich Drepper <drepper@gmail.com>
40711 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
40713 2011-03-30 Andreas Schwab <schwab@redhat.com>
40715 * misc/syncfs.c: New file.
40716 * misc/Makefile (routines): Add syncfs.
40717 * posix/unistd.h: Declare syncfs.
40718 * sysdeps/unix/syscalls.list: Add syncfs.
40720 2011-04-01 Andreas Schwab <schwab@redhat.com>
40722 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
40724 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
40725 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40726 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40727 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40728 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40729 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
40730 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40732 2011-04-01 Ulrich Drepper <drepper@gmail.com>
40734 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
40735 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40736 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
40737 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40738 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40739 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40740 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40742 * io/Makefile: Compile fallocate.c, fallocate64.c, and
40743 sync_file_range.c with -fexceptions.
40744 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
40745 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
40746 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
40747 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
40748 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
40749 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
40750 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
40751 sync_file_range as cancellation point
40752 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
40753 now a wrapper around __call_sync_file_range with cancellation handling.
40754 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
40755 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
40756 function name to __call_sync_file_range.
40757 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
40758 Add call_sync_file_range.
40760 2011-04-01 Andreas Schwab <schwab@redhat.com>
40762 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40765 2011-04-01 Ulrich Drepper <drepper@gmail.com>
40767 * iconv/iconv.h: Fix typo in comment.
40768 * io/fcntl.h: Likewise.
40769 * libio/stdio.h: Likewise.
40770 * posix/spawn.h: Likewise.
40771 * posix/unistd.h: Likewise.
40772 * stdlib/stdlib.h: Likewise.
40773 * time/time.h: Likewise.
40774 * wcsmbs/wchar.h: Likewise.
40776 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
40777 open_by_handle): Add.
40778 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
40779 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
40780 Augment a few comments.
40781 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40782 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40783 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40784 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40785 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40786 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
40789 * io/fcntl.h (AT_EMPTY_PATH): Define.
40791 2011-03-30 Ulrich Drepper <drepper@gmail.com>
40793 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
40794 * sysdeps/unix/sysv/linux/bits/time.h: New file.
40795 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
40797 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
40798 * Versions.def: Add GLIBC_2.14.
40799 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
40802 2011-03-22 Ulrich Drepper <drepper@gmail.com>
40804 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
40806 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
40808 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
40811 * string/test-strncmp.c (do_page_test): New function.
40812 (check2): Likewise.
40813 (test_main): Call check2.
40814 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
40816 2011-03-20 Ulrich Drepper <drepper@gmail.com>
40819 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
40820 Handle cache information in CPU leaf 4.
40821 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
40823 2011-03-18 Ulrich Drepper <drepper@gmail.com>
40826 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
40827 character representation.
40828 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
40830 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
40832 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
40833 END(__isnan) to END(__isnanf) to match function entry point/label
40834 EALIGN(__isnanf,...).
40836 2011-03-10 Jakub Jelinek <jakub@redhat.com>
40838 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
40840 2011-03-10 Ulrich Drepper <drepper@gmail.com>
40843 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
40844 copy from the symbol referenced in the relocation to initialize the
40846 Patch by Piotr Bury <pbury@goahead.com>.
40847 * elf/Makefile: Add rules to build and tst-unique3.
40848 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
40849 * elf/tst-unique3.cc: New file.
40850 * elf/tst-unique3.h: New file.
40851 * elf/tst-unique3lib.cc: New file.
40852 * elf/tst-unique3lib2.cc: New file.
40854 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
40856 2011-03-10 Mike Frysinger <vapier@gentoo.org>
40858 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
40859 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
40862 2011-03-06 Ulrich Drepper <drepper@gmail.com>
40864 * elf/dl-load.c (_dl_map_object): If we are looking for the first
40865 to-be-loaded object along a path to loader is ld.so.
40867 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
40868 Ulrich Drepper <drepper@gmail.com>
40870 * sysdeps/x86_64/memset.S: After aligning destination, code
40871 branches to different locations depending on the value of
40872 misalignment, when multiarch is enabled. Fix this.
40874 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
40876 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
40877 Set _x86_64_preferred_memory_instruction for AMD processsors.
40878 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40879 Set bit_Prefer_SSE_for_memop for AMD processors.
40881 2011-03-04 Ulrich Drepper <drepper@gmail.com>
40883 * libio/fmemopen.c (fmemopen): Optimize a bit.
40885 2011-03-03 Andreas Schwab <schwab@redhat.com>
40887 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
40889 2011-03-03 Roland McGrath <roland@redhat.com>
40891 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
40893 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
40895 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
40896 __bzero_ultra1 instead of __memset_ultra1.
40898 2011-02-23 Andreas Schwab <schwab@redhat.com>
40899 Ulrich Drepper <drepper@gmail.com>
40902 * include/link.h (struct link_map): Add l_orig_initfini.
40903 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
40904 returning unsuccessfully.
40905 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
40906 close of a file loaded at startup, restore the original l_initfini
40908 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
40909 list, store the pointer.
40910 * elf/Makefile ($(objpfx)noload-mem): New rule.
40911 (noload-ENV): Define.
40912 (tests): Add $(objpfx)noload-mem.
40913 * elf/noload.c: Include <memcheck.h>.
40914 (main): Call mtrace. Close all opened handles.
40916 2011-02-17 Andreas Schwab <schwab@redhat.com>
40919 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
40920 dependencies are missing.
40922 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
40924 Fix __if_freereq crash: Unlike the generic version which uses free,
40926 * sysdeps/mach/hurd/ifreq.h: New file.
40928 2011-01-27 Petr Baudis <pasky@suse.cz>
40929 Ulrich Drepper <drepper@gmail.com>
40932 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
40933 to extend_alloca().
40934 * stdio-common/bug23.c: New file.
40935 * stdio-common/Makefile (tests): Add bug23.
40937 2010-09-28 Andreas Schwab <schwab@redhat.com>
40938 Ulrich Drepper <drepper@gmail.com>
40941 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
40942 before performing relro protection. At old place add assertion
40943 to make sure nothing changed.
40945 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
40946 Glauber de Oliveira Costa <glommer@gmail.com>
40948 * elf/elf.h: Add new ARM TLS relocs.
40950 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
40952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
40953 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
40955 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
40957 * sysdeps/wordsize-64/tst-writev.c: New file.
40959 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
40961 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
40962 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
40963 insns in _dl_start to prevent a TOC reference before relocs are
40966 2011-02-15 Ulrich Drepper <drepper@gmail.com>
40969 * Makeconfig: Remove RANLIB definition.
40970 * Makerules: Don't use RANLIB.
40971 * aclocal.m4: Remove ranlib test.
40972 * configure.in: No need to check for ranlib.
40973 * elf/rtld-Rules: Don't use RANLIB.
40975 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
40977 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
40979 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
40980 inclusion protection macro.
40982 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
40983 SIGRTMIN and SIGRTMAX and print information in that case only when
40984 SIGRTMIN is defined.
40986 2011-02-11 Jakub Jelinek <jakub@redhat.com>
40988 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
40989 arginfo fn returning -1.
40991 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
40992 and thousands string is zero terminated.
40994 2011-02-03 Andreas Schwab <schwab@redhat.com>
40996 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
40997 sysdeps/unix/sysv/linux/bits/socket.h.
40999 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
41001 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
41002 (__CPU_COUNT): Remove old macros.
41003 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
41004 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
41005 (__CPU_ALLOC, __CPU_FREE): Add macros.
41006 (__sched_cpualloc, __sched_cpufree): Add declarations.
41008 2011-02-05 Ulrich Drepper <drepper@gmail.com>
41010 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
41011 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
41012 * nscd/aicache.c (addhstaiX): Return timeout of added value.
41013 (readdhstai): Return value of addhstaiX call.
41014 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
41015 (addgrbyX): Return value returned by cache_addgr.
41016 (readdgrbyname): Return value returned by addgrbyX.
41017 (readdgrbygid): Likewise.
41018 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
41019 (addpwbyX): Return value returned by cache_addpw.
41020 (readdpwbyname): Return value returned by addhstbyX.
41021 (readdpwbyuid): Likewise.
41022 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
41023 (addservbyX): Return value returned by cache_addserv.
41024 (readdservbyname): Return value returned by addservbyX:
41025 (readdservbyport): Likewise.
41026 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
41027 (addhstbyX): Return value returned by cache_addhst.
41028 (readdhstbyname): Return value returned by addhstbyX.
41029 (readdhstbyaddr): Likewise.
41030 (readdhstbynamev6): Likewise.
41031 (readdhstbyaddrv6): Likewise.
41032 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
41033 (readdinitgroups): Return value returned by addinitgroupsX.
41034 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
41035 (prune_cache): Keep track of timeout value of re-added entries.
41036 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
41037 * nscd/nscd.h: Adjust prototypes of readd* functions.
41039 2011-02-04 Roland McGrath <roland@redhat.com>
41041 * nis/nis_server.c (nis_servstate): Use the right name for 0.
41042 (nis_stats): Likewise.
41043 * nis/nis_modify.c (nis_modify): Likewise.
41044 * nis/nis_remove.c (nis_remove): Likewise.
41045 * nis/nis_add.c (nis_add): Likewise.
41047 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
41049 * posix/fnmatch_loop.c: Add some consts.
41051 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
41053 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
41056 * config.make.in (config-cflags-novzeroupper): Define.
41057 * configure.in: Substitute libc_cv_cc_novzeroupper.
41058 * elf/Makefile (AVX-CFLAGS): Define.
41059 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
41060 (CFLAGS-tst-auditmod4a.c): Likewise.
41061 (CFLAGS-tst-auditmod4b.c): Likewise.
41062 (CFLAGS-tst-auditmod6b.c): Likewise.
41063 (CFLAGS-tst-auditmod6c.c): Likewise.
41064 (CFLAGS-tst-auditmod7b.c): Likewise.
41065 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
41067 2011-02-02 Ulrich Drepper <drepper@gmail.com>
41069 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
41070 function to the callback.
41071 Patch partly by Jiri Olsa <jolsa@redhat.com>.
41073 2011-02-02 Andreas Schwab <schwab@redhat.com>
41075 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
41078 2011-01-19 Ulrich Drepper <drepper@gmail.com>
41081 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
41083 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
41085 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
41088 * elf/Makefile: Add rules to build and run new test.
41089 * elf/tst-initorder.c: New file.
41090 * elf/tst-initorder.exp: New file.
41091 * elf/tst-initordera1.c: New file.
41092 * elf/tst-initordera2.c: New file.
41093 * elf/tst-initordera3.c: New file.
41094 * elf/tst-initordera4.c: New file.
41095 * elf/tst-initorderb1.c: New file.
41096 * elf/tst-initorderb2.c: New file.
41097 * elf/tst-order-a1.c: New file.
41098 * elf/tst-order-a2.c: New file.
41099 * elf/tst-order-a3.c: New file.
41100 * elf/tst-order-a4.c: New file.
41101 * elf/tst-order-b1.c: New file.
41102 * elf/tst-order-b2.c: New file.
41103 * elf/tst-order-main.c: New file.
41104 New test case by George Gensure <werkt0@gmail.com>.
41106 2010-10-01 Andreas Schwab <schwab@redhat.com>
41108 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41109 decoding ACE if AI_CANONIDN.
41111 2011-01-18 Ulrich Drepper <drepper@gmail.com>
41113 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
41115 2011-01-17 Ulrich Drepper <drepper@gmail.com>
41117 * version.h (RELEASE): Bump for 2.13 release.
41118 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
41120 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
41122 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
41124 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
41125 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
41126 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41127 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41128 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41129 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41131 * posix/getconf.c: Update copyright year.
41132 * catgets/gencat.c: Likewise.
41133 * csu/version.c: Likewise.
41134 * debug/catchsegv.sh: Likewise.
41135 * debug/xtrace.sh: Likewise.
41136 * elf/ldconfig.c: Likewise.
41137 * elf/ldd.bash.in: Likewise.
41138 * elf/sprof.c (print_version): Likewise.
41139 * iconv/iconv_prog.c: Likewise.
41140 * iconv/iconvconfig.c: Likewise.
41141 * locale/programs/locale.c: Likewise.
41142 * locale/programs/localedef.c: Likewise.
41143 * malloc/memusage.sh: Likewise.
41144 * malloc/mtrace.pl: Likewise.
41145 * nscd/nscd.c (print_version): Likewise.
41146 * nss/getent.c: Likewise.
41148 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
41149 PF_CAIF, and PF_ALG.
41150 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41152 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
41154 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
41155 (modules-names): Use them.
41156 (ifunc-test-modules, ifunc-pie-tests): Define.
41157 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
41158 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
41159 (test-extras): Likewise.
41160 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
41161 $(compile-command.c).
41162 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
41163 (all-built-dso): Define.
41164 (check-textrel.out, check-execstack.out): Depend on it.
41166 * configure.in: Don't override --enable-multi-arch.
41168 2011-01-15 Ulrich Drepper <drepper@gmail.com>
41171 * nscd/hstcache.c (tryagain): Define.
41172 (cache_addhst): Return tryagain not notfound for temporary errors.
41173 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
41176 2011-01-14 Ulrich Drepper <drepper@gmail.com>
41179 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
41180 to make the syscall.
41181 * sysdeps/unix/sysv/linux/setgroups.c: New file.
41184 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
41185 and fall back to matching as normal character if the string ends before
41186 the matching ']' is found. This is what POSIX requires.
41187 * posix/testfnm.c: Adjust test result.
41188 * posix/globtest.sh: Adjust test result. Add new test.
41189 * posix/tst-fnmatch.input: Likewise.
41190 * posix/tst-fnmatch2.c: Add new test.
41192 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
41194 * elf/Makefile (check-execstack): Revert last change. Depend on
41196 (check-execstack.h): New target.
41197 (generated): Add check-execstack.h.
41198 * elf/check-execstack.c: Include "check-execstack.h".
41199 (main): Revert last change.
41200 (handle_file): Return zero if GNU_STACK is absent and
41201 DEFAULT_STACK_PERMS doesn't include PF_X.
41203 2011-01-13 Ulrich Drepper <drepper@gmail.com>
41205 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
41206 in child fails because the descriptor is already closed.
41207 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
41208 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
41209 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
41212 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
41216 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
41217 temporary buffer used to handle multi lookups locally.
41218 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
41220 2011-01-12 Ulrich Drepper <drepper@gmail.com>
41222 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
41225 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
41227 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
41228 alignment for SSE2.
41230 2011-01-12 Ulrich Drepper <drepper@gmail.com>
41233 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
41234 characters. When rounding increased number of integer digits recompute
41236 * stdio-common/tst-grouping.c: New file.
41237 * stdio-common/Makefile: Add rules to build and run tst-grouping.
41239 2011-01-09 Ulrich Drepper <drepper@gmail.com>
41241 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
41242 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
41244 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
41246 * bits/select.h: Likewise.
41248 2011-01-08 Ulrich Drepper <drepper@gmail.com>
41250 * po/ja.po: Update from translation team.
41252 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
41255 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
41256 implementation just like for lxstat, fxstatat, et al.
41258 2010-12-27 Jim Meyering <meyering@redhat.com>
41261 * posix/regexec.c (build_trtable): Return failure indication upon
41262 calloc failure. Otherwise, re_search_internal could infloop on OOM.
41264 2010-12-25 Ulrich Drepper <drepper@gmail.com>
41267 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
41268 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
41269 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
41270 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
41273 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
41276 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
41277 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
41279 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
41281 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
41282 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
41283 script has SORT_BY_INIT_PRIORITY.
41284 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
41285 NO_CTORS_DTORS_SECTIONS is defined.
41286 * elf/soinit.c: Likewise.
41287 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
41288 NO_CTORS_DTORS_SECTIONS is defined.
41289 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
41290 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
41291 * sysdeps/sh/init-first.c: Likewise.
41292 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
41294 2010-12-24 Ulrich Drepper <drepper@gmail.com>
41296 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
41297 always use the slow path.
41299 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
41301 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
41302 similar rule which adds the sysdep directories to the header search in
41303 order to pick up the correct platform stackinfo.h.
41304 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
41305 perform test if it is, otherwise return successfully without testing.
41306 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
41307 DEFAULT_STACK_PERMS define in stackinfo.h.
41308 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
41309 defined in stackinfo.h.
41310 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
41311 DEFAULT_STACK_PERMS defined in stackinfo.h.
41312 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
41313 * sysdeps/ia64/stackinfo.h: Likewise.
41314 * sysdeps/s390/stackinfo.h: Likewise.
41315 * sysdeps/sh/stackinfo.h: Likewise.
41316 * sysdeps/sparc/stackinfo.h: Likewise.
41317 * sysdeps/x86_64/stackinfo.h: Likewise.
41318 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
41319 PF_X for powerpc64. Retain PF_X for powerpc32.
41321 2010-12-19 Ulrich Drepper <drepper@gmail.com>
41323 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
41325 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
41326 GETDENTS_64BIT_ALIGNED.
41328 2010-12-14 Ulrich Drepper <dreper@gmail.com>
41330 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
41332 2010-12-10 Andreas Schwab <schwab@redhat.com>
41334 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
41337 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
41338 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
41340 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
41341 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
41343 2010-12-09 Ulrich Drepper <drepper@gmail.com>
41346 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
41349 2010-12-09 Jakub Jelinek <jakub@redhat.com>
41351 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
41353 2010-12-03 Ulrich Drepper <drepper@gmail.com>
41355 * po/it.po: Update from translation team.
41357 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
41359 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
41362 2010-11-30 Ulrich Drepper <drepper@gmail.com>
41364 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
41366 2010-11-24 Andreas Schwab <schwab@redhat.com>
41368 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
41370 (gaih_getanswer_slice): Likewise.
41372 2010-10-20 Jakub Jelinek <jakub@redhat.com>
41374 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
41376 2010-05-31 Petr Baudis <pasky@suse.cz>
41379 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
41380 silently even in the chroot mode.
41382 2010-11-22 Ulrich Drepper <drepper@gmail.com>
41384 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
41385 last patch a bit. Pretty printing
41387 2010-05-31 Petr Baudis <pasky@suse.cz>
41390 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
41391 initialization of skip_initgroups_dyn.
41393 2010-11-19 Ulrich Drepper <drepper@gmail.com>
41395 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
41396 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41398 2010-11-16 Ulrich Drepper <drepper@gmail.com>
41400 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
41402 2010-11-11 Andreas Schwab <schwab@redhat.com>
41404 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
41405 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
41406 (tst-fnmatch-ENV): Set MALLOC_TRACE.
41407 ($(objpfx)tst-fnmatch-mem): New rule.
41408 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
41409 * posix/tst-fnmatch.c (main): Call mtrace.
41411 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
41413 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41414 Support Intel processor model 6 and model 0x2c.
41416 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
41418 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
41421 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
41424 * string/test-strncasecmp.c (check_result): New function.
41425 (do_one_test): Use it.
41426 (check1): New function.
41427 (test_main): Use it.
41428 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
41429 Support strcasecmp and strncasecmp.
41431 2010-11-08 Ulrich Drepper <drepper@gmail.com>
41434 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
41435 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41437 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
41439 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
41441 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41443 * sysdeps/x86_64/multiarch/bzero.S: New file.
41444 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
41445 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
41446 * sysdeps/x86_64/multiarch/memset.S: New file.
41447 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
41448 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41449 Set bit_Prefer_SSE_for_memop for Intel processors.
41450 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
41452 (index_Prefer_SSE_for_memop): Define.
41453 (HAS_PREFER_SSE_FOR_MEMOP): Define.
41455 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
41457 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
41458 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
41460 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
41463 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41464 (__x86_64_raw_data_cache_size_half): Likewise.
41465 (__x86_64_raw_shared_cache_size): Likewise.
41466 (__x86_64_raw_shared_cache_size_half): Likewise.
41468 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41469 (__x86_64_raw_data_cache_size_half): Likewise.
41470 (__x86_64_raw_shared_cache_size): Likewise.
41471 (__x86_64_raw_shared_cache_size_half): Likewise.
41472 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
41473 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
41474 and __x86_64_raw_shared_cache_size_half. Round
41475 __x86_64_data_cache_size_half, __x86_64_data_cache_size
41476 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
41477 to multiple of 256 bytes.
41479 2010-11-03 Ulrich Drepper <drepper@gmail.com>
41482 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
41483 of inacessible symlinks. Verify result of symlink before returning it.
41484 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
41485 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
41487 2010-10-28 Erich Ritz <erichritz@gmail.com>
41489 * math/math.h (isinf): Fix typo in comment.
41491 2010-11-01 Ulrich Drepper <drepper@gmail.com>
41493 * po/da.po: Update from translation team.
41495 2010-10-26 Ulrich Drepper <drepper@gmail.com>
41497 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
41498 is added to the list.
41500 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41501 Ulrich Drepper <drepper@gmail.com>
41503 * elf/dl-object.c (_dl_new_object): Don't append the new object to
41504 the global list here. Move code to...
41505 (_dl_add_to_namespace_list): ...here. New function.
41506 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
41507 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
41508 * elf/dl-load.c (lose): Don't remove the element from the list.
41509 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
41510 (_dl_map_object): Likewise.
41512 2010-10-25 Ulrich Drepper <drepper@gmail.com>
41515 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
41516 into all bytes of SSE register.
41517 Patch by Richard Li <richardpku@gmail.com>.
41519 2010-10-24 Ulrich Drepper <drepper@gmail.com>
41522 * malloc/malloc.c (_int_free): Fill correct number of bytes when
41525 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
41527 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
41528 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
41529 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
41530 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
41533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
41535 2010-10-22 Andreas Schwab <schwab@redhat.com>
41537 * include/dlfcn.h (__RTLD_SECURE): Define.
41538 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
41539 mode & __RTLD_SECURE instead.
41540 (open_path): Rename preloaded parameter to secure.
41541 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
41542 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
41543 * elf/dl-deps.c (openaux): Likewise.
41544 * elf/rtld.c (struct map_args): Remove is_preloaded.
41545 (map_doit): Don't use it.
41546 (dl_main): Likewise.
41547 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
41548 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
41550 2010-09-09 Andreas Schwab <schwab@redhat.com>
41552 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
41553 (sysd-rules-targets): Remove duplicates.
41554 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
41555 rtld-%.$o dependency.
41557 2010-10-18 Andreas Schwab <schwab@redhat.com>
41559 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
41560 _dl_map_object do it.
41562 2010-10-19 Ulrich Drepper <drepper@gmail.com>
41564 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
41565 fast fma builtins, define the macros in the C99 standard.
41566 (FP_FAST_FMAF): Likewise.
41567 (FP_FAST_FMAL): Likewise.
41568 * sysdeps/x86_64/bits/mathdef.h: Likewise.
41570 * bits/mathdef.h: Update copyright year.
41571 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41573 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
41575 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
41576 builtins, define the macros in the C99 standard.
41577 (FP_FAST_FMAF): Likewise.
41578 (FP_FAST_FMAL): Likewise.
41579 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
41581 (FP_FAST_FMAF): Likewise.
41583 2010-10-15 Jakub Jelinek <jakub@redhat.com>
41586 * math/libm-test.inc (fma_test): Some new testcases.
41587 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
41588 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
41589 y and infinite z. Do multiplication by C already in long double.
41590 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
41591 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
41592 y and infinite z. Do bitwise or of inexact bit into u.d.
41593 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
41594 * sysdeps/i386/fpu/s_fmaf.S: Removed.
41595 * sysdeps/i386/fpu/s_fma.S: Removed.
41596 * sysdeps/i386/fpu/s_fmal.S: Removed.
41598 2010-10-16 Jakub Jelinek <jakub@redhat.com>
41601 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
41602 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
41603 computation is not scheduled after fetestexcept. Fix value
41604 of minimum denormal long double.
41606 2010-10-14 Jakub Jelinek <jakub@redhat.com>
41609 * math/libm-test.inc (fma_test): Add some more tests.
41610 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
41613 2010-10-15 Andreas Schwab <schwab@redhat.com>
41615 * scripts/data/localplt-s390-linux-gnu.data: New file.
41616 * scripts/data/localplt-s390x-linux-gnu.data: New file.
41618 2010-10-13 Jakub Jelinek <jakub@redhat.com>
41621 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
41622 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
41624 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
41626 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
41627 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
41628 if one of x and y is very large and the other is subnormal.
41629 * sysdeps/s390/fpu/s_fmaf.c: New file.
41630 * sysdeps/s390/fpu/s_fma.c: New file.
41631 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
41632 * sysdeps/powerpc/fpu/s_fma.S: New file.
41633 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
41634 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
41635 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
41637 2010-10-12 Jakub Jelinek <jakub@redhat.com>
41640 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
41642 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
41643 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
41644 * sysdeps/i386/i686/multiarch/s_fma.c: Include
41645 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
41646 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
41647 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
41648 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
41650 2010-10-12 Ulrich Drepper <drepper@redhat.com>
41653 * posix/regcomp.c (parse_branch): One more memory leak plugged.
41654 * posix/bug-regex31.input: Add test case.
41656 2010-10-11 Ulrich Drepper <drepper@gmail.com>
41658 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
41659 * posix/bug-regex31.input: New file.
41662 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
41663 (parse_sub_exp): Fix last change, use postorder.
41665 * posix/bug-regex31.c: New file.
41666 * posix/Makefile: Add rules to build and run bug-regex31.
41668 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
41671 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
41674 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
41675 to have entries in sys_siglist.
41678 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
41681 2010-10-07 Jakub Jelinek <jakub@redhat.com>
41684 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
41685 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
41686 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
41687 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
41688 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41689 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
41690 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
41691 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
41692 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
41693 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
41694 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
41695 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
41696 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
41697 * math/ftestexcept.c (fetestexcept): Likewise.
41698 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
41699 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
41700 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
41701 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
41702 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
41703 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
41704 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41706 2010-10-11 Ulrich Drepper <drepper@gmail.com>
41709 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
41712 2010-10-06 Ulrich Drepper <drepper@gmail.com>
41714 * string/bug-strstr1.c: New file.
41715 * string/Makefile: Add rules to build and run bug-strstr1.
41717 2010-10-05 Eric Blake <eblake@redhat.com>
41720 * string/str-two-way.h (two_way_long_needle): Always clear memory
41721 when skipping input due to the shift table.
41723 2010-10-03 Ulrich Drepper <drepper@gmail.com>
41726 * malloc/mcheck.c: Handle large requests.
41729 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
41730 for strncmp and strncasecmp.
41731 * string/stratcliff.c: Add tests for strcmp and strncmp.
41732 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
41734 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41736 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
41739 2010-09-30 Andreas Jaeger <aj@suse.de>
41741 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
41742 (CGROUP_SUPER_MAGIC): Define.
41743 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41744 Handle btrfs and cgroup file systems.
41745 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
41748 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
41750 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
41751 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
41753 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41756 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
41757 trying to locate the ELF header.
41759 2010-09-27 Andreas Schwab <schwab@redhat.com>
41762 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
41763 Mask out sign-bit copies when constructing f_fsid.
41765 2010-09-24 Petr Baudis <pasky@suse.cz>
41767 * debug/stack_chk_fail_local.c: Add missing licence exception.
41768 * debug/warning-nop.c: Likewise.
41770 2010-09-15 Joseph Myers <joseph@codesourcery.com>
41772 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
41773 implementing getdents64 using getdents syscall, set d_type if
41774 __ASSUME_GETDENTS32_D_TYPE.
41776 2010-09-16 Andreas Schwab <schwab@redhat.com>
41778 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
41779 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
41781 2010-09-21 Ulrich Drepper <drepper@redhat.com>
41784 * posix/unistd.h: Undo change of feature selection for ftruncate from
41787 2010-09-20 Ulrich Drepper <drepper@redhat.com>
41789 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
41792 2010-09-20 Andreas Schwab <schwab@redhat.com>
41794 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
41796 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
41798 2010-09-14 Andreas Schwab <schwab@redhat.com>
41800 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
41801 variables after CHECK_SP call.
41802 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
41804 2010-09-13 Andreas Schwab <schwab@redhat.com>
41805 Ulrich Drepper <drepper@redhat.com>
41807 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
41808 re-relocationg ld.so.
41809 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
41810 _dl_init_paths call.
41811 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
41814 2010-09-14 Ulrich Drepper <drepper@redhat.com>
41816 * resolv/res_init.c (__res_vinit): Count the default server we added.
41818 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
41819 Ulrich Drepper <drepper@redhat.com>
41822 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
41823 (____longjmp_chk): Use %ebx for saving value across system call.
41826 2010-09-06 Andreas Schwab <schwab@redhat.com>
41828 * manual/Makefile: Don't mix pattern rules with normal rules.
41830 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
41832 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
41834 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
41835 * libio/iofopncook.c (_IO_cookie_init): Likewise.
41836 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
41837 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
41838 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41841 2010-09-04 Ulrich Drepper <drepper@redhat.com>
41844 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
41845 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
41847 2010-09-02 Ulrich Drepper <drepper@redhat.com>
41849 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
41850 * sysdeps/x86_64/addmul_1.S: Likewise.
41851 * sysdeps/x86_64/lshift.S: Likewise.
41852 * sysdeps/x86_64/mul_1.S: Likewise.
41853 * sysdeps/x86_64/rshift.S: Likewise.
41854 * sysdeps/x86_64/sub_n.S: Likewise.
41855 * sysdeps/x86_64/submul_1.S: Likewise.
41857 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
41859 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
41860 Define __sched_param instead of SCHED_* and sched_param when
41861 <bits/sched.h> is included with __need_schedparam defined.
41862 * bits/sched.h [__need_schedparam]
41863 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
41864 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
41865 (__defined_schedparam): Define to 1.
41866 (__sched_param): New structure, identical to sched_param.
41867 (__need_schedparam): Undefine.
41869 2010-08-31 Mike Frysinger <vapier@gentoo.org>
41871 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
41872 (epoll_create1): Declare.
41874 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
41876 2010-08-31 Andreas Schwab <schwab@redhat.com>
41879 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
41880 shifting retval into place.
41882 2010-09-01 Ulrich Drepper <drepper@redhat.com>
41884 * nis/rpcsvc/nis.h: Update copyright notice.
41885 * nis/rpcsvc/nis.x: Likewise.
41886 * nis/rpcsvc/nis_callback.h: Likewise.
41887 * nis/rpcsvc/nis_callback.x: Likewise.
41888 * nis/rpcsvc/nis_object.x: Likewise.
41889 * nis/rpcsvc/nis_tags.h: Likewise.
41890 * nis/rpcsvc/yp.h: Likewise.
41891 * nis/rpcsvc/yp.x: Likewise.
41892 * nis/rpcsvc/ypupd.h: Likewise.
41893 * nis/yp_xdr.c: Likewise.
41894 * nis/ypupdate_xdr.c: Likewise.
41896 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
41897 mainly the body of pmap_getport. Add parameters to specify timeouts.
41898 (pmap_getport): Use __libc_rpc_getport.
41899 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
41900 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
41901 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
41903 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
41905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
41908 2010-08-27 Roland McGrath <roland@redhat.com>
41910 * sysdeps/i386/i686/multiarch/Makefile
41911 (CFLAGS-varshift.c): New variable.
41913 2010-08-27 Ulrich Drepper <drepper@redhat.com>
41915 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
41916 * sysdeps/i386/i686/multiarch/varshift.c: New file.
41918 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
41920 * sysdeps/x86_64/strlen.S: Minimal code improvement.
41922 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
41924 * sysdeps/x86_64/strlen.S: Unroll the loop.
41925 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41926 strlen-sse2 strlen-sse2-bsf.
41927 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
41928 __strlen_no_bsf if bit_Slow_BSF is set.
41929 (__strlen_sse42): Removed.
41930 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
41931 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
41933 2010-08-25 Roland McGrath <roland@redhat.com>
41935 * sysdeps/x86_64/multiarch/varshift.S: File removed.
41936 * sysdeps/x86_64/multiarch/varshift.c: New file.
41937 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
41938 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
41939 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
41940 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
41942 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
41944 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41945 strlen-sse2 strlen-sse2-bsf.
41946 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
41947 __strlen_sse2_bsf if bit_Slow_BSF is unset.
41948 (__strlen_sse2): Removed.
41949 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
41950 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
41951 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
41952 bit_Slow_BSF for Atom.
41953 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
41954 (index_Slow_BSF): Define.
41955 (HAS_SLOW_BSF): Define.
41957 2010-08-25 Ulrich Drepper <drepper@redhat.com>
41960 * resolv/res_init.c (__res_vinit): When no server address at all
41961 is given default to loopback.
41963 2010-08-24 Roland McGrath <roland@redhat.com>
41965 * configure.in: Remove config-name.h generation.
41966 * configure: Regenerated.
41967 * config-name.in: File removed.
41968 * scripts/config-uname.sh: New file.
41969 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
41970 ($(objdir)config-name.h): New target.
41972 * sunrpc/rpc_parse.h: Avoid nested comment.
41974 2010-08-24 Richard Henderson <rth@redhat.com>
41975 Ulrich Drepper <drepper@redhat.com>
41976 H.J. Lu <hongjiu.lu@intel.com>
41978 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
41979 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
41980 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
41981 Replace _mm_srli_si128 with __m128i_shift_right. Replace
41982 _mm_alignr_epi8 with _mm_loadu_si128.
41983 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
41984 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
41985 (__m128i_shift_right): Removed.
41986 * sysdeps/i386/i686/multiarch/varshift.h: New file.
41987 * sysdeps/i386/i686/multiarch/varshift.S: New file.
41988 * sysdeps/x86_64/multiarch/varshift.h: New file.
41989 * sysdeps/x86_64/multiarch/varshift.S: New file.
41991 2010-08-21 Mike Frysinger <vapier@gentoo.org>
41993 * configure.in: Move assembler checks to before sysdep dir checking.
41995 2010-08-20 Petr Baudis <pasky@suse.cz>
41997 * LICENSES: Sync the sunrpc license.
41999 2010-08-19 Ulrich Drepper <drepper@redhat.com>
42001 * sunrpc/auth_des.c: Update copyright notice once again.
42002 * sunrpc/auth_none.c: Likewise.
42003 * sunrpc/auth_unix.c: Likewise.
42004 * sunrpc/authdes_prot.c: Likewise.
42005 * sunrpc/authuxprot.c: Likewise.
42006 * sunrpc/bindrsvprt.c: Likewise.
42007 * sunrpc/clnt_gen.c: Likewise.
42008 * sunrpc/clnt_perr.c: Likewise.
42009 * sunrpc/clnt_raw.c: Likewise.
42010 * sunrpc/clnt_simp.c: Likewise.
42011 * sunrpc/clnt_tcp.c: Likewise.
42012 * sunrpc/clnt_udp.c: Likewise.
42013 * sunrpc/clnt_unix.c: Likewise.
42014 * sunrpc/des_crypt.c: Likewise.
42015 * sunrpc/des_soft.c: Likewise.
42016 * sunrpc/get_myaddr.c: Likewise.
42017 * sunrpc/getrpcport.c: Likewise.
42018 * sunrpc/key_call.c: Likewise.
42019 * sunrpc/key_prot.c: Likewise.
42020 * sunrpc/openchild.c: Likewise.
42021 * sunrpc/pm_getmaps.c: Likewise.
42022 * sunrpc/pm_getport.c: Likewise.
42023 * sunrpc/pmap_clnt.c: Likewise.
42024 * sunrpc/pmap_prot.c: Likewise.
42025 * sunrpc/pmap_prot2.c: Likewise.
42026 * sunrpc/pmap_rmt.c: Likewise.
42027 * sunrpc/rpc/auth.h: Likewise.
42028 * sunrpc/rpc/auth_unix.h: Likewise.
42029 * sunrpc/rpc/clnt.h: Likewise.
42030 * sunrpc/rpc/des_crypt.h: Likewise.
42031 * sunrpc/rpc/key_prot.h: Likewise.
42032 * sunrpc/rpc/netdb.h: Likewise.
42033 * sunrpc/rpc/pmap_clnt.h: Likewise.
42034 * sunrpc/rpc/pmap_prot.h: Likewise.
42035 * sunrpc/rpc/pmap_rmt.h: Likewise.
42036 * sunrpc/rpc/rpc.h: Likewise.
42037 * sunrpc/rpc/rpc_des.h: Likewise.
42038 * sunrpc/rpc/rpc_msg.h: Likewise.
42039 * sunrpc/rpc/svc.h: Likewise.
42040 * sunrpc/rpc/svc_auth.h: Likewise.
42041 * sunrpc/rpc/types.h: Likewise.
42042 * sunrpc/rpc/xdr.h: Likewise.
42043 * sunrpc/rpc_clntout.c: Likewise.
42044 * sunrpc/rpc_cmsg.c: Likewise.
42045 * sunrpc/rpc_common.c: Likewise.
42046 * sunrpc/rpc_cout.c: Likewise.
42047 * sunrpc/rpc_dtable.c: Likewise.
42048 * sunrpc/rpc_hout.c: Likewise.
42049 * sunrpc/rpc_main.c: Likewise.
42050 * sunrpc/rpc_parse.c: Likewise.
42051 * sunrpc/rpc_parse.h: Likewise.
42052 * sunrpc/rpc_prot.c: Likewise.
42053 * sunrpc/rpc_sample.c: Likewise.
42054 * sunrpc/rpc_scan.c: Likewise.
42055 * sunrpc/rpc_scan.h: Likewise.
42056 * sunrpc/rpc_svcout.c: Likewise.
42057 * sunrpc/rpc_tblout.c: Likewise.
42058 * sunrpc/rpc_util.c: Likewise.
42059 * sunrpc/rpc_util.h: Likewise.
42060 * sunrpc/rpcinfo.c: Likewise.
42061 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
42062 * sunrpc/rpcsvc/key_prot.x: Likewise.
42063 * sunrpc/rpcsvc/klm_prot.x: Likewise.
42064 * sunrpc/rpcsvc/mount.x: Likewise.
42065 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
42066 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
42067 * sunrpc/rpcsvc/rex.x: Likewise.
42068 * sunrpc/rpcsvc/rstat.x: Likewise.
42069 * sunrpc/rpcsvc/rusers.x: Likewise.
42070 * sunrpc/rpcsvc/sm_inter.x: Likewise.
42071 * sunrpc/rpcsvc/spray.x: Likewise.
42072 * sunrpc/rpcsvc/yppasswd.x: Likewise.
42073 * sunrpc/rtime.c: Likewise.
42074 * sunrpc/svc.c: Likewise.
42075 * sunrpc/svc_auth.c: Likewise.
42076 * sunrpc/svc_authux.c: Likewise.
42077 * sunrpc/svc_raw.c: Likewise.
42078 * sunrpc/svc_run.c: Likewise.
42079 * sunrpc/svc_simple.c: Likewise.
42080 * sunrpc/svc_tcp.c: Likewise.
42081 * sunrpc/svc_udp.c: Likewise.
42082 * sunrpc/svc_unix.c: Likewise.
42083 * sunrpc/svcauth_des.c: Likewise.
42084 * sunrpc/xcrypt.c: Likewise.
42085 * sunrpc/xdr.c: Likewise.
42086 * sunrpc/xdr_array.c: Likewise.
42087 * sunrpc/xdr_float.c: Likewise.
42088 * sunrpc/xdr_mem.c: Likewise.
42089 * sunrpc/xdr_rec.c: Likewise.
42090 * sunrpc/xdr_ref.c: Likewise.
42091 * sunrpc/xdr_sizeof.c: Likewise.
42092 * sunrpc/xdr_stdio.c: Likewise.
42094 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
42097 2010-08-19 Andreas Schwab <schwab@redhat.com>
42099 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
42101 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
42103 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
42104 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
42105 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
42106 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
42107 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
42108 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
42109 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
42110 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
42111 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
42112 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
42113 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
42114 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
42115 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
42116 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
42118 2010-07-26 Anton Blanchard <anton@samba.org>
42120 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
42121 * malloc/arena.c (heap_trim): Likewise.
42123 2010-08-16 Ulrich Drepper <drepper@redhat.com>
42125 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
42127 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
42128 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
42130 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
42132 * sysdeps/i386/elf/Makefile: New file.
42134 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42136 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
42137 from fanotify_init.
42138 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
42139 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42141 2010-08-15 Ulrich Drepper <drepper@redhat.com>
42143 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
42145 * sysdeps/multiarch/strcmp.S: Likewise.
42147 2010-08-14 Ulrich Drepper <drepper@redhat.com>
42149 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42150 strncase_l-nonascii.
42151 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42152 Add strncase_l-ssse3.
42153 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
42154 * sysdeps/x86_64/strcmp.S: Likewise.
42155 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
42156 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
42157 * sysdeps/x86_64/strncase.S: New file.
42158 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
42159 * sysdeps/x86_64/strncase_l.S: New file.
42160 * string/Makefile (strop-tests): Add strncasecmp.
42161 * string/test-strncasecmp.c: New file.
42163 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
42166 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
42167 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
42169 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42171 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
42173 2010-08-12 Ulrich Drepper <drepper@redhat.com>
42175 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
42176 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
42177 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
42179 2010-05-01 Alan Modra <amodra@gmail.com>
42181 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
42182 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
42183 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
42184 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
42185 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
42186 tidying. Don't tail-call __sigjmp_save for static lib.
42187 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
42189 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
42190 (CALL_MCOUNT): Add eh info, and nop after bl.
42191 (TAIL_CALL_SYSCALL_ERROR): New macro.
42192 (PSEUDO_RET): Use it.
42193 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42194 Correct save location of integer regs and cr.
42195 (_dl_profile_resolve): Correct cr save location. Delete nops
42196 after bl when SHARED. Reduce cfi size a little by better
42197 placement of cfi directives.
42198 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
42199 make a stack frame. Instead use parm save area as a temp.
42200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
42201 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
42202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42203 Don't make a stack frame for parent, use parm save area.
42204 Increase child stack frame to 112 bytes. Don't save unused reg,
42205 and adjust reg usage. Set up cfi on error recovery and
42206 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
42207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42208 (__makecontext): Add dummy nop after jump to exit.
42209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
42210 Use correct parm save area and cr save, reduce stack frame.
42211 Correct cfi for possible PSEUDO_RET frame setup.
42212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
42213 Branch to local label emitted by PSEUDO_RET rather than
42216 2010-08-12 Andreas Schwab <schwab@redhat.com>
42219 * locale/programs/locale.c (print_assignment): New function.
42220 (show_locale_vars): Use it.
42222 2010-08-11 Ulrich Drepper <drepper@redhat.com>
42224 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
42226 (struct statfs64): Likewise.
42227 (_STATFS_F_FLAGS): Define.
42228 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
42229 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42230 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
42231 (ST_VALID): Define locally.
42232 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
42233 __statvfs_getflags, use the provided value.
42234 * sysdeps/unix/sysv/linux/kernel-features.h: Define
42235 __ASSUME_STATFS_F_FLAGS.
42237 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
42239 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
42240 Add sys/fanotify.h.
42241 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
42242 fanotify_mask for GLIBC_2.13.
42243 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
42244 fanotify_init and fanotify_mark.
42245 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42246 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
42248 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
42250 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
42251 prlimit64 for GLIBC_2.13.
42252 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
42254 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
42256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
42257 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42258 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
42259 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
42260 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
42262 * sysdeps/unix/sysv/linux/prlimit.c: New file.
42265 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
42266 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
42268 * nss/Makefile: Add rules to build and run tst-nss-test1.
42269 * shlib-versions: Add entry for libnss_test1.
42270 * nss/nss_test1.c: New file.
42271 * nss/tst-nss-test1.c: New file.
42273 * nss/nsswitch.c (__nss_database_custom): Define new variable.
42274 (__nss_configure_lookup): Set appropriate entry in
42275 __nss_configure_lookup to true.
42276 * nss/nsswitch.h: Define enum with indeces of databases in
42277 databases and __nss_database_custom arrays. Declare
42278 __nss_database_custom.
42279 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
42280 to avoid using nscd when custom rules are installed.
42281 * nss/getXXbyYY_r.c: Likewise.
42282 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42284 * nss/nss_files/files-parse.c: Whitespace fixes.
42286 2010-08-09 Ulrich Drepper <drepper@redhat.com>
42289 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
42290 * posix/fnmatch_loop.c: Likewise.
42292 2010-07-17 Andi Kleen <ak@linux.intel.com>
42294 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
42295 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
42296 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
42297 * Versions.def [GLIBC_2.13]: Add.
42299 2010-08-06 Ulrich Drepper <drepper@redhat.com>
42301 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42302 Also fail if tpwd after pwuid call is NULL.
42304 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
42306 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
42307 when converting to ms.
42309 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
42311 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
42312 EOPNOTSUPP errors with ENOTTY.
42313 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
42314 EOPNOTSUPP errors with ENOTTY.
42316 2010-07-31 Ulrich Drepper <drepper@redhat.com>
42318 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42319 Add strcasecmp_l-ssse3.
42320 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
42322 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
42323 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
42324 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
42326 2010-07-30 Ulrich Drepper <drepper@redhat.com>
42328 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
42330 * string/Makefile (strop-tests): Add strcasecmp.
42331 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42332 strcasecmp_l-nonascii.
42333 (gen-as-const-headers): Add locale-defines.sym.
42334 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
42335 * sysdeps/x86_64/strcasecmp.S: New file.
42336 * sysdeps/x86_64/strcasecmp_l.S: New file.
42337 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
42338 * sysdeps/x86_64/locale-defines.sym: New file.
42339 * string/test-strcasecmp.c: New file.
42341 * string/test-strcasestr.c: Test both ends of the range of characters.
42342 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
42344 2010-07-29 Roland McGrath <roland@redhat.com>
42347 * manual/locale.texi (Yes-or-No Questions): Fix example code.
42349 2010-07-27 Ulrich Drepper <drepper@redhat.com>
42351 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
42354 2010-07-27 Andreas Schwab <schwab@redhat.com>
42356 * manual/memory.texi (Malloc Tunable Parameters): Document
42359 2010-07-26 Roland McGrath <roland@redhat.com>
42362 * configure.in (-fgnu89-inline check): Set and substitute
42363 gnu89_inline, not libc_cv_gnu89_inline.
42364 * configure: Regenerated.
42365 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
42367 2010-07-26 Ulrich Drepper <drepper@redhat.com>
42369 * string/test-strnlen.c: New file.
42370 * string/Makefile (strop-tests): Add strnlen.
42371 * string/tester.c (test_strnlen): Add a few more test cases.
42372 * string/tst-strlen.c: Better error reporting.
42374 * sysdeps/x86_64/strnlen.S: New file.
42376 2010-07-24 Ulrich Drepper <drepper@redhat.com>
42378 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
42379 lower-latency instructions.
42381 2010-07-23 Ulrich Drepper <drepper@redhat.com>
42383 * string/test-strcasestr.c: New file.
42384 * string/test-strstr.c: New file.
42385 * string/Makefile (strop-tests): Add strstr and strcasestr.
42386 * string/str-two-way.h: Don't undefine MAX.
42387 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
42389 2010-07-21 Andreas Schwab <schwab@redhat.com>
42391 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42392 strcasestr-nonascii.
42393 (CFLAGS-strcasestr-nonascii.c): Define.
42394 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
42395 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
42396 Remove unused attribute.
42398 2010-07-20 Roland McGrath <roland@redhat.com>
42400 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
42401 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
42402 ld.so.cache was broken. With it, there is no way to disable dsocaps
42403 like LD_HWCAP_MASK can disable hwcaps.
42405 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
42407 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
42409 2010-07-16 Ulrich Drepper <drepper@redhat.com>
42411 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
42412 call in strcasestr.
42413 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
42414 __strcasestr_sse42_nonascii.
42415 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
42416 strcasestr-nonascii.c.
42417 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
42419 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
42421 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
42422 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
42423 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
42424 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
42426 2010-07-09 Ulrich Drepper <drepper@redhat.com>
42428 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
42431 2010-07-06 Andreas Schwab <schwab@redhat.com>
42434 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
42437 2010-07-06 Ulrich Drepper <drepper@redhat.com>
42439 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
42440 _PC_PIPE_BUF using F_GETPIPE_SZ.
42442 2010-07-05 Roland McGrath <roland@redhat.com>
42444 * manual/arith.texi (Rounding Functions): Fix rint description
42445 implicit in round description.
42447 2010-07-02 Ulrich Drepper <drepper@redhat.com>
42449 * elf/Makefile: Fix linking for a few tests to make recent linker
42452 2010-06-30 Andreas Schwab <schwab@redhat.com>
42454 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42455 $(common-objpfx)libc_nonshared.a.
42457 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
42459 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
42460 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
42461 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42462 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42463 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
42464 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
42465 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42466 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
42468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
42469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
42470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
42472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
42474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
42475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
42476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
42477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
42479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
42481 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
42482 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
42483 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
42484 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
42485 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
42486 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
42487 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
42488 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
42489 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
42490 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
42491 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
42492 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
42493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
42494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
42495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
42496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
42497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
42498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
42499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
42500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
42501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
42502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
42503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
42504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
42505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
42506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
42508 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
42510 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
42511 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
42512 * string/memmove.c (memmove): Renamed to ...
42513 (MEMMOVE): ...this. Default to memmove.
42514 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
42515 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
42517 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42518 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
42519 mempcpy-ssse3-back memmove-ssse3-back.
42520 * sysdeps/x86_64/multiarch/bcopy.S: New file .
42521 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
42522 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
42523 * sysdeps/x86_64/multiarch/memcpy.S: New file.
42524 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
42525 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
42526 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
42527 * sysdeps/x86_64/multiarch/memmove.c: New file.
42528 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
42529 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
42530 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
42531 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
42532 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
42533 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
42535 (index_Fast_Copy_Backward): Define.
42536 (HAS_ARCH_FEATURE): Define.
42537 (HAS_FAST_REP_STRING): Define.
42538 (HAS_FAST_COPY_BACKWARD): Define.
42540 2010-06-21 Andreas Schwab <schwab@redhat.com>
42542 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42543 Restore proper fallback handling.
42545 2010-06-19 Ulrich Drepper <drepper@redhat.com>
42548 * posix/group_member.c (__group_member): Correct checking loop.
42550 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
42551 OOM in getpwuid_r correctly. Return error number when the caller
42552 should return, otherwise -1.
42553 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
42554 call returning > 0 value.
42555 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
42557 2010-06-07 Andreas Schwab <schwab@redhat.com>
42559 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
42560 libc_nonshared.a from targets in modules-names.
42562 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
42564 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
42567 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
42569 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
42570 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
42571 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
42572 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
42574 2010-06-02 Andreas Schwab <schwab@redhat.com>
42576 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
42578 2010-06-14 Ulrich Drepper <drepper@redhat.com>
42580 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
42582 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
42583 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42584 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42585 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42586 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42587 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
42589 2010-06-14 Roland McGrath <roland@redhat.com>
42591 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
42593 2010-06-07 Jakub Jelinek <jakub@redhat.com>
42595 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
42596 __REDIRECT followed by __THROW.
42597 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
42598 * posix/getopt.h (getopt): Likewise.
42600 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
42602 * hurd/lookup-at.c (__file_name_lookup_at): Accept
42603 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
42604 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
42606 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
42607 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
42609 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
42611 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
42613 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
42616 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42617 Properly check family and model.
42619 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
42621 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
42623 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
42625 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
42627 2010-05-21 Ulrich Drepper <drepper@redhat.com>
42629 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
42632 2010-05-19 Andreas Schwab <schwab@redhat.com>
42634 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
42637 2010-05-21 Andreas Schwab <schwab@redhat.com>
42639 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
42640 and internal_recvmmsg.
42641 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
42642 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
42643 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
42644 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
42646 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
42647 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
42648 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
42650 2010-05-20 Andreas Schwab <schwab@redhat.com>
42652 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
42654 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
42656 POWER7 optimizations.
42657 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
42658 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
42660 2010-05-19 Ulrich Drepper <drepper@redhat.com>
42662 * version.h: Update for 2.13 development version.
42664 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
42666 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
42667 exceptions. Return 0.
42669 2010-05-07 Roland McGrath <roland@redhat.com>
42671 * elf/ldconfig.c (main): Add a const.
42673 2010-05-06 Ulrich Drepper <drepper@redhat.com>
42675 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
42676 (args_options): Add no-idn option.
42677 (ahosts_keys_int): Add idn_flags to ai_flags.
42678 (parse_option): Handle 'i' option to clear idn_flags.
42680 * malloc/malloc.c (_int_free): Possible race in the most recently
42681 added check. Only act on the data if no current modification
42684 See ChangeLog.17 for earlier changes.